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 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
890 static PyObject
*_wrap_wxControlWithItems_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
892 wxControlWithItems
* _arg0
;
893 wxArrayString
* _arg1
;
894 PyObject
* _argo0
= 0;
895 PyObject
* _obj1
= 0;
896 char *_kwnames
[] = { "self","strings", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
909 if (! PySequence_Check(_obj1
)) {
910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
913 _arg1
= new wxArrayString
;
914 int i
, len
=PySequence_Length(_obj1
);
915 for (i
=0; i
<len
; i
++) {
916 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
917 PyObject
* str
= PyObject_Str(item
);
918 _arg1
->Add(PyString_AsString(str
));
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 wxControlWithItems_AppendItems(_arg0
,*_arg1
);
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) return NULL
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
938 static void *SwigwxButtonTowxControl(void *ptr
) {
941 src
= (wxButton
*) ptr
;
942 dest
= (wxControl
*) src
;
943 return (void *) dest
;
946 static void *SwigwxButtonTowxWindow(void *ptr
) {
949 src
= (wxButton
*) ptr
;
950 dest
= (wxWindow
*) src
;
951 return (void *) dest
;
954 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
957 src
= (wxButton
*) ptr
;
958 dest
= (wxEvtHandler
*) src
;
959 return (void *) dest
;
962 static void *SwigwxButtonTowxObject(void *ptr
) {
965 src
= (wxButton
*) ptr
;
966 dest
= (wxObject
*) src
;
967 return (void *) dest
;
970 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
971 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
977 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
978 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
979 long _arg5
= (long ) 0;
980 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
981 char * _arg7
= (char *) "button";
982 PyObject
* _argo0
= 0;
983 PyObject
* _obj2
= 0;
985 PyObject
* _obj3
= 0;
987 PyObject
* _obj4
= 0;
988 PyObject
* _argo6
= 0;
989 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1003 #if PYTHON_API_VERSION >= 1009
1004 char* tmpPtr
; int tmpSize
;
1005 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1009 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1011 _arg2
= new wxString(tmpPtr
, tmpSize
);
1013 if (!PyString_Check(_obj2
)) {
1014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1017 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1023 if (! wxPoint_helper(_obj3
, &_arg3
))
1029 if (! wxSize_helper(_obj4
, &_arg4
))
1033 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) return NULL
;
1046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1050 _resultobj
= Py_None
;
1059 #define new_wxPreButton() (new wxButton())
1060 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1063 char *_kwnames
[] = { NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 _result
= (wxButton
*)new_wxPreButton();
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1077 _resultobj
= Py_BuildValue("s",_ptemp
);
1080 _resultobj
= Py_None
;
1085 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1086 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1093 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1094 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1095 long _arg6
= (long ) 0;
1096 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1097 char * _arg8
= (char *) "button";
1098 PyObject
* _argo0
= 0;
1099 PyObject
* _argo1
= 0;
1100 PyObject
* _obj3
= 0;
1102 PyObject
* _obj4
= 0;
1104 PyObject
* _obj5
= 0;
1105 PyObject
* _argo7
= 0;
1106 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1126 #if PYTHON_API_VERSION >= 1009
1127 char* tmpPtr
; int tmpSize
;
1128 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1132 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1134 _arg3
= new wxString(tmpPtr
, tmpSize
);
1136 if (!PyString_Check(_obj3
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1146 if (! wxPoint_helper(_obj4
, &_arg4
))
1152 if (! wxSize_helper(_obj5
, &_arg5
))
1156 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } _resultobj
= Py_BuildValue("i",_result
);
1176 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1177 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1180 PyObject
* _argo0
= 0;
1181 char *_kwnames
[] = { "self", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1195 wxButton_SetDefault(_arg0
);
1197 wxPyEndAllowThreads(__tstate
);
1198 if (PyErr_Occurred()) return NULL
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1204 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1205 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1209 PyObject
* _argo0
= 0;
1211 PyObject
* _obj1
= 0;
1212 char *_kwnames
[] = { "self","colour", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1226 if (! wxColour_helper(_obj1
, &_arg1
))
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } Py_INCREF(Py_None
);
1236 _resultobj
= Py_None
;
1240 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1241 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1245 PyObject
* _argo0
= 0;
1247 PyObject
* _obj1
= 0;
1248 char *_kwnames
[] = { "self","colour", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1262 if (! wxColour_helper(_obj1
, &_arg1
))
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } Py_INCREF(Py_None
);
1272 _resultobj
= Py_None
;
1276 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1279 char *_kwnames
[] = { NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 _result
= new wxSize (wxButton::GetDefaultSize());
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) return NULL
;
1291 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1292 _resultobj
= Py_BuildValue("s",_ptemp
);
1296 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1297 wxBitmapButton
*src
;
1299 src
= (wxBitmapButton
*) ptr
;
1300 dest
= (wxButton
*) src
;
1301 return (void *) dest
;
1304 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1305 wxBitmapButton
*src
;
1307 src
= (wxBitmapButton
*) ptr
;
1308 dest
= (wxControl
*) src
;
1309 return (void *) dest
;
1312 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1313 wxBitmapButton
*src
;
1315 src
= (wxBitmapButton
*) ptr
;
1316 dest
= (wxWindow
*) src
;
1317 return (void *) dest
;
1320 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1321 wxBitmapButton
*src
;
1323 src
= (wxBitmapButton
*) ptr
;
1324 dest
= (wxEvtHandler
*) src
;
1325 return (void *) dest
;
1328 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1329 wxBitmapButton
*src
;
1331 src
= (wxBitmapButton
*) ptr
;
1332 dest
= (wxObject
*) src
;
1333 return (void *) dest
;
1336 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1337 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1339 wxBitmapButton
* _result
;
1343 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1344 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1345 long _arg5
= (long ) wxBU_AUTODRAW
;
1346 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1347 char * _arg7
= (char *) "button";
1348 PyObject
* _argo0
= 0;
1349 PyObject
* _argo2
= 0;
1351 PyObject
* _obj3
= 0;
1353 PyObject
* _obj4
= 0;
1354 PyObject
* _argo6
= 0;
1355 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1369 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1378 if (! wxPoint_helper(_obj3
, &_arg3
))
1384 if (! wxSize_helper(_obj4
, &_arg4
))
1388 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1402 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 _resultobj
= Py_None
;
1410 #define new_wxPreBitmapButton() (new wxBitmapButton())
1411 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1413 wxBitmapButton
* _result
;
1414 char *_kwnames
[] = { NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1428 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 _resultobj
= Py_None
;
1436 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1437 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1440 wxBitmapButton
* _arg0
;
1444 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1445 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1446 long _arg6
= (long ) wxBU_AUTODRAW
;
1447 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1448 char * _arg8
= (char *) "button";
1449 PyObject
* _argo0
= 0;
1450 PyObject
* _argo1
= 0;
1451 PyObject
* _argo3
= 0;
1453 PyObject
* _obj4
= 0;
1455 PyObject
* _obj5
= 0;
1456 PyObject
* _argo7
= 0;
1457 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1477 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1486 if (! wxPoint_helper(_obj4
, &_arg4
))
1492 if (! wxSize_helper(_obj5
, &_arg5
))
1496 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) return NULL
;
1508 } _resultobj
= Py_BuildValue("i",_result
);
1512 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1513 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1516 wxBitmapButton
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1538 _resultobj
= Py_BuildValue("s",_ptemp
);
1542 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1543 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1546 wxBitmapButton
* _arg0
;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1568 _resultobj
= Py_BuildValue("s",_ptemp
);
1572 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1573 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1576 wxBitmapButton
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1602 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1603 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1606 wxBitmapButton
* _arg0
;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) return NULL
;
1627 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1628 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1633 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxBitmapButton
* _arg0
;
1637 PyObject
* _argo0
= 0;
1638 PyObject
* _argo1
= 0;
1639 char *_kwnames
[] = { "self","bitmap", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } Py_INCREF(Py_None
);
1665 _resultobj
= Py_None
;
1669 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1670 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1672 wxBitmapButton
* _arg0
;
1674 PyObject
* _argo0
= 0;
1675 PyObject
* _argo1
= 0;
1676 char *_kwnames
[] = { "self","bitmap", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } Py_INCREF(Py_None
);
1702 _resultobj
= Py_None
;
1706 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1707 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxBitmapButton
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 PyObject
* _argo1
= 0;
1713 char *_kwnames
[] = { "self","bitmap", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1744 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1746 wxBitmapButton
* _arg0
;
1748 PyObject
* _argo0
= 0;
1749 PyObject
* _argo1
= 0;
1750 char *_kwnames
[] = { "self","bitmap", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1781 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 wxBitmapButton
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self","x","y", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1811 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 wxBitmapButton
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1839 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1842 wxBitmapButton
* _arg0
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } _resultobj
= Py_BuildValue("i",_result
);
1866 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1869 src
= (wxCheckBox
*) ptr
;
1870 dest
= (wxControl
*) src
;
1871 return (void *) dest
;
1874 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1877 src
= (wxCheckBox
*) ptr
;
1878 dest
= (wxWindow
*) src
;
1879 return (void *) dest
;
1882 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1885 src
= (wxCheckBox
*) ptr
;
1886 dest
= (wxEvtHandler
*) src
;
1887 return (void *) dest
;
1890 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1893 src
= (wxCheckBox
*) ptr
;
1894 dest
= (wxObject
*) src
;
1895 return (void *) dest
;
1898 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1899 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1901 wxCheckBox
* _result
;
1905 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1906 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1907 long _arg5
= (long ) 0;
1908 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1909 char * _arg7
= (char *) "checkBox";
1910 PyObject
* _argo0
= 0;
1911 PyObject
* _obj2
= 0;
1913 PyObject
* _obj3
= 0;
1915 PyObject
* _obj4
= 0;
1916 PyObject
* _argo6
= 0;
1917 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1931 #if PYTHON_API_VERSION >= 1009
1932 char* tmpPtr
; int tmpSize
;
1933 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1937 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1939 _arg2
= new wxString(tmpPtr
, tmpSize
);
1941 if (!PyString_Check(_obj2
)) {
1942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1945 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1951 if (! wxPoint_helper(_obj3
, &_arg3
))
1957 if (! wxSize_helper(_obj4
, &_arg4
))
1961 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1975 _resultobj
= Py_BuildValue("s",_ptemp
);
1978 _resultobj
= Py_None
;
1987 #define new_wxPreCheckBox() (new wxCheckBox())
1988 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1990 wxCheckBox
* _result
;
1991 char *_kwnames
[] = { NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) return NULL
;
2004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2005 _resultobj
= Py_BuildValue("s",_ptemp
);
2008 _resultobj
= Py_None
;
2013 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2014 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2021 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2022 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2023 long _arg6
= (long ) 0;
2024 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2025 char * _arg8
= (char *) "checkBox";
2026 PyObject
* _argo0
= 0;
2027 PyObject
* _argo1
= 0;
2028 PyObject
* _obj3
= 0;
2030 PyObject
* _obj4
= 0;
2032 PyObject
* _obj5
= 0;
2033 PyObject
* _argo7
= 0;
2034 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2054 #if PYTHON_API_VERSION >= 1009
2055 char* tmpPtr
; int tmpSize
;
2056 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2060 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2062 _arg3
= new wxString(tmpPtr
, tmpSize
);
2064 if (!PyString_Check(_obj3
)) {
2065 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2068 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2074 if (! wxPoint_helper(_obj4
, &_arg4
))
2080 if (! wxSize_helper(_obj5
, &_arg5
))
2084 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2105 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2128 } _resultobj
= Py_BuildValue("i",_result
);
2132 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2133 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2137 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self","state", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2151 _arg1
= (bool ) tempbool1
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 wxCheckBox_SetValue(_arg0
,_arg1
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) return NULL
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2163 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2165 wxControlWithItems
*dest
;
2166 src
= (wxChoice
*) ptr
;
2167 dest
= (wxControlWithItems
*) src
;
2168 return (void *) dest
;
2171 static void *SwigwxChoiceTowxControl(void *ptr
) {
2174 src
= (wxChoice
*) ptr
;
2175 dest
= (wxControl
*) src
;
2176 return (void *) dest
;
2179 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2182 src
= (wxChoice
*) ptr
;
2183 dest
= (wxWindow
*) src
;
2184 return (void *) dest
;
2187 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2190 src
= (wxChoice
*) ptr
;
2191 dest
= (wxEvtHandler
*) src
;
2192 return (void *) dest
;
2195 static void *SwigwxChoiceTowxObject(void *ptr
) {
2198 src
= (wxChoice
*) ptr
;
2199 dest
= (wxObject
*) src
;
2200 return (void *) dest
;
2203 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2204 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2209 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2210 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2211 int _arg4
= (int ) 0;
2212 wxString
* _arg5
= (wxString
*) NULL
;
2213 long _arg6
= (long ) 0;
2214 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2215 char * _arg8
= (char *) "choice";
2216 PyObject
* _argo0
= 0;
2218 PyObject
* _obj2
= 0;
2220 PyObject
* _obj3
= 0;
2221 PyObject
* _obj5
= 0;
2222 PyObject
* _argo7
= 0;
2223 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2239 if (! wxPoint_helper(_obj2
, &_arg2
))
2245 if (! wxSize_helper(_obj3
, &_arg3
))
2250 _arg5
= wxString_LIST_helper(_obj5
);
2251 if (_arg5
== NULL
) {
2256 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2264 _arg4
= PyList_Size(_obj5
);
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) return NULL
;
2277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2278 _resultobj
= Py_BuildValue("s",_ptemp
);
2281 _resultobj
= Py_None
;
2289 #define new_wxPreChoice() (new wxChoice())
2290 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2293 char *_kwnames
[] = { NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 _result
= (wxChoice
*)new_wxPreChoice();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) return NULL
;
2306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2307 _resultobj
= Py_BuildValue("s",_ptemp
);
2310 _resultobj
= Py_None
;
2315 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2316 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2322 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2323 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2324 int _arg5
= (int ) 0;
2325 wxString
* _arg6
= (wxString
*) NULL
;
2326 long _arg7
= (long ) 0;
2327 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2328 char * _arg9
= (char *) "choice";
2329 PyObject
* _argo0
= 0;
2330 PyObject
* _argo1
= 0;
2332 PyObject
* _obj3
= 0;
2334 PyObject
* _obj4
= 0;
2335 PyObject
* _obj6
= 0;
2336 PyObject
* _argo8
= 0;
2337 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2359 if (! wxPoint_helper(_obj3
, &_arg3
))
2365 if (! wxSize_helper(_obj4
, &_arg4
))
2370 _arg6
= wxString_LIST_helper(_obj6
);
2371 if (_arg6
== NULL
) {
2376 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2377 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2384 _arg5
= PyList_Size(_obj6
);
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) return NULL
;
2396 } _resultobj
= Py_BuildValue("i",_result
);
2403 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2404 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2407 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 wxChoice_Clear(_arg0
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2432 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 _result
= (int )wxChoice_GetColumns(_arg0
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2455 } _resultobj
= Py_BuildValue("i",_result
);
2459 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2460 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2463 int _arg1
= (int ) 1;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self","n", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 wxChoice_SetColumns(_arg0
,_arg1
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) return NULL
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2489 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2493 PyObject
* _argo0
= 0;
2494 char *_kwnames
[] = { "self","n", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 wxChoice_SetSelection(_arg0
,_arg1
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2517 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2518 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2522 PyObject
* _argo0
= 0;
2523 PyObject
* _obj1
= 0;
2524 char *_kwnames
[] = { "self","string", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2537 #if PYTHON_API_VERSION >= 1009
2538 char* tmpPtr
; int tmpSize
;
2539 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2543 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2545 _arg1
= new wxString(tmpPtr
, tmpSize
);
2547 if (!PyString_Check(_obj1
)) {
2548 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2551 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) return NULL
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2569 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2570 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2575 PyObject
* _argo0
= 0;
2576 PyObject
* _obj2
= 0;
2577 char *_kwnames
[] = { "self","n","s", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2590 #if PYTHON_API_VERSION >= 1009
2591 char* tmpPtr
; int tmpSize
;
2592 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2596 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2598 _arg2
= new wxString(tmpPtr
, tmpSize
);
2600 if (!PyString_Check(_obj2
)) {
2601 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2604 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2622 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2625 src
= (wxComboBox
*) ptr
;
2626 dest
= (wxControl
*) src
;
2627 return (void *) dest
;
2630 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2633 src
= (wxComboBox
*) ptr
;
2634 dest
= (wxWindow
*) src
;
2635 return (void *) dest
;
2638 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2641 src
= (wxComboBox
*) ptr
;
2642 dest
= (wxEvtHandler
*) src
;
2643 return (void *) dest
;
2646 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2649 src
= (wxComboBox
*) ptr
;
2650 dest
= (wxObject
*) src
;
2651 return (void *) dest
;
2654 #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))
2655 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2657 wxComboBox
* _result
;
2660 char * _arg2
= (char *) "";
2661 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2662 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2663 int _arg5
= (int ) 0;
2664 wxString
* _arg6
= (wxString
*) NULL
;
2665 long _arg7
= (long ) 0;
2666 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2667 char * _arg9
= (char *) "comboBox";
2668 PyObject
* _argo0
= 0;
2670 PyObject
* _obj3
= 0;
2672 PyObject
* _obj4
= 0;
2673 PyObject
* _obj6
= 0;
2674 PyObject
* _argo8
= 0;
2675 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2691 if (! wxPoint_helper(_obj3
, &_arg3
))
2697 if (! wxSize_helper(_obj4
, &_arg4
))
2702 _arg6
= wxString_LIST_helper(_obj6
);
2703 if (_arg6
== NULL
) {
2708 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2716 _arg5
= PyList_Size(_obj6
);
2723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2724 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2726 wxPyEndAllowThreads(__tstate
);
2727 if (PyErr_Occurred()) return NULL
;
2729 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2730 _resultobj
= Py_BuildValue("s",_ptemp
);
2733 _resultobj
= Py_None
;
2741 #define new_wxPreComboBox() (new wxComboBox())
2742 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2744 wxComboBox
* _result
;
2745 char *_kwnames
[] = { NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2753 _result
= (wxComboBox
*)new_wxPreComboBox();
2755 wxPyEndAllowThreads(__tstate
);
2756 if (PyErr_Occurred()) return NULL
;
2758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2759 _resultobj
= Py_BuildValue("s",_ptemp
);
2762 _resultobj
= Py_None
;
2767 #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))
2768 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2769 PyObject
* _resultobj
;
2774 char * _arg3
= (char *) "";
2775 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2776 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2777 int _arg6
= (int ) 0;
2778 wxString
* _arg7
= (wxString
*) NULL
;
2779 long _arg8
= (long ) 0;
2780 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2781 char * _arg10
= (char *) "comboBox";
2782 PyObject
* _argo0
= 0;
2783 PyObject
* _argo1
= 0;
2785 PyObject
* _obj4
= 0;
2787 PyObject
* _obj5
= 0;
2788 PyObject
* _obj7
= 0;
2789 PyObject
* _argo9
= 0;
2790 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2812 if (! wxPoint_helper(_obj4
, &_arg4
))
2818 if (! wxSize_helper(_obj5
, &_arg5
))
2823 _arg7
= wxString_LIST_helper(_obj7
);
2824 if (_arg7
== NULL
) {
2829 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2837 _arg6
= PyList_Size(_obj7
);
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) return NULL
;
2849 } _resultobj
= Py_BuildValue("i",_result
);
2856 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2857 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
* _resultobj
;
2860 PyObject
* _argo0
= 0;
2861 char *_kwnames
[] = { "self", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 wxComboBox_Copy(_arg0
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) return NULL
;
2879 } Py_INCREF(Py_None
);
2880 _resultobj
= Py_None
;
2884 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2885 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
* _resultobj
;
2888 PyObject
* _argo0
= 0;
2889 char *_kwnames
[] = { "self", NULL
};
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 wxComboBox_Cut(_arg0
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) return NULL
;
2907 } Py_INCREF(Py_None
);
2908 _resultobj
= Py_None
;
2912 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2913 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2917 PyObject
* _argo0
= 0;
2918 char *_kwnames
[] = { "self", NULL
};
2921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) return NULL
;
2936 } _resultobj
= Py_BuildValue("l",_result
);
2940 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2941 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
* _resultobj
;
2945 PyObject
* _argo0
= 0;
2946 char *_kwnames
[] = { "self", NULL
};
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) return NULL
;
2964 } _resultobj
= Py_BuildValue("l",_result
);
2968 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2969 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) return NULL
;
2993 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3001 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3002 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3005 PyObject
* _argo0
= 0;
3006 char *_kwnames
[] = { "self", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 wxComboBox_Paste(_arg0
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) return NULL
;
3024 } Py_INCREF(Py_None
);
3025 _resultobj
= Py_None
;
3029 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3030 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3036 PyObject
* _argo0
= 0;
3037 PyObject
* _obj3
= 0;
3038 char *_kwnames
[] = { "self","from","to","text", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3051 #if PYTHON_API_VERSION >= 1009
3052 char* tmpPtr
; int tmpSize
;
3053 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3054 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3057 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3059 _arg3
= new wxString(tmpPtr
, tmpSize
);
3061 if (!PyString_Check(_obj3
)) {
3062 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3065 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) return NULL
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3083 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3084 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self","from","to", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3113 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3114 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self","pos", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) return NULL
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3143 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxComboBox_SetInsertionPointEnd(_arg0
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3171 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self","n", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 wxComboBox_SetSelection(_arg0
,_arg1
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) return NULL
;
3194 } Py_INCREF(Py_None
);
3195 _resultobj
= Py_None
;
3199 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3200 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self","from","to", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } Py_INCREF(Py_None
);
3225 _resultobj
= Py_None
;
3229 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3230 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3234 PyObject
* _argo0
= 0;
3235 PyObject
* _obj1
= 0;
3236 char *_kwnames
[] = { "self","text", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3249 #if PYTHON_API_VERSION >= 1009
3250 char* tmpPtr
; int tmpSize
;
3251 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3255 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3257 _arg1
= new wxString(tmpPtr
, tmpSize
);
3259 if (!PyString_Check(_obj1
)) {
3260 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3263 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 wxComboBox_SetValue(_arg0
,*_arg1
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) return NULL
;
3272 } Py_INCREF(Py_None
);
3273 _resultobj
= Py_None
;
3281 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3282 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
* _resultobj
;
3286 PyObject
* _argo0
= 0;
3288 char *_kwnames
[] = { "self","editable", NULL
};
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3300 _arg1
= (bool ) tempbool1
;
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 wxComboBox_SetEditable(_arg0
,_arg1
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) return NULL
;
3307 } Py_INCREF(Py_None
);
3308 _resultobj
= Py_None
;
3312 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3313 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3316 PyObject
* _argo0
= 0;
3317 char *_kwnames
[] = { "self", NULL
};
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
3323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 wxComboBox_Clear(_arg0
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) return NULL
;
3335 } Py_INCREF(Py_None
);
3336 _resultobj
= Py_None
;
3340 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3341 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
* _resultobj
;
3345 PyObject
* _argo0
= 0;
3346 char *_kwnames
[] = { "self","n", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 wxComboBox_Delete(_arg0
,_arg1
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) return NULL
;
3364 } Py_INCREF(Py_None
);
3365 _resultobj
= Py_None
;
3369 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3370 static PyObject
*_wrap_wxComboBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 _result
= (int )wxComboBox_GetCount(_arg0
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3393 } _resultobj
= Py_BuildValue("i",_result
);
3397 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3398 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
* _resultobj
;
3403 PyObject
* _argo0
= 0;
3404 char *_kwnames
[] = { "self","n", NULL
};
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) return NULL
;
3423 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3431 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3432 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3437 PyObject
* _argo0
= 0;
3438 PyObject
* _obj1
= 0;
3439 char *_kwnames
[] = { "self","s", NULL
};
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3452 #if PYTHON_API_VERSION >= 1009
3453 char* tmpPtr
; int tmpSize
;
3454 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3458 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3460 _arg1
= new wxString(tmpPtr
, tmpSize
);
3462 if (!PyString_Check(_obj1
)) {
3463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3466 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) return NULL
;
3475 } _resultobj
= Py_BuildValue("i",_result
);
3483 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3484 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
* _resultobj
;
3488 PyObject
* _argo0
= 0;
3489 char *_kwnames
[] = { "self", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 _result
= (int )wxComboBox_GetSelection(_arg0
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) return NULL
;
3507 } _resultobj
= Py_BuildValue("i",_result
);
3511 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3512 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
* _resultobj
;
3516 PyObject
* _argo0
= 0;
3517 char *_kwnames
[] = { "self", NULL
};
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3536 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3544 static void wxComboBox_Append(wxComboBox
*self
,const wxString
& item
,PyObject
* clientData
) {
3546 wxPyClientData
* data
= new wxPyClientData(clientData
);
3547 self
->Append(item
, data
);
3551 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3555 PyObject
* _arg2
= (PyObject
*) NULL
;
3556 PyObject
* _argo0
= 0;
3557 PyObject
* _obj1
= 0;
3558 PyObject
* _obj2
= 0;
3559 char *_kwnames
[] = { "self","item","clientData", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3572 #if PYTHON_API_VERSION >= 1009
3573 char* tmpPtr
; int tmpSize
;
3574 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3578 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3580 _arg1
= new wxString(tmpPtr
, tmpSize
);
3582 if (!PyString_Check(_obj1
)) {
3583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3586 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 wxComboBox_Append(_arg0
,*_arg1
,_arg2
);
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) return NULL
;
3599 } Py_INCREF(Py_None
);
3600 _resultobj
= Py_None
;
3608 static PyObject
* wxComboBox_GetClientData(wxComboBox
*self
,int n
) {
3609 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3611 Py_INCREF(data
->m_obj
);
3618 static PyObject
*_wrap_wxComboBox_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3623 PyObject
* _argo0
= 0;
3624 char *_kwnames
[] = { "self","n", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 _result
= (PyObject
*)wxComboBox_GetClientData(_arg0
,_arg1
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3643 _resultobj
= _result
;
3648 static void wxComboBox_SetClientData(wxComboBox
*self
,int n
,PyObject
* clientData
) {
3649 wxPyClientData
* data
= new wxPyClientData(clientData
);
3650 self
->SetClientObject(n
, data
);
3652 static PyObject
*_wrap_wxComboBox_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3657 PyObject
* _argo0
= 0;
3658 PyObject
* _obj2
= 0;
3659 char *_kwnames
[] = { "self","n","clientData", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) return NULL
;
3680 } Py_INCREF(Py_None
);
3681 _resultobj
= Py_None
;
3685 static void *SwigwxGaugeTowxControl(void *ptr
) {
3688 src
= (wxGauge
*) ptr
;
3689 dest
= (wxControl
*) src
;
3690 return (void *) dest
;
3693 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3696 src
= (wxGauge
*) ptr
;
3697 dest
= (wxWindow
*) src
;
3698 return (void *) dest
;
3701 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3704 src
= (wxGauge
*) ptr
;
3705 dest
= (wxEvtHandler
*) src
;
3706 return (void *) dest
;
3709 static void *SwigwxGaugeTowxObject(void *ptr
) {
3712 src
= (wxGauge
*) ptr
;
3713 dest
= (wxObject
*) src
;
3714 return (void *) dest
;
3717 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3718 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3724 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3725 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3726 long _arg5
= (long ) wxGA_HORIZONTAL
;
3727 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3728 char * _arg7
= (char *) "gauge";
3729 PyObject
* _argo0
= 0;
3731 PyObject
* _obj3
= 0;
3733 PyObject
* _obj4
= 0;
3734 PyObject
* _argo6
= 0;
3735 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3751 if (! wxPoint_helper(_obj3
, &_arg3
))
3757 if (! wxSize_helper(_obj4
, &_arg4
))
3761 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3769 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) return NULL
;
3774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3775 _resultobj
= Py_BuildValue("s",_ptemp
);
3778 _resultobj
= Py_None
;
3783 #define new_wxPreGauge() (new wxGauge())
3784 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
* _resultobj
;
3787 char *_kwnames
[] = { NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 _result
= (wxGauge
*)new_wxPreGauge();
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) return NULL
;
3800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3801 _resultobj
= Py_BuildValue("s",_ptemp
);
3804 _resultobj
= Py_None
;
3809 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3810 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3817 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3818 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3819 long _arg6
= (long ) wxGA_HORIZONTAL
;
3820 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3821 char * _arg8
= (char *) "gauge";
3822 PyObject
* _argo0
= 0;
3823 PyObject
* _argo1
= 0;
3825 PyObject
* _obj4
= 0;
3827 PyObject
* _obj5
= 0;
3828 PyObject
* _argo7
= 0;
3829 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3851 if (! wxPoint_helper(_obj4
, &_arg4
))
3857 if (! wxSize_helper(_obj5
, &_arg5
))
3861 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3869 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) return NULL
;
3873 } _resultobj
= Py_BuildValue("i",_result
);
3877 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3878 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
* _resultobj
;
3882 PyObject
* _argo0
= 0;
3883 char *_kwnames
[] = { "self", NULL
};
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) return NULL
;
3901 } _resultobj
= Py_BuildValue("i",_result
);
3905 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3906 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3910 PyObject
* _argo0
= 0;
3911 char *_kwnames
[] = { "self", NULL
};
3914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 _result
= (int )wxGauge_GetRange(_arg0
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) return NULL
;
3929 } _resultobj
= Py_BuildValue("i",_result
);
3933 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3934 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3938 PyObject
* _argo0
= 0;
3939 char *_kwnames
[] = { "self", NULL
};
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) return NULL
;
3957 } _resultobj
= Py_BuildValue("i",_result
);
3961 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3962 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3966 PyObject
* _argo0
= 0;
3967 char *_kwnames
[] = { "self", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 _result
= (int )wxGauge_GetValue(_arg0
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) return NULL
;
3985 } _resultobj
= Py_BuildValue("i",_result
);
3989 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3990 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3994 PyObject
* _argo0
= 0;
3995 char *_kwnames
[] = { "self","width", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 wxGauge_SetBezelFace(_arg0
,_arg1
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) return NULL
;
4013 } Py_INCREF(Py_None
);
4014 _resultobj
= Py_None
;
4018 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
4019 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4023 PyObject
* _argo0
= 0;
4024 char *_kwnames
[] = { "self","range", NULL
};
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
4030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 wxGauge_SetRange(_arg0
,_arg1
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) return NULL
;
4042 } Py_INCREF(Py_None
);
4043 _resultobj
= Py_None
;
4047 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
4048 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4052 PyObject
* _argo0
= 0;
4053 char *_kwnames
[] = { "self","width", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
4059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 wxGauge_SetShadowWidth(_arg0
,_arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) return NULL
;
4071 } Py_INCREF(Py_None
);
4072 _resultobj
= Py_None
;
4076 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4077 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4081 PyObject
* _argo0
= 0;
4082 char *_kwnames
[] = { "self","pos", NULL
};
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
4088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 wxGauge_SetValue(_arg0
,_arg1
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) return NULL
;
4100 } Py_INCREF(Py_None
);
4101 _resultobj
= Py_None
;
4105 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
4108 src
= (wxStaticBox
*) ptr
;
4109 dest
= (wxControl
*) src
;
4110 return (void *) dest
;
4113 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
4116 src
= (wxStaticBox
*) ptr
;
4117 dest
= (wxWindow
*) src
;
4118 return (void *) dest
;
4121 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
4124 src
= (wxStaticBox
*) ptr
;
4125 dest
= (wxEvtHandler
*) src
;
4126 return (void *) dest
;
4129 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
4132 src
= (wxStaticBox
*) ptr
;
4133 dest
= (wxObject
*) src
;
4134 return (void *) dest
;
4137 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4138 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4139 PyObject
* _resultobj
;
4140 wxStaticBox
* _result
;
4144 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4145 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4146 long _arg5
= (long ) 0;
4147 char * _arg6
= (char *) "staticBox";
4148 PyObject
* _argo0
= 0;
4149 PyObject
* _obj2
= 0;
4151 PyObject
* _obj3
= 0;
4153 PyObject
* _obj4
= 0;
4154 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4168 #if PYTHON_API_VERSION >= 1009
4169 char* tmpPtr
; int tmpSize
;
4170 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4171 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4174 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4176 _arg2
= new wxString(tmpPtr
, tmpSize
);
4178 if (!PyString_Check(_obj2
)) {
4179 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4182 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4188 if (! wxPoint_helper(_obj3
, &_arg3
))
4194 if (! wxSize_helper(_obj4
, &_arg4
))
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4205 _resultobj
= Py_BuildValue("s",_ptemp
);
4208 _resultobj
= Py_None
;
4217 #define new_wxPreStaticBox() (new wxStaticBox())
4218 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4220 wxStaticBox
* _result
;
4221 char *_kwnames
[] = { NULL
};
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) return NULL
;
4234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4235 _resultobj
= Py_BuildValue("s",_ptemp
);
4238 _resultobj
= Py_None
;
4243 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4244 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4247 wxStaticBox
* _arg0
;
4251 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4252 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4253 long _arg6
= (long ) 0;
4254 char * _arg7
= (char *) "staticBox";
4255 PyObject
* _argo0
= 0;
4256 PyObject
* _argo1
= 0;
4257 PyObject
* _obj3
= 0;
4259 PyObject
* _obj4
= 0;
4261 PyObject
* _obj5
= 0;
4262 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4275 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4282 #if PYTHON_API_VERSION >= 1009
4283 char* tmpPtr
; int tmpSize
;
4284 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4288 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4290 _arg3
= new wxString(tmpPtr
, tmpSize
);
4292 if (!PyString_Check(_obj3
)) {
4293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4296 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4302 if (! wxPoint_helper(_obj4
, &_arg4
))
4308 if (! wxSize_helper(_obj5
, &_arg5
))
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) return NULL
;
4317 } _resultobj
= Py_BuildValue("i",_result
);
4325 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4328 src
= (wxStaticLine
*) ptr
;
4329 dest
= (wxControl
*) src
;
4330 return (void *) dest
;
4333 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4336 src
= (wxStaticLine
*) ptr
;
4337 dest
= (wxWindow
*) src
;
4338 return (void *) dest
;
4341 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4344 src
= (wxStaticLine
*) ptr
;
4345 dest
= (wxEvtHandler
*) src
;
4346 return (void *) dest
;
4349 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4352 src
= (wxStaticLine
*) ptr
;
4353 dest
= (wxObject
*) src
;
4354 return (void *) dest
;
4357 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4358 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
* _resultobj
;
4360 wxStaticLine
* _result
;
4363 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4364 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4365 long _arg4
= (long ) wxLI_HORIZONTAL
;
4366 char * _arg5
= (char *) "staticLine";
4367 PyObject
* _argo0
= 0;
4369 PyObject
* _obj2
= 0;
4371 PyObject
* _obj3
= 0;
4372 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4388 if (! wxPoint_helper(_obj2
, &_arg2
))
4394 if (! wxSize_helper(_obj3
, &_arg3
))
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4405 _resultobj
= Py_BuildValue("s",_ptemp
);
4408 _resultobj
= Py_None
;
4413 #define new_wxPreStaticLine() (new wxStaticLine())
4414 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
* _resultobj
;
4416 wxStaticLine
* _result
;
4417 char *_kwnames
[] = { NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) return NULL
;
4430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4431 _resultobj
= Py_BuildValue("s",_ptemp
);
4434 _resultobj
= Py_None
;
4439 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4440 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4443 wxStaticLine
* _arg0
;
4446 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4447 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4448 long _arg5
= (long ) wxLI_HORIZONTAL
;
4449 char * _arg6
= (char *) "staticLine";
4450 PyObject
* _argo0
= 0;
4451 PyObject
* _argo1
= 0;
4453 PyObject
* _obj3
= 0;
4455 PyObject
* _obj4
= 0;
4456 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4478 if (! wxPoint_helper(_obj3
, &_arg3
))
4484 if (! wxSize_helper(_obj4
, &_arg4
))
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) return NULL
;
4493 } _resultobj
= Py_BuildValue("i",_result
);
4497 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4500 src
= (wxStaticText
*) ptr
;
4501 dest
= (wxControl
*) src
;
4502 return (void *) dest
;
4505 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4508 src
= (wxStaticText
*) ptr
;
4509 dest
= (wxWindow
*) src
;
4510 return (void *) dest
;
4513 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4516 src
= (wxStaticText
*) ptr
;
4517 dest
= (wxEvtHandler
*) src
;
4518 return (void *) dest
;
4521 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4524 src
= (wxStaticText
*) ptr
;
4525 dest
= (wxObject
*) src
;
4526 return (void *) dest
;
4529 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4530 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4531 PyObject
* _resultobj
;
4532 wxStaticText
* _result
;
4536 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4537 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4538 long _arg5
= (long ) 0;
4539 char * _arg6
= (char *) "staticText";
4540 PyObject
* _argo0
= 0;
4541 PyObject
* _obj2
= 0;
4543 PyObject
* _obj3
= 0;
4545 PyObject
* _obj4
= 0;
4546 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4560 #if PYTHON_API_VERSION >= 1009
4561 char* tmpPtr
; int tmpSize
;
4562 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4563 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4566 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4568 _arg2
= new wxString(tmpPtr
, tmpSize
);
4570 if (!PyString_Check(_obj2
)) {
4571 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4574 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4580 if (! wxPoint_helper(_obj3
, &_arg3
))
4586 if (! wxSize_helper(_obj4
, &_arg4
))
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) return NULL
;
4596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4597 _resultobj
= Py_BuildValue("s",_ptemp
);
4600 _resultobj
= Py_None
;
4609 #define new_wxPreStaticText() (new wxStaticText())
4610 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
* _resultobj
;
4612 wxStaticText
* _result
;
4613 char *_kwnames
[] = { NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 _result
= (wxStaticText
*)new_wxPreStaticText();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4627 _resultobj
= Py_BuildValue("s",_ptemp
);
4630 _resultobj
= Py_None
;
4635 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4636 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4639 wxStaticText
* _arg0
;
4643 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4644 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4645 long _arg6
= (long ) 0;
4646 char * _arg7
= (char *) "staticText";
4647 PyObject
* _argo0
= 0;
4648 PyObject
* _argo1
= 0;
4649 PyObject
* _obj3
= 0;
4651 PyObject
* _obj4
= 0;
4653 PyObject
* _obj5
= 0;
4654 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4674 #if PYTHON_API_VERSION >= 1009
4675 char* tmpPtr
; int tmpSize
;
4676 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4677 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4680 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4682 _arg3
= new wxString(tmpPtr
, tmpSize
);
4684 if (!PyString_Check(_obj3
)) {
4685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4688 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4694 if (! wxPoint_helper(_obj4
, &_arg4
))
4700 if (! wxSize_helper(_obj5
, &_arg5
))
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) return NULL
;
4709 } _resultobj
= Py_BuildValue("i",_result
);
4717 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4718 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4721 wxStaticText
* _arg0
;
4722 PyObject
* _argo0
= 0;
4723 char *_kwnames
[] = { "self", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) return NULL
;
4742 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4750 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4751 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4753 wxStaticText
* _arg0
;
4755 PyObject
* _argo0
= 0;
4756 PyObject
* _obj1
= 0;
4757 char *_kwnames
[] = { "self","label", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4770 #if PYTHON_API_VERSION >= 1009
4771 char* tmpPtr
; int tmpSize
;
4772 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4776 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4778 _arg1
= new wxString(tmpPtr
, tmpSize
);
4780 if (!PyString_Check(_obj1
)) {
4781 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4784 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxStaticText_SetLabel(_arg0
,*_arg1
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) return NULL
;
4793 } Py_INCREF(Py_None
);
4794 _resultobj
= Py_None
;
4802 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4804 wxControlWithItems
*dest
;
4805 src
= (wxListBox
*) ptr
;
4806 dest
= (wxControlWithItems
*) src
;
4807 return (void *) dest
;
4810 static void *SwigwxListBoxTowxControl(void *ptr
) {
4813 src
= (wxListBox
*) ptr
;
4814 dest
= (wxControl
*) src
;
4815 return (void *) dest
;
4818 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4821 src
= (wxListBox
*) ptr
;
4822 dest
= (wxWindow
*) src
;
4823 return (void *) dest
;
4826 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4829 src
= (wxListBox
*) ptr
;
4830 dest
= (wxEvtHandler
*) src
;
4831 return (void *) dest
;
4834 static void *SwigwxListBoxTowxObject(void *ptr
) {
4837 src
= (wxListBox
*) ptr
;
4838 dest
= (wxObject
*) src
;
4839 return (void *) dest
;
4842 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4843 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
* _resultobj
;
4845 wxListBox
* _result
;
4848 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4849 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4851 wxString
* _arg5
= (wxString
*) NULL
;
4852 long _arg6
= (long ) 0;
4853 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4854 char * _arg8
= (char *) "listBox";
4855 PyObject
* _argo0
= 0;
4857 PyObject
* _obj2
= 0;
4859 PyObject
* _obj3
= 0;
4860 PyObject
* _obj5
= 0;
4861 PyObject
* _argo7
= 0;
4862 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4878 if (! wxPoint_helper(_obj2
, &_arg2
))
4884 if (! wxSize_helper(_obj3
, &_arg3
))
4889 _arg5
= wxString_LIST_helper(_obj5
);
4890 if (_arg5
== NULL
) {
4895 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4903 _arg4
= PyList_Size(_obj5
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4917 _resultobj
= Py_BuildValue("s",_ptemp
);
4920 _resultobj
= Py_None
;
4928 #define new_wxPreListBox() (new wxListBox())
4929 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
* _resultobj
;
4931 wxListBox
* _result
;
4932 char *_kwnames
[] = { NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 _result
= (wxListBox
*)new_wxPreListBox();
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) return NULL
;
4945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4946 _resultobj
= Py_BuildValue("s",_ptemp
);
4949 _resultobj
= Py_None
;
4954 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4955 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4961 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4962 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4964 wxString
* _arg6
= (wxString
*) NULL
;
4965 long _arg7
= (long ) 0;
4966 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4967 char * _arg9
= (char *) "listBox";
4968 PyObject
* _argo0
= 0;
4969 PyObject
* _argo1
= 0;
4971 PyObject
* _obj3
= 0;
4973 PyObject
* _obj4
= 0;
4974 PyObject
* _obj6
= 0;
4975 PyObject
* _argo8
= 0;
4976 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4989 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4990 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4998 if (! wxPoint_helper(_obj3
, &_arg3
))
5004 if (! wxSize_helper(_obj4
, &_arg4
))
5009 _arg6
= wxString_LIST_helper(_obj6
);
5010 if (_arg6
== NULL
) {
5015 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
5023 _arg5
= PyList_Size(_obj6
);
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) return NULL
;
5035 } _resultobj
= Py_BuildValue("i",_result
);
5042 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
5043 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
* _resultobj
;
5046 PyObject
* _argo0
= 0;
5047 char *_kwnames
[] = { "self", NULL
};
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
5053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 wxListBox_Clear(_arg0
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) return NULL
;
5065 } Py_INCREF(Py_None
);
5066 _resultobj
= Py_None
;
5070 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5071 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
* _resultobj
;
5075 PyObject
* _argo0
= 0;
5076 char *_kwnames
[] = { "self","n", NULL
};
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
5082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 wxListBox_Deselect(_arg0
,_arg1
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) return NULL
;
5094 } Py_INCREF(Py_None
);
5095 _resultobj
= Py_None
;
5099 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
5101 self
->GetSelections(lst
);
5102 PyObject
*tup
= PyTuple_New(lst
.GetCount());
5103 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
5104 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
5108 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5112 PyObject
* _argo0
= 0;
5113 char *_kwnames
[] = { "self", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) return NULL
;
5132 _resultobj
= _result
;
5137 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5138 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5145 PyObject
* _obj2
= 0;
5146 char *_kwnames
[] = { "self","choices","pos", NULL
};
5149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5159 _arg2
= wxString_LIST_helper(_obj2
);
5160 if (_arg2
== NULL
) {
5166 _arg1
= PyList_Size(_obj2
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) return NULL
;
5178 } Py_INCREF(Py_None
);
5179 _resultobj
= Py_None
;
5186 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5187 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5192 PyObject
* _argo0
= 0;
5193 char *_kwnames
[] = { "self","n", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5207 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) return NULL
;
5211 } _resultobj
= Py_BuildValue("i",_result
);
5215 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5216 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5221 PyObject
* _argo0
= 0;
5222 char *_kwnames
[] = { "self","n", NULL
};
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) return NULL
;
5240 } _resultobj
= Py_BuildValue("i",_result
);
5244 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5245 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
* _resultobj
;
5250 PyObject
* _argo0
= 0;
5251 PyObject
* _obj2
= 0;
5252 char *_kwnames
[] = { "self","choices", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5266 _arg2
= wxString_LIST_helper(_obj2
);
5267 if (_arg2
== NULL
) {
5273 _arg1
= PyList_Size(_obj2
);
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) return NULL
;
5285 } Py_INCREF(Py_None
);
5286 _resultobj
= Py_None
;
5293 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5294 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5298 PyObject
* _argo0
= 0;
5299 char *_kwnames
[] = { "self","n", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 wxListBox_SetFirstItem(_arg0
,_arg1
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) return NULL
;
5317 } Py_INCREF(Py_None
);
5318 _resultobj
= Py_None
;
5322 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5323 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
* _resultobj
;
5327 PyObject
* _argo0
= 0;
5328 PyObject
* _obj1
= 0;
5329 char *_kwnames
[] = { "self","string", NULL
};
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5342 #if PYTHON_API_VERSION >= 1009
5343 char* tmpPtr
; int tmpSize
;
5344 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5345 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5348 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5350 _arg1
= new wxString(tmpPtr
, tmpSize
);
5352 if (!PyString_Check(_obj1
)) {
5353 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5356 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5361 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) return NULL
;
5365 } Py_INCREF(Py_None
);
5366 _resultobj
= Py_None
;
5374 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5375 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5379 bool _arg2
= (bool ) TRUE
;
5380 PyObject
* _argo0
= 0;
5381 int tempbool2
= (int) TRUE
;
5382 char *_kwnames
[] = { "self","n","select", NULL
};
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5394 _arg2
= (bool ) tempbool2
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) return NULL
;
5401 } Py_INCREF(Py_None
);
5402 _resultobj
= Py_None
;
5406 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5407 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
* _resultobj
;
5412 PyObject
* _argo0
= 0;
5413 PyObject
* _obj2
= 0;
5414 char *_kwnames
[] = { "self","n","string", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5427 #if PYTHON_API_VERSION >= 1009
5428 char* tmpPtr
; int tmpSize
;
5429 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5433 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5435 _arg2
= new wxString(tmpPtr
, tmpSize
);
5437 if (!PyString_Check(_obj2
)) {
5438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5441 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) return NULL
;
5450 } Py_INCREF(Py_None
);
5451 _resultobj
= Py_None
;
5459 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5460 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
* _resultobj
;
5464 bool _arg2
= (bool ) TRUE
;
5465 PyObject
* _argo0
= 0;
5466 PyObject
* _obj1
= 0;
5467 int tempbool2
= (int) TRUE
;
5468 char *_kwnames
[] = { "self","string","select", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5481 #if PYTHON_API_VERSION >= 1009
5482 char* tmpPtr
; int tmpSize
;
5483 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5484 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5487 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5489 _arg1
= new wxString(tmpPtr
, tmpSize
);
5491 if (!PyString_Check(_obj1
)) {
5492 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5495 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5498 _arg2
= (bool ) tempbool2
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) return NULL
;
5505 } Py_INCREF(Py_None
);
5506 _resultobj
= Py_None
;
5514 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5515 wxCheckListBox
*src
;
5517 src
= (wxCheckListBox
*) ptr
;
5518 dest
= (wxListBox
*) src
;
5519 return (void *) dest
;
5522 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5523 wxCheckListBox
*src
;
5524 wxControlWithItems
*dest
;
5525 src
= (wxCheckListBox
*) ptr
;
5526 dest
= (wxControlWithItems
*) src
;
5527 return (void *) dest
;
5530 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5531 wxCheckListBox
*src
;
5533 src
= (wxCheckListBox
*) ptr
;
5534 dest
= (wxControl
*) src
;
5535 return (void *) dest
;
5538 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5539 wxCheckListBox
*src
;
5541 src
= (wxCheckListBox
*) ptr
;
5542 dest
= (wxWindow
*) src
;
5543 return (void *) dest
;
5546 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5547 wxCheckListBox
*src
;
5549 src
= (wxCheckListBox
*) ptr
;
5550 dest
= (wxEvtHandler
*) src
;
5551 return (void *) dest
;
5554 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5555 wxCheckListBox
*src
;
5557 src
= (wxCheckListBox
*) ptr
;
5558 dest
= (wxObject
*) src
;
5559 return (void *) dest
;
5562 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5563 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5565 wxCheckListBox
* _result
;
5568 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5569 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5570 int _arg4
= (int ) 0;
5571 wxString
* _arg5
= (wxString
*) NULL
;
5572 long _arg6
= (long ) 0;
5573 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5574 char * _arg8
= (char *) "listBox";
5575 PyObject
* _argo0
= 0;
5577 PyObject
* _obj2
= 0;
5579 PyObject
* _obj3
= 0;
5580 PyObject
* _obj5
= 0;
5581 PyObject
* _argo7
= 0;
5582 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5598 if (! wxPoint_helper(_obj2
, &_arg2
))
5604 if (! wxSize_helper(_obj3
, &_arg3
))
5609 _arg5
= wxString_LIST_helper(_obj5
);
5610 if (_arg5
== NULL
) {
5615 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5623 _arg4
= PyList_Size(_obj5
);
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) return NULL
;
5636 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5637 _resultobj
= Py_BuildValue("s",_ptemp
);
5640 _resultobj
= Py_None
;
5648 #define new_wxPreCheckListBox() (new wxCheckListBox())
5649 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5651 wxCheckListBox
* _result
;
5652 char *_kwnames
[] = { NULL
};
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) return NULL
;
5665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5666 _resultobj
= Py_BuildValue("s",_ptemp
);
5669 _resultobj
= Py_None
;
5674 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5675 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
* _resultobj
;
5678 wxCheckListBox
* _arg0
;
5681 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5682 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5683 int _arg5
= (int ) 0;
5684 wxString
* _arg6
= (wxString
*) NULL
;
5685 long _arg7
= (long ) 0;
5686 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5687 char * _arg9
= (char *) "listBox";
5688 PyObject
* _argo0
= 0;
5689 PyObject
* _argo1
= 0;
5691 PyObject
* _obj3
= 0;
5693 PyObject
* _obj4
= 0;
5694 PyObject
* _obj6
= 0;
5695 PyObject
* _argo8
= 0;
5696 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5718 if (! wxPoint_helper(_obj3
, &_arg3
))
5724 if (! wxSize_helper(_obj4
, &_arg4
))
5729 _arg6
= wxString_LIST_helper(_obj6
);
5730 if (_arg6
== NULL
) {
5735 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5743 _arg5
= PyList_Size(_obj6
);
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) return NULL
;
5755 } _resultobj
= Py_BuildValue("i",_result
);
5762 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5763 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
* _resultobj
;
5766 wxCheckListBox
* _arg0
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self","uiIndex", NULL
};
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) return NULL
;
5787 } _resultobj
= Py_BuildValue("i",_result
);
5791 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5792 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
* _resultobj
;
5794 wxCheckListBox
* _arg0
;
5796 int _arg2
= (int ) TRUE
;
5797 PyObject
* _argo0
= 0;
5798 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) return NULL
;
5816 } Py_INCREF(Py_None
);
5817 _resultobj
= Py_None
;
5821 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5822 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
* _resultobj
;
5824 wxCheckListBox
* _arg0
;
5828 PyObject
* _argo0
= 0;
5829 PyObject
* _obj2
= 0;
5830 char *_kwnames
[] = { "self","choices","pos", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5843 _arg2
= wxString_LIST_helper(_obj2
);
5844 if (_arg2
== NULL
) {
5850 _arg1
= PyList_Size(_obj2
);
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) return NULL
;
5862 } Py_INCREF(Py_None
);
5863 _resultobj
= Py_None
;
5870 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5871 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5874 wxCheckListBox
* _arg0
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) return NULL
;
5894 } _resultobj
= Py_BuildValue("i",_result
);
5898 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5899 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5901 wxTextAttr
* _result
;
5902 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5903 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5904 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5906 PyObject
* _obj0
= 0;
5908 PyObject
* _obj1
= 0;
5909 PyObject
* _argo2
= 0;
5910 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5919 if (! wxColour_helper(_obj0
, &_arg0
))
5925 if (! wxColour_helper(_obj1
, &_arg1
))
5929 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) return NULL
;
5942 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 _resultobj
= Py_None
;
5951 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5952 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5955 PyObject
* _argo0
= 0;
5956 char *_kwnames
[] = { "self", NULL
};
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 delete_wxTextAttr(_arg0
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) return NULL
;
5974 } Py_INCREF(Py_None
);
5975 _resultobj
= Py_None
;
5979 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5980 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5984 PyObject
* _argo0
= 0;
5986 PyObject
* _obj1
= 0;
5987 char *_kwnames
[] = { "self","colText", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
6001 if (! wxColour_helper(_obj1
, &_arg1
))
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) return NULL
;
6010 } Py_INCREF(Py_None
);
6011 _resultobj
= Py_None
;
6015 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6016 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
* _resultobj
;
6020 PyObject
* _argo0
= 0;
6022 PyObject
* _obj1
= 0;
6023 char *_kwnames
[] = { "self","colBack", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6037 if (! wxColour_helper(_obj1
, &_arg1
))
6041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6042 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) return NULL
;
6046 } Py_INCREF(Py_None
);
6047 _resultobj
= Py_None
;
6051 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6052 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6056 PyObject
* _argo0
= 0;
6057 PyObject
* _argo1
= 0;
6058 char *_kwnames
[] = { "self","font", NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
6064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 wxTextAttr_SetFont(_arg0
,*_arg1
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) return NULL
;
6083 } Py_INCREF(Py_None
);
6084 _resultobj
= Py_None
;
6088 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6089 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6112 } _resultobj
= Py_BuildValue("i",_result
);
6116 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6117 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6121 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6140 } _resultobj
= Py_BuildValue("i",_result
);
6144 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6145 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6149 PyObject
* _argo0
= 0;
6150 char *_kwnames
[] = { "self", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6168 } _resultobj
= Py_BuildValue("i",_result
);
6172 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6173 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
* _resultobj
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self", NULL
};
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) return NULL
;
6197 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6198 _resultobj
= Py_BuildValue("s",_ptemp
);
6202 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6203 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6207 PyObject
* _argo0
= 0;
6208 char *_kwnames
[] = { "self", NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6223 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) return NULL
;
6227 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6228 _resultobj
= Py_BuildValue("s",_ptemp
);
6232 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6233 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
* _resultobj
;
6237 PyObject
* _argo0
= 0;
6238 char *_kwnames
[] = { "self", NULL
};
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) return NULL
;
6257 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6258 _resultobj
= Py_BuildValue("s",_ptemp
);
6262 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6263 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
* _resultobj
;
6267 PyObject
* _argo0
= 0;
6268 char *_kwnames
[] = { "self", NULL
};
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6282 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) return NULL
;
6286 } _resultobj
= Py_BuildValue("i",_result
);
6290 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
* _resultobj
;
6292 wxTextAttr
* _result
;
6296 PyObject
* _argo0
= 0;
6297 PyObject
* _argo1
= 0;
6298 PyObject
* _argo2
= 0;
6299 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6313 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6320 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6321 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) return NULL
;
6332 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6333 _resultobj
= Py_BuildValue("s",_ptemp
);
6337 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6340 src
= (wxTextCtrl
*) ptr
;
6341 dest
= (wxControl
*) src
;
6342 return (void *) dest
;
6345 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6348 src
= (wxTextCtrl
*) ptr
;
6349 dest
= (wxWindow
*) src
;
6350 return (void *) dest
;
6353 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6356 src
= (wxTextCtrl
*) ptr
;
6357 dest
= (wxEvtHandler
*) src
;
6358 return (void *) dest
;
6361 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6364 src
= (wxTextCtrl
*) ptr
;
6365 dest
= (wxObject
*) src
;
6366 return (void *) dest
;
6369 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6370 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6372 wxTextCtrl
* _result
;
6375 char * _arg2
= (char *) "";
6376 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6377 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6378 long _arg5
= (long ) 0;
6379 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6380 char * _arg7
= (char *) "text";
6381 PyObject
* _argo0
= 0;
6383 PyObject
* _obj3
= 0;
6385 PyObject
* _obj4
= 0;
6386 PyObject
* _argo6
= 0;
6387 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6403 if (! wxPoint_helper(_obj3
, &_arg3
))
6409 if (! wxSize_helper(_obj4
, &_arg4
))
6413 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6414 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) return NULL
;
6426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6427 _resultobj
= Py_BuildValue("s",_ptemp
);
6430 _resultobj
= Py_None
;
6435 #define new_wxPreTextCtrl() (new wxTextCtrl())
6436 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6438 wxTextCtrl
* _result
;
6439 char *_kwnames
[] = { NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) return NULL
;
6452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6453 _resultobj
= Py_BuildValue("s",_ptemp
);
6456 _resultobj
= Py_None
;
6461 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6462 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6468 char * _arg3
= (char *) "";
6469 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6470 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6471 long _arg6
= (long ) 0;
6472 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6473 char * _arg8
= (char *) "text";
6474 PyObject
* _argo0
= 0;
6475 PyObject
* _argo1
= 0;
6477 PyObject
* _obj4
= 0;
6479 PyObject
* _obj5
= 0;
6480 PyObject
* _argo7
= 0;
6481 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6494 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6495 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6503 if (! wxPoint_helper(_obj4
, &_arg4
))
6509 if (! wxSize_helper(_obj5
, &_arg5
))
6513 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) return NULL
;
6525 } _resultobj
= Py_BuildValue("i",_result
);
6529 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6530 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) return NULL
;
6554 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6562 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6563 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6567 PyObject
* _argo0
= 0;
6568 PyObject
* _obj1
= 0;
6569 char *_kwnames
[] = { "self","value", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6582 #if PYTHON_API_VERSION >= 1009
6583 char* tmpPtr
; int tmpSize
;
6584 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6588 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6590 _arg1
= new wxString(tmpPtr
, tmpSize
);
6592 if (!PyString_Check(_obj1
)) {
6593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6596 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6601 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6603 wxPyEndAllowThreads(__tstate
);
6604 if (PyErr_Occurred()) return NULL
;
6605 } Py_INCREF(Py_None
);
6606 _resultobj
= Py_None
;
6614 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6615 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6621 PyObject
* _argo0
= 0;
6622 char *_kwnames
[] = { "self","from","to", NULL
};
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) return NULL
;
6641 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6649 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6650 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
* _resultobj
;
6655 PyObject
* _argo0
= 0;
6656 char *_kwnames
[] = { "self","lineNo", NULL
};
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) return NULL
;
6674 } _resultobj
= Py_BuildValue("i",_result
);
6678 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6679 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self","lineNo", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) return NULL
;
6704 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6712 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6713 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) return NULL
;
6736 } _resultobj
= Py_BuildValue("i",_result
);
6740 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6741 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
* _resultobj
;
6745 PyObject
* _argo0
= 0;
6746 char *_kwnames
[] = { "self", NULL
};
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) return NULL
;
6764 } _resultobj
= Py_BuildValue("i",_result
);
6768 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6769 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
* _resultobj
;
6773 PyObject
* _argo0
= 0;
6774 char *_kwnames
[] = { "self", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) return NULL
;
6792 } _resultobj
= Py_BuildValue("i",_result
);
6796 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6797 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6804 PyObject
* _argo0
= 0;
6805 char *_kwnames
[] = { "self", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) return NULL
;
6829 } Py_INCREF(Py_None
);
6830 _resultobj
= Py_None
;
6833 o
= PyInt_FromLong((long) (*_arg1
));
6834 _resultobj
= t_output_helper(_resultobj
, o
);
6838 o
= PyInt_FromLong((long) (*_arg2
));
6839 _resultobj
= t_output_helper(_resultobj
, o
);
6844 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6845 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6849 PyObject
* _argo0
= 0;
6850 char *_kwnames
[] = { "self", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) return NULL
;
6869 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6877 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6878 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
* _resultobj
;
6881 PyObject
* _argo0
= 0;
6882 char *_kwnames
[] = { "self", NULL
};
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 wxTextCtrl_Clear(_arg0
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) return NULL
;
6900 } Py_INCREF(Py_None
);
6901 _resultobj
= Py_None
;
6905 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6906 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6912 PyObject
* _argo0
= 0;
6913 PyObject
* _obj3
= 0;
6914 char *_kwnames
[] = { "self","from","to","value", NULL
};
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6927 #if PYTHON_API_VERSION >= 1009
6928 char* tmpPtr
; int tmpSize
;
6929 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6930 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6933 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6935 _arg3
= new wxString(tmpPtr
, tmpSize
);
6937 if (!PyString_Check(_obj3
)) {
6938 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6941 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) return NULL
;
6950 } Py_INCREF(Py_None
);
6951 _resultobj
= Py_None
;
6959 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6960 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
* _resultobj
;
6965 PyObject
* _argo0
= 0;
6966 char *_kwnames
[] = { "self","from","to", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6984 } Py_INCREF(Py_None
);
6985 _resultobj
= Py_None
;
6989 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6990 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
* _resultobj
;
6995 PyObject
* _argo0
= 0;
6996 PyObject
* _obj1
= 0;
6997 char *_kwnames
[] = { "self","file", NULL
};
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
7003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7010 #if PYTHON_API_VERSION >= 1009
7011 char* tmpPtr
; int tmpSize
;
7012 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7016 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7018 _arg1
= new wxString(tmpPtr
, tmpSize
);
7020 if (!PyString_Check(_obj1
)) {
7021 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7024 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) return NULL
;
7033 } _resultobj
= Py_BuildValue("i",_result
);
7041 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7042 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7046 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
7047 PyObject
* _argo0
= 0;
7048 PyObject
* _obj1
= 0;
7049 char *_kwnames
[] = { "self","file", NULL
};
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
7055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
7063 #if PYTHON_API_VERSION >= 1009
7064 char* tmpPtr
; int tmpSize
;
7065 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7069 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7071 _arg1
= new wxString(tmpPtr
, tmpSize
);
7073 if (!PyString_Check(_obj1
)) {
7074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7077 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7082 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
7084 wxPyEndAllowThreads(__tstate
);
7085 if (PyErr_Occurred()) return NULL
;
7086 } _resultobj
= Py_BuildValue("i",_result
);
7094 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7095 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
* _resultobj
;
7098 PyObject
* _argo0
= 0;
7099 char *_kwnames
[] = { "self", NULL
};
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
7105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 wxTextCtrl_DiscardEdits(_arg0
);
7115 wxPyEndAllowThreads(__tstate
);
7116 if (PyErr_Occurred()) return NULL
;
7117 } Py_INCREF(Py_None
);
7118 _resultobj
= Py_None
;
7122 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7123 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
* _resultobj
;
7126 unsigned long _arg1
;
7127 PyObject
* _argo0
= 0;
7128 char *_kwnames
[] = { "self","len", NULL
};
7131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) return NULL
;
7146 } Py_INCREF(Py_None
);
7147 _resultobj
= Py_None
;
7151 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7152 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
* _resultobj
;
7156 PyObject
* _argo0
= 0;
7157 PyObject
* _obj1
= 0;
7158 char *_kwnames
[] = { "self","text", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7171 #if PYTHON_API_VERSION >= 1009
7172 char* tmpPtr
; int tmpSize
;
7173 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7174 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7177 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7179 _arg1
= new wxString(tmpPtr
, tmpSize
);
7181 if (!PyString_Check(_obj1
)) {
7182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7185 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) return NULL
;
7194 } Py_INCREF(Py_None
);
7195 _resultobj
= Py_None
;
7203 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7204 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7208 PyObject
* _argo0
= 0;
7209 PyObject
* _obj1
= 0;
7210 char *_kwnames
[] = { "self","text", NULL
};
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7223 #if PYTHON_API_VERSION >= 1009
7224 char* tmpPtr
; int tmpSize
;
7225 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7229 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7231 _arg1
= new wxString(tmpPtr
, tmpSize
);
7233 if (!PyString_Check(_obj1
)) {
7234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7237 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) return NULL
;
7246 } Py_INCREF(Py_None
);
7247 _resultobj
= Py_None
;
7255 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7256 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
* _resultobj
;
7263 PyObject
* _argo0
= 0;
7264 PyObject
* _argo3
= 0;
7265 char *_kwnames
[] = { "self","start","end","style", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7278 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7279 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) return NULL
;
7290 } _resultobj
= Py_BuildValue("i",_result
);
7294 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7295 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
* _resultobj
;
7300 PyObject
* _argo0
= 0;
7301 PyObject
* _argo1
= 0;
7302 char *_kwnames
[] = { "self","style", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7315 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) return NULL
;
7327 } _resultobj
= Py_BuildValue("i",_result
);
7331 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7332 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
* _resultobj
;
7334 wxTextAttr
* _result
;
7336 PyObject
* _argo0
= 0;
7337 char *_kwnames
[] = { "self", NULL
};
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7353 _result
= (wxTextAttr
*) &_result_ref
;
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) return NULL
;
7358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7359 _resultobj
= Py_BuildValue("s",_ptemp
);
7362 _resultobj
= Py_None
;
7367 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7368 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
* _resultobj
;
7374 PyObject
* _argo0
= 0;
7375 char *_kwnames
[] = { "self","x","y", NULL
};
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) return NULL
;
7393 } _resultobj
= Py_BuildValue("l",_result
);
7397 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7398 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7406 PyObject
* _argo0
= 0;
7407 char *_kwnames
[] = { "self","pos", NULL
};
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) return NULL
;
7431 } Py_INCREF(Py_None
);
7432 _resultobj
= Py_None
;
7435 o
= PyInt_FromLong((long) (*_arg2
));
7436 _resultobj
= t_output_helper(_resultobj
, o
);
7440 o
= PyInt_FromLong((long) (*_arg3
));
7441 _resultobj
= t_output_helper(_resultobj
, o
);
7446 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7447 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
* _resultobj
;
7451 PyObject
* _argo0
= 0;
7452 char *_kwnames
[] = { "self","pos", NULL
};
7455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) return NULL
;
7470 } Py_INCREF(Py_None
);
7471 _resultobj
= Py_None
;
7475 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7476 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 wxTextCtrl_Copy(_arg0
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) return NULL
;
7498 } Py_INCREF(Py_None
);
7499 _resultobj
= Py_None
;
7503 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7504 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
* _resultobj
;
7507 PyObject
* _argo0
= 0;
7508 char *_kwnames
[] = { "self", NULL
};
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 wxTextCtrl_Cut(_arg0
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) return NULL
;
7526 } Py_INCREF(Py_None
);
7527 _resultobj
= Py_None
;
7531 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7532 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7535 PyObject
* _argo0
= 0;
7536 char *_kwnames
[] = { "self", NULL
};
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 wxTextCtrl_Paste(_arg0
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) return NULL
;
7554 } Py_INCREF(Py_None
);
7555 _resultobj
= Py_None
;
7559 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7560 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7564 PyObject
* _argo0
= 0;
7565 char *_kwnames
[] = { "self", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) return NULL
;
7583 } _resultobj
= Py_BuildValue("i",_result
);
7587 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7588 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
* _resultobj
;
7592 PyObject
* _argo0
= 0;
7593 char *_kwnames
[] = { "self", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) return NULL
;
7611 } _resultobj
= Py_BuildValue("i",_result
);
7615 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7616 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7620 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) return NULL
;
7639 } _resultobj
= Py_BuildValue("i",_result
);
7643 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7644 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 wxTextCtrl_Undo(_arg0
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } Py_INCREF(Py_None
);
7667 _resultobj
= Py_None
;
7671 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7672 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7675 PyObject
* _argo0
= 0;
7676 char *_kwnames
[] = { "self", NULL
};
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 wxTextCtrl_Redo(_arg0
);
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) return NULL
;
7694 } Py_INCREF(Py_None
);
7695 _resultobj
= Py_None
;
7699 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7700 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7701 PyObject
* _resultobj
;
7704 PyObject
* _argo0
= 0;
7705 char *_kwnames
[] = { "self", NULL
};
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) return NULL
;
7723 } _resultobj
= Py_BuildValue("i",_result
);
7727 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7728 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
* _resultobj
;
7732 PyObject
* _argo0
= 0;
7733 char *_kwnames
[] = { "self", NULL
};
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) return NULL
;
7751 } _resultobj
= Py_BuildValue("i",_result
);
7755 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7756 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
* _resultobj
;
7760 PyObject
* _argo0
= 0;
7761 char *_kwnames
[] = { "self","pos", NULL
};
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) return NULL
;
7779 } Py_INCREF(Py_None
);
7780 _resultobj
= Py_None
;
7784 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7785 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
* _resultobj
;
7788 PyObject
* _argo0
= 0;
7789 char *_kwnames
[] = { "self", NULL
};
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) return NULL
;
7807 } Py_INCREF(Py_None
);
7808 _resultobj
= Py_None
;
7812 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7813 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7817 PyObject
* _argo0
= 0;
7818 char *_kwnames
[] = { "self", NULL
};
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7832 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) return NULL
;
7836 } _resultobj
= Py_BuildValue("l",_result
);
7840 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7841 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
* _resultobj
;
7845 PyObject
* _argo0
= 0;
7846 char *_kwnames
[] = { "self", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) return NULL
;
7864 } _resultobj
= Py_BuildValue("l",_result
);
7868 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7869 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
* _resultobj
;
7874 PyObject
* _argo0
= 0;
7875 char *_kwnames
[] = { "self","from","to", NULL
};
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) return NULL
;
7893 } Py_INCREF(Py_None
);
7894 _resultobj
= Py_None
;
7898 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7899 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
* _resultobj
;
7902 PyObject
* _argo0
= 0;
7903 char *_kwnames
[] = { "self", NULL
};
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 wxTextCtrl_SelectAll(_arg0
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) return NULL
;
7921 } Py_INCREF(Py_None
);
7922 _resultobj
= Py_None
;
7926 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7927 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
* _resultobj
;
7931 PyObject
* _argo0
= 0;
7933 char *_kwnames
[] = { "self","editable", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7945 _arg1
= (bool ) tempbool1
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) return NULL
;
7952 } Py_INCREF(Py_None
);
7953 _resultobj
= Py_None
;
7957 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7958 self
->AppendText(text
);
7960 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
* _resultobj
;
7964 PyObject
* _argo0
= 0;
7965 PyObject
* _obj1
= 0;
7966 char *_kwnames
[] = { "self","text", NULL
};
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7979 #if PYTHON_API_VERSION >= 1009
7980 char* tmpPtr
; int tmpSize
;
7981 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7982 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7985 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7987 _arg1
= new wxString(tmpPtr
, tmpSize
);
7989 if (!PyString_Check(_obj1
)) {
7990 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7993 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 wxTextCtrl_write(_arg0
,*_arg1
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8002 } Py_INCREF(Py_None
);
8003 _resultobj
= Py_None
;
8011 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
8012 return self
->GetValue().Mid(from
, to
-from
);
8014 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
* _resultobj
;
8020 PyObject
* _argo0
= 0;
8021 char *_kwnames
[] = { "self","from","to", NULL
};
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) return NULL
;
8040 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8048 static void *SwigwxScrollBarTowxControl(void *ptr
) {
8051 src
= (wxScrollBar
*) ptr
;
8052 dest
= (wxControl
*) src
;
8053 return (void *) dest
;
8056 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
8059 src
= (wxScrollBar
*) ptr
;
8060 dest
= (wxWindow
*) src
;
8061 return (void *) dest
;
8064 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
8067 src
= (wxScrollBar
*) ptr
;
8068 dest
= (wxEvtHandler
*) src
;
8069 return (void *) dest
;
8072 static void *SwigwxScrollBarTowxObject(void *ptr
) {
8075 src
= (wxScrollBar
*) ptr
;
8076 dest
= (wxObject
*) src
;
8077 return (void *) dest
;
8080 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8081 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8083 wxScrollBar
* _result
;
8085 wxWindowID _arg1
= (wxWindowID
) -1;
8086 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8087 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8088 long _arg4
= (long ) wxSB_HORIZONTAL
;
8089 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
8090 char * _arg6
= (char *) "scrollBar";
8091 PyObject
* _argo0
= 0;
8093 PyObject
* _obj2
= 0;
8095 PyObject
* _obj3
= 0;
8096 PyObject
* _argo5
= 0;
8097 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
8104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8113 if (! wxPoint_helper(_obj2
, &_arg2
))
8119 if (! wxSize_helper(_obj3
, &_arg3
))
8123 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) return NULL
;
8136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8137 _resultobj
= Py_BuildValue("s",_ptemp
);
8140 _resultobj
= Py_None
;
8145 #define new_wxPreScrollBar() (new wxScrollBar())
8146 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
* _resultobj
;
8148 wxScrollBar
* _result
;
8149 char *_kwnames
[] = { NULL
};
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 _result
= (wxScrollBar
*)new_wxPreScrollBar();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) return NULL
;
8162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8163 _resultobj
= Py_BuildValue("s",_ptemp
);
8166 _resultobj
= Py_None
;
8171 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8172 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
* _resultobj
;
8175 wxScrollBar
* _arg0
;
8177 wxWindowID _arg2
= (wxWindowID
) -1;
8178 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8179 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8180 long _arg5
= (long ) wxSB_HORIZONTAL
;
8181 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8182 char * _arg7
= (char *) "scrollBar";
8183 PyObject
* _argo0
= 0;
8184 PyObject
* _argo1
= 0;
8186 PyObject
* _obj3
= 0;
8188 PyObject
* _obj4
= 0;
8189 PyObject
* _argo6
= 0;
8190 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8212 if (! wxPoint_helper(_obj3
, &_arg3
))
8218 if (! wxSize_helper(_obj4
, &_arg4
))
8222 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8223 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8230 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) return NULL
;
8234 } _resultobj
= Py_BuildValue("i",_result
);
8238 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8239 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
* _resultobj
;
8242 wxScrollBar
* _arg0
;
8243 PyObject
* _argo0
= 0;
8244 char *_kwnames
[] = { "self", NULL
};
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8258 _result
= (int )wxScrollBar_GetRange(_arg0
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) return NULL
;
8262 } _resultobj
= Py_BuildValue("i",_result
);
8266 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8267 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8270 wxScrollBar
* _arg0
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) return NULL
;
8290 } _resultobj
= Py_BuildValue("i",_result
);
8294 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8295 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
* _resultobj
;
8298 wxScrollBar
* _arg0
;
8299 PyObject
* _argo0
= 0;
8300 char *_kwnames
[] = { "self", NULL
};
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) return NULL
;
8318 } _resultobj
= Py_BuildValue("i",_result
);
8322 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8323 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
* _resultobj
;
8326 wxScrollBar
* _arg0
;
8327 PyObject
* _argo0
= 0;
8328 char *_kwnames
[] = { "self", NULL
};
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) return NULL
;
8346 } _resultobj
= Py_BuildValue("i",_result
);
8350 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8351 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
* _resultobj
;
8354 wxScrollBar
* _arg0
;
8355 PyObject
* _argo0
= 0;
8356 char *_kwnames
[] = { "self", NULL
};
8359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) return NULL
;
8374 } _resultobj
= Py_BuildValue("i",_result
);
8378 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8379 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
* _resultobj
;
8381 wxScrollBar
* _arg0
;
8383 PyObject
* _argo0
= 0;
8384 char *_kwnames
[] = { "self","viewStart", NULL
};
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) return NULL
;
8402 } Py_INCREF(Py_None
);
8403 _resultobj
= Py_None
;
8407 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8408 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
* _resultobj
;
8410 wxScrollBar
* _arg0
;
8415 bool _arg5
= (bool ) TRUE
;
8416 PyObject
* _argo0
= 0;
8417 int tempbool5
= (int) TRUE
;
8418 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8430 _arg5
= (bool ) tempbool5
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) return NULL
;
8437 } Py_INCREF(Py_None
);
8438 _resultobj
= Py_None
;
8442 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8445 src
= (wxSpinButton
*) ptr
;
8446 dest
= (wxControl
*) src
;
8447 return (void *) dest
;
8450 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8453 src
= (wxSpinButton
*) ptr
;
8454 dest
= (wxWindow
*) src
;
8455 return (void *) dest
;
8458 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8461 src
= (wxSpinButton
*) ptr
;
8462 dest
= (wxEvtHandler
*) src
;
8463 return (void *) dest
;
8466 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8469 src
= (wxSpinButton
*) ptr
;
8470 dest
= (wxObject
*) src
;
8471 return (void *) dest
;
8474 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8475 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
* _resultobj
;
8477 wxSpinButton
* _result
;
8479 wxWindowID _arg1
= (wxWindowID
) -1;
8480 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8481 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8482 long _arg4
= (long ) wxSP_HORIZONTAL
;
8483 char * _arg5
= (char *) "spinButton";
8484 PyObject
* _argo0
= 0;
8486 PyObject
* _obj2
= 0;
8488 PyObject
* _obj3
= 0;
8489 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8505 if (! wxPoint_helper(_obj2
, &_arg2
))
8511 if (! wxSize_helper(_obj3
, &_arg3
))
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) return NULL
;
8521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8522 _resultobj
= Py_BuildValue("s",_ptemp
);
8525 _resultobj
= Py_None
;
8530 #define new_wxPreSpinButton() (new wxSpinButton())
8531 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
* _resultobj
;
8533 wxSpinButton
* _result
;
8534 char *_kwnames
[] = { NULL
};
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) return NULL
;
8547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8548 _resultobj
= Py_BuildValue("s",_ptemp
);
8551 _resultobj
= Py_None
;
8556 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8557 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
* _resultobj
;
8560 wxSpinButton
* _arg0
;
8562 wxWindowID _arg2
= (wxWindowID
) -1;
8563 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8564 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8565 long _arg5
= (long ) wxSP_HORIZONTAL
;
8566 char * _arg6
= (char *) "spinButton";
8567 PyObject
* _argo0
= 0;
8568 PyObject
* _argo1
= 0;
8570 PyObject
* _obj3
= 0;
8572 PyObject
* _obj4
= 0;
8573 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8595 if (! wxPoint_helper(_obj3
, &_arg3
))
8601 if (! wxSize_helper(_obj4
, &_arg4
))
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) return NULL
;
8610 } _resultobj
= Py_BuildValue("i",_result
);
8614 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8615 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
* _resultobj
;
8618 wxSpinButton
* _arg0
;
8619 PyObject
* _argo0
= 0;
8620 char *_kwnames
[] = { "self", NULL
};
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 _result
= (int )wxSpinButton_GetMax(_arg0
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) return NULL
;
8638 } _resultobj
= Py_BuildValue("i",_result
);
8642 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8643 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
* _resultobj
;
8646 wxSpinButton
* _arg0
;
8647 PyObject
* _argo0
= 0;
8648 char *_kwnames
[] = { "self", NULL
};
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 _result
= (int )wxSpinButton_GetMin(_arg0
);
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) return NULL
;
8666 } _resultobj
= Py_BuildValue("i",_result
);
8670 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8671 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
* _resultobj
;
8674 wxSpinButton
* _arg0
;
8675 PyObject
* _argo0
= 0;
8676 char *_kwnames
[] = { "self", NULL
};
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 _result
= (int )wxSpinButton_GetValue(_arg0
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) return NULL
;
8694 } _resultobj
= Py_BuildValue("i",_result
);
8698 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8699 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
* _resultobj
;
8701 wxSpinButton
* _arg0
;
8704 PyObject
* _argo0
= 0;
8705 char *_kwnames
[] = { "self","min","max", NULL
};
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) return NULL
;
8723 } Py_INCREF(Py_None
);
8724 _resultobj
= Py_None
;
8728 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8729 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
* _resultobj
;
8731 wxSpinButton
* _arg0
;
8733 PyObject
* _argo0
= 0;
8734 char *_kwnames
[] = { "self","value", NULL
};
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 wxSpinButton_SetValue(_arg0
,_arg1
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) return NULL
;
8752 } Py_INCREF(Py_None
);
8753 _resultobj
= Py_None
;
8757 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8758 wxStaticBitmap
*src
;
8760 src
= (wxStaticBitmap
*) ptr
;
8761 dest
= (wxControl
*) src
;
8762 return (void *) dest
;
8765 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8766 wxStaticBitmap
*src
;
8768 src
= (wxStaticBitmap
*) ptr
;
8769 dest
= (wxWindow
*) src
;
8770 return (void *) dest
;
8773 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8774 wxStaticBitmap
*src
;
8776 src
= (wxStaticBitmap
*) ptr
;
8777 dest
= (wxEvtHandler
*) src
;
8778 return (void *) dest
;
8781 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8782 wxStaticBitmap
*src
;
8784 src
= (wxStaticBitmap
*) ptr
;
8785 dest
= (wxObject
*) src
;
8786 return (void *) dest
;
8789 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8790 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
* _resultobj
;
8792 wxStaticBitmap
* _result
;
8796 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8797 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8798 long _arg5
= (long ) 0;
8799 char * _arg6
= (char *) "staticBitmap";
8800 PyObject
* _argo0
= 0;
8801 PyObject
* _argo2
= 0;
8803 PyObject
* _obj3
= 0;
8805 PyObject
* _obj4
= 0;
8806 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8820 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8821 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8829 if (! wxPoint_helper(_obj3
, &_arg3
))
8835 if (! wxSize_helper(_obj4
, &_arg4
))
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) return NULL
;
8845 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8846 _resultobj
= Py_BuildValue("s",_ptemp
);
8849 _resultobj
= Py_None
;
8854 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8855 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
* _resultobj
;
8857 wxStaticBitmap
* _result
;
8858 char *_kwnames
[] = { NULL
};
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) return NULL
;
8871 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8872 _resultobj
= Py_BuildValue("s",_ptemp
);
8875 _resultobj
= Py_None
;
8880 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8881 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
* _resultobj
;
8884 wxStaticBitmap
* _arg0
;
8888 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8889 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8890 long _arg6
= (long ) 0;
8891 char * _arg7
= (char *) "staticBitmap";
8892 PyObject
* _argo0
= 0;
8893 PyObject
* _argo1
= 0;
8894 PyObject
* _argo3
= 0;
8896 PyObject
* _obj4
= 0;
8898 PyObject
* _obj5
= 0;
8899 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8912 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8913 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8919 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8920 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8928 if (! wxPoint_helper(_obj4
, &_arg4
))
8934 if (! wxSize_helper(_obj5
, &_arg5
))
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) return NULL
;
8943 } _resultobj
= Py_BuildValue("i",_result
);
8947 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8948 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
* _resultobj
;
8951 wxStaticBitmap
* _arg0
;
8952 PyObject
* _argo0
= 0;
8953 char *_kwnames
[] = { "self", NULL
};
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) return NULL
;
8972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8973 _resultobj
= Py_BuildValue("s",_ptemp
);
8977 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8978 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
* _resultobj
;
8980 wxStaticBitmap
* _arg0
;
8982 PyObject
* _argo0
= 0;
8983 PyObject
* _argo1
= 0;
8984 char *_kwnames
[] = { "self","bitmap", NULL
};
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8997 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8998 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) return NULL
;
9009 } Py_INCREF(Py_None
);
9010 _resultobj
= Py_None
;
9014 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
9015 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
* _resultobj
;
9017 wxStaticBitmap
* _arg0
;
9019 PyObject
* _argo0
= 0;
9020 PyObject
* _argo1
= 0;
9021 char *_kwnames
[] = { "self","icon", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
9027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) return NULL
;
9046 } Py_INCREF(Py_None
);
9047 _resultobj
= Py_None
;
9051 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
9054 src
= (wxRadioBox
*) ptr
;
9055 dest
= (wxControl
*) src
;
9056 return (void *) dest
;
9059 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
9062 src
= (wxRadioBox
*) ptr
;
9063 dest
= (wxWindow
*) src
;
9064 return (void *) dest
;
9067 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
9070 src
= (wxRadioBox
*) ptr
;
9071 dest
= (wxEvtHandler
*) src
;
9072 return (void *) dest
;
9075 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
9078 src
= (wxRadioBox
*) ptr
;
9079 dest
= (wxObject
*) src
;
9080 return (void *) dest
;
9083 #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))
9084 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
* _resultobj
;
9086 wxRadioBox
* _result
;
9090 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9091 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9092 int _arg5
= (int ) 0;
9093 wxString
* _arg6
= (wxString
*) NULL
;
9094 int _arg7
= (int ) 0;
9095 long _arg8
= (long ) wxRA_HORIZONTAL
;
9096 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9097 char * _arg10
= (char *) "radioBox";
9098 PyObject
* _argo0
= 0;
9099 PyObject
* _obj2
= 0;
9101 PyObject
* _obj3
= 0;
9103 PyObject
* _obj4
= 0;
9104 PyObject
* _obj6
= 0;
9105 PyObject
* _argo9
= 0;
9106 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
9113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9120 #if PYTHON_API_VERSION >= 1009
9121 char* tmpPtr
; int tmpSize
;
9122 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9123 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9126 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9128 _arg2
= new wxString(tmpPtr
, tmpSize
);
9130 if (!PyString_Check(_obj2
)) {
9131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9134 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9140 if (! wxPoint_helper(_obj3
, &_arg3
))
9146 if (! wxSize_helper(_obj4
, &_arg4
))
9151 _arg6
= wxString_LIST_helper(_obj6
);
9152 if (_arg6
== NULL
) {
9157 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9158 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9165 _arg5
= PyList_Size(_obj6
);
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) return NULL
;
9178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9179 _resultobj
= Py_BuildValue("s",_ptemp
);
9182 _resultobj
= Py_None
;
9194 #define new_wxPreRadioBox() (new wxRadioBox())
9195 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
* _resultobj
;
9197 wxRadioBox
* _result
;
9198 char *_kwnames
[] = { NULL
};
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) return NULL
;
9211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9212 _resultobj
= Py_BuildValue("s",_ptemp
);
9215 _resultobj
= Py_None
;
9220 #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))
9221 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
* _resultobj
;
9228 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9229 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9230 int _arg6
= (int ) 0;
9231 wxString
* _arg7
= (wxString
*) NULL
;
9232 int _arg8
= (int ) 0;
9233 long _arg9
= (long ) wxRA_HORIZONTAL
;
9234 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9235 char * _arg11
= (char *) "radioBox";
9236 PyObject
* _argo0
= 0;
9237 PyObject
* _argo1
= 0;
9238 PyObject
* _obj3
= 0;
9240 PyObject
* _obj4
= 0;
9242 PyObject
* _obj5
= 0;
9243 PyObject
* _obj7
= 0;
9244 PyObject
* _argo10
= 0;
9245 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
9251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9265 #if PYTHON_API_VERSION >= 1009
9266 char* tmpPtr
; int tmpSize
;
9267 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9271 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9273 _arg3
= new wxString(tmpPtr
, tmpSize
);
9275 if (!PyString_Check(_obj3
)) {
9276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9279 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9285 if (! wxPoint_helper(_obj4
, &_arg4
))
9291 if (! wxSize_helper(_obj5
, &_arg5
))
9296 _arg7
= wxString_LIST_helper(_obj7
);
9297 if (_arg7
== NULL
) {
9302 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9303 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9310 _arg6
= PyList_Size(_obj7
);
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) return NULL
;
9322 } _resultobj
= Py_BuildValue("i",_result
);
9333 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9334 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
* _resultobj
;
9338 PyObject
* _argo0
= 0;
9340 char *_kwnames
[] = { "self","enable", NULL
};
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9352 _arg1
= (bool ) tempbool1
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 wxRadioBox_Enable(_arg0
,_arg1
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) return NULL
;
9359 } Py_INCREF(Py_None
);
9360 _resultobj
= Py_None
;
9364 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9365 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
* _resultobj
;
9370 PyObject
* _argo0
= 0;
9372 char *_kwnames
[] = { "self","n","enable", NULL
};
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9384 _arg2
= (bool ) tempbool2
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) return NULL
;
9391 } Py_INCREF(Py_None
);
9392 _resultobj
= Py_None
;
9396 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9397 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
* _resultobj
;
9402 PyObject
* _argo0
= 0;
9403 PyObject
* _obj1
= 0;
9404 char *_kwnames
[] = { "self","string", NULL
};
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9417 #if PYTHON_API_VERSION >= 1009
9418 char* tmpPtr
; int tmpSize
;
9419 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9423 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9425 _arg1
= new wxString(tmpPtr
, tmpSize
);
9427 if (!PyString_Check(_obj1
)) {
9428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9431 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) return NULL
;
9440 } _resultobj
= Py_BuildValue("i",_result
);
9448 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9449 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
* _resultobj
;
9454 PyObject
* _argo0
= 0;
9455 char *_kwnames
[] = { "self","n", NULL
};
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) return NULL
;
9474 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9482 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9483 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
* _resultobj
;
9488 PyObject
* _argo0
= 0;
9489 char *_kwnames
[] = { "self","item", NULL
};
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
9495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) return NULL
;
9508 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9516 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9517 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
* _resultobj
;
9522 PyObject
* _argo0
= 0;
9523 PyObject
* _obj2
= 0;
9524 char *_kwnames
[] = { "self","item","label", NULL
};
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9537 #if PYTHON_API_VERSION >= 1009
9538 char* tmpPtr
; int tmpSize
;
9539 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9543 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9545 _arg2
= new wxString(tmpPtr
, tmpSize
);
9547 if (!PyString_Check(_obj2
)) {
9548 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9551 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } Py_INCREF(Py_None
);
9561 _resultobj
= Py_None
;
9569 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9570 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
* _resultobj
;
9574 PyObject
* _argo0
= 0;
9575 char *_kwnames
[] = { "self", NULL
};
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) return NULL
;
9593 } _resultobj
= Py_BuildValue("i",_result
);
9597 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9598 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
* _resultobj
;
9602 PyObject
* _argo0
= 0;
9603 char *_kwnames
[] = { "self", NULL
};
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) return NULL
;
9622 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9630 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9631 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
* _resultobj
;
9635 PyObject
* _argo0
= 0;
9636 char *_kwnames
[] = { "self", NULL
};
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 _result
= (int )wxRadioBox_GetCount(_arg0
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) return NULL
;
9654 } _resultobj
= Py_BuildValue("i",_result
);
9658 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9659 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
* _resultobj
;
9663 PyObject
* _argo0
= 0;
9664 char *_kwnames
[] = { "self","n", NULL
};
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 wxRadioBox_SetSelection(_arg0
,_arg1
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) return NULL
;
9682 } Py_INCREF(Py_None
);
9683 _resultobj
= Py_None
;
9687 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9688 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
* _resultobj
;
9692 PyObject
* _argo0
= 0;
9693 PyObject
* _obj1
= 0;
9694 char *_kwnames
[] = { "self","string", NULL
};
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9707 #if PYTHON_API_VERSION >= 1009
9708 char* tmpPtr
; int tmpSize
;
9709 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9710 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9713 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9715 _arg1
= new wxString(tmpPtr
, tmpSize
);
9717 if (!PyString_Check(_obj1
)) {
9718 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9721 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) return NULL
;
9730 } Py_INCREF(Py_None
);
9731 _resultobj
= Py_None
;
9739 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9740 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
* _resultobj
;
9744 PyObject
* _argo0
= 0;
9746 char *_kwnames
[] = { "self","show", NULL
};
9749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9758 _arg1
= (bool ) tempbool1
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxRadioBox_Show(_arg0
,_arg1
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) return NULL
;
9765 } Py_INCREF(Py_None
);
9766 _resultobj
= Py_None
;
9770 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9771 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
* _resultobj
;
9776 PyObject
* _argo0
= 0;
9778 char *_kwnames
[] = { "self","item","show", NULL
};
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9790 _arg2
= (bool ) tempbool2
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) return NULL
;
9797 } Py_INCREF(Py_None
);
9798 _resultobj
= Py_None
;
9802 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9805 src
= (wxRadioButton
*) ptr
;
9806 dest
= (wxControl
*) src
;
9807 return (void *) dest
;
9810 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9813 src
= (wxRadioButton
*) ptr
;
9814 dest
= (wxWindow
*) src
;
9815 return (void *) dest
;
9818 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9821 src
= (wxRadioButton
*) ptr
;
9822 dest
= (wxEvtHandler
*) src
;
9823 return (void *) dest
;
9826 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9829 src
= (wxRadioButton
*) ptr
;
9830 dest
= (wxObject
*) src
;
9831 return (void *) dest
;
9834 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9835 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
* _resultobj
;
9837 wxRadioButton
* _result
;
9841 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9842 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9843 long _arg5
= (long ) 0;
9844 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9845 char * _arg7
= (char *) "radioButton";
9846 PyObject
* _argo0
= 0;
9847 PyObject
* _obj2
= 0;
9849 PyObject
* _obj3
= 0;
9851 PyObject
* _obj4
= 0;
9852 PyObject
* _argo6
= 0;
9853 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9867 #if PYTHON_API_VERSION >= 1009
9868 char* tmpPtr
; int tmpSize
;
9869 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9873 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9875 _arg2
= new wxString(tmpPtr
, tmpSize
);
9877 if (!PyString_Check(_obj2
)) {
9878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9881 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9887 if (! wxPoint_helper(_obj3
, &_arg3
))
9893 if (! wxSize_helper(_obj4
, &_arg4
))
9897 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9898 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) return NULL
;
9910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9911 _resultobj
= Py_BuildValue("s",_ptemp
);
9914 _resultobj
= Py_None
;
9923 #define new_wxPreRadioButton() (new wxRadioButton())
9924 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
* _resultobj
;
9926 wxRadioButton
* _result
;
9927 char *_kwnames
[] = { NULL
};
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) return NULL
;
9940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9941 _resultobj
= Py_BuildValue("s",_ptemp
);
9944 _resultobj
= Py_None
;
9949 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9950 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
* _resultobj
;
9953 wxRadioButton
* _arg0
;
9957 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9958 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9959 long _arg6
= (long ) 0;
9960 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9961 char * _arg8
= (char *) "radioButton";
9962 PyObject
* _argo0
= 0;
9963 PyObject
* _argo1
= 0;
9964 PyObject
* _obj3
= 0;
9966 PyObject
* _obj4
= 0;
9968 PyObject
* _obj5
= 0;
9969 PyObject
* _argo7
= 0;
9970 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9983 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9984 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9990 #if PYTHON_API_VERSION >= 1009
9991 char* tmpPtr
; int tmpSize
;
9992 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9993 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9996 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9998 _arg3
= new wxString(tmpPtr
, tmpSize
);
10000 if (!PyString_Check(_obj3
)) {
10001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10004 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
10010 if (! wxPoint_helper(_obj4
, &_arg4
))
10016 if (! wxSize_helper(_obj5
, &_arg5
))
10020 if (_argo7
== Py_None
) { _arg7
= NULL
; }
10021 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
10022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) return NULL
;
10032 } _resultobj
= Py_BuildValue("i",_result
);
10040 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
10041 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
* _resultobj
;
10044 wxRadioButton
* _arg0
;
10045 PyObject
* _argo0
= 0;
10046 char *_kwnames
[] = { "self", NULL
};
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
10052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 _result
= (bool )wxRadioButton_GetValue(_arg0
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) return NULL
;
10064 } _resultobj
= Py_BuildValue("i",_result
);
10068 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10069 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
* _resultobj
;
10071 wxRadioButton
* _arg0
;
10073 PyObject
* _argo0
= 0;
10075 char *_kwnames
[] = { "self","value", NULL
};
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10087 _arg1
= (bool ) tempbool1
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 wxRadioButton_SetValue(_arg0
,_arg1
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) return NULL
;
10094 } Py_INCREF(Py_None
);
10095 _resultobj
= Py_None
;
10099 static void *SwigwxSliderTowxControl(void *ptr
) {
10102 src
= (wxSlider
*) ptr
;
10103 dest
= (wxControl
*) src
;
10104 return (void *) dest
;
10107 static void *SwigwxSliderTowxWindow(void *ptr
) {
10110 src
= (wxSlider
*) ptr
;
10111 dest
= (wxWindow
*) src
;
10112 return (void *) dest
;
10115 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10117 wxEvtHandler
*dest
;
10118 src
= (wxSlider
*) ptr
;
10119 dest
= (wxEvtHandler
*) src
;
10120 return (void *) dest
;
10123 static void *SwigwxSliderTowxObject(void *ptr
) {
10126 src
= (wxSlider
*) ptr
;
10127 dest
= (wxObject
*) src
;
10128 return (void *) dest
;
10131 #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))
10132 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
* _resultobj
;
10134 wxSlider
* _result
;
10140 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10141 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10142 long _arg7
= (long ) wxSL_HORIZONTAL
;
10143 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10144 char * _arg9
= (char *) "slider";
10145 PyObject
* _argo0
= 0;
10147 PyObject
* _obj5
= 0;
10149 PyObject
* _obj6
= 0;
10150 PyObject
* _argo8
= 0;
10151 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
10158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10167 if (! wxPoint_helper(_obj5
, &_arg5
))
10173 if (! wxSize_helper(_obj6
, &_arg6
))
10177 if (_argo8
== Py_None
) { _arg8
= NULL
; }
10178 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) return NULL
;
10190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10191 _resultobj
= Py_BuildValue("s",_ptemp
);
10193 Py_INCREF(Py_None
);
10194 _resultobj
= Py_None
;
10199 #define new_wxPreSlider() (new wxSlider())
10200 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
* _resultobj
;
10202 wxSlider
* _result
;
10203 char *_kwnames
[] = { NULL
};
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 _result
= (wxSlider
*)new_wxPreSlider();
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) return NULL
;
10216 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10217 _resultobj
= Py_BuildValue("s",_ptemp
);
10219 Py_INCREF(Py_None
);
10220 _resultobj
= Py_None
;
10225 #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))
10226 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
* _resultobj
;
10235 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10236 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10237 long _arg8
= (long ) wxSL_HORIZONTAL
;
10238 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10239 char * _arg10
= (char *) "slider";
10240 PyObject
* _argo0
= 0;
10241 PyObject
* _argo1
= 0;
10243 PyObject
* _obj6
= 0;
10245 PyObject
* _obj7
= 0;
10246 PyObject
* _argo9
= 0;
10247 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
10253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10269 if (! wxPoint_helper(_obj6
, &_arg6
))
10275 if (! wxSize_helper(_obj7
, &_arg7
))
10279 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10280 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) return NULL
;
10291 } _resultobj
= Py_BuildValue("i",_result
);
10295 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10296 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
* _resultobj
;
10299 PyObject
* _argo0
= 0;
10300 char *_kwnames
[] = { "self", NULL
};
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 wxSlider_ClearSel(_arg0
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) return NULL
;
10318 } Py_INCREF(Py_None
);
10319 _resultobj
= Py_None
;
10323 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10324 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
* _resultobj
;
10327 PyObject
* _argo0
= 0;
10328 char *_kwnames
[] = { "self", NULL
};
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 wxSlider_ClearTicks(_arg0
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) return NULL
;
10346 } Py_INCREF(Py_None
);
10347 _resultobj
= Py_None
;
10351 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10352 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
* _resultobj
;
10356 PyObject
* _argo0
= 0;
10357 char *_kwnames
[] = { "self", NULL
};
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 _result
= (int )wxSlider_GetLineSize(_arg0
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) return NULL
;
10375 } _resultobj
= Py_BuildValue("i",_result
);
10379 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10380 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
* _resultobj
;
10384 PyObject
* _argo0
= 0;
10385 char *_kwnames
[] = { "self", NULL
};
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 _result
= (int )wxSlider_GetMax(_arg0
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) return NULL
;
10403 } _resultobj
= Py_BuildValue("i",_result
);
10407 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10408 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
* _resultobj
;
10412 PyObject
* _argo0
= 0;
10413 char *_kwnames
[] = { "self", NULL
};
10416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 _result
= (int )wxSlider_GetMin(_arg0
);
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) return NULL
;
10431 } _resultobj
= Py_BuildValue("i",_result
);
10435 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10436 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
* _resultobj
;
10440 PyObject
* _argo0
= 0;
10441 char *_kwnames
[] = { "self", NULL
};
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 _result
= (int )wxSlider_GetPageSize(_arg0
);
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) return NULL
;
10459 } _resultobj
= Py_BuildValue("i",_result
);
10463 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10464 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
* _resultobj
;
10468 PyObject
* _argo0
= 0;
10469 char *_kwnames
[] = { "self", NULL
};
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) return NULL
;
10487 } _resultobj
= Py_BuildValue("i",_result
);
10491 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10492 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
* _resultobj
;
10496 PyObject
* _argo0
= 0;
10497 char *_kwnames
[] = { "self", NULL
};
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 _result
= (int )wxSlider_GetSelStart(_arg0
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) return NULL
;
10515 } _resultobj
= Py_BuildValue("i",_result
);
10519 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10520 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
* _resultobj
;
10524 PyObject
* _argo0
= 0;
10525 char *_kwnames
[] = { "self", NULL
};
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) return NULL
;
10543 } _resultobj
= Py_BuildValue("i",_result
);
10547 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10548 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
* _resultobj
;
10552 PyObject
* _argo0
= 0;
10553 char *_kwnames
[] = { "self", NULL
};
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) return NULL
;
10571 } _resultobj
= Py_BuildValue("i",_result
);
10575 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10576 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
* _resultobj
;
10580 PyObject
* _argo0
= 0;
10581 char *_kwnames
[] = { "self", NULL
};
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 _result
= (int )wxSlider_GetValue(_arg0
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) return NULL
;
10599 } _resultobj
= Py_BuildValue("i",_result
);
10603 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10604 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
* _resultobj
;
10609 PyObject
* _argo0
= 0;
10610 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) return NULL
;
10628 } Py_INCREF(Py_None
);
10629 _resultobj
= Py_None
;
10633 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10634 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
* _resultobj
;
10639 PyObject
* _argo0
= 0;
10640 char *_kwnames
[] = { "self","n","pos", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) return NULL
;
10658 } Py_INCREF(Py_None
);
10659 _resultobj
= Py_None
;
10663 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10664 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
* _resultobj
;
10668 PyObject
* _argo0
= 0;
10669 char *_kwnames
[] = { "self","lineSize", NULL
};
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 wxSlider_SetLineSize(_arg0
,_arg1
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) return NULL
;
10687 } Py_INCREF(Py_None
);
10688 _resultobj
= Py_None
;
10692 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10693 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
* _resultobj
;
10697 PyObject
* _argo0
= 0;
10698 char *_kwnames
[] = { "self","pageSize", NULL
};
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 wxSlider_SetPageSize(_arg0
,_arg1
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) return NULL
;
10716 } Py_INCREF(Py_None
);
10717 _resultobj
= Py_None
;
10721 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10722 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
* _resultobj
;
10727 PyObject
* _argo0
= 0;
10728 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) return NULL
;
10746 } Py_INCREF(Py_None
);
10747 _resultobj
= Py_None
;
10751 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10752 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
* _resultobj
;
10756 PyObject
* _argo0
= 0;
10757 char *_kwnames
[] = { "self","len", NULL
};
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 wxSlider_SetThumbLength(_arg0
,_arg1
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) return NULL
;
10775 } Py_INCREF(Py_None
);
10776 _resultobj
= Py_None
;
10780 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10781 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
* _resultobj
;
10785 PyObject
* _argo0
= 0;
10786 char *_kwnames
[] = { "self","tickPos", NULL
};
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10800 wxSlider_SetTick(_arg0
,_arg1
);
10802 wxPyEndAllowThreads(__tstate
);
10803 if (PyErr_Occurred()) return NULL
;
10804 } Py_INCREF(Py_None
);
10805 _resultobj
= Py_None
;
10809 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10810 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
* _resultobj
;
10814 PyObject
* _argo0
= 0;
10815 char *_kwnames
[] = { "self","value", NULL
};
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 wxSlider_SetValue(_arg0
,_arg1
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) return NULL
;
10833 } Py_INCREF(Py_None
);
10834 _resultobj
= Py_None
;
10838 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10840 wxSpinButton
*dest
;
10841 src
= (wxSpinCtrl
*) ptr
;
10842 dest
= (wxSpinButton
*) src
;
10843 return (void *) dest
;
10846 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10849 src
= (wxSpinCtrl
*) ptr
;
10850 dest
= (wxControl
*) src
;
10851 return (void *) dest
;
10854 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10857 src
= (wxSpinCtrl
*) ptr
;
10858 dest
= (wxWindow
*) src
;
10859 return (void *) dest
;
10862 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10864 wxEvtHandler
*dest
;
10865 src
= (wxSpinCtrl
*) ptr
;
10866 dest
= (wxEvtHandler
*) src
;
10867 return (void *) dest
;
10870 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10873 src
= (wxSpinCtrl
*) ptr
;
10874 dest
= (wxObject
*) src
;
10875 return (void *) dest
;
10878 #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))
10879 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
* _resultobj
;
10881 wxSpinCtrl
* _result
;
10883 wxWindowID _arg1
= (wxWindowID
) -1;
10884 char * _arg2
= (char *) "";
10885 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10886 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10887 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10888 int _arg6
= (int ) 0;
10889 int _arg7
= (int ) 100;
10890 int _arg8
= (int ) 0;
10891 char * _arg9
= (char *) "wxSpinCtrl";
10892 PyObject
* _argo0
= 0;
10894 PyObject
* _obj3
= 0;
10896 PyObject
* _obj4
= 0;
10897 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10913 if (! wxPoint_helper(_obj3
, &_arg3
))
10919 if (! wxSize_helper(_obj4
, &_arg4
))
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10926 wxPyEndAllowThreads(__tstate
);
10927 if (PyErr_Occurred()) return NULL
;
10929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10930 _resultobj
= Py_BuildValue("s",_ptemp
);
10932 Py_INCREF(Py_None
);
10933 _resultobj
= Py_None
;
10938 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10939 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10940 PyObject
* _resultobj
;
10941 wxSpinCtrl
* _result
;
10942 char *_kwnames
[] = { NULL
};
10946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) return NULL
;
10955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10956 _resultobj
= Py_BuildValue("s",_ptemp
);
10958 Py_INCREF(Py_None
);
10959 _resultobj
= Py_None
;
10964 #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))
10965 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
* _resultobj
;
10968 wxSpinCtrl
* _arg0
;
10970 wxWindowID _arg2
= (wxWindowID
) -1;
10971 char * _arg3
= (char *) "";
10972 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10973 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10974 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10975 int _arg7
= (int ) 0;
10976 int _arg8
= (int ) 100;
10977 int _arg9
= (int ) 0;
10978 char * _arg10
= (char *) "wxSpinCtrl";
10979 PyObject
* _argo0
= 0;
10980 PyObject
* _argo1
= 0;
10982 PyObject
* _obj4
= 0;
10984 PyObject
* _obj5
= 0;
10985 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11007 if (! wxPoint_helper(_obj4
, &_arg4
))
11013 if (! wxSize_helper(_obj5
, &_arg5
))
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) return NULL
;
11022 } _resultobj
= Py_BuildValue("i",_result
);
11026 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11027 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
* _resultobj
;
11030 wxSpinCtrl
* _arg0
;
11031 PyObject
* _argo0
= 0;
11032 char *_kwnames
[] = { "self", NULL
};
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
11038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11046 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) return NULL
;
11050 } _resultobj
= Py_BuildValue("i",_result
);
11054 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11055 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11056 PyObject
* _resultobj
;
11058 wxSpinCtrl
* _arg0
;
11059 PyObject
* _argo0
= 0;
11060 char *_kwnames
[] = { "self", NULL
};
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
11066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) return NULL
;
11078 } _resultobj
= Py_BuildValue("i",_result
);
11082 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11083 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
* _resultobj
;
11086 wxSpinCtrl
* _arg0
;
11087 PyObject
* _argo0
= 0;
11088 char *_kwnames
[] = { "self", NULL
};
11091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
11094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) return NULL
;
11106 } _resultobj
= Py_BuildValue("i",_result
);
11110 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11111 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
* _resultobj
;
11113 wxSpinCtrl
* _arg0
;
11116 PyObject
* _argo0
= 0;
11117 char *_kwnames
[] = { "self","min","max", NULL
};
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) return NULL
;
11135 } Py_INCREF(Py_None
);
11136 _resultobj
= Py_None
;
11140 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11141 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
* _resultobj
;
11143 wxSpinCtrl
* _arg0
;
11145 PyObject
* _argo0
= 0;
11146 char *_kwnames
[] = { "self","value", NULL
};
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) return NULL
;
11164 } Py_INCREF(Py_None
);
11165 _resultobj
= Py_None
;
11169 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
11170 wxToggleButton
*src
;
11172 src
= (wxToggleButton
*) ptr
;
11173 dest
= (wxControl
*) src
;
11174 return (void *) dest
;
11177 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
11178 wxToggleButton
*src
;
11180 src
= (wxToggleButton
*) ptr
;
11181 dest
= (wxWindow
*) src
;
11182 return (void *) dest
;
11185 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
11186 wxToggleButton
*src
;
11187 wxEvtHandler
*dest
;
11188 src
= (wxToggleButton
*) ptr
;
11189 dest
= (wxEvtHandler
*) src
;
11190 return (void *) dest
;
11193 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
11194 wxToggleButton
*src
;
11196 src
= (wxToggleButton
*) ptr
;
11197 dest
= (wxObject
*) src
;
11198 return (void *) dest
;
11201 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11202 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
* _resultobj
;
11204 wxToggleButton
* _result
;
11208 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11209 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11210 long _arg5
= (long ) 0;
11211 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
11212 char * _arg7
= (char *) "toggle";
11213 PyObject
* _argo0
= 0;
11214 PyObject
* _obj2
= 0;
11216 PyObject
* _obj3
= 0;
11218 PyObject
* _obj4
= 0;
11219 PyObject
* _argo6
= 0;
11220 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
11227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11234 #if PYTHON_API_VERSION >= 1009
11235 char* tmpPtr
; int tmpSize
;
11236 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
11237 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11240 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
11242 _arg2
= new wxString(tmpPtr
, tmpSize
);
11244 if (!PyString_Check(_obj2
)) {
11245 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11248 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
11254 if (! wxPoint_helper(_obj3
, &_arg3
))
11260 if (! wxSize_helper(_obj4
, &_arg4
))
11264 if (_argo6
== Py_None
) { _arg6
= NULL
; }
11265 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) return NULL
;
11277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11278 _resultobj
= Py_BuildValue("s",_ptemp
);
11280 Py_INCREF(Py_None
);
11281 _resultobj
= Py_None
;
11290 #define new_wxPreToggleButton() (new wxToggleButton())
11291 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
* _resultobj
;
11293 wxToggleButton
* _result
;
11294 char *_kwnames
[] = { NULL
};
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) return NULL
;
11307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11308 _resultobj
= Py_BuildValue("s",_ptemp
);
11310 Py_INCREF(Py_None
);
11311 _resultobj
= Py_None
;
11316 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11317 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
* _resultobj
;
11320 wxToggleButton
* _arg0
;
11324 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11325 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11326 long _arg6
= (long ) 0;
11327 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11328 char * _arg8
= (char *) "toggle";
11329 PyObject
* _argo0
= 0;
11330 PyObject
* _argo1
= 0;
11331 PyObject
* _obj3
= 0;
11333 PyObject
* _obj4
= 0;
11335 PyObject
* _obj5
= 0;
11336 PyObject
* _argo7
= 0;
11337 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11357 #if PYTHON_API_VERSION >= 1009
11358 char* tmpPtr
; int tmpSize
;
11359 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11360 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11363 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11365 _arg3
= new wxString(tmpPtr
, tmpSize
);
11367 if (!PyString_Check(_obj3
)) {
11368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11371 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11377 if (! wxPoint_helper(_obj4
, &_arg4
))
11383 if (! wxSize_helper(_obj5
, &_arg5
))
11387 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11388 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) return NULL
;
11399 } _resultobj
= Py_BuildValue("i",_result
);
11407 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11408 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
* _resultobj
;
11410 wxToggleButton
* _arg0
;
11412 PyObject
* _argo0
= 0;
11414 char *_kwnames
[] = { "self","value", NULL
};
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11426 _arg1
= (bool ) tempbool1
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 wxToggleButton_SetValue(_arg0
,_arg1
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) return NULL
;
11433 } Py_INCREF(Py_None
);
11434 _resultobj
= Py_None
;
11438 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11439 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
* _resultobj
;
11442 wxToggleButton
* _arg0
;
11443 PyObject
* _argo0
= 0;
11444 char *_kwnames
[] = { "self", NULL
};
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) return NULL
;
11462 } _resultobj
= Py_BuildValue("i",_result
);
11466 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11467 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
* _resultobj
;
11469 wxToggleButton
* _arg0
;
11471 PyObject
* _argo0
= 0;
11472 PyObject
* _obj1
= 0;
11473 char *_kwnames
[] = { "self","label", NULL
};
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11486 #if PYTHON_API_VERSION >= 1009
11487 char* tmpPtr
; int tmpSize
;
11488 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11492 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11494 _arg1
= new wxString(tmpPtr
, tmpSize
);
11496 if (!PyString_Check(_obj1
)) {
11497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11500 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) return NULL
;
11509 } Py_INCREF(Py_None
);
11510 _resultobj
= Py_None
;
11518 static PyMethodDef controlscMethods
[] = {
11519 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11791 * This table is used by the pointer type-checker
11793 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11794 { "_signed_long","_long",0},
11795 { "_wxPrintQuality","_wxCoord",0},
11796 { "_wxPrintQuality","_int",0},
11797 { "_wxPrintQuality","_signed_int",0},
11798 { "_wxPrintQuality","_unsigned_int",0},
11799 { "_wxPrintQuality","_wxWindowID",0},
11800 { "_wxPrintQuality","_uint",0},
11801 { "_wxPrintQuality","_EBool",0},
11802 { "_wxPrintQuality","_size_t",0},
11803 { "_wxPrintQuality","_time_t",0},
11804 { "_byte","_unsigned_char",0},
11805 { "_long","_unsigned_long",0},
11806 { "_long","_signed_long",0},
11807 { "_size_t","_wxCoord",0},
11808 { "_size_t","_wxPrintQuality",0},
11809 { "_size_t","_time_t",0},
11810 { "_size_t","_unsigned_int",0},
11811 { "_size_t","_int",0},
11812 { "_size_t","_wxWindowID",0},
11813 { "_size_t","_uint",0},
11814 { "_uint","_wxCoord",0},
11815 { "_uint","_wxPrintQuality",0},
11816 { "_uint","_time_t",0},
11817 { "_uint","_size_t",0},
11818 { "_uint","_unsigned_int",0},
11819 { "_uint","_int",0},
11820 { "_uint","_wxWindowID",0},
11821 { "_wxChar","_char",0},
11822 { "_char","_wxChar",0},
11823 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11824 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11825 { "_EBool","_wxCoord",0},
11826 { "_EBool","_wxPrintQuality",0},
11827 { "_EBool","_signed_int",0},
11828 { "_EBool","_int",0},
11829 { "_EBool","_wxWindowID",0},
11830 { "_unsigned_long","_long",0},
11831 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11832 { "_signed_int","_wxCoord",0},
11833 { "_signed_int","_wxPrintQuality",0},
11834 { "_signed_int","_EBool",0},
11835 { "_signed_int","_wxWindowID",0},
11836 { "_signed_int","_int",0},
11837 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11838 { "_WXTYPE","_short",0},
11839 { "_WXTYPE","_signed_short",0},
11840 { "_WXTYPE","_unsigned_short",0},
11841 { "_unsigned_short","_WXTYPE",0},
11842 { "_unsigned_short","_short",0},
11843 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11844 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11845 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11846 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11847 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11848 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11849 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11850 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11851 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11852 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11853 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11854 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11855 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11856 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11857 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11858 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11859 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11860 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11861 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11862 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11863 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11864 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11865 { "_signed_short","_WXTYPE",0},
11866 { "_signed_short","_short",0},
11867 { "_unsigned_char","_byte",0},
11868 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11869 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11870 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11871 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11872 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11873 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11874 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11875 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11876 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11877 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11878 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11879 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11880 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11881 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11882 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11883 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11884 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11885 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11886 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11887 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11888 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11889 { "_unsigned_int","_wxCoord",0},
11890 { "_unsigned_int","_wxPrintQuality",0},
11891 { "_unsigned_int","_time_t",0},
11892 { "_unsigned_int","_size_t",0},
11893 { "_unsigned_int","_uint",0},
11894 { "_unsigned_int","_wxWindowID",0},
11895 { "_unsigned_int","_int",0},
11896 { "_short","_WXTYPE",0},
11897 { "_short","_unsigned_short",0},
11898 { "_short","_signed_short",0},
11899 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11900 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11901 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11902 { "_wxWindowID","_wxCoord",0},
11903 { "_wxWindowID","_wxPrintQuality",0},
11904 { "_wxWindowID","_time_t",0},
11905 { "_wxWindowID","_size_t",0},
11906 { "_wxWindowID","_EBool",0},
11907 { "_wxWindowID","_uint",0},
11908 { "_wxWindowID","_int",0},
11909 { "_wxWindowID","_signed_int",0},
11910 { "_wxWindowID","_unsigned_int",0},
11911 { "_int","_wxCoord",0},
11912 { "_int","_wxPrintQuality",0},
11913 { "_int","_time_t",0},
11914 { "_int","_size_t",0},
11915 { "_int","_EBool",0},
11916 { "_int","_uint",0},
11917 { "_int","_wxWindowID",0},
11918 { "_int","_unsigned_int",0},
11919 { "_int","_signed_int",0},
11920 { "_time_t","_wxCoord",0},
11921 { "_time_t","_wxPrintQuality",0},
11922 { "_time_t","_unsigned_int",0},
11923 { "_time_t","_int",0},
11924 { "_time_t","_wxWindowID",0},
11925 { "_time_t","_uint",0},
11926 { "_time_t","_size_t",0},
11927 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11928 { "_wxCoord","_int",0},
11929 { "_wxCoord","_signed_int",0},
11930 { "_wxCoord","_unsigned_int",0},
11931 { "_wxCoord","_wxWindowID",0},
11932 { "_wxCoord","_uint",0},
11933 { "_wxCoord","_EBool",0},
11934 { "_wxCoord","_size_t",0},
11935 { "_wxCoord","_time_t",0},
11936 { "_wxCoord","_wxPrintQuality",0},
11937 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11938 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11939 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11940 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11941 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11942 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11943 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11944 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11945 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11946 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11947 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11948 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11949 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11950 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11951 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11952 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11953 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11954 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11955 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11956 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11957 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11958 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11959 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11960 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11961 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11962 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11963 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11964 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11965 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11966 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11967 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11968 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11969 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11970 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11971 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11972 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11973 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11974 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11975 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11976 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11977 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11978 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11979 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11980 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11983 static PyObject
*SWIG_globals
;
11987 SWIGEXPORT(void) initcontrolsc() {
11989 SWIG_globals
= SWIG_newvarlink();
11990 m
= Py_InitModule("controlsc", controlscMethods
);
11991 d
= PyModule_GetDict(m
);
11992 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11993 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11994 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11997 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11998 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);