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 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
890 static PyObject
*_wrap_wxControlWithItems_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
892 wxControlWithItems
* _arg0
;
893 wxArrayString
* _arg1
;
894 PyObject
* _argo0
= 0;
895 PyObject
* _obj1
= 0;
896 char *_kwnames
[] = { "self","strings", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
909 if (! PySequence_Check(_obj1
)) {
910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
913 _arg1
= new wxArrayString
;
914 int i
, len
=PySequence_Length(_obj1
);
915 for (i
=0; i
<len
; i
++) {
916 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
917 PyObject
* str
= PyObject_Str(item
);
918 _arg1
->Add(PyString_AsString(str
));
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 wxControlWithItems_AppendItems(_arg0
,*_arg1
);
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) return NULL
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
938 static void *SwigwxButtonTowxControl(void *ptr
) {
941 src
= (wxButton
*) ptr
;
942 dest
= (wxControl
*) src
;
943 return (void *) dest
;
946 static void *SwigwxButtonTowxWindow(void *ptr
) {
949 src
= (wxButton
*) ptr
;
950 dest
= (wxWindow
*) src
;
951 return (void *) dest
;
954 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
957 src
= (wxButton
*) ptr
;
958 dest
= (wxEvtHandler
*) src
;
959 return (void *) dest
;
962 static void *SwigwxButtonTowxObject(void *ptr
) {
965 src
= (wxButton
*) ptr
;
966 dest
= (wxObject
*) src
;
967 return (void *) dest
;
970 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
971 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
977 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
978 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
979 long _arg5
= (long ) 0;
980 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
981 char * _arg7
= (char *) "button";
982 PyObject
* _argo0
= 0;
983 PyObject
* _obj2
= 0;
985 PyObject
* _obj3
= 0;
987 PyObject
* _obj4
= 0;
988 PyObject
* _argo6
= 0;
989 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1003 #if PYTHON_API_VERSION >= 1009
1004 char* tmpPtr
; int tmpSize
;
1005 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1009 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1011 _arg2
= new wxString(tmpPtr
, tmpSize
);
1013 if (!PyString_Check(_obj2
)) {
1014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1017 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1023 if (! wxPoint_helper(_obj3
, &_arg3
))
1029 if (! wxSize_helper(_obj4
, &_arg4
))
1033 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) return NULL
;
1046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1050 _resultobj
= Py_None
;
1059 #define new_wxPreButton() (new wxButton())
1060 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1063 char *_kwnames
[] = { NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 _result
= (wxButton
*)new_wxPreButton();
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1077 _resultobj
= Py_BuildValue("s",_ptemp
);
1080 _resultobj
= Py_None
;
1085 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1086 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1093 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1094 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1095 long _arg6
= (long ) 0;
1096 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1097 char * _arg8
= (char *) "button";
1098 PyObject
* _argo0
= 0;
1099 PyObject
* _argo1
= 0;
1100 PyObject
* _obj3
= 0;
1102 PyObject
* _obj4
= 0;
1104 PyObject
* _obj5
= 0;
1105 PyObject
* _argo7
= 0;
1106 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1126 #if PYTHON_API_VERSION >= 1009
1127 char* tmpPtr
; int tmpSize
;
1128 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1132 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1134 _arg3
= new wxString(tmpPtr
, tmpSize
);
1136 if (!PyString_Check(_obj3
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1146 if (! wxPoint_helper(_obj4
, &_arg4
))
1152 if (! wxSize_helper(_obj5
, &_arg5
))
1156 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } _resultobj
= Py_BuildValue("i",_result
);
1176 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1177 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1180 PyObject
* _argo0
= 0;
1181 char *_kwnames
[] = { "self", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1195 wxButton_SetDefault(_arg0
);
1197 wxPyEndAllowThreads(__tstate
);
1198 if (PyErr_Occurred()) return NULL
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1204 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1205 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1209 PyObject
* _argo0
= 0;
1211 PyObject
* _obj1
= 0;
1212 char *_kwnames
[] = { "self","colour", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1226 if (! wxColour_helper(_obj1
, &_arg1
))
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } Py_INCREF(Py_None
);
1236 _resultobj
= Py_None
;
1240 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1241 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1245 PyObject
* _argo0
= 0;
1247 PyObject
* _obj1
= 0;
1248 char *_kwnames
[] = { "self","colour", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1262 if (! wxColour_helper(_obj1
, &_arg1
))
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } Py_INCREF(Py_None
);
1272 _resultobj
= Py_None
;
1276 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1279 char *_kwnames
[] = { NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 _result
= new wxSize (wxButton::GetDefaultSize());
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) return NULL
;
1291 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1292 _resultobj
= Py_BuildValue("s",_ptemp
);
1296 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1297 wxBitmapButton
*src
;
1299 src
= (wxBitmapButton
*) ptr
;
1300 dest
= (wxButton
*) src
;
1301 return (void *) dest
;
1304 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1305 wxBitmapButton
*src
;
1307 src
= (wxBitmapButton
*) ptr
;
1308 dest
= (wxControl
*) src
;
1309 return (void *) dest
;
1312 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1313 wxBitmapButton
*src
;
1315 src
= (wxBitmapButton
*) ptr
;
1316 dest
= (wxWindow
*) src
;
1317 return (void *) dest
;
1320 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1321 wxBitmapButton
*src
;
1323 src
= (wxBitmapButton
*) ptr
;
1324 dest
= (wxEvtHandler
*) src
;
1325 return (void *) dest
;
1328 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1329 wxBitmapButton
*src
;
1331 src
= (wxBitmapButton
*) ptr
;
1332 dest
= (wxObject
*) src
;
1333 return (void *) dest
;
1336 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1337 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1339 wxBitmapButton
* _result
;
1343 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1344 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1345 long _arg5
= (long ) wxBU_AUTODRAW
;
1346 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1347 char * _arg7
= (char *) "button";
1348 PyObject
* _argo0
= 0;
1349 PyObject
* _argo2
= 0;
1351 PyObject
* _obj3
= 0;
1353 PyObject
* _obj4
= 0;
1354 PyObject
* _argo6
= 0;
1355 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1369 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1378 if (! wxPoint_helper(_obj3
, &_arg3
))
1384 if (! wxSize_helper(_obj4
, &_arg4
))
1388 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1402 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 _resultobj
= Py_None
;
1410 #define new_wxPreBitmapButton() (new wxBitmapButton())
1411 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1413 wxBitmapButton
* _result
;
1414 char *_kwnames
[] = { NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1428 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 _resultobj
= Py_None
;
1436 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1437 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1440 wxBitmapButton
* _arg0
;
1444 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1445 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1446 long _arg6
= (long ) wxBU_AUTODRAW
;
1447 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1448 char * _arg8
= (char *) "button";
1449 PyObject
* _argo0
= 0;
1450 PyObject
* _argo1
= 0;
1451 PyObject
* _argo3
= 0;
1453 PyObject
* _obj4
= 0;
1455 PyObject
* _obj5
= 0;
1456 PyObject
* _argo7
= 0;
1457 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1477 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1486 if (! wxPoint_helper(_obj4
, &_arg4
))
1492 if (! wxSize_helper(_obj5
, &_arg5
))
1496 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) return NULL
;
1508 } _resultobj
= Py_BuildValue("i",_result
);
1512 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1513 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1516 wxBitmapButton
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1538 _resultobj
= Py_BuildValue("s",_ptemp
);
1542 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1543 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1546 wxBitmapButton
* _arg0
;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1568 _resultobj
= Py_BuildValue("s",_ptemp
);
1572 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1573 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1576 wxBitmapButton
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1602 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1603 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1606 wxBitmapButton
* _arg0
;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) return NULL
;
1627 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1628 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1633 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxBitmapButton
* _arg0
;
1637 PyObject
* _argo0
= 0;
1638 PyObject
* _argo1
= 0;
1639 char *_kwnames
[] = { "self","bitmap", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } Py_INCREF(Py_None
);
1665 _resultobj
= Py_None
;
1669 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1670 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1672 wxBitmapButton
* _arg0
;
1674 PyObject
* _argo0
= 0;
1675 PyObject
* _argo1
= 0;
1676 char *_kwnames
[] = { "self","bitmap", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } Py_INCREF(Py_None
);
1702 _resultobj
= Py_None
;
1706 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1707 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxBitmapButton
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 PyObject
* _argo1
= 0;
1713 char *_kwnames
[] = { "self","bitmap", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1744 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1746 wxBitmapButton
* _arg0
;
1748 PyObject
* _argo0
= 0;
1749 PyObject
* _argo1
= 0;
1750 char *_kwnames
[] = { "self","bitmap", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1781 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 wxBitmapButton
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self","x","y", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1811 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 wxBitmapButton
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1839 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1842 wxBitmapButton
* _arg0
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } _resultobj
= Py_BuildValue("i",_result
);
1866 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1869 src
= (wxCheckBox
*) ptr
;
1870 dest
= (wxControl
*) src
;
1871 return (void *) dest
;
1874 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1877 src
= (wxCheckBox
*) ptr
;
1878 dest
= (wxWindow
*) src
;
1879 return (void *) dest
;
1882 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1885 src
= (wxCheckBox
*) ptr
;
1886 dest
= (wxEvtHandler
*) src
;
1887 return (void *) dest
;
1890 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1893 src
= (wxCheckBox
*) ptr
;
1894 dest
= (wxObject
*) src
;
1895 return (void *) dest
;
1898 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1899 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1901 wxCheckBox
* _result
;
1905 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1906 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1907 long _arg5
= (long ) 0;
1908 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1909 char * _arg7
= (char *) "checkBox";
1910 PyObject
* _argo0
= 0;
1911 PyObject
* _obj2
= 0;
1913 PyObject
* _obj3
= 0;
1915 PyObject
* _obj4
= 0;
1916 PyObject
* _argo6
= 0;
1917 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1931 #if PYTHON_API_VERSION >= 1009
1932 char* tmpPtr
; int tmpSize
;
1933 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1937 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1939 _arg2
= new wxString(tmpPtr
, tmpSize
);
1941 if (!PyString_Check(_obj2
)) {
1942 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1945 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1951 if (! wxPoint_helper(_obj3
, &_arg3
))
1957 if (! wxSize_helper(_obj4
, &_arg4
))
1961 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1962 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) return NULL
;
1974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1975 _resultobj
= Py_BuildValue("s",_ptemp
);
1978 _resultobj
= Py_None
;
1987 #define new_wxPreCheckBox() (new wxCheckBox())
1988 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1990 wxCheckBox
* _result
;
1991 char *_kwnames
[] = { NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) return NULL
;
2004 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2005 _resultobj
= Py_BuildValue("s",_ptemp
);
2008 _resultobj
= Py_None
;
2013 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2014 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
* _resultobj
;
2021 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2022 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2023 long _arg6
= (long ) 0;
2024 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2025 char * _arg8
= (char *) "checkBox";
2026 PyObject
* _argo0
= 0;
2027 PyObject
* _argo1
= 0;
2028 PyObject
* _obj3
= 0;
2030 PyObject
* _obj4
= 0;
2032 PyObject
* _obj5
= 0;
2033 PyObject
* _argo7
= 0;
2034 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2054 #if PYTHON_API_VERSION >= 1009
2055 char* tmpPtr
; int tmpSize
;
2056 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2060 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2062 _arg3
= new wxString(tmpPtr
, tmpSize
);
2064 if (!PyString_Check(_obj3
)) {
2065 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2068 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2074 if (! wxPoint_helper(_obj4
, &_arg4
))
2080 if (! wxSize_helper(_obj5
, &_arg5
))
2084 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2085 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } _resultobj
= Py_BuildValue("i",_result
);
2104 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2105 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2109 PyObject
* _argo0
= 0;
2110 char *_kwnames
[] = { "self", NULL
};
2113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2124 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2126 wxPyEndAllowThreads(__tstate
);
2127 if (PyErr_Occurred()) return NULL
;
2128 } _resultobj
= Py_BuildValue("i",_result
);
2132 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2133 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2137 PyObject
* _argo0
= 0;
2139 char *_kwnames
[] = { "self","state", NULL
};
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2151 _arg1
= (bool ) tempbool1
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 wxCheckBox_SetValue(_arg0
,_arg1
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) return NULL
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2163 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2165 wxControlWithItems
*dest
;
2166 src
= (wxChoice
*) ptr
;
2167 dest
= (wxControlWithItems
*) src
;
2168 return (void *) dest
;
2171 static void *SwigwxChoiceTowxControl(void *ptr
) {
2174 src
= (wxChoice
*) ptr
;
2175 dest
= (wxControl
*) src
;
2176 return (void *) dest
;
2179 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2182 src
= (wxChoice
*) ptr
;
2183 dest
= (wxWindow
*) src
;
2184 return (void *) dest
;
2187 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2190 src
= (wxChoice
*) ptr
;
2191 dest
= (wxEvtHandler
*) src
;
2192 return (void *) dest
;
2195 static void *SwigwxChoiceTowxObject(void *ptr
) {
2198 src
= (wxChoice
*) ptr
;
2199 dest
= (wxObject
*) src
;
2200 return (void *) dest
;
2203 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2204 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2209 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2210 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2211 int _arg4
= (int ) 0;
2212 wxString
* _arg5
= (wxString
*) NULL
;
2213 long _arg6
= (long ) 0;
2214 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2215 char * _arg8
= (char *) "choice";
2216 PyObject
* _argo0
= 0;
2218 PyObject
* _obj2
= 0;
2220 PyObject
* _obj3
= 0;
2221 PyObject
* _obj5
= 0;
2222 PyObject
* _argo7
= 0;
2223 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2239 if (! wxPoint_helper(_obj2
, &_arg2
))
2245 if (! wxSize_helper(_obj3
, &_arg3
))
2250 _arg5
= wxString_LIST_helper(_obj5
);
2251 if (_arg5
== NULL
) {
2256 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2264 _arg4
= PyList_Size(_obj5
);
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) return NULL
;
2277 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2278 _resultobj
= Py_BuildValue("s",_ptemp
);
2281 _resultobj
= Py_None
;
2289 #define new_wxPreChoice() (new wxChoice())
2290 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2293 char *_kwnames
[] = { NULL
};
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 _result
= (wxChoice
*)new_wxPreChoice();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) return NULL
;
2306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2307 _resultobj
= Py_BuildValue("s",_ptemp
);
2310 _resultobj
= Py_None
;
2315 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2316 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
* _resultobj
;
2322 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2323 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2324 int _arg5
= (int ) 0;
2325 wxString
* _arg6
= (wxString
*) NULL
;
2326 long _arg7
= (long ) 0;
2327 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2328 char * _arg9
= (char *) "choice";
2329 PyObject
* _argo0
= 0;
2330 PyObject
* _argo1
= 0;
2332 PyObject
* _obj3
= 0;
2334 PyObject
* _obj4
= 0;
2335 PyObject
* _obj6
= 0;
2336 PyObject
* _argo8
= 0;
2337 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2359 if (! wxPoint_helper(_obj3
, &_arg3
))
2365 if (! wxSize_helper(_obj4
, &_arg4
))
2370 _arg6
= wxString_LIST_helper(_obj6
);
2371 if (_arg6
== NULL
) {
2376 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2377 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2384 _arg5
= PyList_Size(_obj6
);
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) return NULL
;
2396 } _resultobj
= Py_BuildValue("i",_result
);
2403 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2404 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2407 PyObject
* _argo0
= 0;
2408 char *_kwnames
[] = { "self", NULL
};
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 wxChoice_Clear(_arg0
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2432 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2451 _result
= (int )wxChoice_GetColumns(_arg0
);
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) return NULL
;
2455 } _resultobj
= Py_BuildValue("i",_result
);
2459 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2460 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2461 PyObject
* _resultobj
;
2463 int _arg1
= (int ) 1;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self","n", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 wxChoice_SetColumns(_arg0
,_arg1
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) return NULL
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2489 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2493 PyObject
* _argo0
= 0;
2494 char *_kwnames
[] = { "self","n", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 wxChoice_SetSelection(_arg0
,_arg1
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2517 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2518 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2522 PyObject
* _argo0
= 0;
2523 PyObject
* _obj1
= 0;
2524 char *_kwnames
[] = { "self","string", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2537 #if PYTHON_API_VERSION >= 1009
2538 char* tmpPtr
; int tmpSize
;
2539 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2543 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2545 _arg1
= new wxString(tmpPtr
, tmpSize
);
2547 if (!PyString_Check(_obj1
)) {
2548 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2551 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2556 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2558 wxPyEndAllowThreads(__tstate
);
2559 if (PyErr_Occurred()) return NULL
;
2560 } Py_INCREF(Py_None
);
2561 _resultobj
= Py_None
;
2569 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2570 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2575 PyObject
* _argo0
= 0;
2576 PyObject
* _obj2
= 0;
2577 char *_kwnames
[] = { "self","n","s", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2590 #if PYTHON_API_VERSION >= 1009
2591 char* tmpPtr
; int tmpSize
;
2592 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2596 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2598 _arg2
= new wxString(tmpPtr
, tmpSize
);
2600 if (!PyString_Check(_obj2
)) {
2601 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2604 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) return NULL
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2622 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2625 src
= (wxComboBox
*) ptr
;
2626 dest
= (wxChoice
*) src
;
2627 return (void *) dest
;
2630 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2632 wxControlWithItems
*dest
;
2633 src
= (wxComboBox
*) ptr
;
2634 dest
= (wxControlWithItems
*) src
;
2635 return (void *) dest
;
2638 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2641 src
= (wxComboBox
*) ptr
;
2642 dest
= (wxControl
*) src
;
2643 return (void *) dest
;
2646 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2649 src
= (wxComboBox
*) ptr
;
2650 dest
= (wxWindow
*) src
;
2651 return (void *) dest
;
2654 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2657 src
= (wxComboBox
*) ptr
;
2658 dest
= (wxEvtHandler
*) src
;
2659 return (void *) dest
;
2662 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2665 src
= (wxComboBox
*) ptr
;
2666 dest
= (wxObject
*) src
;
2667 return (void *) dest
;
2670 #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))
2671 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2673 wxComboBox
* _result
;
2676 char * _arg2
= (char *) "";
2677 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2678 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2679 int _arg5
= (int ) 0;
2680 wxString
* _arg6
= (wxString
*) NULL
;
2681 long _arg7
= (long ) 0;
2682 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2683 char * _arg9
= (char *) "comboBox";
2684 PyObject
* _argo0
= 0;
2686 PyObject
* _obj3
= 0;
2688 PyObject
* _obj4
= 0;
2689 PyObject
* _obj6
= 0;
2690 PyObject
* _argo8
= 0;
2691 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2707 if (! wxPoint_helper(_obj3
, &_arg3
))
2713 if (! wxSize_helper(_obj4
, &_arg4
))
2718 _arg6
= wxString_LIST_helper(_obj6
);
2719 if (_arg6
== NULL
) {
2724 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2732 _arg5
= PyList_Size(_obj6
);
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) return NULL
;
2745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2746 _resultobj
= Py_BuildValue("s",_ptemp
);
2749 _resultobj
= Py_None
;
2757 #define new_wxPreComboBox() (new wxComboBox())
2758 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
* _resultobj
;
2760 wxComboBox
* _result
;
2761 char *_kwnames
[] = { NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 _result
= (wxComboBox
*)new_wxPreComboBox();
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) return NULL
;
2774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2775 _resultobj
= Py_BuildValue("s",_ptemp
);
2778 _resultobj
= Py_None
;
2783 #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))
2784 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
* _resultobj
;
2790 char * _arg3
= (char *) "";
2791 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2792 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2793 int _arg6
= (int ) 0;
2794 wxString
* _arg7
= (wxString
*) NULL
;
2795 long _arg8
= (long ) 0;
2796 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2797 char * _arg10
= (char *) "comboBox";
2798 PyObject
* _argo0
= 0;
2799 PyObject
* _argo1
= 0;
2801 PyObject
* _obj4
= 0;
2803 PyObject
* _obj5
= 0;
2804 PyObject
* _obj7
= 0;
2805 PyObject
* _argo9
= 0;
2806 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2819 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2828 if (! wxPoint_helper(_obj4
, &_arg4
))
2834 if (! wxSize_helper(_obj5
, &_arg5
))
2839 _arg7
= wxString_LIST_helper(_obj7
);
2840 if (_arg7
== NULL
) {
2845 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2846 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2853 _arg6
= PyList_Size(_obj7
);
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) return NULL
;
2865 } _resultobj
= Py_BuildValue("i",_result
);
2872 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2873 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2876 PyObject
* _argo0
= 0;
2877 char *_kwnames
[] = { "self", NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2891 wxComboBox_Copy(_arg0
);
2893 wxPyEndAllowThreads(__tstate
);
2894 if (PyErr_Occurred()) return NULL
;
2895 } Py_INCREF(Py_None
);
2896 _resultobj
= Py_None
;
2900 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2901 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2904 PyObject
* _argo0
= 0;
2905 char *_kwnames
[] = { "self", NULL
};
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 wxComboBox_Cut(_arg0
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) return NULL
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2928 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2929 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
* _resultobj
;
2933 PyObject
* _argo0
= 0;
2934 char *_kwnames
[] = { "self", NULL
};
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) return NULL
;
2952 } _resultobj
= Py_BuildValue("l",_result
);
2956 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2957 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) return NULL
;
2980 } _resultobj
= Py_BuildValue("l",_result
);
2984 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2985 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) return NULL
;
3009 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3017 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3018 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 wxComboBox_Paste(_arg0
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) return NULL
;
3040 } Py_INCREF(Py_None
);
3041 _resultobj
= Py_None
;
3045 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3046 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3052 PyObject
* _argo0
= 0;
3053 PyObject
* _obj3
= 0;
3054 char *_kwnames
[] = { "self","from","to","text", NULL
};
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3067 #if PYTHON_API_VERSION >= 1009
3068 char* tmpPtr
; int tmpSize
;
3069 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3073 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3075 _arg3
= new wxString(tmpPtr
, tmpSize
);
3077 if (!PyString_Check(_obj3
)) {
3078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3081 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) return NULL
;
3090 } Py_INCREF(Py_None
);
3091 _resultobj
= Py_None
;
3099 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3100 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3105 PyObject
* _argo0
= 0;
3106 char *_kwnames
[] = { "self","from","to", NULL
};
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) return NULL
;
3124 } Py_INCREF(Py_None
);
3125 _resultobj
= Py_None
;
3129 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3130 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
* _resultobj
;
3134 PyObject
* _argo0
= 0;
3135 char *_kwnames
[] = { "self","pos", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) return NULL
;
3153 } Py_INCREF(Py_None
);
3154 _resultobj
= Py_None
;
3158 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3159 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
* _resultobj
;
3162 PyObject
* _argo0
= 0;
3163 char *_kwnames
[] = { "self", NULL
};
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 wxComboBox_SetInsertionPointEnd(_arg0
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) return NULL
;
3181 } Py_INCREF(Py_None
);
3182 _resultobj
= Py_None
;
3186 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3187 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3191 PyObject
* _argo0
= 0;
3192 char *_kwnames
[] = { "self","n", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 wxComboBox_SetSelection(_arg0
,_arg1
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3216 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3221 PyObject
* _argo0
= 0;
3222 char *_kwnames
[] = { "self","from","to", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3245 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3246 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3250 PyObject
* _argo0
= 0;
3251 PyObject
* _obj1
= 0;
3252 char *_kwnames
[] = { "self","text", NULL
};
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3265 #if PYTHON_API_VERSION >= 1009
3266 char* tmpPtr
; int tmpSize
;
3267 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3268 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3271 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3273 _arg1
= new wxString(tmpPtr
, tmpSize
);
3275 if (!PyString_Check(_obj1
)) {
3276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3279 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 wxComboBox_SetValue(_arg0
,*_arg1
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) return NULL
;
3288 } Py_INCREF(Py_None
);
3289 _resultobj
= Py_None
;
3297 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3298 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3302 PyObject
* _argo0
= 0;
3304 char *_kwnames
[] = { "self","editable", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3316 _arg1
= (bool ) tempbool1
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 wxComboBox_SetEditable(_arg0
,_arg1
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) return NULL
;
3323 } Py_INCREF(Py_None
);
3324 _resultobj
= Py_None
;
3328 static void *SwigwxGaugeTowxControl(void *ptr
) {
3331 src
= (wxGauge
*) ptr
;
3332 dest
= (wxControl
*) src
;
3333 return (void *) dest
;
3336 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3339 src
= (wxGauge
*) ptr
;
3340 dest
= (wxWindow
*) src
;
3341 return (void *) dest
;
3344 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3347 src
= (wxGauge
*) ptr
;
3348 dest
= (wxEvtHandler
*) src
;
3349 return (void *) dest
;
3352 static void *SwigwxGaugeTowxObject(void *ptr
) {
3355 src
= (wxGauge
*) ptr
;
3356 dest
= (wxObject
*) src
;
3357 return (void *) dest
;
3360 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3361 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
* _resultobj
;
3367 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3368 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3369 long _arg5
= (long ) wxGA_HORIZONTAL
;
3370 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3371 char * _arg7
= (char *) "gauge";
3372 PyObject
* _argo0
= 0;
3374 PyObject
* _obj3
= 0;
3376 PyObject
* _obj4
= 0;
3377 PyObject
* _argo6
= 0;
3378 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3394 if (! wxPoint_helper(_obj3
, &_arg3
))
3400 if (! wxSize_helper(_obj4
, &_arg4
))
3404 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) return NULL
;
3417 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3418 _resultobj
= Py_BuildValue("s",_ptemp
);
3421 _resultobj
= Py_None
;
3426 #define new_wxPreGauge() (new wxGauge())
3427 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
* _resultobj
;
3430 char *_kwnames
[] = { NULL
};
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 _result
= (wxGauge
*)new_wxPreGauge();
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3443 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3444 _resultobj
= Py_BuildValue("s",_ptemp
);
3447 _resultobj
= Py_None
;
3452 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3453 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3460 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3461 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3462 long _arg6
= (long ) wxGA_HORIZONTAL
;
3463 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3464 char * _arg8
= (char *) "gauge";
3465 PyObject
* _argo0
= 0;
3466 PyObject
* _argo1
= 0;
3468 PyObject
* _obj4
= 0;
3470 PyObject
* _obj5
= 0;
3471 PyObject
* _argo7
= 0;
3472 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3494 if (! wxPoint_helper(_obj4
, &_arg4
))
3500 if (! wxSize_helper(_obj5
, &_arg5
))
3504 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3505 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) return NULL
;
3516 } _resultobj
= Py_BuildValue("i",_result
);
3520 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3521 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3525 PyObject
* _argo0
= 0;
3526 char *_kwnames
[] = { "self", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) return NULL
;
3544 } _resultobj
= Py_BuildValue("i",_result
);
3548 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3549 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
* _resultobj
;
3553 PyObject
* _argo0
= 0;
3554 char *_kwnames
[] = { "self", NULL
};
3557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 _result
= (int )wxGauge_GetRange(_arg0
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) return NULL
;
3572 } _resultobj
= Py_BuildValue("i",_result
);
3576 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3577 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
* _resultobj
;
3581 PyObject
* _argo0
= 0;
3582 char *_kwnames
[] = { "self", NULL
};
3585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) return NULL
;
3600 } _resultobj
= Py_BuildValue("i",_result
);
3604 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3605 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3606 PyObject
* _resultobj
;
3609 PyObject
* _argo0
= 0;
3610 char *_kwnames
[] = { "self", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 _result
= (int )wxGauge_GetValue(_arg0
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) return NULL
;
3628 } _resultobj
= Py_BuildValue("i",_result
);
3632 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3633 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
* _resultobj
;
3637 PyObject
* _argo0
= 0;
3638 char *_kwnames
[] = { "self","width", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 wxGauge_SetBezelFace(_arg0
,_arg1
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) return NULL
;
3656 } Py_INCREF(Py_None
);
3657 _resultobj
= Py_None
;
3661 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3662 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
* _resultobj
;
3666 PyObject
* _argo0
= 0;
3667 char *_kwnames
[] = { "self","range", NULL
};
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 wxGauge_SetRange(_arg0
,_arg1
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) return NULL
;
3685 } Py_INCREF(Py_None
);
3686 _resultobj
= Py_None
;
3690 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3691 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3695 PyObject
* _argo0
= 0;
3696 char *_kwnames
[] = { "self","width", NULL
};
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) return NULL
;
3714 } Py_INCREF(Py_None
);
3715 _resultobj
= Py_None
;
3719 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3720 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self","pos", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 wxGauge_SetValue(_arg0
,_arg1
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) return NULL
;
3743 } Py_INCREF(Py_None
);
3744 _resultobj
= Py_None
;
3748 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3751 src
= (wxStaticBox
*) ptr
;
3752 dest
= (wxControl
*) src
;
3753 return (void *) dest
;
3756 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3759 src
= (wxStaticBox
*) ptr
;
3760 dest
= (wxWindow
*) src
;
3761 return (void *) dest
;
3764 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3767 src
= (wxStaticBox
*) ptr
;
3768 dest
= (wxEvtHandler
*) src
;
3769 return (void *) dest
;
3772 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3775 src
= (wxStaticBox
*) ptr
;
3776 dest
= (wxObject
*) src
;
3777 return (void *) dest
;
3780 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3781 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
* _resultobj
;
3783 wxStaticBox
* _result
;
3787 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3788 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3789 long _arg5
= (long ) 0;
3790 char * _arg6
= (char *) "staticBox";
3791 PyObject
* _argo0
= 0;
3792 PyObject
* _obj2
= 0;
3794 PyObject
* _obj3
= 0;
3796 PyObject
* _obj4
= 0;
3797 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3811 #if PYTHON_API_VERSION >= 1009
3812 char* tmpPtr
; int tmpSize
;
3813 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3817 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3819 _arg2
= new wxString(tmpPtr
, tmpSize
);
3821 if (!PyString_Check(_obj2
)) {
3822 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3825 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3831 if (! wxPoint_helper(_obj3
, &_arg3
))
3837 if (! wxSize_helper(_obj4
, &_arg4
))
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) return NULL
;
3847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3848 _resultobj
= Py_BuildValue("s",_ptemp
);
3851 _resultobj
= Py_None
;
3860 #define new_wxPreStaticBox() (new wxStaticBox())
3861 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3863 wxStaticBox
* _result
;
3864 char *_kwnames
[] = { NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) return NULL
;
3877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3878 _resultobj
= Py_BuildValue("s",_ptemp
);
3881 _resultobj
= Py_None
;
3886 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3887 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
* _resultobj
;
3890 wxStaticBox
* _arg0
;
3894 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3895 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3896 long _arg6
= (long ) 0;
3897 char * _arg7
= (char *) "staticBox";
3898 PyObject
* _argo0
= 0;
3899 PyObject
* _argo1
= 0;
3900 PyObject
* _obj3
= 0;
3902 PyObject
* _obj4
= 0;
3904 PyObject
* _obj5
= 0;
3905 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3925 #if PYTHON_API_VERSION >= 1009
3926 char* tmpPtr
; int tmpSize
;
3927 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3931 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3933 _arg3
= new wxString(tmpPtr
, tmpSize
);
3935 if (!PyString_Check(_obj3
)) {
3936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3939 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3945 if (! wxPoint_helper(_obj4
, &_arg4
))
3951 if (! wxSize_helper(_obj5
, &_arg5
))
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) return NULL
;
3960 } _resultobj
= Py_BuildValue("i",_result
);
3968 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3971 src
= (wxStaticLine
*) ptr
;
3972 dest
= (wxControl
*) src
;
3973 return (void *) dest
;
3976 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3979 src
= (wxStaticLine
*) ptr
;
3980 dest
= (wxWindow
*) src
;
3981 return (void *) dest
;
3984 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3987 src
= (wxStaticLine
*) ptr
;
3988 dest
= (wxEvtHandler
*) src
;
3989 return (void *) dest
;
3992 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3995 src
= (wxStaticLine
*) ptr
;
3996 dest
= (wxObject
*) src
;
3997 return (void *) dest
;
4000 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4001 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
* _resultobj
;
4003 wxStaticLine
* _result
;
4006 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4007 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4008 long _arg4
= (long ) wxLI_HORIZONTAL
;
4009 char * _arg5
= (char *) "staticLine";
4010 PyObject
* _argo0
= 0;
4012 PyObject
* _obj2
= 0;
4014 PyObject
* _obj3
= 0;
4015 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4031 if (! wxPoint_helper(_obj2
, &_arg2
))
4037 if (! wxSize_helper(_obj3
, &_arg3
))
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) return NULL
;
4047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4048 _resultobj
= Py_BuildValue("s",_ptemp
);
4051 _resultobj
= Py_None
;
4056 #define new_wxPreStaticLine() (new wxStaticLine())
4057 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4059 wxStaticLine
* _result
;
4060 char *_kwnames
[] = { NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) return NULL
;
4073 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4074 _resultobj
= Py_BuildValue("s",_ptemp
);
4077 _resultobj
= Py_None
;
4082 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4083 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
* _resultobj
;
4086 wxStaticLine
* _arg0
;
4089 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4090 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4091 long _arg5
= (long ) wxLI_HORIZONTAL
;
4092 char * _arg6
= (char *) "staticLine";
4093 PyObject
* _argo0
= 0;
4094 PyObject
* _argo1
= 0;
4096 PyObject
* _obj3
= 0;
4098 PyObject
* _obj4
= 0;
4099 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4121 if (! wxPoint_helper(_obj3
, &_arg3
))
4127 if (! wxSize_helper(_obj4
, &_arg4
))
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) return NULL
;
4136 } _resultobj
= Py_BuildValue("i",_result
);
4140 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4143 src
= (wxStaticText
*) ptr
;
4144 dest
= (wxControl
*) src
;
4145 return (void *) dest
;
4148 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4151 src
= (wxStaticText
*) ptr
;
4152 dest
= (wxWindow
*) src
;
4153 return (void *) dest
;
4156 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4159 src
= (wxStaticText
*) ptr
;
4160 dest
= (wxEvtHandler
*) src
;
4161 return (void *) dest
;
4164 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4167 src
= (wxStaticText
*) ptr
;
4168 dest
= (wxObject
*) src
;
4169 return (void *) dest
;
4172 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4173 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
* _resultobj
;
4175 wxStaticText
* _result
;
4179 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4180 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4181 long _arg5
= (long ) 0;
4182 char * _arg6
= (char *) "staticText";
4183 PyObject
* _argo0
= 0;
4184 PyObject
* _obj2
= 0;
4186 PyObject
* _obj3
= 0;
4188 PyObject
* _obj4
= 0;
4189 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4203 #if PYTHON_API_VERSION >= 1009
4204 char* tmpPtr
; int tmpSize
;
4205 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4209 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4211 _arg2
= new wxString(tmpPtr
, tmpSize
);
4213 if (!PyString_Check(_obj2
)) {
4214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4217 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4223 if (! wxPoint_helper(_obj3
, &_arg3
))
4229 if (! wxSize_helper(_obj4
, &_arg4
))
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4240 _resultobj
= Py_BuildValue("s",_ptemp
);
4243 _resultobj
= Py_None
;
4252 #define new_wxPreStaticText() (new wxStaticText())
4253 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4255 wxStaticText
* _result
;
4256 char *_kwnames
[] = { NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 _result
= (wxStaticText
*)new_wxPreStaticText();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4270 _resultobj
= Py_BuildValue("s",_ptemp
);
4273 _resultobj
= Py_None
;
4278 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4279 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4282 wxStaticText
* _arg0
;
4286 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4287 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4288 long _arg6
= (long ) 0;
4289 char * _arg7
= (char *) "staticText";
4290 PyObject
* _argo0
= 0;
4291 PyObject
* _argo1
= 0;
4292 PyObject
* _obj3
= 0;
4294 PyObject
* _obj4
= 0;
4296 PyObject
* _obj5
= 0;
4297 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4317 #if PYTHON_API_VERSION >= 1009
4318 char* tmpPtr
; int tmpSize
;
4319 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4323 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4325 _arg3
= new wxString(tmpPtr
, tmpSize
);
4327 if (!PyString_Check(_obj3
)) {
4328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4331 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4337 if (! wxPoint_helper(_obj4
, &_arg4
))
4343 if (! wxSize_helper(_obj5
, &_arg5
))
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) return NULL
;
4352 } _resultobj
= Py_BuildValue("i",_result
);
4360 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4361 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
* _resultobj
;
4364 wxStaticText
* _arg0
;
4365 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "self", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) return NULL
;
4385 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4393 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4394 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4396 wxStaticText
* _arg0
;
4398 PyObject
* _argo0
= 0;
4399 PyObject
* _obj1
= 0;
4400 char *_kwnames
[] = { "self","label", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4413 #if PYTHON_API_VERSION >= 1009
4414 char* tmpPtr
; int tmpSize
;
4415 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4419 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4421 _arg1
= new wxString(tmpPtr
, tmpSize
);
4423 if (!PyString_Check(_obj1
)) {
4424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4427 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxStaticText_SetLabel(_arg0
,*_arg1
);
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) return NULL
;
4436 } Py_INCREF(Py_None
);
4437 _resultobj
= Py_None
;
4445 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4447 wxControlWithItems
*dest
;
4448 src
= (wxListBox
*) ptr
;
4449 dest
= (wxControlWithItems
*) src
;
4450 return (void *) dest
;
4453 static void *SwigwxListBoxTowxControl(void *ptr
) {
4456 src
= (wxListBox
*) ptr
;
4457 dest
= (wxControl
*) src
;
4458 return (void *) dest
;
4461 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4464 src
= (wxListBox
*) ptr
;
4465 dest
= (wxWindow
*) src
;
4466 return (void *) dest
;
4469 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4472 src
= (wxListBox
*) ptr
;
4473 dest
= (wxEvtHandler
*) src
;
4474 return (void *) dest
;
4477 static void *SwigwxListBoxTowxObject(void *ptr
) {
4480 src
= (wxListBox
*) ptr
;
4481 dest
= (wxObject
*) src
;
4482 return (void *) dest
;
4485 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4486 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4488 wxListBox
* _result
;
4491 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4492 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4494 wxString
* _arg5
= (wxString
*) NULL
;
4495 long _arg6
= (long ) 0;
4496 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4497 char * _arg8
= (char *) "listBox";
4498 PyObject
* _argo0
= 0;
4500 PyObject
* _obj2
= 0;
4502 PyObject
* _obj3
= 0;
4503 PyObject
* _obj5
= 0;
4504 PyObject
* _argo7
= 0;
4505 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4521 if (! wxPoint_helper(_obj2
, &_arg2
))
4527 if (! wxSize_helper(_obj3
, &_arg3
))
4532 _arg5
= wxString_LIST_helper(_obj5
);
4533 if (_arg5
== NULL
) {
4538 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4539 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4546 _arg4
= PyList_Size(_obj5
);
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) return NULL
;
4559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4560 _resultobj
= Py_BuildValue("s",_ptemp
);
4563 _resultobj
= Py_None
;
4571 #define new_wxPreListBox() (new wxListBox())
4572 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4574 wxListBox
* _result
;
4575 char *_kwnames
[] = { NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 _result
= (wxListBox
*)new_wxPreListBox();
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4589 _resultobj
= Py_BuildValue("s",_ptemp
);
4592 _resultobj
= Py_None
;
4597 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4598 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
* _resultobj
;
4604 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4605 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4607 wxString
* _arg6
= (wxString
*) NULL
;
4608 long _arg7
= (long ) 0;
4609 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4610 char * _arg9
= (char *) "listBox";
4611 PyObject
* _argo0
= 0;
4612 PyObject
* _argo1
= 0;
4614 PyObject
* _obj3
= 0;
4616 PyObject
* _obj4
= 0;
4617 PyObject
* _obj6
= 0;
4618 PyObject
* _argo8
= 0;
4619 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4641 if (! wxPoint_helper(_obj3
, &_arg3
))
4647 if (! wxSize_helper(_obj4
, &_arg4
))
4652 _arg6
= wxString_LIST_helper(_obj6
);
4653 if (_arg6
== NULL
) {
4658 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4659 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4666 _arg5
= PyList_Size(_obj6
);
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) return NULL
;
4678 } _resultobj
= Py_BuildValue("i",_result
);
4685 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4686 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4689 PyObject
* _argo0
= 0;
4690 char *_kwnames
[] = { "self", NULL
};
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 wxListBox_Clear(_arg0
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) return NULL
;
4708 } Py_INCREF(Py_None
);
4709 _resultobj
= Py_None
;
4713 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4714 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4718 PyObject
* _argo0
= 0;
4719 char *_kwnames
[] = { "self","n", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 wxListBox_Deselect(_arg0
,_arg1
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) return NULL
;
4737 } Py_INCREF(Py_None
);
4738 _resultobj
= Py_None
;
4742 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4744 self
->GetSelections(lst
);
4745 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4746 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4747 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4751 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self", NULL
};
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) return NULL
;
4775 _resultobj
= _result
;
4780 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4781 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4787 PyObject
* _argo0
= 0;
4788 PyObject
* _obj2
= 0;
4789 char *_kwnames
[] = { "self","choices","pos", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4802 _arg2
= wxString_LIST_helper(_obj2
);
4803 if (_arg2
== NULL
) {
4809 _arg1
= PyList_Size(_obj2
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) return NULL
;
4821 } Py_INCREF(Py_None
);
4822 _resultobj
= Py_None
;
4829 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4830 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4835 PyObject
* _argo0
= 0;
4836 char *_kwnames
[] = { "self","n", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) return NULL
;
4854 } _resultobj
= Py_BuildValue("i",_result
);
4858 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4859 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4860 PyObject
* _resultobj
;
4864 PyObject
* _argo0
= 0;
4865 char *_kwnames
[] = { "self","n", NULL
};
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) return NULL
;
4883 } _resultobj
= Py_BuildValue("i",_result
);
4887 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4888 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4893 PyObject
* _argo0
= 0;
4894 PyObject
* _obj2
= 0;
4895 char *_kwnames
[] = { "self","choices", NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4909 _arg2
= wxString_LIST_helper(_obj2
);
4910 if (_arg2
== NULL
) {
4916 _arg1
= PyList_Size(_obj2
);
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4928 } Py_INCREF(Py_None
);
4929 _resultobj
= Py_None
;
4936 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4937 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4941 PyObject
* _argo0
= 0;
4942 char *_kwnames
[] = { "self","n", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxListBox_SetFirstItem(_arg0
,_arg1
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) return NULL
;
4960 } Py_INCREF(Py_None
);
4961 _resultobj
= Py_None
;
4965 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4966 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
* _resultobj
;
4970 PyObject
* _argo0
= 0;
4971 PyObject
* _obj1
= 0;
4972 char *_kwnames
[] = { "self","string", NULL
};
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4985 #if PYTHON_API_VERSION >= 1009
4986 char* tmpPtr
; int tmpSize
;
4987 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4988 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4991 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4993 _arg1
= new wxString(tmpPtr
, tmpSize
);
4995 if (!PyString_Check(_obj1
)) {
4996 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4999 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) return NULL
;
5008 } Py_INCREF(Py_None
);
5009 _resultobj
= Py_None
;
5017 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5018 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
* _resultobj
;
5022 bool _arg2
= (bool ) TRUE
;
5023 PyObject
* _argo0
= 0;
5024 int tempbool2
= (int) TRUE
;
5025 char *_kwnames
[] = { "self","n","select", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5037 _arg2
= (bool ) tempbool2
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) return NULL
;
5044 } Py_INCREF(Py_None
);
5045 _resultobj
= Py_None
;
5049 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5050 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5055 PyObject
* _argo0
= 0;
5056 PyObject
* _obj2
= 0;
5057 char *_kwnames
[] = { "self","n","string", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5070 #if PYTHON_API_VERSION >= 1009
5071 char* tmpPtr
; int tmpSize
;
5072 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5073 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5076 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5078 _arg2
= new wxString(tmpPtr
, tmpSize
);
5080 if (!PyString_Check(_obj2
)) {
5081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5084 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) return NULL
;
5093 } Py_INCREF(Py_None
);
5094 _resultobj
= Py_None
;
5102 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5103 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5107 bool _arg2
= (bool ) TRUE
;
5108 PyObject
* _argo0
= 0;
5109 PyObject
* _obj1
= 0;
5110 int tempbool2
= (int) TRUE
;
5111 char *_kwnames
[] = { "self","string","select", NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5124 #if PYTHON_API_VERSION >= 1009
5125 char* tmpPtr
; int tmpSize
;
5126 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5127 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5130 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5132 _arg1
= new wxString(tmpPtr
, tmpSize
);
5134 if (!PyString_Check(_obj1
)) {
5135 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5138 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5141 _arg2
= (bool ) tempbool2
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) return NULL
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5157 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5158 wxCheckListBox
*src
;
5160 src
= (wxCheckListBox
*) ptr
;
5161 dest
= (wxListBox
*) src
;
5162 return (void *) dest
;
5165 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5166 wxCheckListBox
*src
;
5167 wxControlWithItems
*dest
;
5168 src
= (wxCheckListBox
*) ptr
;
5169 dest
= (wxControlWithItems
*) src
;
5170 return (void *) dest
;
5173 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5174 wxCheckListBox
*src
;
5176 src
= (wxCheckListBox
*) ptr
;
5177 dest
= (wxControl
*) src
;
5178 return (void *) dest
;
5181 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5182 wxCheckListBox
*src
;
5184 src
= (wxCheckListBox
*) ptr
;
5185 dest
= (wxWindow
*) src
;
5186 return (void *) dest
;
5189 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5190 wxCheckListBox
*src
;
5192 src
= (wxCheckListBox
*) ptr
;
5193 dest
= (wxEvtHandler
*) src
;
5194 return (void *) dest
;
5197 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5198 wxCheckListBox
*src
;
5200 src
= (wxCheckListBox
*) ptr
;
5201 dest
= (wxObject
*) src
;
5202 return (void *) dest
;
5205 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5206 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5208 wxCheckListBox
* _result
;
5211 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5212 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5213 int _arg4
= (int ) 0;
5214 wxString
* _arg5
= (wxString
*) NULL
;
5215 long _arg6
= (long ) 0;
5216 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5217 char * _arg8
= (char *) "listBox";
5218 PyObject
* _argo0
= 0;
5220 PyObject
* _obj2
= 0;
5222 PyObject
* _obj3
= 0;
5223 PyObject
* _obj5
= 0;
5224 PyObject
* _argo7
= 0;
5225 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5241 if (! wxPoint_helper(_obj2
, &_arg2
))
5247 if (! wxSize_helper(_obj3
, &_arg3
))
5252 _arg5
= wxString_LIST_helper(_obj5
);
5253 if (_arg5
== NULL
) {
5258 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5266 _arg4
= PyList_Size(_obj5
);
5273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5276 wxPyEndAllowThreads(__tstate
);
5277 if (PyErr_Occurred()) return NULL
;
5279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5280 _resultobj
= Py_BuildValue("s",_ptemp
);
5283 _resultobj
= Py_None
;
5291 #define new_wxPreCheckListBox() (new wxCheckListBox())
5292 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
* _resultobj
;
5294 wxCheckListBox
* _result
;
5295 char *_kwnames
[] = { NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) return NULL
;
5308 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5309 _resultobj
= Py_BuildValue("s",_ptemp
);
5312 _resultobj
= Py_None
;
5317 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5318 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
* _resultobj
;
5321 wxCheckListBox
* _arg0
;
5324 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5325 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5326 int _arg5
= (int ) 0;
5327 wxString
* _arg6
= (wxString
*) NULL
;
5328 long _arg7
= (long ) 0;
5329 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5330 char * _arg9
= (char *) "listBox";
5331 PyObject
* _argo0
= 0;
5332 PyObject
* _argo1
= 0;
5334 PyObject
* _obj3
= 0;
5336 PyObject
* _obj4
= 0;
5337 PyObject
* _obj6
= 0;
5338 PyObject
* _argo8
= 0;
5339 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5352 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5361 if (! wxPoint_helper(_obj3
, &_arg3
))
5367 if (! wxSize_helper(_obj4
, &_arg4
))
5372 _arg6
= wxString_LIST_helper(_obj6
);
5373 if (_arg6
== NULL
) {
5378 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5386 _arg5
= PyList_Size(_obj6
);
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) return NULL
;
5398 } _resultobj
= Py_BuildValue("i",_result
);
5405 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5406 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
* _resultobj
;
5409 wxCheckListBox
* _arg0
;
5411 PyObject
* _argo0
= 0;
5412 char *_kwnames
[] = { "self","uiIndex", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) return NULL
;
5430 } _resultobj
= Py_BuildValue("i",_result
);
5434 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5435 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5437 wxCheckListBox
* _arg0
;
5439 int _arg2
= (int ) TRUE
;
5440 PyObject
* _argo0
= 0;
5441 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5455 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5457 wxPyEndAllowThreads(__tstate
);
5458 if (PyErr_Occurred()) return NULL
;
5459 } Py_INCREF(Py_None
);
5460 _resultobj
= Py_None
;
5464 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5465 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5467 wxCheckListBox
* _arg0
;
5471 PyObject
* _argo0
= 0;
5472 PyObject
* _obj2
= 0;
5473 char *_kwnames
[] = { "self","choices","pos", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5486 _arg2
= wxString_LIST_helper(_obj2
);
5487 if (_arg2
== NULL
) {
5493 _arg1
= PyList_Size(_obj2
);
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) return NULL
;
5505 } Py_INCREF(Py_None
);
5506 _resultobj
= Py_None
;
5513 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5514 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5516 wxTextAttr
* _result
;
5517 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5518 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5519 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5521 PyObject
* _obj0
= 0;
5523 PyObject
* _obj1
= 0;
5524 PyObject
* _argo2
= 0;
5525 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5534 if (! wxColour_helper(_obj0
, &_arg0
))
5540 if (! wxColour_helper(_obj1
, &_arg1
))
5544 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) return NULL
;
5557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5558 _resultobj
= Py_BuildValue("s",_ptemp
);
5561 _resultobj
= Py_None
;
5566 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5567 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
* _resultobj
;
5570 PyObject
* _argo0
= 0;
5571 char *_kwnames
[] = { "self", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 delete_wxTextAttr(_arg0
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) return NULL
;
5589 } Py_INCREF(Py_None
);
5590 _resultobj
= Py_None
;
5594 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5595 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
* _resultobj
;
5599 PyObject
* _argo0
= 0;
5601 PyObject
* _obj1
= 0;
5602 char *_kwnames
[] = { "self","colText", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5616 if (! wxColour_helper(_obj1
, &_arg1
))
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) return NULL
;
5625 } Py_INCREF(Py_None
);
5626 _resultobj
= Py_None
;
5630 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5631 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
* _resultobj
;
5635 PyObject
* _argo0
= 0;
5637 PyObject
* _obj1
= 0;
5638 char *_kwnames
[] = { "self","colBack", NULL
};
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5652 if (! wxColour_helper(_obj1
, &_arg1
))
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) return NULL
;
5661 } Py_INCREF(Py_None
);
5662 _resultobj
= Py_None
;
5666 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5667 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5671 PyObject
* _argo0
= 0;
5672 PyObject
* _argo1
= 0;
5673 char *_kwnames
[] = { "self","font", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 wxTextAttr_SetFont(_arg0
,*_arg1
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) return NULL
;
5698 } Py_INCREF(Py_None
);
5699 _resultobj
= Py_None
;
5703 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5704 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
* _resultobj
;
5708 PyObject
* _argo0
= 0;
5709 char *_kwnames
[] = { "self", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) return NULL
;
5727 } _resultobj
= Py_BuildValue("i",_result
);
5731 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5732 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
* _resultobj
;
5736 PyObject
* _argo0
= 0;
5737 char *_kwnames
[] = { "self", NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) return NULL
;
5755 } _resultobj
= Py_BuildValue("i",_result
);
5759 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5760 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5764 PyObject
* _argo0
= 0;
5765 char *_kwnames
[] = { "self", NULL
};
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) return NULL
;
5783 } _resultobj
= Py_BuildValue("i",_result
);
5787 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5788 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
* _resultobj
;
5792 PyObject
* _argo0
= 0;
5793 char *_kwnames
[] = { "self", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5810 wxPyEndAllowThreads(__tstate
);
5811 if (PyErr_Occurred()) return NULL
;
5812 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5813 _resultobj
= Py_BuildValue("s",_ptemp
);
5817 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5818 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5822 PyObject
* _argo0
= 0;
5823 char *_kwnames
[] = { "self", NULL
};
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) return NULL
;
5842 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5843 _resultobj
= Py_BuildValue("s",_ptemp
);
5847 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5848 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) return NULL
;
5872 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5873 _resultobj
= Py_BuildValue("s",_ptemp
);
5877 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5878 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5882 PyObject
* _argo0
= 0;
5883 char *_kwnames
[] = { "self", NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) return NULL
;
5901 } _resultobj
= Py_BuildValue("i",_result
);
5905 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5907 wxTextAttr
* _result
;
5911 PyObject
* _argo0
= 0;
5912 PyObject
* _argo1
= 0;
5913 PyObject
* _argo2
= 0;
5914 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5935 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5936 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) return NULL
;
5947 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5948 _resultobj
= Py_BuildValue("s",_ptemp
);
5952 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
5955 src
= (wxTextCtrl
*) ptr
;
5956 dest
= (wxControl
*) src
;
5957 return (void *) dest
;
5960 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
5963 src
= (wxTextCtrl
*) ptr
;
5964 dest
= (wxWindow
*) src
;
5965 return (void *) dest
;
5968 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
5971 src
= (wxTextCtrl
*) ptr
;
5972 dest
= (wxEvtHandler
*) src
;
5973 return (void *) dest
;
5976 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
5979 src
= (wxTextCtrl
*) ptr
;
5980 dest
= (wxObject
*) src
;
5981 return (void *) dest
;
5984 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5985 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxTextCtrl
* _result
;
5990 char * _arg2
= (char *) "";
5991 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5992 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5993 long _arg5
= (long ) 0;
5994 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5995 char * _arg7
= (char *) "text";
5996 PyObject
* _argo0
= 0;
5998 PyObject
* _obj3
= 0;
6000 PyObject
* _obj4
= 0;
6001 PyObject
* _argo6
= 0;
6002 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6018 if (! wxPoint_helper(_obj3
, &_arg3
))
6024 if (! wxSize_helper(_obj4
, &_arg4
))
6028 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6029 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) return NULL
;
6041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6042 _resultobj
= Py_BuildValue("s",_ptemp
);
6045 _resultobj
= Py_None
;
6050 #define new_wxPreTextCtrl() (new wxTextCtrl())
6051 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
* _resultobj
;
6053 wxTextCtrl
* _result
;
6054 char *_kwnames
[] = { NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) return NULL
;
6067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6068 _resultobj
= Py_BuildValue("s",_ptemp
);
6071 _resultobj
= Py_None
;
6076 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6077 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
* _resultobj
;
6083 char * _arg3
= (char *) "";
6084 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6085 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6086 long _arg6
= (long ) 0;
6087 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6088 char * _arg8
= (char *) "text";
6089 PyObject
* _argo0
= 0;
6090 PyObject
* _argo1
= 0;
6092 PyObject
* _obj4
= 0;
6094 PyObject
* _obj5
= 0;
6095 PyObject
* _argo7
= 0;
6096 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6109 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6110 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6118 if (! wxPoint_helper(_obj4
, &_arg4
))
6124 if (! wxSize_helper(_obj5
, &_arg5
))
6128 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) return NULL
;
6140 } _resultobj
= Py_BuildValue("i",_result
);
6144 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6145 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6149 PyObject
* _argo0
= 0;
6150 char *_kwnames
[] = { "self", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6169 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6177 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6178 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6182 PyObject
* _argo0
= 0;
6183 PyObject
* _obj1
= 0;
6184 char *_kwnames
[] = { "self","value", NULL
};
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6197 #if PYTHON_API_VERSION >= 1009
6198 char* tmpPtr
; int tmpSize
;
6199 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6200 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6203 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6205 _arg1
= new wxString(tmpPtr
, tmpSize
);
6207 if (!PyString_Check(_obj1
)) {
6208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6211 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) return NULL
;
6220 } Py_INCREF(Py_None
);
6221 _resultobj
= Py_None
;
6229 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6230 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
* _resultobj
;
6236 PyObject
* _argo0
= 0;
6237 char *_kwnames
[] = { "self","from","to", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) return NULL
;
6256 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6264 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6265 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6270 PyObject
* _argo0
= 0;
6271 char *_kwnames
[] = { "self","lineNo", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) return NULL
;
6289 } _resultobj
= Py_BuildValue("i",_result
);
6293 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6294 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
* _resultobj
;
6299 PyObject
* _argo0
= 0;
6300 char *_kwnames
[] = { "self","lineNo", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6319 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6327 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6328 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
* _resultobj
;
6332 PyObject
* _argo0
= 0;
6333 char *_kwnames
[] = { "self", NULL
};
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) return NULL
;
6351 } _resultobj
= Py_BuildValue("i",_result
);
6355 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6356 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
* _resultobj
;
6360 PyObject
* _argo0
= 0;
6361 char *_kwnames
[] = { "self", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) return NULL
;
6379 } _resultobj
= Py_BuildValue("i",_result
);
6383 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6384 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6388 PyObject
* _argo0
= 0;
6389 char *_kwnames
[] = { "self", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6407 } _resultobj
= Py_BuildValue("i",_result
);
6411 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6412 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6419 PyObject
* _argo0
= 0;
6420 char *_kwnames
[] = { "self", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) return NULL
;
6444 } Py_INCREF(Py_None
);
6445 _resultobj
= Py_None
;
6448 o
= PyInt_FromLong((long) (*_arg1
));
6449 _resultobj
= t_output_helper(_resultobj
, o
);
6453 o
= PyInt_FromLong((long) (*_arg2
));
6454 _resultobj
= t_output_helper(_resultobj
, o
);
6459 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6460 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
* _resultobj
;
6464 PyObject
* _argo0
= 0;
6465 char *_kwnames
[] = { "self", NULL
};
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) return NULL
;
6484 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6492 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6493 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
* _resultobj
;
6496 PyObject
* _argo0
= 0;
6497 char *_kwnames
[] = { "self", NULL
};
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 wxTextCtrl_Clear(_arg0
);
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) return NULL
;
6515 } Py_INCREF(Py_None
);
6516 _resultobj
= Py_None
;
6520 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6521 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
* _resultobj
;
6527 PyObject
* _argo0
= 0;
6528 PyObject
* _obj3
= 0;
6529 char *_kwnames
[] = { "self","from","to","value", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6542 #if PYTHON_API_VERSION >= 1009
6543 char* tmpPtr
; int tmpSize
;
6544 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6548 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6550 _arg3
= new wxString(tmpPtr
, tmpSize
);
6552 if (!PyString_Check(_obj3
)) {
6553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6556 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) return NULL
;
6565 } Py_INCREF(Py_None
);
6566 _resultobj
= Py_None
;
6574 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6575 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "self","from","to", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) return NULL
;
6599 } Py_INCREF(Py_None
);
6600 _resultobj
= Py_None
;
6604 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6605 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
* _resultobj
;
6610 PyObject
* _argo0
= 0;
6611 PyObject
* _obj1
= 0;
6612 char *_kwnames
[] = { "self","file", NULL
};
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6625 #if PYTHON_API_VERSION >= 1009
6626 char* tmpPtr
; int tmpSize
;
6627 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6631 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6633 _arg1
= new wxString(tmpPtr
, tmpSize
);
6635 if (!PyString_Check(_obj1
)) {
6636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6639 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) return NULL
;
6648 } _resultobj
= Py_BuildValue("i",_result
);
6656 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6657 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
* _resultobj
;
6661 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6662 PyObject
* _argo0
= 0;
6663 PyObject
* _obj1
= 0;
6664 char *_kwnames
[] = { "self","file", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6678 #if PYTHON_API_VERSION >= 1009
6679 char* tmpPtr
; int tmpSize
;
6680 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6684 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6686 _arg1
= new wxString(tmpPtr
, tmpSize
);
6688 if (!PyString_Check(_obj1
)) {
6689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6692 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) return NULL
;
6701 } _resultobj
= Py_BuildValue("i",_result
);
6709 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6710 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 wxTextCtrl_DiscardEdits(_arg0
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) return NULL
;
6732 } Py_INCREF(Py_None
);
6733 _resultobj
= Py_None
;
6737 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6738 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
* _resultobj
;
6741 unsigned long _arg1
;
6742 PyObject
* _argo0
= 0;
6743 char *_kwnames
[] = { "self","len", NULL
};
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) return NULL
;
6761 } Py_INCREF(Py_None
);
6762 _resultobj
= Py_None
;
6766 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6767 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
* _resultobj
;
6771 PyObject
* _argo0
= 0;
6772 PyObject
* _obj1
= 0;
6773 char *_kwnames
[] = { "self","text", NULL
};
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6786 #if PYTHON_API_VERSION >= 1009
6787 char* tmpPtr
; int tmpSize
;
6788 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6792 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6794 _arg1
= new wxString(tmpPtr
, tmpSize
);
6796 if (!PyString_Check(_obj1
)) {
6797 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6800 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) return NULL
;
6809 } Py_INCREF(Py_None
);
6810 _resultobj
= Py_None
;
6818 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6819 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 PyObject
* _obj1
= 0;
6825 char *_kwnames
[] = { "self","text", NULL
};
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6838 #if PYTHON_API_VERSION >= 1009
6839 char* tmpPtr
; int tmpSize
;
6840 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6844 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6846 _arg1
= new wxString(tmpPtr
, tmpSize
);
6848 if (!PyString_Check(_obj1
)) {
6849 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6852 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) return NULL
;
6861 } Py_INCREF(Py_None
);
6862 _resultobj
= Py_None
;
6870 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6871 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
* _resultobj
;
6878 PyObject
* _argo0
= 0;
6879 PyObject
* _argo3
= 0;
6880 char *_kwnames
[] = { "self","start","end","style", NULL
};
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6893 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) return NULL
;
6905 } _resultobj
= Py_BuildValue("i",_result
);
6909 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6910 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
* _resultobj
;
6915 PyObject
* _argo0
= 0;
6916 PyObject
* _argo1
= 0;
6917 char *_kwnames
[] = { "self","style", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6938 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) return NULL
;
6942 } _resultobj
= Py_BuildValue("i",_result
);
6946 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6947 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
* _resultobj
;
6949 wxTextAttr
* _result
;
6951 PyObject
* _argo0
= 0;
6952 char *_kwnames
[] = { "self", NULL
};
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6968 _result
= (wxTextAttr
*) &_result_ref
;
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) return NULL
;
6973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6974 _resultobj
= Py_BuildValue("s",_ptemp
);
6977 _resultobj
= Py_None
;
6982 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6983 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self","x","y", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } _resultobj
= Py_BuildValue("l",_result
);
7012 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7013 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7021 PyObject
* _argo0
= 0;
7022 char *_kwnames
[] = { "self","pos", NULL
};
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) return NULL
;
7046 } Py_INCREF(Py_None
);
7047 _resultobj
= Py_None
;
7050 o
= PyInt_FromLong((long) (*_arg2
));
7051 _resultobj
= t_output_helper(_resultobj
, o
);
7055 o
= PyInt_FromLong((long) (*_arg3
));
7056 _resultobj
= t_output_helper(_resultobj
, o
);
7061 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7062 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
* _resultobj
;
7066 PyObject
* _argo0
= 0;
7067 char *_kwnames
[] = { "self","pos", NULL
};
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) return NULL
;
7085 } Py_INCREF(Py_None
);
7086 _resultobj
= Py_None
;
7090 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7091 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7092 PyObject
* _resultobj
;
7094 PyObject
* _argo0
= 0;
7095 char *_kwnames
[] = { "self", NULL
};
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 wxTextCtrl_Copy(_arg0
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) return NULL
;
7113 } Py_INCREF(Py_None
);
7114 _resultobj
= Py_None
;
7118 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7119 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
* _resultobj
;
7122 PyObject
* _argo0
= 0;
7123 char *_kwnames
[] = { "self", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 wxTextCtrl_Cut(_arg0
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) return NULL
;
7141 } Py_INCREF(Py_None
);
7142 _resultobj
= Py_None
;
7146 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7147 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
* _resultobj
;
7150 PyObject
* _argo0
= 0;
7151 char *_kwnames
[] = { "self", NULL
};
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7165 wxTextCtrl_Paste(_arg0
);
7167 wxPyEndAllowThreads(__tstate
);
7168 if (PyErr_Occurred()) return NULL
;
7169 } Py_INCREF(Py_None
);
7170 _resultobj
= Py_None
;
7174 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7175 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
* _resultobj
;
7179 PyObject
* _argo0
= 0;
7180 char *_kwnames
[] = { "self", NULL
};
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) return NULL
;
7198 } _resultobj
= Py_BuildValue("i",_result
);
7202 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7203 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) return NULL
;
7226 } _resultobj
= Py_BuildValue("i",_result
);
7230 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7231 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
* _resultobj
;
7235 PyObject
* _argo0
= 0;
7236 char *_kwnames
[] = { "self", NULL
};
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) return NULL
;
7254 } _resultobj
= Py_BuildValue("i",_result
);
7258 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7259 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7262 PyObject
* _argo0
= 0;
7263 char *_kwnames
[] = { "self", NULL
};
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 wxTextCtrl_Undo(_arg0
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) return NULL
;
7281 } Py_INCREF(Py_None
);
7282 _resultobj
= Py_None
;
7286 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7287 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7290 PyObject
* _argo0
= 0;
7291 char *_kwnames
[] = { "self", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 wxTextCtrl_Redo(_arg0
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) return NULL
;
7309 } Py_INCREF(Py_None
);
7310 _resultobj
= Py_None
;
7314 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7315 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7338 } _resultobj
= Py_BuildValue("i",_result
);
7342 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7343 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
* _resultobj
;
7347 PyObject
* _argo0
= 0;
7348 char *_kwnames
[] = { "self", NULL
};
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) return NULL
;
7366 } _resultobj
= Py_BuildValue("i",_result
);
7370 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7371 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
* _resultobj
;
7375 PyObject
* _argo0
= 0;
7376 char *_kwnames
[] = { "self","pos", NULL
};
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) return NULL
;
7394 } Py_INCREF(Py_None
);
7395 _resultobj
= Py_None
;
7399 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7400 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7403 PyObject
* _argo0
= 0;
7404 char *_kwnames
[] = { "self", NULL
};
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) return NULL
;
7422 } Py_INCREF(Py_None
);
7423 _resultobj
= Py_None
;
7427 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7428 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
* _resultobj
;
7432 PyObject
* _argo0
= 0;
7433 char *_kwnames
[] = { "self", NULL
};
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) return NULL
;
7451 } _resultobj
= Py_BuildValue("l",_result
);
7455 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7456 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
* _resultobj
;
7460 PyObject
* _argo0
= 0;
7461 char *_kwnames
[] = { "self", NULL
};
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) return NULL
;
7479 } _resultobj
= Py_BuildValue("l",_result
);
7483 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7484 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
* _resultobj
;
7489 PyObject
* _argo0
= 0;
7490 char *_kwnames
[] = { "self","from","to", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) return NULL
;
7508 } Py_INCREF(Py_None
);
7509 _resultobj
= Py_None
;
7513 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7514 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
* _resultobj
;
7517 PyObject
* _argo0
= 0;
7518 char *_kwnames
[] = { "self", NULL
};
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 wxTextCtrl_SelectAll(_arg0
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) return NULL
;
7536 } Py_INCREF(Py_None
);
7537 _resultobj
= Py_None
;
7541 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7542 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
* _resultobj
;
7546 PyObject
* _argo0
= 0;
7548 char *_kwnames
[] = { "self","editable", NULL
};
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7560 _arg1
= (bool ) tempbool1
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) return NULL
;
7567 } Py_INCREF(Py_None
);
7568 _resultobj
= Py_None
;
7572 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7573 self
->AppendText(text
);
7575 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
* _resultobj
;
7579 PyObject
* _argo0
= 0;
7580 PyObject
* _obj1
= 0;
7581 char *_kwnames
[] = { "self","text", NULL
};
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7594 #if PYTHON_API_VERSION >= 1009
7595 char* tmpPtr
; int tmpSize
;
7596 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7597 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7600 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7602 _arg1
= new wxString(tmpPtr
, tmpSize
);
7604 if (!PyString_Check(_obj1
)) {
7605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7608 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 wxTextCtrl_write(_arg0
,*_arg1
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) return NULL
;
7617 } Py_INCREF(Py_None
);
7618 _resultobj
= Py_None
;
7626 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7627 return self
->GetValue().Mid(from
, to
-from
);
7629 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
* _resultobj
;
7635 PyObject
* _argo0
= 0;
7636 char *_kwnames
[] = { "self","from","to", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) return NULL
;
7655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7663 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7666 src
= (wxScrollBar
*) ptr
;
7667 dest
= (wxControl
*) src
;
7668 return (void *) dest
;
7671 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7674 src
= (wxScrollBar
*) ptr
;
7675 dest
= (wxWindow
*) src
;
7676 return (void *) dest
;
7679 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7682 src
= (wxScrollBar
*) ptr
;
7683 dest
= (wxEvtHandler
*) src
;
7684 return (void *) dest
;
7687 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7690 src
= (wxScrollBar
*) ptr
;
7691 dest
= (wxObject
*) src
;
7692 return (void *) dest
;
7695 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7696 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
* _resultobj
;
7698 wxScrollBar
* _result
;
7700 wxWindowID _arg1
= (wxWindowID
) -1;
7701 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7702 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7703 long _arg4
= (long ) wxSB_HORIZONTAL
;
7704 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7705 char * _arg6
= (char *) "scrollBar";
7706 PyObject
* _argo0
= 0;
7708 PyObject
* _obj2
= 0;
7710 PyObject
* _obj3
= 0;
7711 PyObject
* _argo5
= 0;
7712 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7728 if (! wxPoint_helper(_obj2
, &_arg2
))
7734 if (! wxSize_helper(_obj3
, &_arg3
))
7738 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) return NULL
;
7751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7752 _resultobj
= Py_BuildValue("s",_ptemp
);
7755 _resultobj
= Py_None
;
7760 #define new_wxPreScrollBar() (new wxScrollBar())
7761 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
* _resultobj
;
7763 wxScrollBar
* _result
;
7764 char *_kwnames
[] = { NULL
};
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) return NULL
;
7777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7778 _resultobj
= Py_BuildValue("s",_ptemp
);
7781 _resultobj
= Py_None
;
7786 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7787 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
* _resultobj
;
7790 wxScrollBar
* _arg0
;
7792 wxWindowID _arg2
= (wxWindowID
) -1;
7793 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7794 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7795 long _arg5
= (long ) wxSB_HORIZONTAL
;
7796 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7797 char * _arg7
= (char *) "scrollBar";
7798 PyObject
* _argo0
= 0;
7799 PyObject
* _argo1
= 0;
7801 PyObject
* _obj3
= 0;
7803 PyObject
* _obj4
= 0;
7804 PyObject
* _argo6
= 0;
7805 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7827 if (! wxPoint_helper(_obj3
, &_arg3
))
7833 if (! wxSize_helper(_obj4
, &_arg4
))
7837 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7838 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) return NULL
;
7849 } _resultobj
= Py_BuildValue("i",_result
);
7853 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7854 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7855 PyObject
* _resultobj
;
7857 wxScrollBar
* _arg0
;
7858 PyObject
* _argo0
= 0;
7859 char *_kwnames
[] = { "self", NULL
};
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 _result
= (int )wxScrollBar_GetRange(_arg0
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) return NULL
;
7877 } _resultobj
= Py_BuildValue("i",_result
);
7881 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7882 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7885 wxScrollBar
* _arg0
;
7886 PyObject
* _argo0
= 0;
7887 char *_kwnames
[] = { "self", NULL
};
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) return NULL
;
7905 } _resultobj
= Py_BuildValue("i",_result
);
7909 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7910 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7911 PyObject
* _resultobj
;
7913 wxScrollBar
* _arg0
;
7914 PyObject
* _argo0
= 0;
7915 char *_kwnames
[] = { "self", NULL
};
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) return NULL
;
7933 } _resultobj
= Py_BuildValue("i",_result
);
7937 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7938 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
* _resultobj
;
7941 wxScrollBar
* _arg0
;
7942 PyObject
* _argo0
= 0;
7943 char *_kwnames
[] = { "self", NULL
};
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) return NULL
;
7961 } _resultobj
= Py_BuildValue("i",_result
);
7965 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
7966 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
* _resultobj
;
7969 wxScrollBar
* _arg0
;
7970 PyObject
* _argo0
= 0;
7971 char *_kwnames
[] = { "self", NULL
};
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
7977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) return NULL
;
7989 } _resultobj
= Py_BuildValue("i",_result
);
7993 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
7994 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7996 wxScrollBar
* _arg0
;
7998 PyObject
* _argo0
= 0;
7999 char *_kwnames
[] = { "self","viewStart", NULL
};
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) return NULL
;
8017 } Py_INCREF(Py_None
);
8018 _resultobj
= Py_None
;
8022 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8023 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
* _resultobj
;
8025 wxScrollBar
* _arg0
;
8030 bool _arg5
= (bool ) TRUE
;
8031 PyObject
* _argo0
= 0;
8032 int tempbool5
= (int) TRUE
;
8033 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8045 _arg5
= (bool ) tempbool5
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) return NULL
;
8052 } Py_INCREF(Py_None
);
8053 _resultobj
= Py_None
;
8057 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8060 src
= (wxSpinButton
*) ptr
;
8061 dest
= (wxControl
*) src
;
8062 return (void *) dest
;
8065 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8068 src
= (wxSpinButton
*) ptr
;
8069 dest
= (wxWindow
*) src
;
8070 return (void *) dest
;
8073 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8076 src
= (wxSpinButton
*) ptr
;
8077 dest
= (wxEvtHandler
*) src
;
8078 return (void *) dest
;
8081 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8084 src
= (wxSpinButton
*) ptr
;
8085 dest
= (wxObject
*) src
;
8086 return (void *) dest
;
8089 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8090 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
* _resultobj
;
8092 wxSpinButton
* _result
;
8094 wxWindowID _arg1
= (wxWindowID
) -1;
8095 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8096 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8097 long _arg4
= (long ) wxSP_HORIZONTAL
;
8098 char * _arg5
= (char *) "spinButton";
8099 PyObject
* _argo0
= 0;
8101 PyObject
* _obj2
= 0;
8103 PyObject
* _obj3
= 0;
8104 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8120 if (! wxPoint_helper(_obj2
, &_arg2
))
8126 if (! wxSize_helper(_obj3
, &_arg3
))
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) return NULL
;
8136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8137 _resultobj
= Py_BuildValue("s",_ptemp
);
8140 _resultobj
= Py_None
;
8145 #define new_wxPreSpinButton() (new wxSpinButton())
8146 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8147 PyObject
* _resultobj
;
8148 wxSpinButton
* _result
;
8149 char *_kwnames
[] = { NULL
};
8153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) return NULL
;
8162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8163 _resultobj
= Py_BuildValue("s",_ptemp
);
8166 _resultobj
= Py_None
;
8171 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8172 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
* _resultobj
;
8175 wxSpinButton
* _arg0
;
8177 wxWindowID _arg2
= (wxWindowID
) -1;
8178 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8179 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8180 long _arg5
= (long ) wxSP_HORIZONTAL
;
8181 char * _arg6
= (char *) "spinButton";
8182 PyObject
* _argo0
= 0;
8183 PyObject
* _argo1
= 0;
8185 PyObject
* _obj3
= 0;
8187 PyObject
* _obj4
= 0;
8188 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8210 if (! wxPoint_helper(_obj3
, &_arg3
))
8216 if (! wxSize_helper(_obj4
, &_arg4
))
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) return NULL
;
8225 } _resultobj
= Py_BuildValue("i",_result
);
8229 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8230 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8231 PyObject
* _resultobj
;
8233 wxSpinButton
* _arg0
;
8234 PyObject
* _argo0
= 0;
8235 char *_kwnames
[] = { "self", NULL
};
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 _result
= (int )wxSpinButton_GetMax(_arg0
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) return NULL
;
8253 } _resultobj
= Py_BuildValue("i",_result
);
8257 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8258 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
* _resultobj
;
8261 wxSpinButton
* _arg0
;
8262 PyObject
* _argo0
= 0;
8263 char *_kwnames
[] = { "self", NULL
};
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 _result
= (int )wxSpinButton_GetMin(_arg0
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) return NULL
;
8281 } _resultobj
= Py_BuildValue("i",_result
);
8285 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8286 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
* _resultobj
;
8289 wxSpinButton
* _arg0
;
8290 PyObject
* _argo0
= 0;
8291 char *_kwnames
[] = { "self", NULL
};
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 _result
= (int )wxSpinButton_GetValue(_arg0
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) return NULL
;
8309 } _resultobj
= Py_BuildValue("i",_result
);
8313 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8314 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
* _resultobj
;
8316 wxSpinButton
* _arg0
;
8319 PyObject
* _argo0
= 0;
8320 char *_kwnames
[] = { "self","min","max", NULL
};
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) return NULL
;
8338 } Py_INCREF(Py_None
);
8339 _resultobj
= Py_None
;
8343 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8344 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
* _resultobj
;
8346 wxSpinButton
* _arg0
;
8348 PyObject
* _argo0
= 0;
8349 char *_kwnames
[] = { "self","value", NULL
};
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 wxSpinButton_SetValue(_arg0
,_arg1
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) return NULL
;
8367 } Py_INCREF(Py_None
);
8368 _resultobj
= Py_None
;
8372 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8373 wxStaticBitmap
*src
;
8375 src
= (wxStaticBitmap
*) ptr
;
8376 dest
= (wxControl
*) src
;
8377 return (void *) dest
;
8380 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8381 wxStaticBitmap
*src
;
8383 src
= (wxStaticBitmap
*) ptr
;
8384 dest
= (wxWindow
*) src
;
8385 return (void *) dest
;
8388 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8389 wxStaticBitmap
*src
;
8391 src
= (wxStaticBitmap
*) ptr
;
8392 dest
= (wxEvtHandler
*) src
;
8393 return (void *) dest
;
8396 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8397 wxStaticBitmap
*src
;
8399 src
= (wxStaticBitmap
*) ptr
;
8400 dest
= (wxObject
*) src
;
8401 return (void *) dest
;
8404 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8405 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
* _resultobj
;
8407 wxStaticBitmap
* _result
;
8411 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8412 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8413 long _arg5
= (long ) 0;
8414 char * _arg6
= (char *) "staticBitmap";
8415 PyObject
* _argo0
= 0;
8416 PyObject
* _argo2
= 0;
8418 PyObject
* _obj3
= 0;
8420 PyObject
* _obj4
= 0;
8421 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8435 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8436 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8444 if (! wxPoint_helper(_obj3
, &_arg3
))
8450 if (! wxSize_helper(_obj4
, &_arg4
))
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) return NULL
;
8460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8461 _resultobj
= Py_BuildValue("s",_ptemp
);
8464 _resultobj
= Py_None
;
8469 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8470 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
* _resultobj
;
8472 wxStaticBitmap
* _result
;
8473 char *_kwnames
[] = { NULL
};
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) return NULL
;
8486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8487 _resultobj
= Py_BuildValue("s",_ptemp
);
8490 _resultobj
= Py_None
;
8495 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8496 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
* _resultobj
;
8499 wxStaticBitmap
* _arg0
;
8503 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8504 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8505 long _arg6
= (long ) 0;
8506 char * _arg7
= (char *) "staticBitmap";
8507 PyObject
* _argo0
= 0;
8508 PyObject
* _argo1
= 0;
8509 PyObject
* _argo3
= 0;
8511 PyObject
* _obj4
= 0;
8513 PyObject
* _obj5
= 0;
8514 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8534 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8535 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8543 if (! wxPoint_helper(_obj4
, &_arg4
))
8549 if (! wxSize_helper(_obj5
, &_arg5
))
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) return NULL
;
8558 } _resultobj
= Py_BuildValue("i",_result
);
8562 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8563 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8564 PyObject
* _resultobj
;
8566 wxStaticBitmap
* _arg0
;
8567 PyObject
* _argo0
= 0;
8568 char *_kwnames
[] = { "self", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) return NULL
;
8587 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8588 _resultobj
= Py_BuildValue("s",_ptemp
);
8592 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8593 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
* _resultobj
;
8595 wxStaticBitmap
* _arg0
;
8597 PyObject
* _argo0
= 0;
8598 PyObject
* _argo1
= 0;
8599 char *_kwnames
[] = { "self","bitmap", NULL
};
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) return NULL
;
8624 } Py_INCREF(Py_None
);
8625 _resultobj
= Py_None
;
8629 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8630 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
* _resultobj
;
8632 wxStaticBitmap
* _arg0
;
8634 PyObject
* _argo0
= 0;
8635 PyObject
* _argo1
= 0;
8636 char *_kwnames
[] = { "self","icon", NULL
};
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8649 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8650 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) return NULL
;
8661 } Py_INCREF(Py_None
);
8662 _resultobj
= Py_None
;
8666 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8669 src
= (wxRadioBox
*) ptr
;
8670 dest
= (wxControl
*) src
;
8671 return (void *) dest
;
8674 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8677 src
= (wxRadioBox
*) ptr
;
8678 dest
= (wxWindow
*) src
;
8679 return (void *) dest
;
8682 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8685 src
= (wxRadioBox
*) ptr
;
8686 dest
= (wxEvtHandler
*) src
;
8687 return (void *) dest
;
8690 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8693 src
= (wxRadioBox
*) ptr
;
8694 dest
= (wxObject
*) src
;
8695 return (void *) dest
;
8698 #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))
8699 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
* _resultobj
;
8701 wxRadioBox
* _result
;
8705 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8706 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8707 int _arg5
= (int ) 0;
8708 wxString
* _arg6
= (wxString
*) NULL
;
8709 int _arg7
= (int ) 0;
8710 long _arg8
= (long ) wxRA_HORIZONTAL
;
8711 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8712 char * _arg10
= (char *) "radioBox";
8713 PyObject
* _argo0
= 0;
8714 PyObject
* _obj2
= 0;
8716 PyObject
* _obj3
= 0;
8718 PyObject
* _obj4
= 0;
8719 PyObject
* _obj6
= 0;
8720 PyObject
* _argo9
= 0;
8721 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8735 #if PYTHON_API_VERSION >= 1009
8736 char* tmpPtr
; int tmpSize
;
8737 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8738 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8741 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8743 _arg2
= new wxString(tmpPtr
, tmpSize
);
8745 if (!PyString_Check(_obj2
)) {
8746 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8749 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8755 if (! wxPoint_helper(_obj3
, &_arg3
))
8761 if (! wxSize_helper(_obj4
, &_arg4
))
8766 _arg6
= wxString_LIST_helper(_obj6
);
8767 if (_arg6
== NULL
) {
8772 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8773 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8780 _arg5
= PyList_Size(_obj6
);
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) return NULL
;
8793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8794 _resultobj
= Py_BuildValue("s",_ptemp
);
8797 _resultobj
= Py_None
;
8809 #define new_wxPreRadioBox() (new wxRadioBox())
8810 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
* _resultobj
;
8812 wxRadioBox
* _result
;
8813 char *_kwnames
[] = { NULL
};
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8823 wxPyEndAllowThreads(__tstate
);
8824 if (PyErr_Occurred()) return NULL
;
8826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8827 _resultobj
= Py_BuildValue("s",_ptemp
);
8830 _resultobj
= Py_None
;
8835 #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))
8836 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8837 PyObject
* _resultobj
;
8843 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8844 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8845 int _arg6
= (int ) 0;
8846 wxString
* _arg7
= (wxString
*) NULL
;
8847 int _arg8
= (int ) 0;
8848 long _arg9
= (long ) wxRA_HORIZONTAL
;
8849 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8850 char * _arg11
= (char *) "radioBox";
8851 PyObject
* _argo0
= 0;
8852 PyObject
* _argo1
= 0;
8853 PyObject
* _obj3
= 0;
8855 PyObject
* _obj4
= 0;
8857 PyObject
* _obj5
= 0;
8858 PyObject
* _obj7
= 0;
8859 PyObject
* _argo10
= 0;
8860 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8880 #if PYTHON_API_VERSION >= 1009
8881 char* tmpPtr
; int tmpSize
;
8882 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8883 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8886 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8888 _arg3
= new wxString(tmpPtr
, tmpSize
);
8890 if (!PyString_Check(_obj3
)) {
8891 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8894 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8900 if (! wxPoint_helper(_obj4
, &_arg4
))
8906 if (! wxSize_helper(_obj5
, &_arg5
))
8911 _arg7
= wxString_LIST_helper(_obj7
);
8912 if (_arg7
== NULL
) {
8917 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8918 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8925 _arg6
= PyList_Size(_obj7
);
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) return NULL
;
8937 } _resultobj
= Py_BuildValue("i",_result
);
8948 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8949 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
* _resultobj
;
8953 PyObject
* _argo0
= 0;
8955 char *_kwnames
[] = { "self","enable", NULL
};
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8967 _arg1
= (bool ) tempbool1
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 wxRadioBox_Enable(_arg0
,_arg1
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) return NULL
;
8974 } Py_INCREF(Py_None
);
8975 _resultobj
= Py_None
;
8979 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8980 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
* _resultobj
;
8985 PyObject
* _argo0
= 0;
8987 char *_kwnames
[] = { "self","n","enable", NULL
};
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8999 _arg2
= (bool ) tempbool2
;
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9002 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) return NULL
;
9006 } Py_INCREF(Py_None
);
9007 _resultobj
= Py_None
;
9011 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9012 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
* _resultobj
;
9017 PyObject
* _argo0
= 0;
9018 PyObject
* _obj1
= 0;
9019 char *_kwnames
[] = { "self","string", NULL
};
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9032 #if PYTHON_API_VERSION >= 1009
9033 char* tmpPtr
; int tmpSize
;
9034 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9035 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9038 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9040 _arg1
= new wxString(tmpPtr
, tmpSize
);
9042 if (!PyString_Check(_obj1
)) {
9043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9046 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) return NULL
;
9055 } _resultobj
= Py_BuildValue("i",_result
);
9063 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9064 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
* _resultobj
;
9069 PyObject
* _argo0
= 0;
9070 char *_kwnames
[] = { "self","n", NULL
};
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) return NULL
;
9089 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9097 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9098 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9103 PyObject
* _argo0
= 0;
9104 PyObject
* _obj2
= 0;
9105 char *_kwnames
[] = { "self","n","label", NULL
};
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9118 #if PYTHON_API_VERSION >= 1009
9119 char* tmpPtr
; int tmpSize
;
9120 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9124 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9126 _arg2
= new wxString(tmpPtr
, tmpSize
);
9128 if (!PyString_Check(_obj2
)) {
9129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9132 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) return NULL
;
9141 } Py_INCREF(Py_None
);
9142 _resultobj
= Py_None
;
9150 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9151 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
* _resultobj
;
9155 PyObject
* _argo0
= 0;
9156 char *_kwnames
[] = { "self", NULL
};
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9172 wxPyEndAllowThreads(__tstate
);
9173 if (PyErr_Occurred()) return NULL
;
9174 } _resultobj
= Py_BuildValue("i",_result
);
9178 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9179 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
* _resultobj
;
9183 PyObject
* _argo0
= 0;
9184 char *_kwnames
[] = { "self", NULL
};
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) return NULL
;
9202 } _resultobj
= Py_BuildValue("i",_result
);
9206 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9207 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
* _resultobj
;
9211 PyObject
* _argo0
= 0;
9212 char *_kwnames
[] = { "self", NULL
};
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) return NULL
;
9230 } _resultobj
= Py_BuildValue("i",_result
);
9234 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9235 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
* _resultobj
;
9239 PyObject
* _argo0
= 0;
9240 char *_kwnames
[] = { "self", NULL
};
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) return NULL
;
9259 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9267 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9268 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
* _resultobj
;
9272 PyObject
* _argo0
= 0;
9273 char *_kwnames
[] = { "self", NULL
};
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 _result
= (int )wxRadioBox_GetCount(_arg0
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) return NULL
;
9291 } _resultobj
= Py_BuildValue("i",_result
);
9295 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9296 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
* _resultobj
;
9300 PyObject
* _argo0
= 0;
9301 char *_kwnames
[] = { "self","n", NULL
};
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9315 wxRadioBox_SetSelection(_arg0
,_arg1
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) return NULL
;
9319 } Py_INCREF(Py_None
);
9320 _resultobj
= Py_None
;
9324 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9325 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
* _resultobj
;
9329 PyObject
* _argo0
= 0;
9330 PyObject
* _obj1
= 0;
9331 char *_kwnames
[] = { "self","string", NULL
};
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9344 #if PYTHON_API_VERSION >= 1009
9345 char* tmpPtr
; int tmpSize
;
9346 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9350 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9352 _arg1
= new wxString(tmpPtr
, tmpSize
);
9354 if (!PyString_Check(_obj1
)) {
9355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9358 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) return NULL
;
9367 } Py_INCREF(Py_None
);
9368 _resultobj
= Py_None
;
9376 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9377 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
* _resultobj
;
9381 PyObject
* _argo0
= 0;
9383 char *_kwnames
[] = { "self","show", NULL
};
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9395 _arg1
= (bool ) tempbool1
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 wxRadioBox_Show(_arg0
,_arg1
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) return NULL
;
9402 } Py_INCREF(Py_None
);
9403 _resultobj
= Py_None
;
9407 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9408 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9409 PyObject
* _resultobj
;
9413 PyObject
* _argo0
= 0;
9415 char *_kwnames
[] = { "self","item","show", NULL
};
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9427 _arg2
= (bool ) tempbool2
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) return NULL
;
9434 } Py_INCREF(Py_None
);
9435 _resultobj
= Py_None
;
9439 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9442 src
= (wxRadioButton
*) ptr
;
9443 dest
= (wxControl
*) src
;
9444 return (void *) dest
;
9447 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9450 src
= (wxRadioButton
*) ptr
;
9451 dest
= (wxWindow
*) src
;
9452 return (void *) dest
;
9455 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9458 src
= (wxRadioButton
*) ptr
;
9459 dest
= (wxEvtHandler
*) src
;
9460 return (void *) dest
;
9463 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9466 src
= (wxRadioButton
*) ptr
;
9467 dest
= (wxObject
*) src
;
9468 return (void *) dest
;
9471 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9472 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9474 wxRadioButton
* _result
;
9478 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9479 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9480 long _arg5
= (long ) 0;
9481 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9482 char * _arg7
= (char *) "radioButton";
9483 PyObject
* _argo0
= 0;
9484 PyObject
* _obj2
= 0;
9486 PyObject
* _obj3
= 0;
9488 PyObject
* _obj4
= 0;
9489 PyObject
* _argo6
= 0;
9490 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9504 #if PYTHON_API_VERSION >= 1009
9505 char* tmpPtr
; int tmpSize
;
9506 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9510 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9512 _arg2
= new wxString(tmpPtr
, tmpSize
);
9514 if (!PyString_Check(_obj2
)) {
9515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9518 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9524 if (! wxPoint_helper(_obj3
, &_arg3
))
9530 if (! wxSize_helper(_obj4
, &_arg4
))
9534 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9535 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) return NULL
;
9547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9548 _resultobj
= Py_BuildValue("s",_ptemp
);
9551 _resultobj
= Py_None
;
9560 #define new_wxPreRadioButton() (new wxRadioButton())
9561 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
* _resultobj
;
9563 wxRadioButton
* _result
;
9564 char *_kwnames
[] = { NULL
};
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) return NULL
;
9577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9578 _resultobj
= Py_BuildValue("s",_ptemp
);
9581 _resultobj
= Py_None
;
9586 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9587 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
* _resultobj
;
9590 wxRadioButton
* _arg0
;
9594 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9595 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9596 long _arg6
= (long ) 0;
9597 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9598 char * _arg8
= (char *) "radioButton";
9599 PyObject
* _argo0
= 0;
9600 PyObject
* _argo1
= 0;
9601 PyObject
* _obj3
= 0;
9603 PyObject
* _obj4
= 0;
9605 PyObject
* _obj5
= 0;
9606 PyObject
* _argo7
= 0;
9607 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9620 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9621 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9627 #if PYTHON_API_VERSION >= 1009
9628 char* tmpPtr
; int tmpSize
;
9629 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9633 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9635 _arg3
= new wxString(tmpPtr
, tmpSize
);
9637 if (!PyString_Check(_obj3
)) {
9638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9641 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9647 if (! wxPoint_helper(_obj4
, &_arg4
))
9653 if (! wxSize_helper(_obj5
, &_arg5
))
9657 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9658 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) return NULL
;
9669 } _resultobj
= Py_BuildValue("i",_result
);
9677 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9678 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
* _resultobj
;
9681 wxRadioButton
* _arg0
;
9682 PyObject
* _argo0
= 0;
9683 char *_kwnames
[] = { "self", NULL
};
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) return NULL
;
9701 } _resultobj
= Py_BuildValue("i",_result
);
9705 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9706 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
* _resultobj
;
9708 wxRadioButton
* _arg0
;
9710 PyObject
* _argo0
= 0;
9712 char *_kwnames
[] = { "self","value", NULL
};
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9724 _arg1
= (bool ) tempbool1
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 wxRadioButton_SetValue(_arg0
,_arg1
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) return NULL
;
9731 } Py_INCREF(Py_None
);
9732 _resultobj
= Py_None
;
9736 static void *SwigwxSliderTowxControl(void *ptr
) {
9739 src
= (wxSlider
*) ptr
;
9740 dest
= (wxControl
*) src
;
9741 return (void *) dest
;
9744 static void *SwigwxSliderTowxWindow(void *ptr
) {
9747 src
= (wxSlider
*) ptr
;
9748 dest
= (wxWindow
*) src
;
9749 return (void *) dest
;
9752 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9755 src
= (wxSlider
*) ptr
;
9756 dest
= (wxEvtHandler
*) src
;
9757 return (void *) dest
;
9760 static void *SwigwxSliderTowxObject(void *ptr
) {
9763 src
= (wxSlider
*) ptr
;
9764 dest
= (wxObject
*) src
;
9765 return (void *) dest
;
9768 #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))
9769 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
* _resultobj
;
9777 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9778 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9779 long _arg7
= (long ) wxSL_HORIZONTAL
;
9780 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9781 char * _arg9
= (char *) "slider";
9782 PyObject
* _argo0
= 0;
9784 PyObject
* _obj5
= 0;
9786 PyObject
* _obj6
= 0;
9787 PyObject
* _argo8
= 0;
9788 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9804 if (! wxPoint_helper(_obj5
, &_arg5
))
9810 if (! wxSize_helper(_obj6
, &_arg6
))
9814 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9815 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) return NULL
;
9827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9828 _resultobj
= Py_BuildValue("s",_ptemp
);
9831 _resultobj
= Py_None
;
9836 #define new_wxPreSlider() (new wxSlider())
9837 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
* _resultobj
;
9840 char *_kwnames
[] = { NULL
};
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 _result
= (wxSlider
*)new_wxPreSlider();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) return NULL
;
9853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9854 _resultobj
= Py_BuildValue("s",_ptemp
);
9857 _resultobj
= Py_None
;
9862 #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))
9863 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
* _resultobj
;
9872 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9873 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9874 long _arg8
= (long ) wxSL_HORIZONTAL
;
9875 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9876 char * _arg10
= (char *) "slider";
9877 PyObject
* _argo0
= 0;
9878 PyObject
* _argo1
= 0;
9880 PyObject
* _obj6
= 0;
9882 PyObject
* _obj7
= 0;
9883 PyObject
* _argo9
= 0;
9884 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9906 if (! wxPoint_helper(_obj6
, &_arg6
))
9912 if (! wxSize_helper(_obj7
, &_arg7
))
9916 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9917 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9924 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) return NULL
;
9928 } _resultobj
= Py_BuildValue("i",_result
);
9932 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9933 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
* _resultobj
;
9936 PyObject
* _argo0
= 0;
9937 char *_kwnames
[] = { "self", NULL
};
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 wxSlider_ClearSel(_arg0
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) return NULL
;
9955 } Py_INCREF(Py_None
);
9956 _resultobj
= Py_None
;
9960 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9961 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9962 PyObject
* _resultobj
;
9964 PyObject
* _argo0
= 0;
9965 char *_kwnames
[] = { "self", NULL
};
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 wxSlider_ClearTicks(_arg0
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) return NULL
;
9983 } Py_INCREF(Py_None
);
9984 _resultobj
= Py_None
;
9988 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9989 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
* _resultobj
;
9993 PyObject
* _argo0
= 0;
9994 char *_kwnames
[] = { "self", NULL
};
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 _result
= (int )wxSlider_GetLineSize(_arg0
);
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) return NULL
;
10012 } _resultobj
= Py_BuildValue("i",_result
);
10016 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10017 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
* _resultobj
;
10021 PyObject
* _argo0
= 0;
10022 char *_kwnames
[] = { "self", NULL
};
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 _result
= (int )wxSlider_GetMax(_arg0
);
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) return NULL
;
10040 } _resultobj
= Py_BuildValue("i",_result
);
10044 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10045 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
* _resultobj
;
10049 PyObject
* _argo0
= 0;
10050 char *_kwnames
[] = { "self", NULL
};
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 _result
= (int )wxSlider_GetMin(_arg0
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) return NULL
;
10068 } _resultobj
= Py_BuildValue("i",_result
);
10072 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10073 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
* _resultobj
;
10077 PyObject
* _argo0
= 0;
10078 char *_kwnames
[] = { "self", NULL
};
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 _result
= (int )wxSlider_GetPageSize(_arg0
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) return NULL
;
10096 } _resultobj
= Py_BuildValue("i",_result
);
10100 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10101 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
* _resultobj
;
10105 PyObject
* _argo0
= 0;
10106 char *_kwnames
[] = { "self", NULL
};
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) return NULL
;
10124 } _resultobj
= Py_BuildValue("i",_result
);
10128 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10129 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
* _resultobj
;
10133 PyObject
* _argo0
= 0;
10134 char *_kwnames
[] = { "self", NULL
};
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 _result
= (int )wxSlider_GetSelStart(_arg0
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) return NULL
;
10152 } _resultobj
= Py_BuildValue("i",_result
);
10156 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10157 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
* _resultobj
;
10161 PyObject
* _argo0
= 0;
10162 char *_kwnames
[] = { "self", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) return NULL
;
10180 } _resultobj
= Py_BuildValue("i",_result
);
10184 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10185 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
* _resultobj
;
10189 PyObject
* _argo0
= 0;
10190 char *_kwnames
[] = { "self", NULL
};
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) return NULL
;
10208 } _resultobj
= Py_BuildValue("i",_result
);
10212 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10213 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
* _resultobj
;
10217 PyObject
* _argo0
= 0;
10218 char *_kwnames
[] = { "self", NULL
};
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 _result
= (int )wxSlider_GetValue(_arg0
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) return NULL
;
10236 } _resultobj
= Py_BuildValue("i",_result
);
10240 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10241 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
* _resultobj
;
10246 PyObject
* _argo0
= 0;
10247 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) return NULL
;
10265 } Py_INCREF(Py_None
);
10266 _resultobj
= Py_None
;
10270 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10271 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
* _resultobj
;
10276 PyObject
* _argo0
= 0;
10277 char *_kwnames
[] = { "self","n","pos", NULL
};
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) return NULL
;
10295 } Py_INCREF(Py_None
);
10296 _resultobj
= Py_None
;
10300 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10301 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
* _resultobj
;
10305 PyObject
* _argo0
= 0;
10306 char *_kwnames
[] = { "self","lineSize", NULL
};
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 wxSlider_SetLineSize(_arg0
,_arg1
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) return NULL
;
10324 } Py_INCREF(Py_None
);
10325 _resultobj
= Py_None
;
10329 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10330 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
* _resultobj
;
10334 PyObject
* _argo0
= 0;
10335 char *_kwnames
[] = { "self","pageSize", NULL
};
10338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 wxSlider_SetPageSize(_arg0
,_arg1
);
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) return NULL
;
10353 } Py_INCREF(Py_None
);
10354 _resultobj
= Py_None
;
10358 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10359 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
* _resultobj
;
10364 PyObject
* _argo0
= 0;
10365 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) return NULL
;
10383 } Py_INCREF(Py_None
);
10384 _resultobj
= Py_None
;
10388 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10389 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
* _resultobj
;
10393 PyObject
* _argo0
= 0;
10394 char *_kwnames
[] = { "self","len", NULL
};
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 wxSlider_SetThumbLength(_arg0
,_arg1
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) return NULL
;
10412 } Py_INCREF(Py_None
);
10413 _resultobj
= Py_None
;
10417 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10418 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
* _resultobj
;
10422 PyObject
* _argo0
= 0;
10423 char *_kwnames
[] = { "self","tickPos", NULL
};
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 wxSlider_SetTick(_arg0
,_arg1
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) return NULL
;
10441 } Py_INCREF(Py_None
);
10442 _resultobj
= Py_None
;
10446 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10447 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
* _resultobj
;
10451 PyObject
* _argo0
= 0;
10452 char *_kwnames
[] = { "self","value", NULL
};
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 wxSlider_SetValue(_arg0
,_arg1
);
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) return NULL
;
10470 } Py_INCREF(Py_None
);
10471 _resultobj
= Py_None
;
10475 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10477 wxSpinButton
*dest
;
10478 src
= (wxSpinCtrl
*) ptr
;
10479 dest
= (wxSpinButton
*) src
;
10480 return (void *) dest
;
10483 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10486 src
= (wxSpinCtrl
*) ptr
;
10487 dest
= (wxControl
*) src
;
10488 return (void *) dest
;
10491 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10494 src
= (wxSpinCtrl
*) ptr
;
10495 dest
= (wxWindow
*) src
;
10496 return (void *) dest
;
10499 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10501 wxEvtHandler
*dest
;
10502 src
= (wxSpinCtrl
*) ptr
;
10503 dest
= (wxEvtHandler
*) src
;
10504 return (void *) dest
;
10507 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10510 src
= (wxSpinCtrl
*) ptr
;
10511 dest
= (wxObject
*) src
;
10512 return (void *) dest
;
10515 #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))
10516 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
* _resultobj
;
10518 wxSpinCtrl
* _result
;
10520 wxWindowID _arg1
= (wxWindowID
) -1;
10521 char * _arg2
= (char *) "";
10522 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10523 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10524 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10525 int _arg6
= (int ) 0;
10526 int _arg7
= (int ) 100;
10527 int _arg8
= (int ) 0;
10528 char * _arg9
= (char *) "wxSpinCtrl";
10529 PyObject
* _argo0
= 0;
10531 PyObject
* _obj3
= 0;
10533 PyObject
* _obj4
= 0;
10534 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10550 if (! wxPoint_helper(_obj3
, &_arg3
))
10556 if (! wxSize_helper(_obj4
, &_arg4
))
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) return NULL
;
10566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10567 _resultobj
= Py_BuildValue("s",_ptemp
);
10569 Py_INCREF(Py_None
);
10570 _resultobj
= Py_None
;
10575 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10576 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
* _resultobj
;
10578 wxSpinCtrl
* _result
;
10579 char *_kwnames
[] = { NULL
};
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) return NULL
;
10592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10593 _resultobj
= Py_BuildValue("s",_ptemp
);
10595 Py_INCREF(Py_None
);
10596 _resultobj
= Py_None
;
10601 #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))
10602 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
* _resultobj
;
10605 wxSpinCtrl
* _arg0
;
10607 wxWindowID _arg2
= (wxWindowID
) -1;
10608 char * _arg3
= (char *) "";
10609 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10610 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10611 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10612 int _arg7
= (int ) 0;
10613 int _arg8
= (int ) 100;
10614 int _arg9
= (int ) 0;
10615 char * _arg10
= (char *) "wxSpinCtrl";
10616 PyObject
* _argo0
= 0;
10617 PyObject
* _argo1
= 0;
10619 PyObject
* _obj4
= 0;
10621 PyObject
* _obj5
= 0;
10622 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10635 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10636 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10644 if (! wxPoint_helper(_obj4
, &_arg4
))
10650 if (! wxSize_helper(_obj5
, &_arg5
))
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) return NULL
;
10659 } _resultobj
= Py_BuildValue("i",_result
);
10663 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10664 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
* _resultobj
;
10667 wxSpinCtrl
* _arg0
;
10668 PyObject
* _argo0
= 0;
10669 char *_kwnames
[] = { "self", NULL
};
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) return NULL
;
10687 } _resultobj
= Py_BuildValue("i",_result
);
10691 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10692 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
* _resultobj
;
10695 wxSpinCtrl
* _arg0
;
10696 PyObject
* _argo0
= 0;
10697 char *_kwnames
[] = { "self", NULL
};
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) return NULL
;
10715 } _resultobj
= Py_BuildValue("i",_result
);
10719 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10720 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
* _resultobj
;
10723 wxSpinCtrl
* _arg0
;
10724 PyObject
* _argo0
= 0;
10725 char *_kwnames
[] = { "self", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) return NULL
;
10743 } _resultobj
= Py_BuildValue("i",_result
);
10747 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10748 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
* _resultobj
;
10750 wxSpinCtrl
* _arg0
;
10753 PyObject
* _argo0
= 0;
10754 char *_kwnames
[] = { "self","min","max", NULL
};
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) return NULL
;
10772 } Py_INCREF(Py_None
);
10773 _resultobj
= Py_None
;
10777 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10778 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10780 wxSpinCtrl
* _arg0
;
10782 PyObject
* _argo0
= 0;
10783 char *_kwnames
[] = { "self","value", NULL
};
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) return NULL
;
10801 } Py_INCREF(Py_None
);
10802 _resultobj
= Py_None
;
10806 static PyMethodDef controlscMethods
[] = {
10807 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11063 * This table is used by the pointer type-checker
11065 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11066 { "_signed_long","_long",0},
11067 { "_wxPrintQuality","_wxCoord",0},
11068 { "_wxPrintQuality","_int",0},
11069 { "_wxPrintQuality","_signed_int",0},
11070 { "_wxPrintQuality","_unsigned_int",0},
11071 { "_wxPrintQuality","_wxWindowID",0},
11072 { "_wxPrintQuality","_uint",0},
11073 { "_wxPrintQuality","_EBool",0},
11074 { "_wxPrintQuality","_size_t",0},
11075 { "_wxPrintQuality","_time_t",0},
11076 { "_byte","_unsigned_char",0},
11077 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11078 { "_long","_unsigned_long",0},
11079 { "_long","_signed_long",0},
11080 { "_size_t","_wxCoord",0},
11081 { "_size_t","_wxPrintQuality",0},
11082 { "_size_t","_time_t",0},
11083 { "_size_t","_unsigned_int",0},
11084 { "_size_t","_int",0},
11085 { "_size_t","_wxWindowID",0},
11086 { "_size_t","_uint",0},
11087 { "_uint","_wxCoord",0},
11088 { "_uint","_wxPrintQuality",0},
11089 { "_uint","_time_t",0},
11090 { "_uint","_size_t",0},
11091 { "_uint","_unsigned_int",0},
11092 { "_uint","_int",0},
11093 { "_uint","_wxWindowID",0},
11094 { "_wxChar","_char",0},
11095 { "_char","_wxChar",0},
11096 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11097 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11098 { "_EBool","_wxCoord",0},
11099 { "_EBool","_wxPrintQuality",0},
11100 { "_EBool","_signed_int",0},
11101 { "_EBool","_int",0},
11102 { "_EBool","_wxWindowID",0},
11103 { "_unsigned_long","_long",0},
11104 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11105 { "_signed_int","_wxCoord",0},
11106 { "_signed_int","_wxPrintQuality",0},
11107 { "_signed_int","_EBool",0},
11108 { "_signed_int","_wxWindowID",0},
11109 { "_signed_int","_int",0},
11110 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11111 { "_WXTYPE","_short",0},
11112 { "_WXTYPE","_signed_short",0},
11113 { "_WXTYPE","_unsigned_short",0},
11114 { "_unsigned_short","_WXTYPE",0},
11115 { "_unsigned_short","_short",0},
11116 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11117 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11118 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11119 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11120 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11121 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11122 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11123 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11124 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11125 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11126 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11127 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11128 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11129 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11130 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11131 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11132 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11133 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11134 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11135 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11136 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11137 { "_signed_short","_WXTYPE",0},
11138 { "_signed_short","_short",0},
11139 { "_unsigned_char","_byte",0},
11140 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11141 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11142 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11143 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11144 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11145 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11146 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11147 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11148 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11149 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11150 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11151 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11152 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11153 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11154 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11155 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11156 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11157 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11158 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11159 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11160 { "_unsigned_int","_wxCoord",0},
11161 { "_unsigned_int","_wxPrintQuality",0},
11162 { "_unsigned_int","_time_t",0},
11163 { "_unsigned_int","_size_t",0},
11164 { "_unsigned_int","_uint",0},
11165 { "_unsigned_int","_wxWindowID",0},
11166 { "_unsigned_int","_int",0},
11167 { "_short","_WXTYPE",0},
11168 { "_short","_unsigned_short",0},
11169 { "_short","_signed_short",0},
11170 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11171 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11172 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11173 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11174 { "_wxWindowID","_wxCoord",0},
11175 { "_wxWindowID","_wxPrintQuality",0},
11176 { "_wxWindowID","_time_t",0},
11177 { "_wxWindowID","_size_t",0},
11178 { "_wxWindowID","_EBool",0},
11179 { "_wxWindowID","_uint",0},
11180 { "_wxWindowID","_int",0},
11181 { "_wxWindowID","_signed_int",0},
11182 { "_wxWindowID","_unsigned_int",0},
11183 { "_int","_wxCoord",0},
11184 { "_int","_wxPrintQuality",0},
11185 { "_int","_time_t",0},
11186 { "_int","_size_t",0},
11187 { "_int","_EBool",0},
11188 { "_int","_uint",0},
11189 { "_int","_wxWindowID",0},
11190 { "_int","_unsigned_int",0},
11191 { "_int","_signed_int",0},
11192 { "_time_t","_wxCoord",0},
11193 { "_time_t","_wxPrintQuality",0},
11194 { "_time_t","_unsigned_int",0},
11195 { "_time_t","_int",0},
11196 { "_time_t","_wxWindowID",0},
11197 { "_time_t","_uint",0},
11198 { "_time_t","_size_t",0},
11199 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11200 { "_wxCoord","_int",0},
11201 { "_wxCoord","_signed_int",0},
11202 { "_wxCoord","_unsigned_int",0},
11203 { "_wxCoord","_wxWindowID",0},
11204 { "_wxCoord","_uint",0},
11205 { "_wxCoord","_EBool",0},
11206 { "_wxCoord","_size_t",0},
11207 { "_wxCoord","_time_t",0},
11208 { "_wxCoord","_wxPrintQuality",0},
11209 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11210 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11211 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11212 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11213 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11214 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11215 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11216 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11217 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11218 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11219 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11220 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11221 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11222 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11223 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11224 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11225 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11226 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11227 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11228 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11229 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11230 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11231 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11232 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11233 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11234 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11235 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11236 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11237 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11238 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11239 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11240 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11241 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11242 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11243 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11244 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11245 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11246 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11247 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11248 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11249 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11250 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11253 static PyObject
*SWIG_globals
;
11257 SWIGEXPORT(void) initcontrolsc() {
11259 SWIG_globals
= SWIG_newvarlink();
11260 m
= Py_InitModule("controlsc", controlscMethods
);
11261 d
= PyModule_GetDict(m
);
11262 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11263 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11266 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11267 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);