2 * FILE : src/mac/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg
= "String or Unicode type required";
106 static char* wxStringErrorMsg
= "String type required";
111 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
113 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
117 static PyObject
*_wrap_wxDefaultValidator_get() {
121 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
122 pyobj
= PyString_FromString(ptemp
);
126 static void *SwigwxControlTowxWindow(void *ptr
) {
129 src
= (wxControl
*) ptr
;
130 dest
= (wxWindow
*) src
;
131 return (void *) dest
;
134 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
137 src
= (wxControl
*) ptr
;
138 dest
= (wxEvtHandler
*) src
;
139 return (void *) dest
;
142 static void *SwigwxControlTowxObject(void *ptr
) {
145 src
= (wxControl
*) ptr
;
146 dest
= (wxObject
*) src
;
147 return (void *) dest
;
150 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
151 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
156 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
157 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
158 long _arg4
= (long ) 0;
159 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
160 char * _arg6
= (char *) "control";
161 PyObject
* _argo0
= 0;
163 PyObject
* _obj2
= 0;
165 PyObject
* _obj3
= 0;
166 PyObject
* _argo5
= 0;
167 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
183 if (! wxPoint_helper(_obj2
, &_arg2
))
189 if (! wxSize_helper(_obj3
, &_arg3
))
193 if (_argo5
== Py_None
) { _arg5
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
203 wxPyEndAllowThreads(__tstate
);
204 if (PyErr_Occurred()) return NULL
;
206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
210 _resultobj
= Py_None
;
215 #define new_wxPreControl() (new wxControl())
216 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
219 char *_kwnames
[] = { NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
227 _result
= (wxControl
*)new_wxPreControl();
229 wxPyEndAllowThreads(__tstate
);
230 if (PyErr_Occurred()) return NULL
;
232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
233 _resultobj
= Py_BuildValue("s",_ptemp
);
236 _resultobj
= Py_None
;
241 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
242 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
248 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
249 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
250 long _arg5
= (long ) 0;
251 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
252 char * _arg7
= (char *) "control";
253 PyObject
* _argo0
= 0;
254 PyObject
* _argo1
= 0;
256 PyObject
* _obj3
= 0;
258 PyObject
* _obj4
= 0;
259 PyObject
* _argo6
= 0;
260 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
282 if (! wxPoint_helper(_obj3
, &_arg3
))
288 if (! wxSize_helper(_obj4
, &_arg4
))
292 if (_argo6
== Py_None
) { _arg6
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
300 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
302 wxPyEndAllowThreads(__tstate
);
303 if (PyErr_Occurred()) return NULL
;
304 } _resultobj
= Py_BuildValue("i",_result
);
308 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
309 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
312 wxCommandEvent
* _arg1
;
313 PyObject
* _argo0
= 0;
314 PyObject
* _argo1
= 0;
315 char *_kwnames
[] = { "self","event", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
336 wxControl_Command(_arg0
,*_arg1
);
338 wxPyEndAllowThreads(__tstate
);
339 if (PyErr_Occurred()) return NULL
;
340 } Py_INCREF(Py_None
);
341 _resultobj
= Py_None
;
345 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
346 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
365 _result
= new wxString (wxControl_GetLabel(_arg0
));
367 wxPyEndAllowThreads(__tstate
);
368 if (PyErr_Occurred()) return NULL
;
370 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
378 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
379 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
383 PyObject
* _argo0
= 0;
384 PyObject
* _obj1
= 0;
385 char *_kwnames
[] = { "self","label", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
398 #if PYTHON_API_VERSION >= 1009
399 char* tmpPtr
; int tmpSize
;
400 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
404 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
406 _arg1
= new wxString(tmpPtr
, tmpSize
);
408 if (!PyString_Check(_obj1
)) {
409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
412 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
417 wxControl_SetLabel(_arg0
,*_arg1
);
419 wxPyEndAllowThreads(__tstate
);
420 if (PyErr_Occurred()) return NULL
;
421 } Py_INCREF(Py_None
);
422 _resultobj
= Py_None
;
430 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
431 wxControlWithItems
*src
;
433 src
= (wxControlWithItems
*) ptr
;
434 dest
= (wxControl
*) src
;
435 return (void *) dest
;
438 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
439 wxControlWithItems
*src
;
441 src
= (wxControlWithItems
*) ptr
;
442 dest
= (wxWindow
*) src
;
443 return (void *) dest
;
446 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
447 wxControlWithItems
*src
;
449 src
= (wxControlWithItems
*) ptr
;
450 dest
= (wxEvtHandler
*) src
;
451 return (void *) dest
;
454 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
455 wxControlWithItems
*src
;
457 src
= (wxControlWithItems
*) ptr
;
458 dest
= (wxObject
*) src
;
459 return (void *) dest
;
462 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
463 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
465 wxControlWithItems
* _arg0
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self","n", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
482 wxControlWithItems_Delete(_arg0
,_arg1
);
484 wxPyEndAllowThreads(__tstate
);
485 if (PyErr_Occurred()) return NULL
;
486 } Py_INCREF(Py_None
);
487 _resultobj
= Py_None
;
491 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
492 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
495 wxControlWithItems
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 _result
= (int )wxControlWithItems_GetCount(_arg0
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) return NULL
;
515 } _resultobj
= Py_BuildValue("i",_result
);
519 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
520 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxControlWithItems
* _arg0
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self","n", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
545 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
553 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
554 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxControlWithItems
* _arg0
;
559 PyObject
* _argo0
= 0;
560 PyObject
* _obj2
= 0;
561 char *_kwnames
[] = { "self","n","s", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
574 #if PYTHON_API_VERSION >= 1009
575 char* tmpPtr
; int tmpSize
;
576 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
580 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
582 _arg2
= new wxString(tmpPtr
, tmpSize
);
584 if (!PyString_Check(_obj2
)) {
585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
588 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
593 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
595 wxPyEndAllowThreads(__tstate
);
596 if (PyErr_Occurred()) return NULL
;
597 } Py_INCREF(Py_None
);
598 _resultobj
= Py_None
;
606 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
607 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
610 wxControlWithItems
* _arg0
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _obj1
= 0;
614 char *_kwnames
[] = { "self","s", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
627 #if PYTHON_API_VERSION >= 1009
628 char* tmpPtr
; int tmpSize
;
629 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
633 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
635 _arg1
= new wxString(tmpPtr
, tmpSize
);
637 if (!PyString_Check(_obj1
)) {
638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
641 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
646 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
648 wxPyEndAllowThreads(__tstate
);
649 if (PyErr_Occurred()) return NULL
;
650 } _resultobj
= Py_BuildValue("i",_result
);
658 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
659 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
661 wxControlWithItems
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","n", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 wxControlWithItems_Select(_arg0
,_arg1
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
688 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
691 wxControlWithItems
* _arg0
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } _resultobj
= Py_BuildValue("i",_result
);
715 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
716 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
719 wxControlWithItems
* _arg0
;
720 PyObject
* _argo0
= 0;
721 char *_kwnames
[] = { "self", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
748 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
750 wxPyClientData
* data
= new wxPyClientData(clientData
);
751 self
->Append(item
, data
);
755 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
757 wxControlWithItems
* _arg0
;
759 PyObject
* _arg2
= (PyObject
*) NULL
;
760 PyObject
* _argo0
= 0;
761 PyObject
* _obj1
= 0;
762 PyObject
* _obj2
= 0;
763 char *_kwnames
[] = { "self","item","clientData", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
776 #if PYTHON_API_VERSION >= 1009
777 char* tmpPtr
; int tmpSize
;
778 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
782 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
784 _arg1
= new wxString(tmpPtr
, tmpSize
);
786 if (!PyString_Check(_obj1
)) {
787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
790 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
799 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
801 wxPyEndAllowThreads(__tstate
);
802 if (PyErr_Occurred()) return NULL
;
803 } Py_INCREF(Py_None
);
804 _resultobj
= Py_None
;
812 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
813 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
815 Py_INCREF(data
->m_obj
);
822 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 wxControlWithItems
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self","n", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
842 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
844 wxPyEndAllowThreads(__tstate
);
845 if (PyErr_Occurred()) return NULL
;
847 _resultobj
= _result
;
852 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
853 wxPyClientData
* data
= new wxPyClientData(clientData
);
854 self
->SetClientObject(n
, data
);
856 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
858 wxControlWithItems
* _arg0
;
861 PyObject
* _argo0
= 0;
862 PyObject
* _obj2
= 0;
863 char *_kwnames
[] = { "self","n","clientData", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 static void *SwigwxButtonTowxControl(void *ptr
) {
892 src
= (wxButton
*) ptr
;
893 dest
= (wxControl
*) src
;
894 return (void *) dest
;
897 static void *SwigwxButtonTowxWindow(void *ptr
) {
900 src
= (wxButton
*) ptr
;
901 dest
= (wxWindow
*) src
;
902 return (void *) dest
;
905 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
908 src
= (wxButton
*) ptr
;
909 dest
= (wxEvtHandler
*) src
;
910 return (void *) dest
;
913 static void *SwigwxButtonTowxObject(void *ptr
) {
916 src
= (wxButton
*) ptr
;
917 dest
= (wxObject
*) src
;
918 return (void *) dest
;
921 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
922 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
928 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
929 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
930 long _arg5
= (long ) 0;
931 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
932 char * _arg7
= (char *) "button";
933 PyObject
* _argo0
= 0;
934 PyObject
* _obj2
= 0;
936 PyObject
* _obj3
= 0;
938 PyObject
* _obj4
= 0;
939 PyObject
* _argo6
= 0;
940 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
954 #if PYTHON_API_VERSION >= 1009
955 char* tmpPtr
; int tmpSize
;
956 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
960 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
962 _arg2
= new wxString(tmpPtr
, tmpSize
);
964 if (!PyString_Check(_obj2
)) {
965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
968 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
974 if (! wxPoint_helper(_obj3
, &_arg3
))
980 if (! wxSize_helper(_obj4
, &_arg4
))
984 if (_argo6
== Py_None
) { _arg6
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
998 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 _resultobj
= Py_None
;
1010 #define new_wxPreButton() (new wxButton())
1011 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1014 char *_kwnames
[] = { NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 _result
= (wxButton
*)new_wxPreButton();
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1028 _resultobj
= Py_BuildValue("s",_ptemp
);
1031 _resultobj
= Py_None
;
1036 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1037 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
* _resultobj
;
1044 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1045 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1046 long _arg6
= (long ) 0;
1047 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1048 char * _arg8
= (char *) "button";
1049 PyObject
* _argo0
= 0;
1050 PyObject
* _argo1
= 0;
1051 PyObject
* _obj3
= 0;
1053 PyObject
* _obj4
= 0;
1055 PyObject
* _obj5
= 0;
1056 PyObject
* _argo7
= 0;
1057 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1077 #if PYTHON_API_VERSION >= 1009
1078 char* tmpPtr
; int tmpSize
;
1079 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1083 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1085 _arg3
= new wxString(tmpPtr
, tmpSize
);
1087 if (!PyString_Check(_obj3
)) {
1088 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1091 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1097 if (! wxPoint_helper(_obj4
, &_arg4
))
1103 if (! wxSize_helper(_obj5
, &_arg5
))
1107 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1128 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 PyObject
* _argo0
= 0;
1132 char *_kwnames
[] = { "self", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 wxButton_SetDefault(_arg0
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) return NULL
;
1150 } Py_INCREF(Py_None
);
1151 _resultobj
= Py_None
;
1155 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1156 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 PyObject
* _argo0
= 0;
1162 PyObject
* _obj1
= 0;
1163 char *_kwnames
[] = { "self","colour", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1177 if (! wxColour_helper(_obj1
, &_arg1
))
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) return NULL
;
1186 } Py_INCREF(Py_None
);
1187 _resultobj
= Py_None
;
1191 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1192 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1198 PyObject
* _obj1
= 0;
1199 char *_kwnames
[] = { "self","colour", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1213 if (! wxColour_helper(_obj1
, &_arg1
))
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1227 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1230 char *_kwnames
[] = { NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 _result
= new wxSize (wxButton::GetDefaultSize());
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) return NULL
;
1242 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1243 _resultobj
= Py_BuildValue("s",_ptemp
);
1247 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1248 wxBitmapButton
*src
;
1250 src
= (wxBitmapButton
*) ptr
;
1251 dest
= (wxButton
*) src
;
1252 return (void *) dest
;
1255 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1256 wxBitmapButton
*src
;
1258 src
= (wxBitmapButton
*) ptr
;
1259 dest
= (wxControl
*) src
;
1260 return (void *) dest
;
1263 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1264 wxBitmapButton
*src
;
1266 src
= (wxBitmapButton
*) ptr
;
1267 dest
= (wxWindow
*) src
;
1268 return (void *) dest
;
1271 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1272 wxBitmapButton
*src
;
1274 src
= (wxBitmapButton
*) ptr
;
1275 dest
= (wxEvtHandler
*) src
;
1276 return (void *) dest
;
1279 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1280 wxBitmapButton
*src
;
1282 src
= (wxBitmapButton
*) ptr
;
1283 dest
= (wxObject
*) src
;
1284 return (void *) dest
;
1287 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1288 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1290 wxBitmapButton
* _result
;
1294 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1295 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1296 long _arg5
= (long ) wxBU_AUTODRAW
;
1297 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1298 char * _arg7
= (char *) "button";
1299 PyObject
* _argo0
= 0;
1300 PyObject
* _argo2
= 0;
1302 PyObject
* _obj3
= 0;
1304 PyObject
* _obj4
= 0;
1305 PyObject
* _argo6
= 0;
1306 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1320 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1329 if (! wxPoint_helper(_obj3
, &_arg3
))
1335 if (! wxSize_helper(_obj4
, &_arg4
))
1339 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1347 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1349 wxPyEndAllowThreads(__tstate
);
1350 if (PyErr_Occurred()) return NULL
;
1352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1353 _resultobj
= Py_BuildValue("s",_ptemp
);
1356 _resultobj
= Py_None
;
1361 #define new_wxPreBitmapButton() (new wxBitmapButton())
1362 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1364 wxBitmapButton
* _result
;
1365 char *_kwnames
[] = { NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1379 _resultobj
= Py_BuildValue("s",_ptemp
);
1382 _resultobj
= Py_None
;
1387 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1388 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1391 wxBitmapButton
* _arg0
;
1395 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1396 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1397 long _arg6
= (long ) wxBU_AUTODRAW
;
1398 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1399 char * _arg8
= (char *) "button";
1400 PyObject
* _argo0
= 0;
1401 PyObject
* _argo1
= 0;
1402 PyObject
* _argo3
= 0;
1404 PyObject
* _obj4
= 0;
1406 PyObject
* _obj5
= 0;
1407 PyObject
* _argo7
= 0;
1408 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1428 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1437 if (! wxPoint_helper(_obj4
, &_arg4
))
1443 if (! wxSize_helper(_obj5
, &_arg5
))
1447 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } _resultobj
= Py_BuildValue("i",_result
);
1463 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1464 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1467 wxBitmapButton
* _arg0
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) return NULL
;
1488 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1493 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1494 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1497 wxBitmapButton
* _arg0
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1514 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1516 wxPyEndAllowThreads(__tstate
);
1517 if (PyErr_Occurred()) return NULL
;
1518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1519 _resultobj
= Py_BuildValue("s",_ptemp
);
1523 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1524 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1527 wxBitmapButton
* _arg0
;
1528 PyObject
* _argo0
= 0;
1529 char *_kwnames
[] = { "self", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) return NULL
;
1548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1549 _resultobj
= Py_BuildValue("s",_ptemp
);
1553 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1554 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1557 wxBitmapButton
* _arg0
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self", NULL
};
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) return NULL
;
1578 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1579 _resultobj
= Py_BuildValue("s",_ptemp
);
1583 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1584 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1586 wxBitmapButton
* _arg0
;
1588 PyObject
* _argo0
= 0;
1589 PyObject
* _argo1
= 0;
1590 char *_kwnames
[] = { "self","bitmap", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } Py_INCREF(Py_None
);
1616 _resultobj
= Py_None
;
1620 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1621 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1623 wxBitmapButton
* _arg0
;
1625 PyObject
* _argo0
= 0;
1626 PyObject
* _argo1
= 0;
1627 char *_kwnames
[] = { "self","bitmap", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) return NULL
;
1652 } Py_INCREF(Py_None
);
1653 _resultobj
= Py_None
;
1657 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1658 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1660 wxBitmapButton
* _arg0
;
1662 PyObject
* _argo0
= 0;
1663 PyObject
* _argo1
= 0;
1664 char *_kwnames
[] = { "self","bitmap", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) return NULL
;
1689 } Py_INCREF(Py_None
);
1690 _resultobj
= Py_None
;
1694 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1695 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1697 wxBitmapButton
* _arg0
;
1699 PyObject
* _argo0
= 0;
1700 PyObject
* _argo1
= 0;
1701 char *_kwnames
[] = { "self","bitmap", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) return NULL
;
1726 } Py_INCREF(Py_None
);
1727 _resultobj
= Py_None
;
1731 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1732 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1734 wxBitmapButton
* _arg0
;
1737 PyObject
* _argo0
= 0;
1738 char *_kwnames
[] = { "self","x","y", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1762 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 wxBitmapButton
* _arg0
;
1766 PyObject
* _argo0
= 0;
1767 char *_kwnames
[] = { "self", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) return NULL
;
1785 } _resultobj
= Py_BuildValue("i",_result
);
1789 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1790 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1793 wxBitmapButton
* _arg0
;
1794 PyObject
* _argo0
= 0;
1795 char *_kwnames
[] = { "self", NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) return NULL
;
1813 } _resultobj
= Py_BuildValue("i",_result
);
1817 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1820 src
= (wxCheckBox
*) ptr
;
1821 dest
= (wxControl
*) src
;
1822 return (void *) dest
;
1825 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1828 src
= (wxCheckBox
*) ptr
;
1829 dest
= (wxWindow
*) src
;
1830 return (void *) dest
;
1833 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1836 src
= (wxCheckBox
*) ptr
;
1837 dest
= (wxEvtHandler
*) src
;
1838 return (void *) dest
;
1841 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1844 src
= (wxCheckBox
*) ptr
;
1845 dest
= (wxObject
*) src
;
1846 return (void *) dest
;
1849 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1850 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1852 wxCheckBox
* _result
;
1856 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1857 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1858 long _arg5
= (long ) 0;
1859 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1860 char * _arg7
= (char *) "checkBox";
1861 PyObject
* _argo0
= 0;
1862 PyObject
* _obj2
= 0;
1864 PyObject
* _obj3
= 0;
1866 PyObject
* _obj4
= 0;
1867 PyObject
* _argo6
= 0;
1868 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1882 #if PYTHON_API_VERSION >= 1009
1883 char* tmpPtr
; int tmpSize
;
1884 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1888 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1890 _arg2
= new wxString(tmpPtr
, tmpSize
);
1892 if (!PyString_Check(_obj2
)) {
1893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1896 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1902 if (! wxPoint_helper(_obj3
, &_arg3
))
1908 if (! wxSize_helper(_obj4
, &_arg4
))
1912 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1926 _resultobj
= Py_BuildValue("s",_ptemp
);
1929 _resultobj
= Py_None
;
1938 #define new_wxPreCheckBox() (new wxCheckBox())
1939 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1941 wxCheckBox
* _result
;
1942 char *_kwnames
[] = { NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1956 _resultobj
= Py_BuildValue("s",_ptemp
);
1959 _resultobj
= Py_None
;
1964 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1965 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1972 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1973 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1974 long _arg6
= (long ) 0;
1975 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1976 char * _arg8
= (char *) "checkBox";
1977 PyObject
* _argo0
= 0;
1978 PyObject
* _argo1
= 0;
1979 PyObject
* _obj3
= 0;
1981 PyObject
* _obj4
= 0;
1983 PyObject
* _obj5
= 0;
1984 PyObject
* _argo7
= 0;
1985 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2005 #if PYTHON_API_VERSION >= 1009
2006 char* tmpPtr
; int tmpSize
;
2007 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2011 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2013 _arg3
= new wxString(tmpPtr
, tmpSize
);
2015 if (!PyString_Check(_obj3
)) {
2016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2019 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2025 if (! wxPoint_helper(_obj4
, &_arg4
))
2031 if (! wxSize_helper(_obj5
, &_arg5
))
2035 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) return NULL
;
2047 } _resultobj
= Py_BuildValue("i",_result
);
2055 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2056 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2084 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2088 PyObject
* _argo0
= 0;
2090 char *_kwnames
[] = { "self","state", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2102 _arg1
= (bool ) tempbool1
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 wxCheckBox_SetValue(_arg0
,_arg1
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) return NULL
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2116 wxControlWithItems
*dest
;
2117 src
= (wxChoice
*) ptr
;
2118 dest
= (wxControlWithItems
*) src
;
2119 return (void *) dest
;
2122 static void *SwigwxChoiceTowxControl(void *ptr
) {
2125 src
= (wxChoice
*) ptr
;
2126 dest
= (wxControl
*) src
;
2127 return (void *) dest
;
2130 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2133 src
= (wxChoice
*) ptr
;
2134 dest
= (wxWindow
*) src
;
2135 return (void *) dest
;
2138 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2141 src
= (wxChoice
*) ptr
;
2142 dest
= (wxEvtHandler
*) src
;
2143 return (void *) dest
;
2146 static void *SwigwxChoiceTowxObject(void *ptr
) {
2149 src
= (wxChoice
*) ptr
;
2150 dest
= (wxObject
*) src
;
2151 return (void *) dest
;
2154 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2155 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2160 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2161 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2162 int _arg4
= (int ) 0;
2163 wxString
* _arg5
= (wxString
*) NULL
;
2164 long _arg6
= (long ) 0;
2165 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2166 char * _arg8
= (char *) "choice";
2167 PyObject
* _argo0
= 0;
2169 PyObject
* _obj2
= 0;
2171 PyObject
* _obj3
= 0;
2172 PyObject
* _obj5
= 0;
2173 PyObject
* _argo7
= 0;
2174 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2190 if (! wxPoint_helper(_obj2
, &_arg2
))
2196 if (! wxSize_helper(_obj3
, &_arg3
))
2201 _arg5
= wxString_LIST_helper(_obj5
);
2202 if (_arg5
== NULL
) {
2207 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2215 _arg4
= PyList_Size(_obj5
);
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) return NULL
;
2228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2232 _resultobj
= Py_None
;
2240 #define new_wxPreChoice() (new wxChoice())
2241 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2244 char *_kwnames
[] = { NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 _result
= (wxChoice
*)new_wxPreChoice();
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2258 _resultobj
= Py_BuildValue("s",_ptemp
);
2261 _resultobj
= Py_None
;
2266 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2267 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2273 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2274 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2275 int _arg5
= (int ) 0;
2276 wxString
* _arg6
= (wxString
*) NULL
;
2277 long _arg7
= (long ) 0;
2278 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2279 char * _arg9
= (char *) "choice";
2280 PyObject
* _argo0
= 0;
2281 PyObject
* _argo1
= 0;
2283 PyObject
* _obj3
= 0;
2285 PyObject
* _obj4
= 0;
2286 PyObject
* _obj6
= 0;
2287 PyObject
* _argo8
= 0;
2288 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2310 if (! wxPoint_helper(_obj3
, &_arg3
))
2316 if (! wxSize_helper(_obj4
, &_arg4
))
2321 _arg6
= wxString_LIST_helper(_obj6
);
2322 if (_arg6
== NULL
) {
2327 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2335 _arg5
= PyList_Size(_obj6
);
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) return NULL
;
2347 } _resultobj
= Py_BuildValue("i",_result
);
2354 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2355 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2358 PyObject
* _argo0
= 0;
2359 char *_kwnames
[] = { "self", NULL
};
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 wxChoice_Clear(_arg0
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) return NULL
;
2377 } Py_INCREF(Py_None
);
2378 _resultobj
= Py_None
;
2382 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2383 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 char *_kwnames
[] = { "self", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 _result
= (int )wxChoice_GetColumns(_arg0
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) return NULL
;
2406 } _resultobj
= Py_BuildValue("i",_result
);
2410 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2411 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2414 int _arg1
= (int ) 1;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self","n", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 wxChoice_SetColumns(_arg0
,_arg1
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2440 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self","n", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxChoice_SetSelection(_arg0
,_arg1
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2469 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2473 PyObject
* _argo0
= 0;
2474 PyObject
* _obj1
= 0;
2475 char *_kwnames
[] = { "self","string", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2488 #if PYTHON_API_VERSION >= 1009
2489 char* tmpPtr
; int tmpSize
;
2490 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2494 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2496 _arg1
= new wxString(tmpPtr
, tmpSize
);
2498 if (!PyString_Check(_obj1
)) {
2499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2502 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) return NULL
;
2511 } Py_INCREF(Py_None
);
2512 _resultobj
= Py_None
;
2520 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2521 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 PyObject
* _obj2
= 0;
2528 char *_kwnames
[] = { "self","n","s", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2541 #if PYTHON_API_VERSION >= 1009
2542 char* tmpPtr
; int tmpSize
;
2543 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2547 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2549 _arg2
= new wxString(tmpPtr
, tmpSize
);
2551 if (!PyString_Check(_obj2
)) {
2552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2555 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) return NULL
;
2564 } Py_INCREF(Py_None
);
2565 _resultobj
= Py_None
;
2573 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2576 src
= (wxComboBox
*) ptr
;
2577 dest
= (wxChoice
*) src
;
2578 return (void *) dest
;
2581 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2583 wxControlWithItems
*dest
;
2584 src
= (wxComboBox
*) ptr
;
2585 dest
= (wxControlWithItems
*) src
;
2586 return (void *) dest
;
2589 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2592 src
= (wxComboBox
*) ptr
;
2593 dest
= (wxControl
*) src
;
2594 return (void *) dest
;
2597 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2600 src
= (wxComboBox
*) ptr
;
2601 dest
= (wxWindow
*) src
;
2602 return (void *) dest
;
2605 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2608 src
= (wxComboBox
*) ptr
;
2609 dest
= (wxEvtHandler
*) src
;
2610 return (void *) dest
;
2613 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2616 src
= (wxComboBox
*) ptr
;
2617 dest
= (wxObject
*) src
;
2618 return (void *) dest
;
2621 #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))
2622 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2623 PyObject
* _resultobj
;
2624 wxComboBox
* _result
;
2627 char * _arg2
= (char *) "";
2628 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2629 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2630 int _arg5
= (int ) 0;
2631 wxString
* _arg6
= (wxString
*) NULL
;
2632 long _arg7
= (long ) 0;
2633 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2634 char * _arg9
= (char *) "comboBox";
2635 PyObject
* _argo0
= 0;
2637 PyObject
* _obj3
= 0;
2639 PyObject
* _obj4
= 0;
2640 PyObject
* _obj6
= 0;
2641 PyObject
* _argo8
= 0;
2642 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2658 if (! wxPoint_helper(_obj3
, &_arg3
))
2664 if (! wxSize_helper(_obj4
, &_arg4
))
2669 _arg6
= wxString_LIST_helper(_obj6
);
2670 if (_arg6
== NULL
) {
2675 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2683 _arg5
= PyList_Size(_obj6
);
2690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2691 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2693 wxPyEndAllowThreads(__tstate
);
2694 if (PyErr_Occurred()) return NULL
;
2696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2697 _resultobj
= Py_BuildValue("s",_ptemp
);
2700 _resultobj
= Py_None
;
2708 #define new_wxPreComboBox() (new wxComboBox())
2709 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2711 wxComboBox
* _result
;
2712 char *_kwnames
[] = { NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 _result
= (wxComboBox
*)new_wxPreComboBox();
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) return NULL
;
2725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2726 _resultobj
= Py_BuildValue("s",_ptemp
);
2729 _resultobj
= Py_None
;
2734 #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))
2735 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2741 char * _arg3
= (char *) "";
2742 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2743 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2744 int _arg6
= (int ) 0;
2745 wxString
* _arg7
= (wxString
*) NULL
;
2746 long _arg8
= (long ) 0;
2747 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2748 char * _arg10
= (char *) "comboBox";
2749 PyObject
* _argo0
= 0;
2750 PyObject
* _argo1
= 0;
2752 PyObject
* _obj4
= 0;
2754 PyObject
* _obj5
= 0;
2755 PyObject
* _obj7
= 0;
2756 PyObject
* _argo9
= 0;
2757 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2779 if (! wxPoint_helper(_obj4
, &_arg4
))
2785 if (! wxSize_helper(_obj5
, &_arg5
))
2790 _arg7
= wxString_LIST_helper(_obj7
);
2791 if (_arg7
== NULL
) {
2796 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2804 _arg6
= PyList_Size(_obj7
);
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) return NULL
;
2816 } _resultobj
= Py_BuildValue("i",_result
);
2823 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2824 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2827 PyObject
* _argo0
= 0;
2828 char *_kwnames
[] = { "self", NULL
};
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 wxComboBox_Copy(_arg0
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) return NULL
;
2846 } Py_INCREF(Py_None
);
2847 _resultobj
= Py_None
;
2851 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2852 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
* _resultobj
;
2855 PyObject
* _argo0
= 0;
2856 char *_kwnames
[] = { "self", NULL
};
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 wxComboBox_Cut(_arg0
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) return NULL
;
2874 } Py_INCREF(Py_None
);
2875 _resultobj
= Py_None
;
2879 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2880 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2881 PyObject
* _resultobj
;
2884 PyObject
* _argo0
= 0;
2885 char *_kwnames
[] = { "self", NULL
};
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2899 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2901 wxPyEndAllowThreads(__tstate
);
2902 if (PyErr_Occurred()) return NULL
;
2903 } _resultobj
= Py_BuildValue("l",_result
);
2907 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2908 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) return NULL
;
2931 } _resultobj
= Py_BuildValue("l",_result
);
2935 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2936 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2940 PyObject
* _argo0
= 0;
2941 char *_kwnames
[] = { "self", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) return NULL
;
2960 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2968 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2969 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 wxComboBox_Paste(_arg0
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2991 } Py_INCREF(Py_None
);
2992 _resultobj
= Py_None
;
2996 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2997 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3003 PyObject
* _argo0
= 0;
3004 PyObject
* _obj3
= 0;
3005 char *_kwnames
[] = { "self","from","to","text", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3018 #if PYTHON_API_VERSION >= 1009
3019 char* tmpPtr
; int tmpSize
;
3020 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3021 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3024 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3026 _arg3
= new wxString(tmpPtr
, tmpSize
);
3028 if (!PyString_Check(_obj3
)) {
3029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3032 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3041 } Py_INCREF(Py_None
);
3042 _resultobj
= Py_None
;
3050 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3051 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self","from","to", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) return NULL
;
3075 } Py_INCREF(Py_None
);
3076 _resultobj
= Py_None
;
3080 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3081 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self","pos", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) return NULL
;
3104 } Py_INCREF(Py_None
);
3105 _resultobj
= Py_None
;
3109 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3110 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3113 PyObject
* _argo0
= 0;
3114 char *_kwnames
[] = { "self", NULL
};
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 wxComboBox_SetInsertionPointEnd(_arg0
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) return NULL
;
3132 } Py_INCREF(Py_None
);
3133 _resultobj
= Py_None
;
3137 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3138 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3142 PyObject
* _argo0
= 0;
3143 char *_kwnames
[] = { "self","n", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 wxComboBox_SetSelection(_arg0
,_arg1
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) return NULL
;
3161 } Py_INCREF(Py_None
);
3162 _resultobj
= Py_None
;
3166 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3167 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3172 PyObject
* _argo0
= 0;
3173 char *_kwnames
[] = { "self","from","to", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) return NULL
;
3191 } Py_INCREF(Py_None
);
3192 _resultobj
= Py_None
;
3196 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3197 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3201 PyObject
* _argo0
= 0;
3202 PyObject
* _obj1
= 0;
3203 char *_kwnames
[] = { "self","text", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3216 #if PYTHON_API_VERSION >= 1009
3217 char* tmpPtr
; int tmpSize
;
3218 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3222 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3224 _arg1
= new wxString(tmpPtr
, tmpSize
);
3226 if (!PyString_Check(_obj1
)) {
3227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3230 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 wxComboBox_SetValue(_arg0
,*_arg1
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) return NULL
;
3239 } Py_INCREF(Py_None
);
3240 _resultobj
= Py_None
;
3248 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3249 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
* _resultobj
;
3253 PyObject
* _argo0
= 0;
3255 char *_kwnames
[] = { "self","editable", NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3267 _arg1
= (bool ) tempbool1
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 wxComboBox_SetEditable(_arg0
,_arg1
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) return NULL
;
3274 } Py_INCREF(Py_None
);
3275 _resultobj
= Py_None
;
3279 static void *SwigwxGaugeTowxControl(void *ptr
) {
3282 src
= (wxGauge
*) ptr
;
3283 dest
= (wxControl
*) src
;
3284 return (void *) dest
;
3287 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3290 src
= (wxGauge
*) ptr
;
3291 dest
= (wxWindow
*) src
;
3292 return (void *) dest
;
3295 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3298 src
= (wxGauge
*) ptr
;
3299 dest
= (wxEvtHandler
*) src
;
3300 return (void *) dest
;
3303 static void *SwigwxGaugeTowxObject(void *ptr
) {
3306 src
= (wxGauge
*) ptr
;
3307 dest
= (wxObject
*) src
;
3308 return (void *) dest
;
3311 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3312 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3318 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3319 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3320 long _arg5
= (long ) wxGA_HORIZONTAL
;
3321 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3322 char * _arg7
= (char *) "gauge";
3323 PyObject
* _argo0
= 0;
3325 PyObject
* _obj3
= 0;
3327 PyObject
* _obj4
= 0;
3328 PyObject
* _argo6
= 0;
3329 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3345 if (! wxPoint_helper(_obj3
, &_arg3
))
3351 if (! wxSize_helper(_obj4
, &_arg4
))
3355 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) return NULL
;
3368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3369 _resultobj
= Py_BuildValue("s",_ptemp
);
3372 _resultobj
= Py_None
;
3377 #define new_wxPreGauge() (new wxGauge())
3378 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3381 char *_kwnames
[] = { NULL
};
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 _result
= (wxGauge
*)new_wxPreGauge();
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3395 _resultobj
= Py_BuildValue("s",_ptemp
);
3398 _resultobj
= Py_None
;
3403 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3404 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3411 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3412 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3413 long _arg6
= (long ) wxGA_HORIZONTAL
;
3414 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3415 char * _arg8
= (char *) "gauge";
3416 PyObject
* _argo0
= 0;
3417 PyObject
* _argo1
= 0;
3419 PyObject
* _obj4
= 0;
3421 PyObject
* _obj5
= 0;
3422 PyObject
* _argo7
= 0;
3423 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3445 if (! wxPoint_helper(_obj4
, &_arg4
))
3451 if (! wxSize_helper(_obj5
, &_arg5
))
3455 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3467 } _resultobj
= Py_BuildValue("i",_result
);
3471 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3472 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) return NULL
;
3495 } _resultobj
= Py_BuildValue("i",_result
);
3499 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3500 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3504 PyObject
* _argo0
= 0;
3505 char *_kwnames
[] = { "self", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 _result
= (int )wxGauge_GetRange(_arg0
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) return NULL
;
3523 } _resultobj
= Py_BuildValue("i",_result
);
3527 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3528 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3556 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 _result
= (int )wxGauge_GetValue(_arg0
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) return NULL
;
3579 } _resultobj
= Py_BuildValue("i",_result
);
3583 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3584 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3588 PyObject
* _argo0
= 0;
3589 char *_kwnames
[] = { "self","width", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3603 wxGauge_SetBezelFace(_arg0
,_arg1
);
3605 wxPyEndAllowThreads(__tstate
);
3606 if (PyErr_Occurred()) return NULL
;
3607 } Py_INCREF(Py_None
);
3608 _resultobj
= Py_None
;
3612 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3613 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3617 PyObject
* _argo0
= 0;
3618 char *_kwnames
[] = { "self","range", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 wxGauge_SetRange(_arg0
,_arg1
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) return NULL
;
3636 } Py_INCREF(Py_None
);
3637 _resultobj
= Py_None
;
3641 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3642 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self","width", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3665 } Py_INCREF(Py_None
);
3666 _resultobj
= Py_None
;
3670 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3671 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
* _resultobj
;
3675 PyObject
* _argo0
= 0;
3676 char *_kwnames
[] = { "self","pos", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 wxGauge_SetValue(_arg0
,_arg1
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) return NULL
;
3694 } Py_INCREF(Py_None
);
3695 _resultobj
= Py_None
;
3699 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3702 src
= (wxStaticBox
*) ptr
;
3703 dest
= (wxControl
*) src
;
3704 return (void *) dest
;
3707 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3710 src
= (wxStaticBox
*) ptr
;
3711 dest
= (wxWindow
*) src
;
3712 return (void *) dest
;
3715 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3718 src
= (wxStaticBox
*) ptr
;
3719 dest
= (wxEvtHandler
*) src
;
3720 return (void *) dest
;
3723 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3726 src
= (wxStaticBox
*) ptr
;
3727 dest
= (wxObject
*) src
;
3728 return (void *) dest
;
3731 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3732 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3734 wxStaticBox
* _result
;
3738 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3739 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3740 long _arg5
= (long ) 0;
3741 char * _arg6
= (char *) "staticBox";
3742 PyObject
* _argo0
= 0;
3743 PyObject
* _obj2
= 0;
3745 PyObject
* _obj3
= 0;
3747 PyObject
* _obj4
= 0;
3748 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3762 #if PYTHON_API_VERSION >= 1009
3763 char* tmpPtr
; int tmpSize
;
3764 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3768 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3770 _arg2
= new wxString(tmpPtr
, tmpSize
);
3772 if (!PyString_Check(_obj2
)) {
3773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3776 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3782 if (! wxPoint_helper(_obj3
, &_arg3
))
3788 if (! wxSize_helper(_obj4
, &_arg4
))
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) return NULL
;
3798 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3799 _resultobj
= Py_BuildValue("s",_ptemp
);
3802 _resultobj
= Py_None
;
3811 #define new_wxPreStaticBox() (new wxStaticBox())
3812 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3814 wxStaticBox
* _result
;
3815 char *_kwnames
[] = { NULL
};
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) return NULL
;
3828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3829 _resultobj
= Py_BuildValue("s",_ptemp
);
3832 _resultobj
= Py_None
;
3837 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3838 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3839 PyObject
* _resultobj
;
3841 wxStaticBox
* _arg0
;
3845 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3846 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3847 long _arg6
= (long ) 0;
3848 char * _arg7
= (char *) "staticBox";
3849 PyObject
* _argo0
= 0;
3850 PyObject
* _argo1
= 0;
3851 PyObject
* _obj3
= 0;
3853 PyObject
* _obj4
= 0;
3855 PyObject
* _obj5
= 0;
3856 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3869 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3876 #if PYTHON_API_VERSION >= 1009
3877 char* tmpPtr
; int tmpSize
;
3878 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3882 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3884 _arg3
= new wxString(tmpPtr
, tmpSize
);
3886 if (!PyString_Check(_obj3
)) {
3887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3890 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3896 if (! wxPoint_helper(_obj4
, &_arg4
))
3902 if (! wxSize_helper(_obj5
, &_arg5
))
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3919 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3922 src
= (wxStaticLine
*) ptr
;
3923 dest
= (wxControl
*) src
;
3924 return (void *) dest
;
3927 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3930 src
= (wxStaticLine
*) ptr
;
3931 dest
= (wxWindow
*) src
;
3932 return (void *) dest
;
3935 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3938 src
= (wxStaticLine
*) ptr
;
3939 dest
= (wxEvtHandler
*) src
;
3940 return (void *) dest
;
3943 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3946 src
= (wxStaticLine
*) ptr
;
3947 dest
= (wxObject
*) src
;
3948 return (void *) dest
;
3951 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3952 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
* _resultobj
;
3954 wxStaticLine
* _result
;
3957 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3958 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3959 long _arg4
= (long ) wxLI_HORIZONTAL
;
3960 char * _arg5
= (char *) "staticLine";
3961 PyObject
* _argo0
= 0;
3963 PyObject
* _obj2
= 0;
3965 PyObject
* _obj3
= 0;
3966 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
3982 if (! wxPoint_helper(_obj2
, &_arg2
))
3988 if (! wxSize_helper(_obj3
, &_arg3
))
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) return NULL
;
3998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3999 _resultobj
= Py_BuildValue("s",_ptemp
);
4002 _resultobj
= Py_None
;
4007 #define new_wxPreStaticLine() (new wxStaticLine())
4008 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4010 wxStaticLine
* _result
;
4011 char *_kwnames
[] = { NULL
};
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) return NULL
;
4024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4025 _resultobj
= Py_BuildValue("s",_ptemp
);
4028 _resultobj
= Py_None
;
4033 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4034 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxStaticLine
* _arg0
;
4040 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4041 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4042 long _arg5
= (long ) wxLI_HORIZONTAL
;
4043 char * _arg6
= (char *) "staticLine";
4044 PyObject
* _argo0
= 0;
4045 PyObject
* _argo1
= 0;
4047 PyObject
* _obj3
= 0;
4049 PyObject
* _obj4
= 0;
4050 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4063 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4072 if (! wxPoint_helper(_obj3
, &_arg3
))
4078 if (! wxSize_helper(_obj4
, &_arg4
))
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) return NULL
;
4087 } _resultobj
= Py_BuildValue("i",_result
);
4091 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4094 src
= (wxStaticText
*) ptr
;
4095 dest
= (wxControl
*) src
;
4096 return (void *) dest
;
4099 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4102 src
= (wxStaticText
*) ptr
;
4103 dest
= (wxWindow
*) src
;
4104 return (void *) dest
;
4107 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4110 src
= (wxStaticText
*) ptr
;
4111 dest
= (wxEvtHandler
*) src
;
4112 return (void *) dest
;
4115 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4118 src
= (wxStaticText
*) ptr
;
4119 dest
= (wxObject
*) src
;
4120 return (void *) dest
;
4123 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4124 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxStaticText
* _result
;
4130 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4131 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4132 long _arg5
= (long ) 0;
4133 char * _arg6
= (char *) "staticText";
4134 PyObject
* _argo0
= 0;
4135 PyObject
* _obj2
= 0;
4137 PyObject
* _obj3
= 0;
4139 PyObject
* _obj4
= 0;
4140 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4154 #if PYTHON_API_VERSION >= 1009
4155 char* tmpPtr
; int tmpSize
;
4156 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4160 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4162 _arg2
= new wxString(tmpPtr
, tmpSize
);
4164 if (!PyString_Check(_obj2
)) {
4165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4168 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4174 if (! wxPoint_helper(_obj3
, &_arg3
))
4180 if (! wxSize_helper(_obj4
, &_arg4
))
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) return NULL
;
4190 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4191 _resultobj
= Py_BuildValue("s",_ptemp
);
4194 _resultobj
= Py_None
;
4203 #define new_wxPreStaticText() (new wxStaticText())
4204 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
* _resultobj
;
4206 wxStaticText
* _result
;
4207 char *_kwnames
[] = { NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 _result
= (wxStaticText
*)new_wxPreStaticText();
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) return NULL
;
4220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4221 _resultobj
= Py_BuildValue("s",_ptemp
);
4224 _resultobj
= Py_None
;
4229 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4230 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
* _resultobj
;
4233 wxStaticText
* _arg0
;
4237 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4238 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4239 long _arg6
= (long ) 0;
4240 char * _arg7
= (char *) "staticText";
4241 PyObject
* _argo0
= 0;
4242 PyObject
* _argo1
= 0;
4243 PyObject
* _obj3
= 0;
4245 PyObject
* _obj4
= 0;
4247 PyObject
* _obj5
= 0;
4248 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4261 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4262 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4268 #if PYTHON_API_VERSION >= 1009
4269 char* tmpPtr
; int tmpSize
;
4270 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4271 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4274 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4276 _arg3
= new wxString(tmpPtr
, tmpSize
);
4278 if (!PyString_Check(_obj3
)) {
4279 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4282 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4288 if (! wxPoint_helper(_obj4
, &_arg4
))
4294 if (! wxSize_helper(_obj5
, &_arg5
))
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) return NULL
;
4303 } _resultobj
= Py_BuildValue("i",_result
);
4311 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4312 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4315 wxStaticText
* _arg0
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) return NULL
;
4336 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4344 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4345 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4347 wxStaticText
* _arg0
;
4349 PyObject
* _argo0
= 0;
4350 PyObject
* _obj1
= 0;
4351 char *_kwnames
[] = { "self","label", NULL
};
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4364 #if PYTHON_API_VERSION >= 1009
4365 char* tmpPtr
; int tmpSize
;
4366 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4370 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4372 _arg1
= new wxString(tmpPtr
, tmpSize
);
4374 if (!PyString_Check(_obj1
)) {
4375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4378 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 wxStaticText_SetLabel(_arg0
,*_arg1
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) return NULL
;
4387 } Py_INCREF(Py_None
);
4388 _resultobj
= Py_None
;
4396 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4398 wxControlWithItems
*dest
;
4399 src
= (wxListBox
*) ptr
;
4400 dest
= (wxControlWithItems
*) src
;
4401 return (void *) dest
;
4404 static void *SwigwxListBoxTowxControl(void *ptr
) {
4407 src
= (wxListBox
*) ptr
;
4408 dest
= (wxControl
*) src
;
4409 return (void *) dest
;
4412 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4415 src
= (wxListBox
*) ptr
;
4416 dest
= (wxWindow
*) src
;
4417 return (void *) dest
;
4420 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4423 src
= (wxListBox
*) ptr
;
4424 dest
= (wxEvtHandler
*) src
;
4425 return (void *) dest
;
4428 static void *SwigwxListBoxTowxObject(void *ptr
) {
4431 src
= (wxListBox
*) ptr
;
4432 dest
= (wxObject
*) src
;
4433 return (void *) dest
;
4436 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4437 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4439 wxListBox
* _result
;
4442 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4443 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4445 wxString
* _arg5
= (wxString
*) NULL
;
4446 long _arg6
= (long ) 0;
4447 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4448 char * _arg8
= (char *) "listBox";
4449 PyObject
* _argo0
= 0;
4451 PyObject
* _obj2
= 0;
4453 PyObject
* _obj3
= 0;
4454 PyObject
* _obj5
= 0;
4455 PyObject
* _argo7
= 0;
4456 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4472 if (! wxPoint_helper(_obj2
, &_arg2
))
4478 if (! wxSize_helper(_obj3
, &_arg3
))
4483 _arg5
= wxString_LIST_helper(_obj5
);
4484 if (_arg5
== NULL
) {
4489 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4497 _arg4
= PyList_Size(_obj5
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) return NULL
;
4510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4511 _resultobj
= Py_BuildValue("s",_ptemp
);
4514 _resultobj
= Py_None
;
4522 #define new_wxPreListBox() (new wxListBox())
4523 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
* _resultobj
;
4525 wxListBox
* _result
;
4526 char *_kwnames
[] = { NULL
};
4530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 _result
= (wxListBox
*)new_wxPreListBox();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) return NULL
;
4539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4540 _resultobj
= Py_BuildValue("s",_ptemp
);
4543 _resultobj
= Py_None
;
4548 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4549 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4555 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4556 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4558 wxString
* _arg6
= (wxString
*) NULL
;
4559 long _arg7
= (long ) 0;
4560 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4561 char * _arg9
= (char *) "listBox";
4562 PyObject
* _argo0
= 0;
4563 PyObject
* _argo1
= 0;
4565 PyObject
* _obj3
= 0;
4567 PyObject
* _obj4
= 0;
4568 PyObject
* _obj6
= 0;
4569 PyObject
* _argo8
= 0;
4570 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4592 if (! wxPoint_helper(_obj3
, &_arg3
))
4598 if (! wxSize_helper(_obj4
, &_arg4
))
4603 _arg6
= wxString_LIST_helper(_obj6
);
4604 if (_arg6
== NULL
) {
4609 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4617 _arg5
= PyList_Size(_obj6
);
4624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4625 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4627 wxPyEndAllowThreads(__tstate
);
4628 if (PyErr_Occurred()) return NULL
;
4629 } _resultobj
= Py_BuildValue("i",_result
);
4636 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4637 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
* _resultobj
;
4640 PyObject
* _argo0
= 0;
4641 char *_kwnames
[] = { "self", NULL
};
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 wxListBox_Clear(_arg0
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) return NULL
;
4659 } Py_INCREF(Py_None
);
4660 _resultobj
= Py_None
;
4664 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4665 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4669 PyObject
* _argo0
= 0;
4670 char *_kwnames
[] = { "self","n", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 wxListBox_Deselect(_arg0
,_arg1
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4695 self
->GetSelections(lst
);
4696 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4697 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4698 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4702 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4706 PyObject
* _argo0
= 0;
4707 char *_kwnames
[] = { "self", NULL
};
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) return NULL
;
4726 _resultobj
= _result
;
4731 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4732 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4738 PyObject
* _argo0
= 0;
4739 PyObject
* _obj2
= 0;
4740 char *_kwnames
[] = { "self","choices","pos", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4753 _arg2
= wxString_LIST_helper(_obj2
);
4754 if (_arg2
== NULL
) {
4760 _arg1
= PyList_Size(_obj2
);
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) return NULL
;
4772 } Py_INCREF(Py_None
);
4773 _resultobj
= Py_None
;
4780 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4781 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4786 PyObject
* _argo0
= 0;
4787 char *_kwnames
[] = { "self","n", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) return NULL
;
4805 } _resultobj
= Py_BuildValue("i",_result
);
4809 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4810 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4815 PyObject
* _argo0
= 0;
4816 char *_kwnames
[] = { "self","n", NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) return NULL
;
4834 } _resultobj
= Py_BuildValue("i",_result
);
4838 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4839 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4844 PyObject
* _argo0
= 0;
4845 PyObject
* _obj2
= 0;
4846 char *_kwnames
[] = { "self","choices", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4860 _arg2
= wxString_LIST_helper(_obj2
);
4861 if (_arg2
== NULL
) {
4867 _arg1
= PyList_Size(_obj2
);
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) return NULL
;
4879 } Py_INCREF(Py_None
);
4880 _resultobj
= Py_None
;
4887 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4888 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4892 PyObject
* _argo0
= 0;
4893 char *_kwnames
[] = { "self","n", NULL
};
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 wxListBox_SetFirstItem(_arg0
,_arg1
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) return NULL
;
4911 } Py_INCREF(Py_None
);
4912 _resultobj
= Py_None
;
4916 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4917 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4921 PyObject
* _argo0
= 0;
4922 PyObject
* _obj1
= 0;
4923 char *_kwnames
[] = { "self","string", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4936 #if PYTHON_API_VERSION >= 1009
4937 char* tmpPtr
; int tmpSize
;
4938 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4942 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4944 _arg1
= new wxString(tmpPtr
, tmpSize
);
4946 if (!PyString_Check(_obj1
)) {
4947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4950 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) return NULL
;
4959 } Py_INCREF(Py_None
);
4960 _resultobj
= Py_None
;
4968 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4969 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4973 bool _arg2
= (bool ) TRUE
;
4974 PyObject
* _argo0
= 0;
4975 int tempbool2
= (int) TRUE
;
4976 char *_kwnames
[] = { "self","n","select", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
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_SetSelection. Expected _wxListBox_p.");
4988 _arg2
= (bool ) tempbool2
;
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) return NULL
;
4995 } Py_INCREF(Py_None
);
4996 _resultobj
= Py_None
;
5000 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5001 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
* _resultobj
;
5006 PyObject
* _argo0
= 0;
5007 PyObject
* _obj2
= 0;
5008 char *_kwnames
[] = { "self","n","string", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5021 #if PYTHON_API_VERSION >= 1009
5022 char* tmpPtr
; int tmpSize
;
5023 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5024 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5027 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5029 _arg2
= new wxString(tmpPtr
, tmpSize
);
5031 if (!PyString_Check(_obj2
)) {
5032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5035 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) return NULL
;
5044 } Py_INCREF(Py_None
);
5045 _resultobj
= Py_None
;
5053 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5054 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5058 bool _arg2
= (bool ) TRUE
;
5059 PyObject
* _argo0
= 0;
5060 PyObject
* _obj1
= 0;
5061 int tempbool2
= (int) TRUE
;
5062 char *_kwnames
[] = { "self","string","select", NULL
};
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5075 #if PYTHON_API_VERSION >= 1009
5076 char* tmpPtr
; int tmpSize
;
5077 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5081 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5083 _arg1
= new wxString(tmpPtr
, tmpSize
);
5085 if (!PyString_Check(_obj1
)) {
5086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5089 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5092 _arg2
= (bool ) tempbool2
;
5094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5095 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5097 wxPyEndAllowThreads(__tstate
);
5098 if (PyErr_Occurred()) return NULL
;
5099 } Py_INCREF(Py_None
);
5100 _resultobj
= Py_None
;
5108 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5109 wxCheckListBox
*src
;
5111 src
= (wxCheckListBox
*) ptr
;
5112 dest
= (wxListBox
*) src
;
5113 return (void *) dest
;
5116 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5117 wxCheckListBox
*src
;
5118 wxControlWithItems
*dest
;
5119 src
= (wxCheckListBox
*) ptr
;
5120 dest
= (wxControlWithItems
*) src
;
5121 return (void *) dest
;
5124 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5125 wxCheckListBox
*src
;
5127 src
= (wxCheckListBox
*) ptr
;
5128 dest
= (wxControl
*) src
;
5129 return (void *) dest
;
5132 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5133 wxCheckListBox
*src
;
5135 src
= (wxCheckListBox
*) ptr
;
5136 dest
= (wxWindow
*) src
;
5137 return (void *) dest
;
5140 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5141 wxCheckListBox
*src
;
5143 src
= (wxCheckListBox
*) ptr
;
5144 dest
= (wxEvtHandler
*) src
;
5145 return (void *) dest
;
5148 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5149 wxCheckListBox
*src
;
5151 src
= (wxCheckListBox
*) ptr
;
5152 dest
= (wxObject
*) src
;
5153 return (void *) dest
;
5156 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5157 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5159 wxCheckListBox
* _result
;
5162 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5163 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5164 int _arg4
= (int ) 0;
5165 wxString
* _arg5
= (wxString
*) NULL
;
5166 long _arg6
= (long ) 0;
5167 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5168 char * _arg8
= (char *) "listBox";
5169 PyObject
* _argo0
= 0;
5171 PyObject
* _obj2
= 0;
5173 PyObject
* _obj3
= 0;
5174 PyObject
* _obj5
= 0;
5175 PyObject
* _argo7
= 0;
5176 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5192 if (! wxPoint_helper(_obj2
, &_arg2
))
5198 if (! wxSize_helper(_obj3
, &_arg3
))
5203 _arg5
= wxString_LIST_helper(_obj5
);
5204 if (_arg5
== NULL
) {
5209 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5217 _arg4
= PyList_Size(_obj5
);
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) return NULL
;
5230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5231 _resultobj
= Py_BuildValue("s",_ptemp
);
5234 _resultobj
= Py_None
;
5242 #define new_wxPreCheckListBox() (new wxCheckListBox())
5243 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
* _resultobj
;
5245 wxCheckListBox
* _result
;
5246 char *_kwnames
[] = { NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5254 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) return NULL
;
5259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5260 _resultobj
= Py_BuildValue("s",_ptemp
);
5263 _resultobj
= Py_None
;
5268 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5269 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5272 wxCheckListBox
* _arg0
;
5275 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5276 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5277 int _arg5
= (int ) 0;
5278 wxString
* _arg6
= (wxString
*) NULL
;
5279 long _arg7
= (long ) 0;
5280 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5281 char * _arg9
= (char *) "listBox";
5282 PyObject
* _argo0
= 0;
5283 PyObject
* _argo1
= 0;
5285 PyObject
* _obj3
= 0;
5287 PyObject
* _obj4
= 0;
5288 PyObject
* _obj6
= 0;
5289 PyObject
* _argo8
= 0;
5290 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5303 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5312 if (! wxPoint_helper(_obj3
, &_arg3
))
5318 if (! wxSize_helper(_obj4
, &_arg4
))
5323 _arg6
= wxString_LIST_helper(_obj6
);
5324 if (_arg6
== NULL
) {
5329 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5330 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5337 _arg5
= PyList_Size(_obj6
);
5344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5345 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) return NULL
;
5349 } _resultobj
= Py_BuildValue("i",_result
);
5356 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5357 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5360 wxCheckListBox
* _arg0
;
5362 PyObject
* _argo0
= 0;
5363 char *_kwnames
[] = { "self","uiIndex", NULL
};
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) return NULL
;
5381 } _resultobj
= Py_BuildValue("i",_result
);
5385 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5386 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
* _resultobj
;
5388 wxCheckListBox
* _arg0
;
5390 int _arg2
= (int ) TRUE
;
5391 PyObject
* _argo0
= 0;
5392 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) return NULL
;
5410 } Py_INCREF(Py_None
);
5411 _resultobj
= Py_None
;
5415 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5416 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
* _resultobj
;
5418 wxCheckListBox
* _arg0
;
5422 PyObject
* _argo0
= 0;
5423 PyObject
* _obj2
= 0;
5424 char *_kwnames
[] = { "self","choices","pos", NULL
};
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5437 _arg2
= wxString_LIST_helper(_obj2
);
5438 if (_arg2
== NULL
) {
5444 _arg1
= PyList_Size(_obj2
);
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) return NULL
;
5456 } Py_INCREF(Py_None
);
5457 _resultobj
= Py_None
;
5464 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5465 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5467 wxTextAttr
* _result
;
5468 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5469 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5470 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5472 PyObject
* _obj0
= 0;
5474 PyObject
* _obj1
= 0;
5475 PyObject
* _argo2
= 0;
5476 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5485 if (! wxColour_helper(_obj0
, &_arg0
))
5491 if (! wxColour_helper(_obj1
, &_arg1
))
5495 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) return NULL
;
5508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5509 _resultobj
= Py_BuildValue("s",_ptemp
);
5512 _resultobj
= Py_None
;
5517 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5518 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5521 PyObject
* _argo0
= 0;
5522 char *_kwnames
[] = { "self", NULL
};
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 delete_wxTextAttr(_arg0
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) return NULL
;
5540 } Py_INCREF(Py_None
);
5541 _resultobj
= Py_None
;
5545 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5546 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5550 PyObject
* _argo0
= 0;
5552 PyObject
* _obj1
= 0;
5553 char *_kwnames
[] = { "self","colText", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5567 if (! wxColour_helper(_obj1
, &_arg1
))
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) return NULL
;
5576 } Py_INCREF(Py_None
);
5577 _resultobj
= Py_None
;
5581 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5582 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5586 PyObject
* _argo0
= 0;
5588 PyObject
* _obj1
= 0;
5589 char *_kwnames
[] = { "self","colBack", NULL
};
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5603 if (! wxColour_helper(_obj1
, &_arg1
))
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) return NULL
;
5612 } Py_INCREF(Py_None
);
5613 _resultobj
= Py_None
;
5617 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5618 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
* _resultobj
;
5622 PyObject
* _argo0
= 0;
5623 PyObject
* _argo1
= 0;
5624 char *_kwnames
[] = { "self","font", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 wxTextAttr_SetFont(_arg0
,*_arg1
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) return NULL
;
5649 } Py_INCREF(Py_None
);
5650 _resultobj
= Py_None
;
5654 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5655 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5659 PyObject
* _argo0
= 0;
5660 char *_kwnames
[] = { "self", NULL
};
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) return NULL
;
5678 } _resultobj
= Py_BuildValue("i",_result
);
5682 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5683 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
* _resultobj
;
5687 PyObject
* _argo0
= 0;
5688 char *_kwnames
[] = { "self", NULL
};
5691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) return NULL
;
5706 } _resultobj
= Py_BuildValue("i",_result
);
5710 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5711 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5715 PyObject
* _argo0
= 0;
5716 char *_kwnames
[] = { "self", NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) return NULL
;
5734 } _resultobj
= Py_BuildValue("i",_result
);
5738 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5739 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5743 PyObject
* _argo0
= 0;
5744 char *_kwnames
[] = { "self", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) return NULL
;
5763 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5764 _resultobj
= Py_BuildValue("s",_ptemp
);
5768 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5769 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
* _resultobj
;
5773 PyObject
* _argo0
= 0;
5774 char *_kwnames
[] = { "self", NULL
};
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) return NULL
;
5793 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5794 _resultobj
= Py_BuildValue("s",_ptemp
);
5798 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5799 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
* _resultobj
;
5803 PyObject
* _argo0
= 0;
5804 char *_kwnames
[] = { "self", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5823 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5824 _resultobj
= Py_BuildValue("s",_ptemp
);
5828 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5829 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
* _resultobj
;
5833 PyObject
* _argo0
= 0;
5834 char *_kwnames
[] = { "self", NULL
};
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) return NULL
;
5852 } _resultobj
= Py_BuildValue("i",_result
);
5856 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5857 PyObject
* _resultobj
;
5858 wxTextAttr
* _result
;
5862 PyObject
* _argo0
= 0;
5863 PyObject
* _argo1
= 0;
5864 PyObject
* _argo2
= 0;
5865 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5886 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) return NULL
;
5898 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5899 _resultobj
= Py_BuildValue("s",_ptemp
);
5903 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
5906 src
= (wxTextCtrl
*) ptr
;
5907 dest
= (wxControl
*) src
;
5908 return (void *) dest
;
5911 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
5914 src
= (wxTextCtrl
*) ptr
;
5915 dest
= (wxWindow
*) src
;
5916 return (void *) dest
;
5919 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
5922 src
= (wxTextCtrl
*) ptr
;
5923 dest
= (wxEvtHandler
*) src
;
5924 return (void *) dest
;
5927 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
5930 src
= (wxTextCtrl
*) ptr
;
5931 dest
= (wxObject
*) src
;
5932 return (void *) dest
;
5935 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5936 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
* _resultobj
;
5938 wxTextCtrl
* _result
;
5941 char * _arg2
= (char *) "";
5942 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5943 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5944 long _arg5
= (long ) 0;
5945 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5946 char * _arg7
= (char *) "text";
5947 PyObject
* _argo0
= 0;
5949 PyObject
* _obj3
= 0;
5951 PyObject
* _obj4
= 0;
5952 PyObject
* _argo6
= 0;
5953 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
5960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
5969 if (! wxPoint_helper(_obj3
, &_arg3
))
5975 if (! wxSize_helper(_obj4
, &_arg4
))
5979 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5980 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
5989 wxPyEndAllowThreads(__tstate
);
5990 if (PyErr_Occurred()) return NULL
;
5992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5993 _resultobj
= Py_BuildValue("s",_ptemp
);
5996 _resultobj
= Py_None
;
6001 #define new_wxPreTextCtrl() (new wxTextCtrl())
6002 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
* _resultobj
;
6004 wxTextCtrl
* _result
;
6005 char *_kwnames
[] = { NULL
};
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) return NULL
;
6018 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6019 _resultobj
= Py_BuildValue("s",_ptemp
);
6022 _resultobj
= Py_None
;
6027 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6028 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6034 char * _arg3
= (char *) "";
6035 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6036 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6037 long _arg6
= (long ) 0;
6038 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6039 char * _arg8
= (char *) "text";
6040 PyObject
* _argo0
= 0;
6041 PyObject
* _argo1
= 0;
6043 PyObject
* _obj4
= 0;
6045 PyObject
* _obj5
= 0;
6046 PyObject
* _argo7
= 0;
6047 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6060 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6061 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6069 if (! wxPoint_helper(_obj4
, &_arg4
))
6075 if (! wxSize_helper(_obj5
, &_arg5
))
6079 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) return NULL
;
6091 } _resultobj
= Py_BuildValue("i",_result
);
6095 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6096 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6100 PyObject
* _argo0
= 0;
6101 char *_kwnames
[] = { "self", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) return NULL
;
6120 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6128 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6129 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
* _resultobj
;
6133 PyObject
* _argo0
= 0;
6134 PyObject
* _obj1
= 0;
6135 char *_kwnames
[] = { "self","value", NULL
};
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6148 #if PYTHON_API_VERSION >= 1009
6149 char* tmpPtr
; int tmpSize
;
6150 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6154 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6156 _arg1
= new wxString(tmpPtr
, tmpSize
);
6158 if (!PyString_Check(_obj1
)) {
6159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6162 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) return NULL
;
6171 } Py_INCREF(Py_None
);
6172 _resultobj
= Py_None
;
6180 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6181 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6187 PyObject
* _argo0
= 0;
6188 char *_kwnames
[] = { "self","from","to", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) return NULL
;
6207 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6215 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6216 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6221 PyObject
* _argo0
= 0;
6222 char *_kwnames
[] = { "self","lineNo", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) return NULL
;
6240 } _resultobj
= Py_BuildValue("i",_result
);
6244 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6245 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6250 PyObject
* _argo0
= 0;
6251 char *_kwnames
[] = { "self","lineNo", NULL
};
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) return NULL
;
6270 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6278 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6279 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) return NULL
;
6302 } _resultobj
= Py_BuildValue("i",_result
);
6306 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6307 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6311 PyObject
* _argo0
= 0;
6312 char *_kwnames
[] = { "self", NULL
};
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) return NULL
;
6330 } _resultobj
= Py_BuildValue("i",_result
);
6334 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6335 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "self", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) return NULL
;
6358 } _resultobj
= Py_BuildValue("i",_result
);
6362 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6363 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self", NULL
};
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) return NULL
;
6395 } Py_INCREF(Py_None
);
6396 _resultobj
= Py_None
;
6399 o
= PyInt_FromLong((long) (*_arg1
));
6400 _resultobj
= t_output_helper(_resultobj
, o
);
6404 o
= PyInt_FromLong((long) (*_arg2
));
6405 _resultobj
= t_output_helper(_resultobj
, o
);
6410 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6411 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
* _resultobj
;
6415 PyObject
* _argo0
= 0;
6416 char *_kwnames
[] = { "self", NULL
};
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) return NULL
;
6435 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6443 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6444 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
* _resultobj
;
6447 PyObject
* _argo0
= 0;
6448 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 wxTextCtrl_Clear(_arg0
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) return NULL
;
6466 } Py_INCREF(Py_None
);
6467 _resultobj
= Py_None
;
6471 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6472 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6478 PyObject
* _argo0
= 0;
6479 PyObject
* _obj3
= 0;
6480 char *_kwnames
[] = { "self","from","to","value", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6493 #if PYTHON_API_VERSION >= 1009
6494 char* tmpPtr
; int tmpSize
;
6495 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6499 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6501 _arg3
= new wxString(tmpPtr
, tmpSize
);
6503 if (!PyString_Check(_obj3
)) {
6504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6507 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) return NULL
;
6516 } Py_INCREF(Py_None
);
6517 _resultobj
= Py_None
;
6525 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6526 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self","from","to", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) return NULL
;
6550 } Py_INCREF(Py_None
);
6551 _resultobj
= Py_None
;
6555 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6556 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6561 PyObject
* _argo0
= 0;
6562 PyObject
* _obj1
= 0;
6563 char *_kwnames
[] = { "self","file", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6576 #if PYTHON_API_VERSION >= 1009
6577 char* tmpPtr
; int tmpSize
;
6578 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6579 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6582 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6584 _arg1
= new wxString(tmpPtr
, tmpSize
);
6586 if (!PyString_Check(_obj1
)) {
6587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6590 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) return NULL
;
6599 } _resultobj
= Py_BuildValue("i",_result
);
6607 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6608 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6609 PyObject
* _resultobj
;
6612 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6613 PyObject
* _argo0
= 0;
6614 PyObject
* _obj1
= 0;
6615 char *_kwnames
[] = { "self","file", NULL
};
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6629 #if PYTHON_API_VERSION >= 1009
6630 char* tmpPtr
; int tmpSize
;
6631 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6635 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6637 _arg1
= new wxString(tmpPtr
, tmpSize
);
6639 if (!PyString_Check(_obj1
)) {
6640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6643 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) return NULL
;
6652 } _resultobj
= Py_BuildValue("i",_result
);
6660 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6661 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6664 PyObject
* _argo0
= 0;
6665 char *_kwnames
[] = { "self", NULL
};
6668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6679 wxTextCtrl_DiscardEdits(_arg0
);
6681 wxPyEndAllowThreads(__tstate
);
6682 if (PyErr_Occurred()) return NULL
;
6683 } Py_INCREF(Py_None
);
6684 _resultobj
= Py_None
;
6688 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6689 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6692 unsigned long _arg1
;
6693 PyObject
* _argo0
= 0;
6694 char *_kwnames
[] = { "self","len", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) return NULL
;
6712 } Py_INCREF(Py_None
);
6713 _resultobj
= Py_None
;
6717 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6718 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
* _resultobj
;
6722 PyObject
* _argo0
= 0;
6723 PyObject
* _obj1
= 0;
6724 char *_kwnames
[] = { "self","text", NULL
};
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6737 #if PYTHON_API_VERSION >= 1009
6738 char* tmpPtr
; int tmpSize
;
6739 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6740 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6743 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6745 _arg1
= new wxString(tmpPtr
, tmpSize
);
6747 if (!PyString_Check(_obj1
)) {
6748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6751 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) return NULL
;
6760 } Py_INCREF(Py_None
);
6761 _resultobj
= Py_None
;
6769 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6770 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
* _resultobj
;
6774 PyObject
* _argo0
= 0;
6775 PyObject
* _obj1
= 0;
6776 char *_kwnames
[] = { "self","text", NULL
};
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6789 #if PYTHON_API_VERSION >= 1009
6790 char* tmpPtr
; int tmpSize
;
6791 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6795 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6797 _arg1
= new wxString(tmpPtr
, tmpSize
);
6799 if (!PyString_Check(_obj1
)) {
6800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6803 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) return NULL
;
6812 } Py_INCREF(Py_None
);
6813 _resultobj
= Py_None
;
6821 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6822 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
* _resultobj
;
6829 PyObject
* _argo0
= 0;
6830 PyObject
* _argo3
= 0;
6831 char *_kwnames
[] = { "self","start","end","style", NULL
};
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6844 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6845 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6856 } _resultobj
= Py_BuildValue("i",_result
);
6860 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6861 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6862 PyObject
* _resultobj
;
6866 PyObject
* _argo0
= 0;
6867 PyObject
* _argo1
= 0;
6868 char *_kwnames
[] = { "self","style", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) return NULL
;
6893 } _resultobj
= Py_BuildValue("i",_result
);
6897 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6898 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6900 wxTextAttr
* _result
;
6902 PyObject
* _argo0
= 0;
6903 char *_kwnames
[] = { "self", NULL
};
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6919 _result
= (wxTextAttr
*) &_result_ref
;
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) return NULL
;
6924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6925 _resultobj
= Py_BuildValue("s",_ptemp
);
6928 _resultobj
= Py_None
;
6933 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6934 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
* _resultobj
;
6940 PyObject
* _argo0
= 0;
6941 char *_kwnames
[] = { "self","x","y", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) return NULL
;
6959 } _resultobj
= Py_BuildValue("l",_result
);
6963 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6964 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6965 PyObject
* _resultobj
;
6972 PyObject
* _argo0
= 0;
6973 char *_kwnames
[] = { "self","pos", NULL
};
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
6985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) return NULL
;
6997 } Py_INCREF(Py_None
);
6998 _resultobj
= Py_None
;
7001 o
= PyInt_FromLong((long) (*_arg2
));
7002 _resultobj
= t_output_helper(_resultobj
, o
);
7006 o
= PyInt_FromLong((long) (*_arg3
));
7007 _resultobj
= t_output_helper(_resultobj
, o
);
7012 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7013 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self","pos", NULL
};
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) return NULL
;
7036 } Py_INCREF(Py_None
);
7037 _resultobj
= Py_None
;
7041 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7042 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7045 PyObject
* _argo0
= 0;
7046 char *_kwnames
[] = { "self", NULL
};
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 wxTextCtrl_Copy(_arg0
);
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) return NULL
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7069 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7070 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self", NULL
};
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 wxTextCtrl_Cut(_arg0
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) return NULL
;
7092 } Py_INCREF(Py_None
);
7093 _resultobj
= Py_None
;
7097 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7098 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
* _resultobj
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 wxTextCtrl_Paste(_arg0
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) return NULL
;
7120 } Py_INCREF(Py_None
);
7121 _resultobj
= Py_None
;
7125 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7126 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7130 PyObject
* _argo0
= 0;
7131 char *_kwnames
[] = { "self", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) return NULL
;
7149 } _resultobj
= Py_BuildValue("i",_result
);
7153 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7154 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } _resultobj
= Py_BuildValue("i",_result
);
7181 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7182 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) return NULL
;
7205 } _resultobj
= Py_BuildValue("i",_result
);
7209 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7210 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7213 PyObject
* _argo0
= 0;
7214 char *_kwnames
[] = { "self", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 wxTextCtrl_Undo(_arg0
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) return NULL
;
7232 } Py_INCREF(Py_None
);
7233 _resultobj
= Py_None
;
7237 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7238 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7241 PyObject
* _argo0
= 0;
7242 char *_kwnames
[] = { "self", NULL
};
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 wxTextCtrl_Redo(_arg0
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) return NULL
;
7260 } Py_INCREF(Py_None
);
7261 _resultobj
= Py_None
;
7265 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7266 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
* _resultobj
;
7270 PyObject
* _argo0
= 0;
7271 char *_kwnames
[] = { "self", NULL
};
7274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) return NULL
;
7289 } _resultobj
= Py_BuildValue("i",_result
);
7293 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7294 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
* _resultobj
;
7298 PyObject
* _argo0
= 0;
7299 char *_kwnames
[] = { "self", NULL
};
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) return NULL
;
7317 } _resultobj
= Py_BuildValue("i",_result
);
7321 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7322 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self","pos", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) return NULL
;
7345 } Py_INCREF(Py_None
);
7346 _resultobj
= Py_None
;
7350 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7351 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7354 PyObject
* _argo0
= 0;
7355 char *_kwnames
[] = { "self", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) return NULL
;
7373 } Py_INCREF(Py_None
);
7374 _resultobj
= Py_None
;
7378 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7379 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
* _resultobj
;
7383 PyObject
* _argo0
= 0;
7384 char *_kwnames
[] = { "self", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) return NULL
;
7402 } _resultobj
= Py_BuildValue("l",_result
);
7406 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7407 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
* _resultobj
;
7411 PyObject
* _argo0
= 0;
7412 char *_kwnames
[] = { "self", NULL
};
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 } _resultobj
= Py_BuildValue("l",_result
);
7434 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7435 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7440 PyObject
* _argo0
= 0;
7441 char *_kwnames
[] = { "self","from","to", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) return NULL
;
7459 } Py_INCREF(Py_None
);
7460 _resultobj
= Py_None
;
7464 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7465 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
* _resultobj
;
7468 PyObject
* _argo0
= 0;
7469 char *_kwnames
[] = { "self", NULL
};
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 wxTextCtrl_SelectAll(_arg0
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) return NULL
;
7487 } Py_INCREF(Py_None
);
7488 _resultobj
= Py_None
;
7492 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7493 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
* _resultobj
;
7497 PyObject
* _argo0
= 0;
7499 char *_kwnames
[] = { "self","editable", NULL
};
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7511 _arg1
= (bool ) tempbool1
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) return NULL
;
7518 } Py_INCREF(Py_None
);
7519 _resultobj
= Py_None
;
7523 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7524 self
->AppendText(text
);
7526 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
* _resultobj
;
7530 PyObject
* _argo0
= 0;
7531 PyObject
* _obj1
= 0;
7532 char *_kwnames
[] = { "self","text", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7545 #if PYTHON_API_VERSION >= 1009
7546 char* tmpPtr
; int tmpSize
;
7547 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7548 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7551 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7553 _arg1
= new wxString(tmpPtr
, tmpSize
);
7555 if (!PyString_Check(_obj1
)) {
7556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7559 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 wxTextCtrl_write(_arg0
,*_arg1
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } Py_INCREF(Py_None
);
7569 _resultobj
= Py_None
;
7577 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7578 return self
->GetValue().Mid(from
, to
-from
);
7580 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
* _resultobj
;
7586 PyObject
* _argo0
= 0;
7587 char *_kwnames
[] = { "self","from","to", NULL
};
7590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) return NULL
;
7606 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7614 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7617 src
= (wxScrollBar
*) ptr
;
7618 dest
= (wxControl
*) src
;
7619 return (void *) dest
;
7622 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7625 src
= (wxScrollBar
*) ptr
;
7626 dest
= (wxWindow
*) src
;
7627 return (void *) dest
;
7630 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7633 src
= (wxScrollBar
*) ptr
;
7634 dest
= (wxEvtHandler
*) src
;
7635 return (void *) dest
;
7638 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7641 src
= (wxScrollBar
*) ptr
;
7642 dest
= (wxObject
*) src
;
7643 return (void *) dest
;
7646 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7647 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
* _resultobj
;
7649 wxScrollBar
* _result
;
7651 wxWindowID _arg1
= (wxWindowID
) -1;
7652 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7653 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7654 long _arg4
= (long ) wxSB_HORIZONTAL
;
7655 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7656 char * _arg6
= (char *) "scrollBar";
7657 PyObject
* _argo0
= 0;
7659 PyObject
* _obj2
= 0;
7661 PyObject
* _obj3
= 0;
7662 PyObject
* _argo5
= 0;
7663 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7679 if (! wxPoint_helper(_obj2
, &_arg2
))
7685 if (! wxSize_helper(_obj3
, &_arg3
))
7689 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7690 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) return NULL
;
7702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7703 _resultobj
= Py_BuildValue("s",_ptemp
);
7706 _resultobj
= Py_None
;
7711 #define new_wxPreScrollBar() (new wxScrollBar())
7712 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7714 wxScrollBar
* _result
;
7715 char *_kwnames
[] = { NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) return NULL
;
7728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7729 _resultobj
= Py_BuildValue("s",_ptemp
);
7732 _resultobj
= Py_None
;
7737 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7738 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
* _resultobj
;
7741 wxScrollBar
* _arg0
;
7743 wxWindowID _arg2
= (wxWindowID
) -1;
7744 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7745 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7746 long _arg5
= (long ) wxSB_HORIZONTAL
;
7747 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7748 char * _arg7
= (char *) "scrollBar";
7749 PyObject
* _argo0
= 0;
7750 PyObject
* _argo1
= 0;
7752 PyObject
* _obj3
= 0;
7754 PyObject
* _obj4
= 0;
7755 PyObject
* _argo6
= 0;
7756 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7778 if (! wxPoint_helper(_obj3
, &_arg3
))
7784 if (! wxSize_helper(_obj4
, &_arg4
))
7788 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7789 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) return NULL
;
7800 } _resultobj
= Py_BuildValue("i",_result
);
7804 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7805 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
* _resultobj
;
7808 wxScrollBar
* _arg0
;
7809 PyObject
* _argo0
= 0;
7810 char *_kwnames
[] = { "self", NULL
};
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 _result
= (int )wxScrollBar_GetRange(_arg0
);
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) return NULL
;
7828 } _resultobj
= Py_BuildValue("i",_result
);
7832 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7833 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
* _resultobj
;
7836 wxScrollBar
* _arg0
;
7837 PyObject
* _argo0
= 0;
7838 char *_kwnames
[] = { "self", NULL
};
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) return NULL
;
7856 } _resultobj
= Py_BuildValue("i",_result
);
7860 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7861 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
* _resultobj
;
7864 wxScrollBar
* _arg0
;
7865 PyObject
* _argo0
= 0;
7866 char *_kwnames
[] = { "self", NULL
};
7869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) return NULL
;
7884 } _resultobj
= Py_BuildValue("i",_result
);
7888 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7889 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
* _resultobj
;
7892 wxScrollBar
* _arg0
;
7893 PyObject
* _argo0
= 0;
7894 char *_kwnames
[] = { "self", NULL
};
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) return NULL
;
7912 } _resultobj
= Py_BuildValue("i",_result
);
7916 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
7917 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
* _resultobj
;
7920 wxScrollBar
* _arg0
;
7921 PyObject
* _argo0
= 0;
7922 char *_kwnames
[] = { "self", NULL
};
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
7928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) return NULL
;
7940 } _resultobj
= Py_BuildValue("i",_result
);
7944 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
7945 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
* _resultobj
;
7947 wxScrollBar
* _arg0
;
7949 PyObject
* _argo0
= 0;
7950 char *_kwnames
[] = { "self","viewStart", NULL
};
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
7956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) return NULL
;
7968 } Py_INCREF(Py_None
);
7969 _resultobj
= Py_None
;
7973 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7974 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7976 wxScrollBar
* _arg0
;
7981 bool _arg5
= (bool ) TRUE
;
7982 PyObject
* _argo0
= 0;
7983 int tempbool5
= (int) TRUE
;
7984 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
7990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
7996 _arg5
= (bool ) tempbool5
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) return NULL
;
8003 } Py_INCREF(Py_None
);
8004 _resultobj
= Py_None
;
8008 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8011 src
= (wxSpinButton
*) ptr
;
8012 dest
= (wxControl
*) src
;
8013 return (void *) dest
;
8016 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8019 src
= (wxSpinButton
*) ptr
;
8020 dest
= (wxWindow
*) src
;
8021 return (void *) dest
;
8024 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8027 src
= (wxSpinButton
*) ptr
;
8028 dest
= (wxEvtHandler
*) src
;
8029 return (void *) dest
;
8032 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8035 src
= (wxSpinButton
*) ptr
;
8036 dest
= (wxObject
*) src
;
8037 return (void *) dest
;
8040 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8041 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
* _resultobj
;
8043 wxSpinButton
* _result
;
8045 wxWindowID _arg1
= (wxWindowID
) -1;
8046 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8047 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8048 long _arg4
= (long ) wxSP_HORIZONTAL
;
8049 char * _arg5
= (char *) "spinButton";
8050 PyObject
* _argo0
= 0;
8052 PyObject
* _obj2
= 0;
8054 PyObject
* _obj3
= 0;
8055 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8071 if (! wxPoint_helper(_obj2
, &_arg2
))
8077 if (! wxSize_helper(_obj3
, &_arg3
))
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) return NULL
;
8087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8088 _resultobj
= Py_BuildValue("s",_ptemp
);
8091 _resultobj
= Py_None
;
8096 #define new_wxPreSpinButton() (new wxSpinButton())
8097 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8099 wxSpinButton
* _result
;
8100 char *_kwnames
[] = { NULL
};
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) return NULL
;
8113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8114 _resultobj
= Py_BuildValue("s",_ptemp
);
8117 _resultobj
= Py_None
;
8122 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8123 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
* _resultobj
;
8126 wxSpinButton
* _arg0
;
8128 wxWindowID _arg2
= (wxWindowID
) -1;
8129 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8130 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8131 long _arg5
= (long ) wxSP_HORIZONTAL
;
8132 char * _arg6
= (char *) "spinButton";
8133 PyObject
* _argo0
= 0;
8134 PyObject
* _argo1
= 0;
8136 PyObject
* _obj3
= 0;
8138 PyObject
* _obj4
= 0;
8139 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8152 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8153 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8161 if (! wxPoint_helper(_obj3
, &_arg3
))
8167 if (! wxSize_helper(_obj4
, &_arg4
))
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) return NULL
;
8176 } _resultobj
= Py_BuildValue("i",_result
);
8180 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8181 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
* _resultobj
;
8184 wxSpinButton
* _arg0
;
8185 PyObject
* _argo0
= 0;
8186 char *_kwnames
[] = { "self", NULL
};
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8200 _result
= (int )wxSpinButton_GetMax(_arg0
);
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) return NULL
;
8204 } _resultobj
= Py_BuildValue("i",_result
);
8208 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8209 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8210 PyObject
* _resultobj
;
8212 wxSpinButton
* _arg0
;
8213 PyObject
* _argo0
= 0;
8214 char *_kwnames
[] = { "self", NULL
};
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 _result
= (int )wxSpinButton_GetMin(_arg0
);
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) return NULL
;
8232 } _resultobj
= Py_BuildValue("i",_result
);
8236 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8237 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
* _resultobj
;
8240 wxSpinButton
* _arg0
;
8241 PyObject
* _argo0
= 0;
8242 char *_kwnames
[] = { "self", NULL
};
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 _result
= (int )wxSpinButton_GetValue(_arg0
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) return NULL
;
8260 } _resultobj
= Py_BuildValue("i",_result
);
8264 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8265 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
* _resultobj
;
8267 wxSpinButton
* _arg0
;
8270 PyObject
* _argo0
= 0;
8271 char *_kwnames
[] = { "self","min","max", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) return NULL
;
8289 } Py_INCREF(Py_None
);
8290 _resultobj
= Py_None
;
8294 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8295 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
* _resultobj
;
8297 wxSpinButton
* _arg0
;
8299 PyObject
* _argo0
= 0;
8300 char *_kwnames
[] = { "self","value", NULL
};
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 wxSpinButton_SetValue(_arg0
,_arg1
);
8316 wxPyEndAllowThreads(__tstate
);
8317 if (PyErr_Occurred()) return NULL
;
8318 } Py_INCREF(Py_None
);
8319 _resultobj
= Py_None
;
8323 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8324 wxStaticBitmap
*src
;
8326 src
= (wxStaticBitmap
*) ptr
;
8327 dest
= (wxControl
*) src
;
8328 return (void *) dest
;
8331 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8332 wxStaticBitmap
*src
;
8334 src
= (wxStaticBitmap
*) ptr
;
8335 dest
= (wxWindow
*) src
;
8336 return (void *) dest
;
8339 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8340 wxStaticBitmap
*src
;
8342 src
= (wxStaticBitmap
*) ptr
;
8343 dest
= (wxEvtHandler
*) src
;
8344 return (void *) dest
;
8347 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8348 wxStaticBitmap
*src
;
8350 src
= (wxStaticBitmap
*) ptr
;
8351 dest
= (wxObject
*) src
;
8352 return (void *) dest
;
8355 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8356 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
* _resultobj
;
8358 wxStaticBitmap
* _result
;
8362 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8363 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8364 long _arg5
= (long ) 0;
8365 char * _arg6
= (char *) "staticBitmap";
8366 PyObject
* _argo0
= 0;
8367 PyObject
* _argo2
= 0;
8369 PyObject
* _obj3
= 0;
8371 PyObject
* _obj4
= 0;
8372 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8386 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8387 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8395 if (! wxPoint_helper(_obj3
, &_arg3
))
8401 if (! wxSize_helper(_obj4
, &_arg4
))
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) return NULL
;
8411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8412 _resultobj
= Py_BuildValue("s",_ptemp
);
8415 _resultobj
= Py_None
;
8420 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8421 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
* _resultobj
;
8423 wxStaticBitmap
* _result
;
8424 char *_kwnames
[] = { NULL
};
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) return NULL
;
8437 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8438 _resultobj
= Py_BuildValue("s",_ptemp
);
8441 _resultobj
= Py_None
;
8446 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8447 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8448 PyObject
* _resultobj
;
8450 wxStaticBitmap
* _arg0
;
8454 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8455 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8456 long _arg6
= (long ) 0;
8457 char * _arg7
= (char *) "staticBitmap";
8458 PyObject
* _argo0
= 0;
8459 PyObject
* _argo1
= 0;
8460 PyObject
* _argo3
= 0;
8462 PyObject
* _obj4
= 0;
8464 PyObject
* _obj5
= 0;
8465 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8478 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8479 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8485 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8486 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8494 if (! wxPoint_helper(_obj4
, &_arg4
))
8500 if (! wxSize_helper(_obj5
, &_arg5
))
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) return NULL
;
8509 } _resultobj
= Py_BuildValue("i",_result
);
8513 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8514 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
* _resultobj
;
8517 wxStaticBitmap
* _arg0
;
8518 PyObject
* _argo0
= 0;
8519 char *_kwnames
[] = { "self", NULL
};
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) return NULL
;
8538 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8539 _resultobj
= Py_BuildValue("s",_ptemp
);
8543 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8544 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
* _resultobj
;
8546 wxStaticBitmap
* _arg0
;
8548 PyObject
* _argo0
= 0;
8549 PyObject
* _argo1
= 0;
8550 char *_kwnames
[] = { "self","bitmap", NULL
};
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) return NULL
;
8575 } Py_INCREF(Py_None
);
8576 _resultobj
= Py_None
;
8580 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8581 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
* _resultobj
;
8583 wxStaticBitmap
* _arg0
;
8585 PyObject
* _argo0
= 0;
8586 PyObject
* _argo1
= 0;
8587 char *_kwnames
[] = { "self","icon", NULL
};
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) return NULL
;
8612 } Py_INCREF(Py_None
);
8613 _resultobj
= Py_None
;
8617 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8620 src
= (wxRadioBox
*) ptr
;
8621 dest
= (wxControl
*) src
;
8622 return (void *) dest
;
8625 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8628 src
= (wxRadioBox
*) ptr
;
8629 dest
= (wxWindow
*) src
;
8630 return (void *) dest
;
8633 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8636 src
= (wxRadioBox
*) ptr
;
8637 dest
= (wxEvtHandler
*) src
;
8638 return (void *) dest
;
8641 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8644 src
= (wxRadioBox
*) ptr
;
8645 dest
= (wxObject
*) src
;
8646 return (void *) dest
;
8649 #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))
8650 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
* _resultobj
;
8652 wxRadioBox
* _result
;
8656 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8657 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8658 int _arg5
= (int ) 0;
8659 wxString
* _arg6
= (wxString
*) NULL
;
8660 int _arg7
= (int ) 0;
8661 long _arg8
= (long ) wxRA_HORIZONTAL
;
8662 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8663 char * _arg10
= (char *) "radioBox";
8664 PyObject
* _argo0
= 0;
8665 PyObject
* _obj2
= 0;
8667 PyObject
* _obj3
= 0;
8669 PyObject
* _obj4
= 0;
8670 PyObject
* _obj6
= 0;
8671 PyObject
* _argo9
= 0;
8672 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8686 #if PYTHON_API_VERSION >= 1009
8687 char* tmpPtr
; int tmpSize
;
8688 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8692 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8694 _arg2
= new wxString(tmpPtr
, tmpSize
);
8696 if (!PyString_Check(_obj2
)) {
8697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8700 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8706 if (! wxPoint_helper(_obj3
, &_arg3
))
8712 if (! wxSize_helper(_obj4
, &_arg4
))
8717 _arg6
= wxString_LIST_helper(_obj6
);
8718 if (_arg6
== NULL
) {
8723 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8724 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8731 _arg5
= PyList_Size(_obj6
);
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) return NULL
;
8744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8745 _resultobj
= Py_BuildValue("s",_ptemp
);
8748 _resultobj
= Py_None
;
8760 #define new_wxPreRadioBox() (new wxRadioBox())
8761 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
* _resultobj
;
8763 wxRadioBox
* _result
;
8764 char *_kwnames
[] = { NULL
};
8768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) return NULL
;
8777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8778 _resultobj
= Py_BuildValue("s",_ptemp
);
8781 _resultobj
= Py_None
;
8786 #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))
8787 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
* _resultobj
;
8794 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8795 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8796 int _arg6
= (int ) 0;
8797 wxString
* _arg7
= (wxString
*) NULL
;
8798 int _arg8
= (int ) 0;
8799 long _arg9
= (long ) wxRA_HORIZONTAL
;
8800 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8801 char * _arg11
= (char *) "radioBox";
8802 PyObject
* _argo0
= 0;
8803 PyObject
* _argo1
= 0;
8804 PyObject
* _obj3
= 0;
8806 PyObject
* _obj4
= 0;
8808 PyObject
* _obj5
= 0;
8809 PyObject
* _obj7
= 0;
8810 PyObject
* _argo10
= 0;
8811 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8824 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8825 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8831 #if PYTHON_API_VERSION >= 1009
8832 char* tmpPtr
; int tmpSize
;
8833 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8834 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8837 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8839 _arg3
= new wxString(tmpPtr
, tmpSize
);
8841 if (!PyString_Check(_obj3
)) {
8842 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8845 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8851 if (! wxPoint_helper(_obj4
, &_arg4
))
8857 if (! wxSize_helper(_obj5
, &_arg5
))
8862 _arg7
= wxString_LIST_helper(_obj7
);
8863 if (_arg7
== NULL
) {
8868 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8869 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8876 _arg6
= PyList_Size(_obj7
);
8883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8884 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) return NULL
;
8888 } _resultobj
= Py_BuildValue("i",_result
);
8899 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8900 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8901 PyObject
* _resultobj
;
8904 PyObject
* _argo0
= 0;
8906 char *_kwnames
[] = { "self","enable", NULL
};
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8918 _arg1
= (bool ) tempbool1
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 wxRadioBox_Enable(_arg0
,_arg1
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) return NULL
;
8925 } Py_INCREF(Py_None
);
8926 _resultobj
= Py_None
;
8930 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8931 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
* _resultobj
;
8936 PyObject
* _argo0
= 0;
8938 char *_kwnames
[] = { "self","n","enable", NULL
};
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8950 _arg2
= (bool ) tempbool2
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) return NULL
;
8957 } Py_INCREF(Py_None
);
8958 _resultobj
= Py_None
;
8962 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
8963 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
* _resultobj
;
8968 PyObject
* _argo0
= 0;
8969 PyObject
* _obj1
= 0;
8970 char *_kwnames
[] = { "self","string", NULL
};
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
8976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8983 #if PYTHON_API_VERSION >= 1009
8984 char* tmpPtr
; int tmpSize
;
8985 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8989 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8991 _arg1
= new wxString(tmpPtr
, tmpSize
);
8993 if (!PyString_Check(_obj1
)) {
8994 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8997 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) return NULL
;
9006 } _resultobj
= Py_BuildValue("i",_result
);
9014 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9015 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
* _resultobj
;
9020 PyObject
* _argo0
= 0;
9021 char *_kwnames
[] = { "self","n", NULL
};
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) return NULL
;
9040 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9048 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9049 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
* _resultobj
;
9054 PyObject
* _argo0
= 0;
9055 PyObject
* _obj2
= 0;
9056 char *_kwnames
[] = { "self","n","label", NULL
};
9059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9069 #if PYTHON_API_VERSION >= 1009
9070 char* tmpPtr
; int tmpSize
;
9071 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9072 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9075 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9077 _arg2
= new wxString(tmpPtr
, tmpSize
);
9079 if (!PyString_Check(_obj2
)) {
9080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9083 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) return NULL
;
9092 } Py_INCREF(Py_None
);
9093 _resultobj
= Py_None
;
9101 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9102 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9106 PyObject
* _argo0
= 0;
9107 char *_kwnames
[] = { "self", NULL
};
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) return NULL
;
9125 } _resultobj
= Py_BuildValue("i",_result
);
9129 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9130 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
* _resultobj
;
9134 PyObject
* _argo0
= 0;
9135 char *_kwnames
[] = { "self", NULL
};
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9153 } _resultobj
= Py_BuildValue("i",_result
);
9157 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9158 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
* _resultobj
;
9162 PyObject
* _argo0
= 0;
9163 char *_kwnames
[] = { "self", NULL
};
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) return NULL
;
9181 } _resultobj
= Py_BuildValue("i",_result
);
9185 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9186 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
* _resultobj
;
9190 PyObject
* _argo0
= 0;
9191 char *_kwnames
[] = { "self", NULL
};
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) return NULL
;
9210 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9218 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9219 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
* _resultobj
;
9223 PyObject
* _argo0
= 0;
9224 char *_kwnames
[] = { "self", NULL
};
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 _result
= (int )wxRadioBox_GetCount(_arg0
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) return NULL
;
9242 } _resultobj
= Py_BuildValue("i",_result
);
9246 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9247 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
* _resultobj
;
9251 PyObject
* _argo0
= 0;
9252 char *_kwnames
[] = { "self","n", NULL
};
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 wxRadioBox_SetSelection(_arg0
,_arg1
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) return NULL
;
9270 } Py_INCREF(Py_None
);
9271 _resultobj
= Py_None
;
9275 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9276 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
* _resultobj
;
9280 PyObject
* _argo0
= 0;
9281 PyObject
* _obj1
= 0;
9282 char *_kwnames
[] = { "self","string", NULL
};
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9295 #if PYTHON_API_VERSION >= 1009
9296 char* tmpPtr
; int tmpSize
;
9297 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9301 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9303 _arg1
= new wxString(tmpPtr
, tmpSize
);
9305 if (!PyString_Check(_obj1
)) {
9306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9309 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) return NULL
;
9318 } Py_INCREF(Py_None
);
9319 _resultobj
= Py_None
;
9327 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9328 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
* _resultobj
;
9332 PyObject
* _argo0
= 0;
9334 char *_kwnames
[] = { "self","show", NULL
};
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9346 _arg1
= (bool ) tempbool1
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 wxRadioBox_Show(_arg0
,_arg1
);
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) return NULL
;
9353 } Py_INCREF(Py_None
);
9354 _resultobj
= Py_None
;
9358 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9359 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
* _resultobj
;
9364 PyObject
* _argo0
= 0;
9366 char *_kwnames
[] = { "self","item","show", NULL
};
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9378 _arg2
= (bool ) tempbool2
;
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) return NULL
;
9385 } Py_INCREF(Py_None
);
9386 _resultobj
= Py_None
;
9390 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9393 src
= (wxRadioButton
*) ptr
;
9394 dest
= (wxControl
*) src
;
9395 return (void *) dest
;
9398 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9401 src
= (wxRadioButton
*) ptr
;
9402 dest
= (wxWindow
*) src
;
9403 return (void *) dest
;
9406 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9409 src
= (wxRadioButton
*) ptr
;
9410 dest
= (wxEvtHandler
*) src
;
9411 return (void *) dest
;
9414 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9417 src
= (wxRadioButton
*) ptr
;
9418 dest
= (wxObject
*) src
;
9419 return (void *) dest
;
9422 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9423 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
* _resultobj
;
9425 wxRadioButton
* _result
;
9429 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9430 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9431 long _arg5
= (long ) 0;
9432 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9433 char * _arg7
= (char *) "radioButton";
9434 PyObject
* _argo0
= 0;
9435 PyObject
* _obj2
= 0;
9437 PyObject
* _obj3
= 0;
9439 PyObject
* _obj4
= 0;
9440 PyObject
* _argo6
= 0;
9441 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9455 #if PYTHON_API_VERSION >= 1009
9456 char* tmpPtr
; int tmpSize
;
9457 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9461 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9463 _arg2
= new wxString(tmpPtr
, tmpSize
);
9465 if (!PyString_Check(_obj2
)) {
9466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9469 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9475 if (! wxPoint_helper(_obj3
, &_arg3
))
9481 if (! wxSize_helper(_obj4
, &_arg4
))
9485 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9499 _resultobj
= Py_BuildValue("s",_ptemp
);
9502 _resultobj
= Py_None
;
9511 #define new_wxPreRadioButton() (new wxRadioButton())
9512 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
* _resultobj
;
9514 wxRadioButton
* _result
;
9515 char *_kwnames
[] = { NULL
};
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) return NULL
;
9528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9529 _resultobj
= Py_BuildValue("s",_ptemp
);
9532 _resultobj
= Py_None
;
9537 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9538 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9541 wxRadioButton
* _arg0
;
9545 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9546 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9547 long _arg6
= (long ) 0;
9548 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9549 char * _arg8
= (char *) "radioButton";
9550 PyObject
* _argo0
= 0;
9551 PyObject
* _argo1
= 0;
9552 PyObject
* _obj3
= 0;
9554 PyObject
* _obj4
= 0;
9556 PyObject
* _obj5
= 0;
9557 PyObject
* _argo7
= 0;
9558 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9578 #if PYTHON_API_VERSION >= 1009
9579 char* tmpPtr
; int tmpSize
;
9580 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9581 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9584 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9586 _arg3
= new wxString(tmpPtr
, tmpSize
);
9588 if (!PyString_Check(_obj3
)) {
9589 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9592 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9598 if (! wxPoint_helper(_obj4
, &_arg4
))
9604 if (! wxSize_helper(_obj5
, &_arg5
))
9608 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9609 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9618 wxPyEndAllowThreads(__tstate
);
9619 if (PyErr_Occurred()) return NULL
;
9620 } _resultobj
= Py_BuildValue("i",_result
);
9628 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9629 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
* _resultobj
;
9632 wxRadioButton
* _arg0
;
9633 PyObject
* _argo0
= 0;
9634 char *_kwnames
[] = { "self", NULL
};
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) return NULL
;
9652 } _resultobj
= Py_BuildValue("i",_result
);
9656 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9657 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
* _resultobj
;
9659 wxRadioButton
* _arg0
;
9661 PyObject
* _argo0
= 0;
9663 char *_kwnames
[] = { "self","value", NULL
};
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9675 _arg1
= (bool ) tempbool1
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 wxRadioButton_SetValue(_arg0
,_arg1
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) return NULL
;
9682 } Py_INCREF(Py_None
);
9683 _resultobj
= Py_None
;
9687 static void *SwigwxSliderTowxControl(void *ptr
) {
9690 src
= (wxSlider
*) ptr
;
9691 dest
= (wxControl
*) src
;
9692 return (void *) dest
;
9695 static void *SwigwxSliderTowxWindow(void *ptr
) {
9698 src
= (wxSlider
*) ptr
;
9699 dest
= (wxWindow
*) src
;
9700 return (void *) dest
;
9703 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9706 src
= (wxSlider
*) ptr
;
9707 dest
= (wxEvtHandler
*) src
;
9708 return (void *) dest
;
9711 static void *SwigwxSliderTowxObject(void *ptr
) {
9714 src
= (wxSlider
*) ptr
;
9715 dest
= (wxObject
*) src
;
9716 return (void *) dest
;
9719 #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))
9720 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
* _resultobj
;
9728 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9729 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9730 long _arg7
= (long ) wxSL_HORIZONTAL
;
9731 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9732 char * _arg9
= (char *) "slider";
9733 PyObject
* _argo0
= 0;
9735 PyObject
* _obj5
= 0;
9737 PyObject
* _obj6
= 0;
9738 PyObject
* _argo8
= 0;
9739 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9755 if (! wxPoint_helper(_obj5
, &_arg5
))
9761 if (! wxSize_helper(_obj6
, &_arg6
))
9765 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9766 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) return NULL
;
9778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9779 _resultobj
= Py_BuildValue("s",_ptemp
);
9782 _resultobj
= Py_None
;
9787 #define new_wxPreSlider() (new wxSlider())
9788 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
* _resultobj
;
9791 char *_kwnames
[] = { NULL
};
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 _result
= (wxSlider
*)new_wxPreSlider();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) return NULL
;
9804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9805 _resultobj
= Py_BuildValue("s",_ptemp
);
9808 _resultobj
= Py_None
;
9813 #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))
9814 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
* _resultobj
;
9823 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9824 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9825 long _arg8
= (long ) wxSL_HORIZONTAL
;
9826 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9827 char * _arg10
= (char *) "slider";
9828 PyObject
* _argo0
= 0;
9829 PyObject
* _argo1
= 0;
9831 PyObject
* _obj6
= 0;
9833 PyObject
* _obj7
= 0;
9834 PyObject
* _argo9
= 0;
9835 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9857 if (! wxPoint_helper(_obj6
, &_arg6
))
9863 if (! wxSize_helper(_obj7
, &_arg7
))
9867 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9868 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) return NULL
;
9879 } _resultobj
= Py_BuildValue("i",_result
);
9883 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9884 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
* _resultobj
;
9887 PyObject
* _argo0
= 0;
9888 char *_kwnames
[] = { "self", NULL
};
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 wxSlider_ClearSel(_arg0
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) return NULL
;
9906 } Py_INCREF(Py_None
);
9907 _resultobj
= Py_None
;
9911 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9912 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
* _resultobj
;
9915 PyObject
* _argo0
= 0;
9916 char *_kwnames
[] = { "self", NULL
};
9919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 wxSlider_ClearTicks(_arg0
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) return NULL
;
9934 } Py_INCREF(Py_None
);
9935 _resultobj
= Py_None
;
9939 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9940 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
* _resultobj
;
9944 PyObject
* _argo0
= 0;
9945 char *_kwnames
[] = { "self", NULL
};
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
9951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 _result
= (int )wxSlider_GetLineSize(_arg0
);
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) return NULL
;
9963 } _resultobj
= Py_BuildValue("i",_result
);
9967 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
9968 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
* _resultobj
;
9972 PyObject
* _argo0
= 0;
9973 char *_kwnames
[] = { "self", NULL
};
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
9979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 _result
= (int )wxSlider_GetMax(_arg0
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) return NULL
;
9991 } _resultobj
= Py_BuildValue("i",_result
);
9995 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
9996 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9997 PyObject
* _resultobj
;
10000 PyObject
* _argo0
= 0;
10001 char *_kwnames
[] = { "self", NULL
};
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 _result
= (int )wxSlider_GetMin(_arg0
);
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) return NULL
;
10019 } _resultobj
= Py_BuildValue("i",_result
);
10023 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10024 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
* _resultobj
;
10028 PyObject
* _argo0
= 0;
10029 char *_kwnames
[] = { "self", NULL
};
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 _result
= (int )wxSlider_GetPageSize(_arg0
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) return NULL
;
10047 } _resultobj
= Py_BuildValue("i",_result
);
10051 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10052 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10056 PyObject
* _argo0
= 0;
10057 char *_kwnames
[] = { "self", NULL
};
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) return NULL
;
10075 } _resultobj
= Py_BuildValue("i",_result
);
10079 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10080 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
* _resultobj
;
10084 PyObject
* _argo0
= 0;
10085 char *_kwnames
[] = { "self", NULL
};
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 _result
= (int )wxSlider_GetSelStart(_arg0
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) return NULL
;
10103 } _resultobj
= Py_BuildValue("i",_result
);
10107 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10108 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
* _resultobj
;
10112 PyObject
* _argo0
= 0;
10113 char *_kwnames
[] = { "self", NULL
};
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) return NULL
;
10131 } _resultobj
= Py_BuildValue("i",_result
);
10135 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10136 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
* _resultobj
;
10140 PyObject
* _argo0
= 0;
10141 char *_kwnames
[] = { "self", NULL
};
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) return NULL
;
10159 } _resultobj
= Py_BuildValue("i",_result
);
10163 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10164 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10165 PyObject
* _resultobj
;
10168 PyObject
* _argo0
= 0;
10169 char *_kwnames
[] = { "self", NULL
};
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 _result
= (int )wxSlider_GetValue(_arg0
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) return NULL
;
10187 } _resultobj
= Py_BuildValue("i",_result
);
10191 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10192 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
* _resultobj
;
10197 PyObject
* _argo0
= 0;
10198 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } Py_INCREF(Py_None
);
10217 _resultobj
= Py_None
;
10221 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10222 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
* _resultobj
;
10227 PyObject
* _argo0
= 0;
10228 char *_kwnames
[] = { "self","n","pos", NULL
};
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) return NULL
;
10246 } Py_INCREF(Py_None
);
10247 _resultobj
= Py_None
;
10251 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10252 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
* _resultobj
;
10256 PyObject
* _argo0
= 0;
10257 char *_kwnames
[] = { "self","lineSize", NULL
};
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 wxSlider_SetLineSize(_arg0
,_arg1
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) return NULL
;
10275 } Py_INCREF(Py_None
);
10276 _resultobj
= Py_None
;
10280 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10281 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
* _resultobj
;
10285 PyObject
* _argo0
= 0;
10286 char *_kwnames
[] = { "self","pageSize", NULL
};
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 wxSlider_SetPageSize(_arg0
,_arg1
);
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) return NULL
;
10304 } Py_INCREF(Py_None
);
10305 _resultobj
= Py_None
;
10309 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10310 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
* _resultobj
;
10315 PyObject
* _argo0
= 0;
10316 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) return NULL
;
10334 } Py_INCREF(Py_None
);
10335 _resultobj
= Py_None
;
10339 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10340 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
* _resultobj
;
10344 PyObject
* _argo0
= 0;
10345 char *_kwnames
[] = { "self","len", NULL
};
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 wxSlider_SetThumbLength(_arg0
,_arg1
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) return NULL
;
10363 } Py_INCREF(Py_None
);
10364 _resultobj
= Py_None
;
10368 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10369 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
* _resultobj
;
10373 PyObject
* _argo0
= 0;
10374 char *_kwnames
[] = { "self","tickPos", NULL
};
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 wxSlider_SetTick(_arg0
,_arg1
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) return NULL
;
10392 } Py_INCREF(Py_None
);
10393 _resultobj
= Py_None
;
10397 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10398 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
* _resultobj
;
10402 PyObject
* _argo0
= 0;
10403 char *_kwnames
[] = { "self","value", NULL
};
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 wxSlider_SetValue(_arg0
,_arg1
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) return NULL
;
10421 } Py_INCREF(Py_None
);
10422 _resultobj
= Py_None
;
10426 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10428 wxSpinButton
*dest
;
10429 src
= (wxSpinCtrl
*) ptr
;
10430 dest
= (wxSpinButton
*) src
;
10431 return (void *) dest
;
10434 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10437 src
= (wxSpinCtrl
*) ptr
;
10438 dest
= (wxControl
*) src
;
10439 return (void *) dest
;
10442 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10445 src
= (wxSpinCtrl
*) ptr
;
10446 dest
= (wxWindow
*) src
;
10447 return (void *) dest
;
10450 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10452 wxEvtHandler
*dest
;
10453 src
= (wxSpinCtrl
*) ptr
;
10454 dest
= (wxEvtHandler
*) src
;
10455 return (void *) dest
;
10458 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10461 src
= (wxSpinCtrl
*) ptr
;
10462 dest
= (wxObject
*) src
;
10463 return (void *) dest
;
10466 #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))
10467 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
* _resultobj
;
10469 wxSpinCtrl
* _result
;
10471 wxWindowID _arg1
= (wxWindowID
) -1;
10472 char * _arg2
= (char *) "";
10473 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10474 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10475 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10476 int _arg6
= (int ) 0;
10477 int _arg7
= (int ) 100;
10478 int _arg8
= (int ) 0;
10479 char * _arg9
= (char *) "wxSpinCtrl";
10480 PyObject
* _argo0
= 0;
10482 PyObject
* _obj3
= 0;
10484 PyObject
* _obj4
= 0;
10485 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10501 if (! wxPoint_helper(_obj3
, &_arg3
))
10507 if (! wxSize_helper(_obj4
, &_arg4
))
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) return NULL
;
10517 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10518 _resultobj
= Py_BuildValue("s",_ptemp
);
10520 Py_INCREF(Py_None
);
10521 _resultobj
= Py_None
;
10526 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10527 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
* _resultobj
;
10529 wxSpinCtrl
* _result
;
10530 char *_kwnames
[] = { NULL
};
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) return NULL
;
10543 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10544 _resultobj
= Py_BuildValue("s",_ptemp
);
10546 Py_INCREF(Py_None
);
10547 _resultobj
= Py_None
;
10552 #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))
10553 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
* _resultobj
;
10556 wxSpinCtrl
* _arg0
;
10558 wxWindowID _arg2
= (wxWindowID
) -1;
10559 char * _arg3
= (char *) "";
10560 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10561 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10562 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10563 int _arg7
= (int ) 0;
10564 int _arg8
= (int ) 100;
10565 int _arg9
= (int ) 0;
10566 char * _arg10
= (char *) "wxSpinCtrl";
10567 PyObject
* _argo0
= 0;
10568 PyObject
* _argo1
= 0;
10570 PyObject
* _obj4
= 0;
10572 PyObject
* _obj5
= 0;
10573 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10595 if (! wxPoint_helper(_obj4
, &_arg4
))
10601 if (! wxSize_helper(_obj5
, &_arg5
))
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) return NULL
;
10610 } _resultobj
= Py_BuildValue("i",_result
);
10614 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10615 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
* _resultobj
;
10618 wxSpinCtrl
* _arg0
;
10619 PyObject
* _argo0
= 0;
10620 char *_kwnames
[] = { "self", NULL
};
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) return NULL
;
10638 } _resultobj
= Py_BuildValue("i",_result
);
10642 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10643 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
* _resultobj
;
10646 wxSpinCtrl
* _arg0
;
10647 PyObject
* _argo0
= 0;
10648 char *_kwnames
[] = { "self", NULL
};
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) return NULL
;
10666 } _resultobj
= Py_BuildValue("i",_result
);
10670 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10671 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
* _resultobj
;
10674 wxSpinCtrl
* _arg0
;
10675 PyObject
* _argo0
= 0;
10676 char *_kwnames
[] = { "self", NULL
};
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) return NULL
;
10694 } _resultobj
= Py_BuildValue("i",_result
);
10698 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10699 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
* _resultobj
;
10701 wxSpinCtrl
* _arg0
;
10704 PyObject
* _argo0
= 0;
10705 char *_kwnames
[] = { "self","min","max", NULL
};
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) return NULL
;
10723 } Py_INCREF(Py_None
);
10724 _resultobj
= Py_None
;
10728 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10729 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
* _resultobj
;
10731 wxSpinCtrl
* _arg0
;
10733 PyObject
* _argo0
= 0;
10734 char *_kwnames
[] = { "self","value", NULL
};
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) return NULL
;
10752 } Py_INCREF(Py_None
);
10753 _resultobj
= Py_None
;
10757 static PyMethodDef controlscMethods
[] = {
10758 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11013 * This table is used by the pointer type-checker
11015 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11016 { "_signed_long","_long",0},
11017 { "_wxPrintQuality","_wxCoord",0},
11018 { "_wxPrintQuality","_int",0},
11019 { "_wxPrintQuality","_signed_int",0},
11020 { "_wxPrintQuality","_unsigned_int",0},
11021 { "_wxPrintQuality","_wxWindowID",0},
11022 { "_wxPrintQuality","_uint",0},
11023 { "_wxPrintQuality","_EBool",0},
11024 { "_wxPrintQuality","_size_t",0},
11025 { "_wxPrintQuality","_time_t",0},
11026 { "_byte","_unsigned_char",0},
11027 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11028 { "_long","_unsigned_long",0},
11029 { "_long","_signed_long",0},
11030 { "_size_t","_wxCoord",0},
11031 { "_size_t","_wxPrintQuality",0},
11032 { "_size_t","_time_t",0},
11033 { "_size_t","_unsigned_int",0},
11034 { "_size_t","_int",0},
11035 { "_size_t","_wxWindowID",0},
11036 { "_size_t","_uint",0},
11037 { "_uint","_wxCoord",0},
11038 { "_uint","_wxPrintQuality",0},
11039 { "_uint","_time_t",0},
11040 { "_uint","_size_t",0},
11041 { "_uint","_unsigned_int",0},
11042 { "_uint","_int",0},
11043 { "_uint","_wxWindowID",0},
11044 { "_wxChar","_char",0},
11045 { "_char","_wxChar",0},
11046 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11047 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11048 { "_EBool","_wxCoord",0},
11049 { "_EBool","_wxPrintQuality",0},
11050 { "_EBool","_signed_int",0},
11051 { "_EBool","_int",0},
11052 { "_EBool","_wxWindowID",0},
11053 { "_unsigned_long","_long",0},
11054 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11055 { "_signed_int","_wxCoord",0},
11056 { "_signed_int","_wxPrintQuality",0},
11057 { "_signed_int","_EBool",0},
11058 { "_signed_int","_wxWindowID",0},
11059 { "_signed_int","_int",0},
11060 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11061 { "_WXTYPE","_short",0},
11062 { "_WXTYPE","_signed_short",0},
11063 { "_WXTYPE","_unsigned_short",0},
11064 { "_unsigned_short","_WXTYPE",0},
11065 { "_unsigned_short","_short",0},
11066 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11067 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11068 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11069 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11070 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11071 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11072 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11073 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11074 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11075 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11076 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11077 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11078 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11079 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11080 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11081 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11082 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11083 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11084 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11085 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11086 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11087 { "_signed_short","_WXTYPE",0},
11088 { "_signed_short","_short",0},
11089 { "_unsigned_char","_byte",0},
11090 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11091 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11092 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11093 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11094 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11095 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11096 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11097 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11098 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11099 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11100 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11101 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11102 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11103 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11104 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11105 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11106 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11107 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11108 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11109 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11110 { "_unsigned_int","_wxCoord",0},
11111 { "_unsigned_int","_wxPrintQuality",0},
11112 { "_unsigned_int","_time_t",0},
11113 { "_unsigned_int","_size_t",0},
11114 { "_unsigned_int","_uint",0},
11115 { "_unsigned_int","_wxWindowID",0},
11116 { "_unsigned_int","_int",0},
11117 { "_short","_WXTYPE",0},
11118 { "_short","_unsigned_short",0},
11119 { "_short","_signed_short",0},
11120 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11121 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11122 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11123 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11124 { "_wxWindowID","_wxCoord",0},
11125 { "_wxWindowID","_wxPrintQuality",0},
11126 { "_wxWindowID","_time_t",0},
11127 { "_wxWindowID","_size_t",0},
11128 { "_wxWindowID","_EBool",0},
11129 { "_wxWindowID","_uint",0},
11130 { "_wxWindowID","_int",0},
11131 { "_wxWindowID","_signed_int",0},
11132 { "_wxWindowID","_unsigned_int",0},
11133 { "_int","_wxCoord",0},
11134 { "_int","_wxPrintQuality",0},
11135 { "_int","_time_t",0},
11136 { "_int","_size_t",0},
11137 { "_int","_EBool",0},
11138 { "_int","_uint",0},
11139 { "_int","_wxWindowID",0},
11140 { "_int","_unsigned_int",0},
11141 { "_int","_signed_int",0},
11142 { "_time_t","_wxCoord",0},
11143 { "_time_t","_wxPrintQuality",0},
11144 { "_time_t","_unsigned_int",0},
11145 { "_time_t","_int",0},
11146 { "_time_t","_wxWindowID",0},
11147 { "_time_t","_uint",0},
11148 { "_time_t","_size_t",0},
11149 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11150 { "_wxCoord","_int",0},
11151 { "_wxCoord","_signed_int",0},
11152 { "_wxCoord","_unsigned_int",0},
11153 { "_wxCoord","_wxWindowID",0},
11154 { "_wxCoord","_uint",0},
11155 { "_wxCoord","_EBool",0},
11156 { "_wxCoord","_size_t",0},
11157 { "_wxCoord","_time_t",0},
11158 { "_wxCoord","_wxPrintQuality",0},
11159 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11160 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11161 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11162 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11163 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11164 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11165 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11166 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11167 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11168 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11169 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11170 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11171 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11172 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11173 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11174 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11175 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11176 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11177 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11178 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11179 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11180 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11181 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11182 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11183 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11184 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11185 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11186 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11187 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11188 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11189 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11190 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11191 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11192 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11193 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11194 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11195 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11196 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11197 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11198 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11199 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11200 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11203 static PyObject
*SWIG_globals
;
11207 SWIGEXPORT(void) initcontrolsc() {
11209 SWIG_globals
= SWIG_newvarlink();
11210 m
= Py_InitModule("controlsc", controlscMethods
);
11211 d
= PyModule_GetDict(m
);
11212 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11213 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11216 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11217 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);