2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 #if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg
= "String or Unicode type required";
107 static char* wxStringErrorMsg
= "string type is required for parameter";
112 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
114 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
118 static PyObject
*_wrap_wxDefaultValidator_get() {
122 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
123 pyobj
= PyString_FromString(ptemp
);
127 static void *SwigwxControlTowxWindow(void *ptr
) {
130 src
= (wxControl
*) ptr
;
131 dest
= (wxWindow
*) src
;
132 return (void *) dest
;
135 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
138 src
= (wxControl
*) ptr
;
139 dest
= (wxEvtHandler
*) src
;
140 return (void *) dest
;
143 static void *SwigwxControlTowxObject(void *ptr
) {
146 src
= (wxControl
*) ptr
;
147 dest
= (wxObject
*) src
;
148 return (void *) dest
;
151 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
152 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
157 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
158 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
159 long _arg4
= (long ) 0;
160 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
161 char * _arg6
= (char *) "control";
162 PyObject
* _argo0
= 0;
164 PyObject
* _obj2
= 0;
166 PyObject
* _obj3
= 0;
167 PyObject
* _argo5
= 0;
168 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
184 if (! wxPoint_helper(_obj2
, &_arg2
))
190 if (! wxSize_helper(_obj3
, &_arg3
))
194 if (_argo5
== Py_None
) { _arg5
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
204 wxPy_END_ALLOW_THREADS
;
205 if (PyErr_Occurred()) return NULL
;
207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
211 _resultobj
= Py_None
;
216 #define new_wxPreControl() (new wxControl())
217 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
220 char *_kwnames
[] = { NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (wxControl
*)new_wxPreControl();
230 wxPy_END_ALLOW_THREADS
;
231 if (PyErr_Occurred()) return NULL
;
233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
234 _resultobj
= Py_BuildValue("s",_ptemp
);
237 _resultobj
= Py_None
;
242 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
243 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
249 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
250 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
251 long _arg5
= (long ) 0;
252 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
253 char * _arg7
= (char *) "control";
254 PyObject
* _argo0
= 0;
255 PyObject
* _argo1
= 0;
257 PyObject
* _obj3
= 0;
259 PyObject
* _obj4
= 0;
260 PyObject
* _argo6
= 0;
261 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
283 if (! wxPoint_helper(_obj3
, &_arg3
))
289 if (! wxSize_helper(_obj4
, &_arg4
))
293 if (_argo6
== Py_None
) { _arg6
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
300 wxPy_BEGIN_ALLOW_THREADS
;
301 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
303 wxPy_END_ALLOW_THREADS
;
304 if (PyErr_Occurred()) return NULL
;
305 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
310 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
313 wxCommandEvent
* _arg1
;
314 PyObject
* _argo0
= 0;
315 PyObject
* _argo1
= 0;
316 char *_kwnames
[] = { "self","event", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
336 wxPy_BEGIN_ALLOW_THREADS
;
337 wxControl_Command(_arg0
,*_arg1
);
339 wxPy_END_ALLOW_THREADS
;
340 if (PyErr_Occurred()) return NULL
;
341 } Py_INCREF(Py_None
);
342 _resultobj
= Py_None
;
346 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
347 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= new wxString (wxControl_GetLabel(_arg0
));
368 wxPy_END_ALLOW_THREADS
;
369 if (PyErr_Occurred()) return NULL
;
371 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
379 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
380 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
384 PyObject
* _argo0
= 0;
385 PyObject
* _obj1
= 0;
386 char *_kwnames
[] = { "self","label", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
399 #if PYTHON_API_VERSION >= 1009
400 char* tmpPtr
; int tmpSize
;
401 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
407 _arg1
= new wxString(tmpPtr
, tmpSize
);
409 if (!PyString_Check(_obj1
)) {
410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
413 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
417 wxPy_BEGIN_ALLOW_THREADS
;
418 wxControl_SetLabel(_arg0
,*_arg1
);
420 wxPy_END_ALLOW_THREADS
;
421 if (PyErr_Occurred()) return NULL
;
422 } Py_INCREF(Py_None
);
423 _resultobj
= Py_None
;
431 static void *SwigwxButtonTowxControl(void *ptr
) {
434 src
= (wxButton
*) ptr
;
435 dest
= (wxControl
*) src
;
436 return (void *) dest
;
439 static void *SwigwxButtonTowxWindow(void *ptr
) {
442 src
= (wxButton
*) ptr
;
443 dest
= (wxWindow
*) src
;
444 return (void *) dest
;
447 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
450 src
= (wxButton
*) ptr
;
451 dest
= (wxEvtHandler
*) src
;
452 return (void *) dest
;
455 static void *SwigwxButtonTowxObject(void *ptr
) {
458 src
= (wxButton
*) ptr
;
459 dest
= (wxObject
*) src
;
460 return (void *) dest
;
463 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
464 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
470 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
471 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
472 long _arg5
= (long ) 0;
473 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
474 char * _arg7
= (char *) "button";
475 PyObject
* _argo0
= 0;
476 PyObject
* _obj2
= 0;
478 PyObject
* _obj3
= 0;
480 PyObject
* _obj4
= 0;
481 PyObject
* _argo6
= 0;
482 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
496 #if PYTHON_API_VERSION >= 1009
497 char* tmpPtr
; int tmpSize
;
498 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
502 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
504 _arg2
= new wxString(tmpPtr
, tmpSize
);
506 if (!PyString_Check(_obj2
)) {
507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
510 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
516 if (! wxPoint_helper(_obj3
, &_arg3
))
522 if (! wxSize_helper(_obj4
, &_arg4
))
526 if (_argo6
== Py_None
) { _arg6
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
533 wxPy_BEGIN_ALLOW_THREADS
;
534 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
536 wxPy_END_ALLOW_THREADS
;
537 if (PyErr_Occurred()) return NULL
;
539 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
540 _resultobj
= Py_BuildValue("s",_ptemp
);
543 _resultobj
= Py_None
;
552 #define new_wxPreButton() (new wxButton())
553 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
556 char *_kwnames
[] = { NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
563 wxPy_BEGIN_ALLOW_THREADS
;
564 _result
= (wxButton
*)new_wxPreButton();
566 wxPy_END_ALLOW_THREADS
;
567 if (PyErr_Occurred()) return NULL
;
569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
570 _resultobj
= Py_BuildValue("s",_ptemp
);
573 _resultobj
= Py_None
;
578 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
579 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
580 PyObject
* _resultobj
;
586 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
587 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
588 long _arg6
= (long ) 0;
589 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
590 char * _arg8
= (char *) "button";
591 PyObject
* _argo0
= 0;
592 PyObject
* _argo1
= 0;
593 PyObject
* _obj3
= 0;
595 PyObject
* _obj4
= 0;
597 PyObject
* _obj5
= 0;
598 PyObject
* _argo7
= 0;
599 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
612 if (_argo1
== Py_None
) { _arg1
= NULL
; }
613 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
619 #if PYTHON_API_VERSION >= 1009
620 char* tmpPtr
; int tmpSize
;
621 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
625 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
627 _arg3
= new wxString(tmpPtr
, tmpSize
);
629 if (!PyString_Check(_obj3
)) {
630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
633 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
639 if (! wxPoint_helper(_obj4
, &_arg4
))
645 if (! wxSize_helper(_obj5
, &_arg5
))
649 if (_argo7
== Py_None
) { _arg7
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
656 wxPy_BEGIN_ALLOW_THREADS
;
657 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
659 wxPy_END_ALLOW_THREADS
;
660 if (PyErr_Occurred()) return NULL
;
661 } _resultobj
= Py_BuildValue("i",_result
);
669 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
670 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
673 PyObject
* _argo0
= 0;
674 char *_kwnames
[] = { "self", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
687 wxPy_BEGIN_ALLOW_THREADS
;
688 wxButton_SetDefault(_arg0
);
690 wxPy_END_ALLOW_THREADS
;
691 if (PyErr_Occurred()) return NULL
;
692 } Py_INCREF(Py_None
);
693 _resultobj
= Py_None
;
697 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
698 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
702 PyObject
* _argo0
= 0;
704 PyObject
* _obj1
= 0;
705 char *_kwnames
[] = { "self","colour", NULL
};
708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
719 if (! wxColour_helper(_obj1
, &_arg1
))
723 wxPy_BEGIN_ALLOW_THREADS
;
724 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
726 wxPy_END_ALLOW_THREADS
;
727 if (PyErr_Occurred()) return NULL
;
728 } Py_INCREF(Py_None
);
729 _resultobj
= Py_None
;
733 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
734 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
738 PyObject
* _argo0
= 0;
740 PyObject
* _obj1
= 0;
741 char *_kwnames
[] = { "self","colour", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
755 if (! wxColour_helper(_obj1
, &_arg1
))
759 wxPy_BEGIN_ALLOW_THREADS
;
760 wxButton_SetForegroundColour(_arg0
,*_arg1
);
762 wxPy_END_ALLOW_THREADS
;
763 if (PyErr_Occurred()) return NULL
;
764 } Py_INCREF(Py_None
);
765 _resultobj
= Py_None
;
769 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
770 static PyObject
*_wrap_wxButton_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
774 PyObject
* _argo0
= 0;
775 PyObject
* _argo1
= 0;
776 char *_kwnames
[] = { "self","bitmap", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetImageLabel",_kwnames
,&_argo0
,&_argo1
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
789 if (_argo1
== Py_None
) { _arg1
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 wxButton_SetImageLabel(_arg0
,*_arg1
);
799 wxPy_END_ALLOW_THREADS
;
800 if (PyErr_Occurred()) return NULL
;
801 } Py_INCREF(Py_None
);
802 _resultobj
= Py_None
;
806 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
807 static PyObject
*_wrap_wxButton_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
812 PyObject
* _argo0
= 0;
813 char *_kwnames
[] = { "self","x","y", NULL
};
816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxButton_SetImageMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
826 wxPy_BEGIN_ALLOW_THREADS
;
827 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
829 wxPy_END_ALLOW_THREADS
;
830 if (PyErr_Occurred()) return NULL
;
831 } Py_INCREF(Py_None
);
832 _resultobj
= Py_None
;
836 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
837 PyObject
* _resultobj
;
839 char *_kwnames
[] = { NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
846 wxPy_BEGIN_ALLOW_THREADS
;
847 _result
= new wxSize (wxButton::GetDefaultSize());
849 wxPy_END_ALLOW_THREADS
;
850 if (PyErr_Occurred()) return NULL
;
851 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
852 _resultobj
= Py_BuildValue("s",_ptemp
);
856 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
859 src
= (wxBitmapButton
*) ptr
;
860 dest
= (wxButton
*) src
;
861 return (void *) dest
;
864 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
867 src
= (wxBitmapButton
*) ptr
;
868 dest
= (wxControl
*) src
;
869 return (void *) dest
;
872 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
875 src
= (wxBitmapButton
*) ptr
;
876 dest
= (wxWindow
*) src
;
877 return (void *) dest
;
880 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
883 src
= (wxBitmapButton
*) ptr
;
884 dest
= (wxEvtHandler
*) src
;
885 return (void *) dest
;
888 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
891 src
= (wxBitmapButton
*) ptr
;
892 dest
= (wxObject
*) src
;
893 return (void *) dest
;
896 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
897 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxBitmapButton
* _result
;
903 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
904 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
905 long _arg5
= (long ) wxBU_AUTODRAW
;
906 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
907 char * _arg7
= (char *) "button";
908 PyObject
* _argo0
= 0;
909 PyObject
* _argo2
= 0;
911 PyObject
* _obj3
= 0;
913 PyObject
* _obj4
= 0;
914 PyObject
* _argo6
= 0;
915 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
929 if (_argo2
== Py_None
) { _arg2
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
938 if (! wxPoint_helper(_obj3
, &_arg3
))
944 if (! wxSize_helper(_obj4
, &_arg4
))
948 if (_argo6
== Py_None
) { _arg6
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
955 wxPy_BEGIN_ALLOW_THREADS
;
956 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
958 wxPy_END_ALLOW_THREADS
;
959 if (PyErr_Occurred()) return NULL
;
961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
962 _resultobj
= Py_BuildValue("s",_ptemp
);
965 _resultobj
= Py_None
;
970 #define new_wxPreBitmapButton() (new wxBitmapButton())
971 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
973 wxBitmapButton
* _result
;
974 char *_kwnames
[] = { NULL
};
978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
981 wxPy_BEGIN_ALLOW_THREADS
;
982 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
984 wxPy_END_ALLOW_THREADS
;
985 if (PyErr_Occurred()) return NULL
;
987 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
988 _resultobj
= Py_BuildValue("s",_ptemp
);
991 _resultobj
= Py_None
;
996 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
997 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
998 PyObject
* _resultobj
;
1000 wxBitmapButton
* _arg0
;
1004 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1005 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1006 long _arg6
= (long ) wxBU_AUTODRAW
;
1007 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1008 char * _arg8
= (char *) "button";
1009 PyObject
* _argo0
= 0;
1010 PyObject
* _argo1
= 0;
1011 PyObject
* _argo3
= 0;
1013 PyObject
* _obj4
= 0;
1015 PyObject
* _obj5
= 0;
1016 PyObject
* _argo7
= 0;
1017 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1037 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1038 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1046 if (! wxPoint_helper(_obj4
, &_arg4
))
1052 if (! wxSize_helper(_obj5
, &_arg5
))
1056 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1066 wxPy_END_ALLOW_THREADS
;
1067 if (PyErr_Occurred()) return NULL
;
1068 } _resultobj
= Py_BuildValue("i",_result
);
1072 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1073 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1076 wxBitmapButton
* _arg0
;
1077 PyObject
* _argo0
= 0;
1078 char *_kwnames
[] = { "self", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1092 wxPy_BEGIN_ALLOW_THREADS
;
1093 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
1094 _result
= (wxBitmap
*) &_result_ref
;
1096 wxPy_END_ALLOW_THREADS
;
1097 if (PyErr_Occurred()) return NULL
;
1099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1100 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 _resultobj
= Py_None
;
1108 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1109 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1112 wxBitmapButton
* _arg0
;
1113 PyObject
* _argo0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1128 wxPy_BEGIN_ALLOW_THREADS
;
1129 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
1130 _result
= (wxBitmap
*) &_result_ref
;
1132 wxPy_END_ALLOW_THREADS
;
1133 if (PyErr_Occurred()) return NULL
;
1135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1136 _resultobj
= Py_BuildValue("s",_ptemp
);
1139 _resultobj
= Py_None
;
1144 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1145 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
* _resultobj
;
1148 wxBitmapButton
* _arg0
;
1149 PyObject
* _argo0
= 0;
1150 char *_kwnames
[] = { "self", NULL
};
1154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1164 wxPy_BEGIN_ALLOW_THREADS
;
1165 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
1166 _result
= (wxBitmap
*) &_result_ref
;
1168 wxPy_END_ALLOW_THREADS
;
1169 if (PyErr_Occurred()) return NULL
;
1171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1172 _resultobj
= Py_BuildValue("s",_ptemp
);
1175 _resultobj
= Py_None
;
1180 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1181 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1184 wxBitmapButton
* _arg0
;
1185 PyObject
* _argo0
= 0;
1186 char *_kwnames
[] = { "self", NULL
};
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
1202 _result
= (wxBitmap
*) &_result_ref
;
1204 wxPy_END_ALLOW_THREADS
;
1205 if (PyErr_Occurred()) return NULL
;
1207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1208 _resultobj
= Py_BuildValue("s",_ptemp
);
1211 _resultobj
= Py_None
;
1216 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1217 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
* _resultobj
;
1219 wxBitmapButton
* _arg0
;
1221 PyObject
* _argo0
= 0;
1222 PyObject
* _argo1
= 0;
1223 char *_kwnames
[] = { "self","bitmap", NULL
};
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1236 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1243 wxPy_BEGIN_ALLOW_THREADS
;
1244 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1246 wxPy_END_ALLOW_THREADS
;
1247 if (PyErr_Occurred()) return NULL
;
1248 } Py_INCREF(Py_None
);
1249 _resultobj
= Py_None
;
1253 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1254 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1255 PyObject
* _resultobj
;
1256 wxBitmapButton
* _arg0
;
1258 PyObject
* _argo0
= 0;
1259 PyObject
* _argo1
= 0;
1260 char *_kwnames
[] = { "self","bitmap", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1280 wxPy_BEGIN_ALLOW_THREADS
;
1281 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1283 wxPy_END_ALLOW_THREADS
;
1284 if (PyErr_Occurred()) return NULL
;
1285 } Py_INCREF(Py_None
);
1286 _resultobj
= Py_None
;
1290 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1291 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
* _resultobj
;
1293 wxBitmapButton
* _arg0
;
1295 PyObject
* _argo0
= 0;
1296 PyObject
* _argo1
= 0;
1297 char *_kwnames
[] = { "self","bitmap", NULL
};
1300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 if (PyErr_Occurred()) return NULL
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1328 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1330 wxBitmapButton
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 PyObject
* _argo1
= 0;
1334 char *_kwnames
[] = { "self","bitmap", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1347 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1348 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1357 wxPy_END_ALLOW_THREADS
;
1358 if (PyErr_Occurred()) return NULL
;
1359 } Py_INCREF(Py_None
);
1360 _resultobj
= Py_None
;
1364 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1365 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1367 wxBitmapButton
* _arg0
;
1370 PyObject
* _argo0
= 0;
1371 char *_kwnames
[] = { "self","x","y", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1387 wxPy_END_ALLOW_THREADS
;
1388 if (PyErr_Occurred()) return NULL
;
1389 } Py_INCREF(Py_None
);
1390 _resultobj
= Py_None
;
1394 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1395 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1398 wxBitmapButton
* _arg0
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "self", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1416 wxPy_END_ALLOW_THREADS
;
1417 if (PyErr_Occurred()) return NULL
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1423 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1426 wxBitmapButton
* _arg0
;
1427 PyObject
* _argo0
= 0;
1428 char *_kwnames
[] = { "self", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1441 wxPy_BEGIN_ALLOW_THREADS
;
1442 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1444 wxPy_END_ALLOW_THREADS
;
1445 if (PyErr_Occurred()) return NULL
;
1446 } _resultobj
= Py_BuildValue("i",_result
);
1450 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1453 src
= (wxCheckBox
*) ptr
;
1454 dest
= (wxControl
*) src
;
1455 return (void *) dest
;
1458 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1461 src
= (wxCheckBox
*) ptr
;
1462 dest
= (wxWindow
*) src
;
1463 return (void *) dest
;
1466 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1469 src
= (wxCheckBox
*) ptr
;
1470 dest
= (wxEvtHandler
*) src
;
1471 return (void *) dest
;
1474 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1477 src
= (wxCheckBox
*) ptr
;
1478 dest
= (wxObject
*) src
;
1479 return (void *) dest
;
1482 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1483 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1485 wxCheckBox
* _result
;
1489 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1490 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1491 long _arg5
= (long ) 0;
1492 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1493 char * _arg7
= (char *) "checkBox";
1494 PyObject
* _argo0
= 0;
1495 PyObject
* _obj2
= 0;
1497 PyObject
* _obj3
= 0;
1499 PyObject
* _obj4
= 0;
1500 PyObject
* _argo6
= 0;
1501 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1515 #if PYTHON_API_VERSION >= 1009
1516 char* tmpPtr
; int tmpSize
;
1517 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1521 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1523 _arg2
= new wxString(tmpPtr
, tmpSize
);
1525 if (!PyString_Check(_obj2
)) {
1526 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1529 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1535 if (! wxPoint_helper(_obj3
, &_arg3
))
1541 if (! wxSize_helper(_obj4
, &_arg4
))
1545 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1552 wxPy_BEGIN_ALLOW_THREADS
;
1553 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1555 wxPy_END_ALLOW_THREADS
;
1556 if (PyErr_Occurred()) return NULL
;
1558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1559 _resultobj
= Py_BuildValue("s",_ptemp
);
1562 _resultobj
= Py_None
;
1571 #define new_wxPreCheckBox() (new wxCheckBox())
1572 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1574 wxCheckBox
* _result
;
1575 char *_kwnames
[] = { NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1582 wxPy_BEGIN_ALLOW_THREADS
;
1583 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1585 wxPy_END_ALLOW_THREADS
;
1586 if (PyErr_Occurred()) return NULL
;
1588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1589 _resultobj
= Py_BuildValue("s",_ptemp
);
1592 _resultobj
= Py_None
;
1597 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1598 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1605 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1606 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1607 long _arg6
= (long ) 0;
1608 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1609 char * _arg8
= (char *) "checkBox";
1610 PyObject
* _argo0
= 0;
1611 PyObject
* _argo1
= 0;
1612 PyObject
* _obj3
= 0;
1614 PyObject
* _obj4
= 0;
1616 PyObject
* _obj5
= 0;
1617 PyObject
* _argo7
= 0;
1618 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
1638 #if PYTHON_API_VERSION >= 1009
1639 char* tmpPtr
; int tmpSize
;
1640 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1641 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1644 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1646 _arg3
= new wxString(tmpPtr
, tmpSize
);
1648 if (!PyString_Check(_obj3
)) {
1649 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1652 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1658 if (! wxPoint_helper(_obj4
, &_arg4
))
1664 if (! wxSize_helper(_obj5
, &_arg5
))
1668 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1669 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
1675 wxPy_BEGIN_ALLOW_THREADS
;
1676 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1678 wxPy_END_ALLOW_THREADS
;
1679 if (PyErr_Occurred()) return NULL
;
1680 } _resultobj
= Py_BuildValue("i",_result
);
1688 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1689 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "self", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1710 wxPy_END_ALLOW_THREADS
;
1711 if (PyErr_Occurred()) return NULL
;
1712 } _resultobj
= Py_BuildValue("i",_result
);
1716 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1717 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1721 PyObject
* _argo0
= 0;
1723 char *_kwnames
[] = { "self","state", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1735 _arg1
= (bool ) tempbool1
;
1737 wxPy_BEGIN_ALLOW_THREADS
;
1738 wxCheckBox_SetValue(_arg0
,_arg1
);
1740 wxPy_END_ALLOW_THREADS
;
1741 if (PyErr_Occurred()) return NULL
;
1742 } Py_INCREF(Py_None
);
1743 _resultobj
= Py_None
;
1747 static void *SwigwxChoiceTowxControl(void *ptr
) {
1750 src
= (wxChoice
*) ptr
;
1751 dest
= (wxControl
*) src
;
1752 return (void *) dest
;
1755 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1758 src
= (wxChoice
*) ptr
;
1759 dest
= (wxWindow
*) src
;
1760 return (void *) dest
;
1763 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1766 src
= (wxChoice
*) ptr
;
1767 dest
= (wxEvtHandler
*) src
;
1768 return (void *) dest
;
1771 static void *SwigwxChoiceTowxObject(void *ptr
) {
1774 src
= (wxChoice
*) ptr
;
1775 dest
= (wxObject
*) src
;
1776 return (void *) dest
;
1779 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1780 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1785 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1786 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1787 int _arg4
= (int ) 0;
1788 wxString
* _arg5
= (wxString
*) NULL
;
1789 long _arg6
= (long ) 0;
1790 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1791 char * _arg8
= (char *) "choice";
1792 PyObject
* _argo0
= 0;
1794 PyObject
* _obj2
= 0;
1796 PyObject
* _obj3
= 0;
1797 PyObject
* _obj5
= 0;
1798 PyObject
* _argo7
= 0;
1799 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1815 if (! wxPoint_helper(_obj2
, &_arg2
))
1821 if (! wxSize_helper(_obj3
, &_arg3
))
1826 _arg5
= wxString_LIST_helper(_obj5
);
1827 if (_arg5
== NULL
) {
1832 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1840 _arg4
= PyList_Size(_obj5
);
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1850 wxPy_END_ALLOW_THREADS
;
1851 if (PyErr_Occurred()) return NULL
;
1853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1854 _resultobj
= Py_BuildValue("s",_ptemp
);
1857 _resultobj
= Py_None
;
1865 #define new_wxPreChoice() (new wxChoice())
1866 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1869 char *_kwnames
[] = { NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
1876 wxPy_BEGIN_ALLOW_THREADS
;
1877 _result
= (wxChoice
*)new_wxPreChoice();
1879 wxPy_END_ALLOW_THREADS
;
1880 if (PyErr_Occurred()) return NULL
;
1882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1883 _resultobj
= Py_BuildValue("s",_ptemp
);
1886 _resultobj
= Py_None
;
1891 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1892 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1898 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1899 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1900 int _arg5
= (int ) 0;
1901 wxString
* _arg6
= (wxString
*) NULL
;
1902 long _arg7
= (long ) 0;
1903 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1904 char * _arg9
= (char *) "choice";
1905 PyObject
* _argo0
= 0;
1906 PyObject
* _argo1
= 0;
1908 PyObject
* _obj3
= 0;
1910 PyObject
* _obj4
= 0;
1911 PyObject
* _obj6
= 0;
1912 PyObject
* _argo8
= 0;
1913 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
1926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
1935 if (! wxPoint_helper(_obj3
, &_arg3
))
1941 if (! wxSize_helper(_obj4
, &_arg4
))
1946 _arg6
= wxString_LIST_helper(_obj6
);
1947 if (_arg6
== NULL
) {
1952 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
1960 _arg5
= PyList_Size(_obj6
);
1967 wxPy_BEGIN_ALLOW_THREADS
;
1968 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1970 wxPy_END_ALLOW_THREADS
;
1971 if (PyErr_Occurred()) return NULL
;
1972 } _resultobj
= Py_BuildValue("i",_result
);
1979 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1980 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1984 PyObject
* _argo0
= 0;
1985 PyObject
* _obj1
= 0;
1986 char *_kwnames
[] = { "self","item", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1999 #if PYTHON_API_VERSION >= 1009
2000 char* tmpPtr
; int tmpSize
;
2001 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2005 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2007 _arg1
= new wxString(tmpPtr
, tmpSize
);
2009 if (!PyString_Check(_obj1
)) {
2010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2013 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 wxChoice_Append(_arg0
,*_arg1
);
2020 wxPy_END_ALLOW_THREADS
;
2021 if (PyErr_Occurred()) return NULL
;
2022 } Py_INCREF(Py_None
);
2023 _resultobj
= Py_None
;
2031 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2032 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
* _resultobj
;
2035 PyObject
* _argo0
= 0;
2036 char *_kwnames
[] = { "self", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2049 wxPy_BEGIN_ALLOW_THREADS
;
2050 wxChoice_Clear(_arg0
);
2052 wxPy_END_ALLOW_THREADS
;
2053 if (PyErr_Occurred()) return NULL
;
2054 } Py_INCREF(Py_None
);
2055 _resultobj
= Py_None
;
2059 #define wxChoice_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2060 static PyObject
*_wrap_wxChoice_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2064 PyObject
* _argo0
= 0;
2065 char *_kwnames
[] = { "self","n", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_Delete",_kwnames
,&_argo0
,&_arg1
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Delete. Expected _wxChoice_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 wxChoice_Delete(_arg0
,_arg1
);
2081 wxPy_END_ALLOW_THREADS
;
2082 if (PyErr_Occurred()) return NULL
;
2083 } Py_INCREF(Py_None
);
2084 _resultobj
= Py_None
;
2088 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2089 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
* _resultobj
;
2094 PyObject
* _argo0
= 0;
2095 PyObject
* _obj1
= 0;
2096 char *_kwnames
[] = { "self","string", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
2102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
2109 #if PYTHON_API_VERSION >= 1009
2110 char* tmpPtr
; int tmpSize
;
2111 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2115 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2117 _arg1
= new wxString(tmpPtr
, tmpSize
);
2119 if (!PyString_Check(_obj1
)) {
2120 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2123 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2127 wxPy_BEGIN_ALLOW_THREADS
;
2128 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
2130 wxPy_END_ALLOW_THREADS
;
2131 if (PyErr_Occurred()) return NULL
;
2132 } _resultobj
= Py_BuildValue("i",_result
);
2140 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2141 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2159 wxPy_BEGIN_ALLOW_THREADS
;
2160 _result
= (int )wxChoice_GetColumns(_arg0
);
2162 wxPy_END_ALLOW_THREADS
;
2163 if (PyErr_Occurred()) return NULL
;
2164 } _resultobj
= Py_BuildValue("i",_result
);
2168 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
2169 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2173 PyObject
* _argo0
= 0;
2174 char *_kwnames
[] = { "self", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 _result
= (int )wxChoice_GetSelection(_arg0
);
2190 wxPy_END_ALLOW_THREADS
;
2191 if (PyErr_Occurred()) return NULL
;
2192 } _resultobj
= Py_BuildValue("i",_result
);
2196 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2197 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2202 PyObject
* _argo0
= 0;
2203 char *_kwnames
[] = { "self","n", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
2216 wxPy_BEGIN_ALLOW_THREADS
;
2217 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
2219 wxPy_END_ALLOW_THREADS
;
2220 if (PyErr_Occurred()) return NULL
;
2222 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2230 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2231 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2235 PyObject
* _argo0
= 0;
2236 char *_kwnames
[] = { "self", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
2252 wxPy_END_ALLOW_THREADS
;
2253 if (PyErr_Occurred()) return NULL
;
2255 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2263 #define wxChoice_GetCount(_swigobj) (_swigobj->GetCount())
2264 static PyObject
*_wrap_wxChoice_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2268 PyObject
* _argo0
= 0;
2269 char *_kwnames
[] = { "self", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetCount",_kwnames
,&_argo0
))
2275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetCount. Expected _wxChoice_p.");
2282 wxPy_BEGIN_ALLOW_THREADS
;
2283 _result
= (int )wxChoice_GetCount(_arg0
);
2285 wxPy_END_ALLOW_THREADS
;
2286 if (PyErr_Occurred()) return NULL
;
2287 } _resultobj
= Py_BuildValue("i",_result
);
2291 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2292 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2295 int _arg1
= (int ) 1;
2296 PyObject
* _argo0
= 0;
2297 char *_kwnames
[] = { "self","n", NULL
};
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 wxChoice_SetColumns(_arg0
,_arg1
);
2313 wxPy_END_ALLOW_THREADS
;
2314 if (PyErr_Occurred()) return NULL
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2321 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2325 PyObject
* _argo0
= 0;
2326 char *_kwnames
[] = { "self","n", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 wxChoice_SetSelection(_arg0
,_arg1
);
2342 wxPy_END_ALLOW_THREADS
;
2343 if (PyErr_Occurred()) return NULL
;
2344 } Py_INCREF(Py_None
);
2345 _resultobj
= Py_None
;
2349 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2350 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2354 PyObject
* _argo0
= 0;
2355 PyObject
* _obj1
= 0;
2356 char *_kwnames
[] = { "self","string", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2369 #if PYTHON_API_VERSION >= 1009
2370 char* tmpPtr
; int tmpSize
;
2371 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2372 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2375 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2377 _arg1
= new wxString(tmpPtr
, tmpSize
);
2379 if (!PyString_Check(_obj1
)) {
2380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2383 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2387 wxPy_BEGIN_ALLOW_THREADS
;
2388 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2390 wxPy_END_ALLOW_THREADS
;
2391 if (PyErr_Occurred()) return NULL
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2401 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2402 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2407 PyObject
* _argo0
= 0;
2408 PyObject
* _obj2
= 0;
2409 char *_kwnames
[] = { "self","n","s", NULL
};
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2422 #if PYTHON_API_VERSION >= 1009
2423 char* tmpPtr
; int tmpSize
;
2424 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2428 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2430 _arg2
= new wxString(tmpPtr
, tmpSize
);
2432 if (!PyString_Check(_obj2
)) {
2433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2436 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2440 wxPy_BEGIN_ALLOW_THREADS
;
2441 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2443 wxPy_END_ALLOW_THREADS
;
2444 if (PyErr_Occurred()) return NULL
;
2445 } Py_INCREF(Py_None
);
2446 _resultobj
= Py_None
;
2454 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2457 src
= (wxComboBox
*) ptr
;
2458 dest
= (wxChoice
*) src
;
2459 return (void *) dest
;
2462 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2465 src
= (wxComboBox
*) ptr
;
2466 dest
= (wxControl
*) src
;
2467 return (void *) dest
;
2470 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2473 src
= (wxComboBox
*) ptr
;
2474 dest
= (wxWindow
*) src
;
2475 return (void *) dest
;
2478 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2481 src
= (wxComboBox
*) ptr
;
2482 dest
= (wxEvtHandler
*) src
;
2483 return (void *) dest
;
2486 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2489 src
= (wxComboBox
*) ptr
;
2490 dest
= (wxObject
*) src
;
2491 return (void *) dest
;
2494 #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))
2495 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2496 PyObject
* _resultobj
;
2497 wxComboBox
* _result
;
2500 char * _arg2
= (char *) "";
2501 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2502 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2503 int _arg5
= (int ) 0;
2504 wxString
* _arg6
= (wxString
*) NULL
;
2505 long _arg7
= (long ) 0;
2506 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2507 char * _arg9
= (char *) "comboBox";
2508 PyObject
* _argo0
= 0;
2510 PyObject
* _obj3
= 0;
2512 PyObject
* _obj4
= 0;
2513 PyObject
* _obj6
= 0;
2514 PyObject
* _argo8
= 0;
2515 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2531 if (! wxPoint_helper(_obj3
, &_arg3
))
2537 if (! wxSize_helper(_obj4
, &_arg4
))
2542 _arg6
= wxString_LIST_helper(_obj6
);
2543 if (_arg6
== NULL
) {
2548 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2549 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2556 _arg5
= PyList_Size(_obj6
);
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2566 wxPy_END_ALLOW_THREADS
;
2567 if (PyErr_Occurred()) return NULL
;
2569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2570 _resultobj
= Py_BuildValue("s",_ptemp
);
2573 _resultobj
= Py_None
;
2581 #define new_wxPreComboBox() (new wxComboBox())
2582 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2584 wxComboBox
* _result
;
2585 char *_kwnames
[] = { NULL
};
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2592 wxPy_BEGIN_ALLOW_THREADS
;
2593 _result
= (wxComboBox
*)new_wxPreComboBox();
2595 wxPy_END_ALLOW_THREADS
;
2596 if (PyErr_Occurred()) return NULL
;
2598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2599 _resultobj
= Py_BuildValue("s",_ptemp
);
2602 _resultobj
= Py_None
;
2607 #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))
2608 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2614 char * _arg3
= (char *) "";
2615 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2616 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2617 int _arg6
= (int ) 0;
2618 wxString
* _arg7
= (wxString
*) NULL
;
2619 long _arg8
= (long ) 0;
2620 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2621 char * _arg10
= (char *) "comboBox";
2622 PyObject
* _argo0
= 0;
2623 PyObject
* _argo1
= 0;
2625 PyObject
* _obj4
= 0;
2627 PyObject
* _obj5
= 0;
2628 PyObject
* _obj7
= 0;
2629 PyObject
* _argo9
= 0;
2630 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2652 if (! wxPoint_helper(_obj4
, &_arg4
))
2658 if (! wxSize_helper(_obj5
, &_arg5
))
2663 _arg7
= wxString_LIST_helper(_obj7
);
2664 if (_arg7
== NULL
) {
2669 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2677 _arg6
= PyList_Size(_obj7
);
2684 wxPy_BEGIN_ALLOW_THREADS
;
2685 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2687 wxPy_END_ALLOW_THREADS
;
2688 if (PyErr_Occurred()) return NULL
;
2689 } _resultobj
= Py_BuildValue("i",_result
);
2696 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
2697 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
* _resultobj
;
2701 PyObject
* _argo0
= 0;
2702 PyObject
* _obj1
= 0;
2703 char *_kwnames
[] = { "self","item", NULL
};
2706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
2709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
2716 #if PYTHON_API_VERSION >= 1009
2717 char* tmpPtr
; int tmpSize
;
2718 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2722 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2724 _arg1
= new wxString(tmpPtr
, tmpSize
);
2726 if (!PyString_Check(_obj1
)) {
2727 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2730 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2734 wxPy_BEGIN_ALLOW_THREADS
;
2735 wxComboBox_Append(_arg0
,*_arg1
);
2737 wxPy_END_ALLOW_THREADS
;
2738 if (PyErr_Occurred()) return NULL
;
2739 } Py_INCREF(Py_None
);
2740 _resultobj
= Py_None
;
2748 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
2749 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
* _resultobj
;
2752 PyObject
* _argo0
= 0;
2753 char *_kwnames
[] = { "self", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
2766 wxPy_BEGIN_ALLOW_THREADS
;
2767 wxComboBox_Clear(_arg0
);
2769 wxPy_END_ALLOW_THREADS
;
2770 if (PyErr_Occurred()) return NULL
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2777 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2780 PyObject
* _argo0
= 0;
2781 char *_kwnames
[] = { "self", NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2794 wxPy_BEGIN_ALLOW_THREADS
;
2795 wxComboBox_Copy(_arg0
);
2797 wxPy_END_ALLOW_THREADS
;
2798 if (PyErr_Occurred()) return NULL
;
2799 } Py_INCREF(Py_None
);
2800 _resultobj
= Py_None
;
2804 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2805 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
* _resultobj
;
2808 PyObject
* _argo0
= 0;
2809 char *_kwnames
[] = { "self", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2822 wxPy_BEGIN_ALLOW_THREADS
;
2823 wxComboBox_Cut(_arg0
);
2825 wxPy_END_ALLOW_THREADS
;
2826 if (PyErr_Occurred()) return NULL
;
2827 } Py_INCREF(Py_None
);
2828 _resultobj
= Py_None
;
2832 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2833 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self","n", NULL
};
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
2844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
2851 wxPy_BEGIN_ALLOW_THREADS
;
2852 wxComboBox_Delete(_arg0
,_arg1
);
2854 wxPy_END_ALLOW_THREADS
;
2855 if (PyErr_Occurred()) return NULL
;
2856 } Py_INCREF(Py_None
);
2857 _resultobj
= Py_None
;
2861 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2862 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
* _resultobj
;
2867 PyObject
* _argo0
= 0;
2868 PyObject
* _obj1
= 0;
2869 char *_kwnames
[] = { "self","string", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2882 #if PYTHON_API_VERSION >= 1009
2883 char* tmpPtr
; int tmpSize
;
2884 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2888 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2890 _arg1
= new wxString(tmpPtr
, tmpSize
);
2892 if (!PyString_Check(_obj1
)) {
2893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2896 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2900 wxPy_BEGIN_ALLOW_THREADS
;
2901 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2903 wxPy_END_ALLOW_THREADS
;
2904 if (PyErr_Occurred()) return NULL
;
2905 } _resultobj
= Py_BuildValue("i",_result
);
2913 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2914 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2918 PyObject
* _argo0
= 0;
2919 char *_kwnames
[] = { "self", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2932 wxPy_BEGIN_ALLOW_THREADS
;
2933 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2935 wxPy_END_ALLOW_THREADS
;
2936 if (PyErr_Occurred()) return NULL
;
2937 } _resultobj
= Py_BuildValue("l",_result
);
2941 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2942 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
* _resultobj
;
2946 PyObject
* _argo0
= 0;
2947 char *_kwnames
[] = { "self", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2960 wxPy_BEGIN_ALLOW_THREADS
;
2961 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2963 wxPy_END_ALLOW_THREADS
;
2964 if (PyErr_Occurred()) return NULL
;
2965 } _resultobj
= Py_BuildValue("l",_result
);
2969 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2970 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 _result
= (int )wxComboBox_GetSelection(_arg0
);
2991 wxPy_END_ALLOW_THREADS
;
2992 if (PyErr_Occurred()) return NULL
;
2993 } _resultobj
= Py_BuildValue("i",_result
);
2997 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2998 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3003 PyObject
* _argo0
= 0;
3004 char *_kwnames
[] = { "self","n", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3017 wxPy_BEGIN_ALLOW_THREADS
;
3018 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3020 wxPy_END_ALLOW_THREADS
;
3021 if (PyErr_Occurred()) return NULL
;
3023 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3031 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3032 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3036 PyObject
* _argo0
= 0;
3037 char *_kwnames
[] = { "self", NULL
};
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3050 wxPy_BEGIN_ALLOW_THREADS
;
3051 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3053 wxPy_END_ALLOW_THREADS
;
3054 if (PyErr_Occurred()) return NULL
;
3056 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3064 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3065 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3069 PyObject
* _argo0
= 0;
3070 char *_kwnames
[] = { "self", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3086 wxPy_END_ALLOW_THREADS
;
3087 if (PyErr_Occurred()) return NULL
;
3089 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3097 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3098 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3101 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3115 wxPy_BEGIN_ALLOW_THREADS
;
3116 wxComboBox_Paste(_arg0
);
3118 wxPy_END_ALLOW_THREADS
;
3119 if (PyErr_Occurred()) return NULL
;
3120 } Py_INCREF(Py_None
);
3121 _resultobj
= Py_None
;
3125 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3126 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3132 PyObject
* _argo0
= 0;
3133 PyObject
* _obj3
= 0;
3134 char *_kwnames
[] = { "self","from","to","text", NULL
};
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3147 #if PYTHON_API_VERSION >= 1009
3148 char* tmpPtr
; int tmpSize
;
3149 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3150 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3153 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3155 _arg3
= new wxString(tmpPtr
, tmpSize
);
3157 if (!PyString_Check(_obj3
)) {
3158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3161 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3168 wxPy_END_ALLOW_THREADS
;
3169 if (PyErr_Occurred()) return NULL
;
3170 } Py_INCREF(Py_None
);
3171 _resultobj
= Py_None
;
3179 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3180 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3185 PyObject
* _argo0
= 0;
3186 char *_kwnames
[] = { "self","from","to", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3199 wxPy_BEGIN_ALLOW_THREADS
;
3200 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3202 wxPy_END_ALLOW_THREADS
;
3203 if (PyErr_Occurred()) return NULL
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3210 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3214 PyObject
* _argo0
= 0;
3215 char *_kwnames
[] = { "self","pos", NULL
};
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3228 wxPy_BEGIN_ALLOW_THREADS
;
3229 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3231 wxPy_END_ALLOW_THREADS
;
3232 if (PyErr_Occurred()) return NULL
;
3233 } Py_INCREF(Py_None
);
3234 _resultobj
= Py_None
;
3238 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3239 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
* _resultobj
;
3242 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3256 wxPy_BEGIN_ALLOW_THREADS
;
3257 wxComboBox_SetInsertionPointEnd(_arg0
);
3259 wxPy_END_ALLOW_THREADS
;
3260 if (PyErr_Occurred()) return NULL
;
3261 } Py_INCREF(Py_None
);
3262 _resultobj
= Py_None
;
3266 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3267 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3271 PyObject
* _argo0
= 0;
3272 char *_kwnames
[] = { "self","n", NULL
};
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3285 wxPy_BEGIN_ALLOW_THREADS
;
3286 wxComboBox_SetSelection(_arg0
,_arg1
);
3288 wxPy_END_ALLOW_THREADS
;
3289 if (PyErr_Occurred()) return NULL
;
3290 } Py_INCREF(Py_None
);
3291 _resultobj
= Py_None
;
3295 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3296 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3301 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "self","from","to", NULL
};
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3315 wxPy_BEGIN_ALLOW_THREADS
;
3316 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3318 wxPy_END_ALLOW_THREADS
;
3319 if (PyErr_Occurred()) return NULL
;
3320 } Py_INCREF(Py_None
);
3321 _resultobj
= Py_None
;
3325 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3326 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3330 PyObject
* _argo0
= 0;
3331 PyObject
* _obj1
= 0;
3332 char *_kwnames
[] = { "self","text", NULL
};
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3345 #if PYTHON_API_VERSION >= 1009
3346 char* tmpPtr
; int tmpSize
;
3347 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3351 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3353 _arg1
= new wxString(tmpPtr
, tmpSize
);
3355 if (!PyString_Check(_obj1
)) {
3356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3359 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3363 wxPy_BEGIN_ALLOW_THREADS
;
3364 wxComboBox_SetValue(_arg0
,*_arg1
);
3366 wxPy_END_ALLOW_THREADS
;
3367 if (PyErr_Occurred()) return NULL
;
3368 } Py_INCREF(Py_None
);
3369 _resultobj
= Py_None
;
3377 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3378 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
* _resultobj
;
3382 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self","editable", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3396 _arg1
= (bool ) tempbool1
;
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 wxComboBox_SetEditable(_arg0
,_arg1
);
3401 wxPy_END_ALLOW_THREADS
;
3402 if (PyErr_Occurred()) return NULL
;
3403 } Py_INCREF(Py_None
);
3404 _resultobj
= Py_None
;
3408 static void *SwigwxGaugeTowxControl(void *ptr
) {
3411 src
= (wxGauge
*) ptr
;
3412 dest
= (wxControl
*) src
;
3413 return (void *) dest
;
3416 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3419 src
= (wxGauge
*) ptr
;
3420 dest
= (wxWindow
*) src
;
3421 return (void *) dest
;
3424 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3427 src
= (wxGauge
*) ptr
;
3428 dest
= (wxEvtHandler
*) src
;
3429 return (void *) dest
;
3432 static void *SwigwxGaugeTowxObject(void *ptr
) {
3435 src
= (wxGauge
*) ptr
;
3436 dest
= (wxObject
*) src
;
3437 return (void *) dest
;
3440 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3441 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3447 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3448 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3449 long _arg5
= (long ) wxGA_HORIZONTAL
;
3450 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3451 char * _arg7
= (char *) "gauge";
3452 PyObject
* _argo0
= 0;
3454 PyObject
* _obj3
= 0;
3456 PyObject
* _obj4
= 0;
3457 PyObject
* _argo6
= 0;
3458 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3474 if (! wxPoint_helper(_obj3
, &_arg3
))
3480 if (! wxSize_helper(_obj4
, &_arg4
))
3484 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3491 wxPy_BEGIN_ALLOW_THREADS
;
3492 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3494 wxPy_END_ALLOW_THREADS
;
3495 if (PyErr_Occurred()) return NULL
;
3497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3498 _resultobj
= Py_BuildValue("s",_ptemp
);
3501 _resultobj
= Py_None
;
3506 #define new_wxPreGauge() (new wxGauge())
3507 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3510 char *_kwnames
[] = { NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3517 wxPy_BEGIN_ALLOW_THREADS
;
3518 _result
= (wxGauge
*)new_wxPreGauge();
3520 wxPy_END_ALLOW_THREADS
;
3521 if (PyErr_Occurred()) return NULL
;
3523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3524 _resultobj
= Py_BuildValue("s",_ptemp
);
3527 _resultobj
= Py_None
;
3532 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3533 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
* _resultobj
;
3540 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3541 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3542 long _arg6
= (long ) wxGA_HORIZONTAL
;
3543 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3544 char * _arg8
= (char *) "gauge";
3545 PyObject
* _argo0
= 0;
3546 PyObject
* _argo1
= 0;
3548 PyObject
* _obj4
= 0;
3550 PyObject
* _obj5
= 0;
3551 PyObject
* _argo7
= 0;
3552 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3574 if (! wxPoint_helper(_obj4
, &_arg4
))
3580 if (! wxSize_helper(_obj5
, &_arg5
))
3584 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3585 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3591 wxPy_BEGIN_ALLOW_THREADS
;
3592 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3594 wxPy_END_ALLOW_THREADS
;
3595 if (PyErr_Occurred()) return NULL
;
3596 } _resultobj
= Py_BuildValue("i",_result
);
3600 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3601 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3602 PyObject
* _resultobj
;
3605 PyObject
* _argo0
= 0;
3606 char *_kwnames
[] = { "self", NULL
};
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3619 wxPy_BEGIN_ALLOW_THREADS
;
3620 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3622 wxPy_END_ALLOW_THREADS
;
3623 if (PyErr_Occurred()) return NULL
;
3624 } _resultobj
= Py_BuildValue("i",_result
);
3628 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3629 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
* _resultobj
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3647 wxPy_BEGIN_ALLOW_THREADS
;
3648 _result
= (int )wxGauge_GetRange(_arg0
);
3650 wxPy_END_ALLOW_THREADS
;
3651 if (PyErr_Occurred()) return NULL
;
3652 } _resultobj
= Py_BuildValue("i",_result
);
3656 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3657 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3661 PyObject
* _argo0
= 0;
3662 char *_kwnames
[] = { "self", NULL
};
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3678 wxPy_END_ALLOW_THREADS
;
3679 if (PyErr_Occurred()) return NULL
;
3680 } _resultobj
= Py_BuildValue("i",_result
);
3684 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3685 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3689 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "self", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 _result
= (int )wxGauge_GetValue(_arg0
);
3706 wxPy_END_ALLOW_THREADS
;
3707 if (PyErr_Occurred()) return NULL
;
3708 } _resultobj
= Py_BuildValue("i",_result
);
3712 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3713 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3717 PyObject
* _argo0
= 0;
3718 char *_kwnames
[] = { "self","width", NULL
};
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3731 wxPy_BEGIN_ALLOW_THREADS
;
3732 wxGauge_SetBezelFace(_arg0
,_arg1
);
3734 wxPy_END_ALLOW_THREADS
;
3735 if (PyErr_Occurred()) return NULL
;
3736 } Py_INCREF(Py_None
);
3737 _resultobj
= Py_None
;
3741 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3742 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3746 PyObject
* _argo0
= 0;
3747 char *_kwnames
[] = { "self","range", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3760 wxPy_BEGIN_ALLOW_THREADS
;
3761 wxGauge_SetRange(_arg0
,_arg1
);
3763 wxPy_END_ALLOW_THREADS
;
3764 if (PyErr_Occurred()) return NULL
;
3765 } Py_INCREF(Py_None
);
3766 _resultobj
= Py_None
;
3770 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3771 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
* _resultobj
;
3775 PyObject
* _argo0
= 0;
3776 char *_kwnames
[] = { "self","width", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3792 wxPy_END_ALLOW_THREADS
;
3793 if (PyErr_Occurred()) return NULL
;
3794 } Py_INCREF(Py_None
);
3795 _resultobj
= Py_None
;
3799 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3800 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3804 PyObject
* _argo0
= 0;
3805 char *_kwnames
[] = { "self","pos", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3818 wxPy_BEGIN_ALLOW_THREADS
;
3819 wxGauge_SetValue(_arg0
,_arg1
);
3821 wxPy_END_ALLOW_THREADS
;
3822 if (PyErr_Occurred()) return NULL
;
3823 } Py_INCREF(Py_None
);
3824 _resultobj
= Py_None
;
3828 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3831 src
= (wxStaticBox
*) ptr
;
3832 dest
= (wxControl
*) src
;
3833 return (void *) dest
;
3836 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3839 src
= (wxStaticBox
*) ptr
;
3840 dest
= (wxWindow
*) src
;
3841 return (void *) dest
;
3844 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3847 src
= (wxStaticBox
*) ptr
;
3848 dest
= (wxEvtHandler
*) src
;
3849 return (void *) dest
;
3852 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3855 src
= (wxStaticBox
*) ptr
;
3856 dest
= (wxObject
*) src
;
3857 return (void *) dest
;
3860 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3861 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3863 wxStaticBox
* _result
;
3867 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3868 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3869 long _arg5
= (long ) 0;
3870 char * _arg6
= (char *) "staticBox";
3871 PyObject
* _argo0
= 0;
3872 PyObject
* _obj2
= 0;
3874 PyObject
* _obj3
= 0;
3876 PyObject
* _obj4
= 0;
3877 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3891 #if PYTHON_API_VERSION >= 1009
3892 char* tmpPtr
; int tmpSize
;
3893 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3897 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3899 _arg2
= new wxString(tmpPtr
, tmpSize
);
3901 if (!PyString_Check(_obj2
)) {
3902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3905 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3911 if (! wxPoint_helper(_obj3
, &_arg3
))
3917 if (! wxSize_helper(_obj4
, &_arg4
))
3921 wxPy_BEGIN_ALLOW_THREADS
;
3922 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3924 wxPy_END_ALLOW_THREADS
;
3925 if (PyErr_Occurred()) return NULL
;
3927 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3928 _resultobj
= Py_BuildValue("s",_ptemp
);
3931 _resultobj
= Py_None
;
3940 #define new_wxPreStaticBox() (new wxStaticBox())
3941 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3943 wxStaticBox
* _result
;
3944 char *_kwnames
[] = { NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3951 wxPy_BEGIN_ALLOW_THREADS
;
3952 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3954 wxPy_END_ALLOW_THREADS
;
3955 if (PyErr_Occurred()) return NULL
;
3957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3958 _resultobj
= Py_BuildValue("s",_ptemp
);
3961 _resultobj
= Py_None
;
3966 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3967 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3970 wxStaticBox
* _arg0
;
3974 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3975 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3976 long _arg6
= (long ) 0;
3977 char * _arg7
= (char *) "staticBox";
3978 PyObject
* _argo0
= 0;
3979 PyObject
* _argo1
= 0;
3980 PyObject
* _obj3
= 0;
3982 PyObject
* _obj4
= 0;
3984 PyObject
* _obj5
= 0;
3985 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4005 #if PYTHON_API_VERSION >= 1009
4006 char* tmpPtr
; int tmpSize
;
4007 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4011 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4013 _arg3
= new wxString(tmpPtr
, tmpSize
);
4015 if (!PyString_Check(_obj3
)) {
4016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4019 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4025 if (! wxPoint_helper(_obj4
, &_arg4
))
4031 if (! wxSize_helper(_obj5
, &_arg5
))
4035 wxPy_BEGIN_ALLOW_THREADS
;
4036 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4038 wxPy_END_ALLOW_THREADS
;
4039 if (PyErr_Occurred()) return NULL
;
4040 } _resultobj
= Py_BuildValue("i",_result
);
4048 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4051 src
= (wxStaticLine
*) ptr
;
4052 dest
= (wxControl
*) src
;
4053 return (void *) dest
;
4056 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4059 src
= (wxStaticLine
*) ptr
;
4060 dest
= (wxWindow
*) src
;
4061 return (void *) dest
;
4064 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4067 src
= (wxStaticLine
*) ptr
;
4068 dest
= (wxEvtHandler
*) src
;
4069 return (void *) dest
;
4072 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4075 src
= (wxStaticLine
*) ptr
;
4076 dest
= (wxObject
*) src
;
4077 return (void *) dest
;
4080 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4081 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4083 wxStaticLine
* _result
;
4086 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4087 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4088 long _arg4
= (long ) wxLI_HORIZONTAL
;
4089 char * _arg5
= (char *) "staticLine";
4090 PyObject
* _argo0
= 0;
4092 PyObject
* _obj2
= 0;
4094 PyObject
* _obj3
= 0;
4095 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4111 if (! wxPoint_helper(_obj2
, &_arg2
))
4117 if (! wxSize_helper(_obj3
, &_arg3
))
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4124 wxPy_END_ALLOW_THREADS
;
4125 if (PyErr_Occurred()) return NULL
;
4127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4128 _resultobj
= Py_BuildValue("s",_ptemp
);
4131 _resultobj
= Py_None
;
4136 #define new_wxPreStaticLine() (new wxStaticLine())
4137 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4139 wxStaticLine
* _result
;
4140 char *_kwnames
[] = { NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4150 wxPy_END_ALLOW_THREADS
;
4151 if (PyErr_Occurred()) return NULL
;
4153 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4154 _resultobj
= Py_BuildValue("s",_ptemp
);
4157 _resultobj
= Py_None
;
4162 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4163 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4166 wxStaticLine
* _arg0
;
4169 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4170 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4171 long _arg5
= (long ) wxLI_HORIZONTAL
;
4172 char * _arg6
= (char *) "staticLine";
4173 PyObject
* _argo0
= 0;
4174 PyObject
* _argo1
= 0;
4176 PyObject
* _obj3
= 0;
4178 PyObject
* _obj4
= 0;
4179 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4192 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4193 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4201 if (! wxPoint_helper(_obj3
, &_arg3
))
4207 if (! wxSize_helper(_obj4
, &_arg4
))
4211 wxPy_BEGIN_ALLOW_THREADS
;
4212 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4214 wxPy_END_ALLOW_THREADS
;
4215 if (PyErr_Occurred()) return NULL
;
4216 } _resultobj
= Py_BuildValue("i",_result
);
4220 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4223 src
= (wxStaticText
*) ptr
;
4224 dest
= (wxControl
*) src
;
4225 return (void *) dest
;
4228 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4231 src
= (wxStaticText
*) ptr
;
4232 dest
= (wxWindow
*) src
;
4233 return (void *) dest
;
4236 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4239 src
= (wxStaticText
*) ptr
;
4240 dest
= (wxEvtHandler
*) src
;
4241 return (void *) dest
;
4244 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4247 src
= (wxStaticText
*) ptr
;
4248 dest
= (wxObject
*) src
;
4249 return (void *) dest
;
4252 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4253 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4255 wxStaticText
* _result
;
4259 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4260 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4261 long _arg5
= (long ) 0;
4262 char * _arg6
= (char *) "staticText";
4263 PyObject
* _argo0
= 0;
4264 PyObject
* _obj2
= 0;
4266 PyObject
* _obj3
= 0;
4268 PyObject
* _obj4
= 0;
4269 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4283 #if PYTHON_API_VERSION >= 1009
4284 char* tmpPtr
; int tmpSize
;
4285 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4289 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4291 _arg2
= new wxString(tmpPtr
, tmpSize
);
4293 if (!PyString_Check(_obj2
)) {
4294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4297 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4303 if (! wxPoint_helper(_obj3
, &_arg3
))
4309 if (! wxSize_helper(_obj4
, &_arg4
))
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4316 wxPy_END_ALLOW_THREADS
;
4317 if (PyErr_Occurred()) return NULL
;
4319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4320 _resultobj
= Py_BuildValue("s",_ptemp
);
4323 _resultobj
= Py_None
;
4332 #define new_wxPreStaticText() (new wxStaticText())
4333 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4335 wxStaticText
* _result
;
4336 char *_kwnames
[] = { NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4343 wxPy_BEGIN_ALLOW_THREADS
;
4344 _result
= (wxStaticText
*)new_wxPreStaticText();
4346 wxPy_END_ALLOW_THREADS
;
4347 if (PyErr_Occurred()) return NULL
;
4349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4350 _resultobj
= Py_BuildValue("s",_ptemp
);
4353 _resultobj
= Py_None
;
4358 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4359 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
* _resultobj
;
4362 wxStaticText
* _arg0
;
4366 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4367 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4368 long _arg6
= (long ) 0;
4369 char * _arg7
= (char *) "staticText";
4370 PyObject
* _argo0
= 0;
4371 PyObject
* _argo1
= 0;
4372 PyObject
* _obj3
= 0;
4374 PyObject
* _obj4
= 0;
4376 PyObject
* _obj5
= 0;
4377 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4397 #if PYTHON_API_VERSION >= 1009
4398 char* tmpPtr
; int tmpSize
;
4399 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4403 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4405 _arg3
= new wxString(tmpPtr
, tmpSize
);
4407 if (!PyString_Check(_obj3
)) {
4408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4411 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4417 if (! wxPoint_helper(_obj4
, &_arg4
))
4423 if (! wxSize_helper(_obj5
, &_arg5
))
4427 wxPy_BEGIN_ALLOW_THREADS
;
4428 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4430 wxPy_END_ALLOW_THREADS
;
4431 if (PyErr_Occurred()) return NULL
;
4432 } _resultobj
= Py_BuildValue("i",_result
);
4440 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4441 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
* _resultobj
;
4444 wxStaticText
* _arg0
;
4445 PyObject
* _argo0
= 0;
4446 char *_kwnames
[] = { "self", NULL
};
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4459 wxPy_BEGIN_ALLOW_THREADS
;
4460 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4462 wxPy_END_ALLOW_THREADS
;
4463 if (PyErr_Occurred()) return NULL
;
4465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4473 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4474 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
* _resultobj
;
4476 wxStaticText
* _arg0
;
4478 PyObject
* _argo0
= 0;
4479 PyObject
* _obj1
= 0;
4480 char *_kwnames
[] = { "self","label", NULL
};
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4493 #if PYTHON_API_VERSION >= 1009
4494 char* tmpPtr
; int tmpSize
;
4495 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4499 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4501 _arg1
= new wxString(tmpPtr
, tmpSize
);
4503 if (!PyString_Check(_obj1
)) {
4504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4507 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4511 wxPy_BEGIN_ALLOW_THREADS
;
4512 wxStaticText_SetLabel(_arg0
,*_arg1
);
4514 wxPy_END_ALLOW_THREADS
;
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4525 static void *SwigwxListBoxTowxControl(void *ptr
) {
4528 src
= (wxListBox
*) ptr
;
4529 dest
= (wxControl
*) src
;
4530 return (void *) dest
;
4533 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4536 src
= (wxListBox
*) ptr
;
4537 dest
= (wxWindow
*) src
;
4538 return (void *) dest
;
4541 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4544 src
= (wxListBox
*) ptr
;
4545 dest
= (wxEvtHandler
*) src
;
4546 return (void *) dest
;
4549 static void *SwigwxListBoxTowxObject(void *ptr
) {
4552 src
= (wxListBox
*) ptr
;
4553 dest
= (wxObject
*) src
;
4554 return (void *) dest
;
4557 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4558 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4560 wxListBox
* _result
;
4563 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4564 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4566 wxString
* _arg5
= (wxString
*) NULL
;
4567 long _arg6
= (long ) 0;
4568 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4569 char * _arg8
= (char *) "listBox";
4570 PyObject
* _argo0
= 0;
4572 PyObject
* _obj2
= 0;
4574 PyObject
* _obj3
= 0;
4575 PyObject
* _obj5
= 0;
4576 PyObject
* _argo7
= 0;
4577 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4593 if (! wxPoint_helper(_obj2
, &_arg2
))
4599 if (! wxSize_helper(_obj3
, &_arg3
))
4604 _arg5
= wxString_LIST_helper(_obj5
);
4605 if (_arg5
== NULL
) {
4610 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4618 _arg4
= PyList_Size(_obj5
);
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4628 wxPy_END_ALLOW_THREADS
;
4629 if (PyErr_Occurred()) return NULL
;
4631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4632 _resultobj
= Py_BuildValue("s",_ptemp
);
4635 _resultobj
= Py_None
;
4643 #define new_wxPreListBox() (new wxListBox())
4644 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
* _resultobj
;
4646 wxListBox
* _result
;
4647 char *_kwnames
[] = { NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4654 wxPy_BEGIN_ALLOW_THREADS
;
4655 _result
= (wxListBox
*)new_wxPreListBox();
4657 wxPy_END_ALLOW_THREADS
;
4658 if (PyErr_Occurred()) return NULL
;
4660 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4661 _resultobj
= Py_BuildValue("s",_ptemp
);
4664 _resultobj
= Py_None
;
4669 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4670 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
* _resultobj
;
4676 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4677 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4679 wxString
* _arg6
= (wxString
*) NULL
;
4680 long _arg7
= (long ) 0;
4681 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4682 char * _arg9
= (char *) "listBox";
4683 PyObject
* _argo0
= 0;
4684 PyObject
* _argo1
= 0;
4686 PyObject
* _obj3
= 0;
4688 PyObject
* _obj4
= 0;
4689 PyObject
* _obj6
= 0;
4690 PyObject
* _argo8
= 0;
4691 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4713 if (! wxPoint_helper(_obj3
, &_arg3
))
4719 if (! wxSize_helper(_obj4
, &_arg4
))
4724 _arg6
= wxString_LIST_helper(_obj6
);
4725 if (_arg6
== NULL
) {
4730 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4731 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4738 _arg5
= PyList_Size(_obj6
);
4745 wxPy_BEGIN_ALLOW_THREADS
;
4746 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4748 wxPy_END_ALLOW_THREADS
;
4749 if (PyErr_Occurred()) return NULL
;
4750 } _resultobj
= Py_BuildValue("i",_result
);
4757 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4758 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
* _resultobj
;
4762 PyObject
* _argo0
= 0;
4763 PyObject
* _obj1
= 0;
4764 char *_kwnames
[] = { "self","item", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
4770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
4777 #if PYTHON_API_VERSION >= 1009
4778 char* tmpPtr
; int tmpSize
;
4779 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4783 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4785 _arg1
= new wxString(tmpPtr
, tmpSize
);
4787 if (!PyString_Check(_obj1
)) {
4788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4791 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4795 wxPy_BEGIN_ALLOW_THREADS
;
4796 wxListBox_Append(_arg0
,*_arg1
);
4798 wxPy_END_ALLOW_THREADS
;
4799 if (PyErr_Occurred()) return NULL
;
4800 } Py_INCREF(Py_None
);
4801 _resultobj
= Py_None
;
4809 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4810 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
* _resultobj
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4827 wxPy_BEGIN_ALLOW_THREADS
;
4828 wxListBox_Clear(_arg0
);
4830 wxPy_END_ALLOW_THREADS
;
4831 if (PyErr_Occurred()) return NULL
;
4832 } Py_INCREF(Py_None
);
4833 _resultobj
= Py_None
;
4837 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4838 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4842 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self","n", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 wxListBox_Delete(_arg0
,_arg1
);
4859 wxPy_END_ALLOW_THREADS
;
4860 if (PyErr_Occurred()) return NULL
;
4861 } Py_INCREF(Py_None
);
4862 _resultobj
= Py_None
;
4866 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4867 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self","n", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 wxListBox_Deselect(_arg0
,_arg1
);
4888 wxPy_END_ALLOW_THREADS
;
4889 if (PyErr_Occurred()) return NULL
;
4890 } Py_INCREF(Py_None
);
4891 _resultobj
= Py_None
;
4895 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
4896 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4901 PyObject
* _argo0
= 0;
4902 PyObject
* _obj1
= 0;
4903 char *_kwnames
[] = { "self","string", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
4916 #if PYTHON_API_VERSION >= 1009
4917 char* tmpPtr
; int tmpSize
;
4918 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4919 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4922 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4924 _arg1
= new wxString(tmpPtr
, tmpSize
);
4926 if (!PyString_Check(_obj1
)) {
4927 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4930 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4934 wxPy_BEGIN_ALLOW_THREADS
;
4935 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
4937 wxPy_END_ALLOW_THREADS
;
4938 if (PyErr_Occurred()) return NULL
;
4939 } _resultobj
= Py_BuildValue("i",_result
);
4947 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
4948 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
* _resultobj
;
4952 PyObject
* _argo0
= 0;
4953 char *_kwnames
[] = { "self", NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
4959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 _result
= (int )wxListBox_GetSelection(_arg0
);
4969 wxPy_END_ALLOW_THREADS
;
4970 if (PyErr_Occurred()) return NULL
;
4971 } _resultobj
= Py_BuildValue("i",_result
);
4975 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4977 self
->GetSelections(lst
);
4978 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4979 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4980 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4984 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4988 PyObject
* _argo0
= 0;
4989 char *_kwnames
[] = { "self", NULL
};
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5002 wxPy_BEGIN_ALLOW_THREADS
;
5003 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
5005 wxPy_END_ALLOW_THREADS
;
5006 if (PyErr_Occurred()) return NULL
;
5008 _resultobj
= _result
;
5013 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5014 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
* _resultobj
;
5020 PyObject
* _argo0
= 0;
5021 PyObject
* _obj2
= 0;
5022 char *_kwnames
[] = { "self","choices","pos", NULL
};
5025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5035 _arg2
= wxString_LIST_helper(_obj2
);
5036 if (_arg2
== NULL
) {
5042 _arg1
= PyList_Size(_obj2
);
5049 wxPy_BEGIN_ALLOW_THREADS
;
5050 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5052 wxPy_END_ALLOW_THREADS
;
5053 if (PyErr_Occurred()) return NULL
;
5054 } Py_INCREF(Py_None
);
5055 _resultobj
= Py_None
;
5062 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
5063 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self","n", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
5085 wxPy_END_ALLOW_THREADS
;
5086 if (PyErr_Occurred()) return NULL
;
5088 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5096 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5097 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
* _resultobj
;
5101 PyObject
* _argo0
= 0;
5102 char *_kwnames
[] = { "self", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
5118 wxPy_END_ALLOW_THREADS
;
5119 if (PyErr_Occurred()) return NULL
;
5121 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5129 #define wxListBox_GetCount(_swigobj) (_swigobj->GetCount())
5130 static PyObject
*_wrap_wxListBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5134 PyObject
* _argo0
= 0;
5135 char *_kwnames
[] = { "self", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetCount",_kwnames
,&_argo0
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetCount. Expected _wxListBox_p.");
5148 wxPy_BEGIN_ALLOW_THREADS
;
5149 _result
= (int )wxListBox_GetCount(_arg0
);
5151 wxPy_END_ALLOW_THREADS
;
5152 if (PyErr_Occurred()) return NULL
;
5153 } _resultobj
= Py_BuildValue("i",_result
);
5157 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5158 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5163 PyObject
* _argo0
= 0;
5164 char *_kwnames
[] = { "self","n", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5177 wxPy_BEGIN_ALLOW_THREADS
;
5178 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5180 wxPy_END_ALLOW_THREADS
;
5181 if (PyErr_Occurred()) return NULL
;
5182 } _resultobj
= Py_BuildValue("i",_result
);
5186 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5187 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5192 PyObject
* _argo0
= 0;
5193 char *_kwnames
[] = { "self","n", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5206 wxPy_BEGIN_ALLOW_THREADS
;
5207 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5209 wxPy_END_ALLOW_THREADS
;
5210 if (PyErr_Occurred()) return NULL
;
5211 } _resultobj
= Py_BuildValue("i",_result
);
5215 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5216 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5221 PyObject
* _argo0
= 0;
5222 PyObject
* _obj2
= 0;
5223 char *_kwnames
[] = { "self","choices", NULL
};
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5237 _arg2
= wxString_LIST_helper(_obj2
);
5238 if (_arg2
== NULL
) {
5244 _arg1
= PyList_Size(_obj2
);
5251 wxPy_BEGIN_ALLOW_THREADS
;
5252 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5254 wxPy_END_ALLOW_THREADS
;
5255 if (PyErr_Occurred()) return NULL
;
5256 } Py_INCREF(Py_None
);
5257 _resultobj
= Py_None
;
5264 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5265 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5269 PyObject
* _argo0
= 0;
5270 char *_kwnames
[] = { "self","n", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5283 wxPy_BEGIN_ALLOW_THREADS
;
5284 wxListBox_SetFirstItem(_arg0
,_arg1
);
5286 wxPy_END_ALLOW_THREADS
;
5287 if (PyErr_Occurred()) return NULL
;
5288 } Py_INCREF(Py_None
);
5289 _resultobj
= Py_None
;
5293 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5294 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5298 PyObject
* _argo0
= 0;
5299 PyObject
* _obj1
= 0;
5300 char *_kwnames
[] = { "self","string", NULL
};
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5313 #if PYTHON_API_VERSION >= 1009
5314 char* tmpPtr
; int tmpSize
;
5315 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5316 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5319 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5321 _arg1
= new wxString(tmpPtr
, tmpSize
);
5323 if (!PyString_Check(_obj1
)) {
5324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5327 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5331 wxPy_BEGIN_ALLOW_THREADS
;
5332 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5334 wxPy_END_ALLOW_THREADS
;
5335 if (PyErr_Occurred()) return NULL
;
5336 } Py_INCREF(Py_None
);
5337 _resultobj
= Py_None
;
5345 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5346 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5347 PyObject
* _resultobj
;
5350 bool _arg2
= (bool ) TRUE
;
5351 PyObject
* _argo0
= 0;
5352 int tempbool2
= (int) TRUE
;
5353 char *_kwnames
[] = { "self","n","select", NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5365 _arg2
= (bool ) tempbool2
;
5367 wxPy_BEGIN_ALLOW_THREADS
;
5368 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5370 wxPy_END_ALLOW_THREADS
;
5371 if (PyErr_Occurred()) return NULL
;
5372 } Py_INCREF(Py_None
);
5373 _resultobj
= Py_None
;
5377 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5378 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
* _resultobj
;
5383 PyObject
* _argo0
= 0;
5384 PyObject
* _obj2
= 0;
5385 char *_kwnames
[] = { "self","n","string", NULL
};
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5398 #if PYTHON_API_VERSION >= 1009
5399 char* tmpPtr
; int tmpSize
;
5400 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5404 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5406 _arg2
= new wxString(tmpPtr
, tmpSize
);
5408 if (!PyString_Check(_obj2
)) {
5409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5412 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5419 wxPy_END_ALLOW_THREADS
;
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5430 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5431 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5435 bool _arg2
= (bool ) TRUE
;
5436 PyObject
* _argo0
= 0;
5437 PyObject
* _obj1
= 0;
5438 int tempbool2
= (int) TRUE
;
5439 char *_kwnames
[] = { "self","string","select", NULL
};
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5452 #if PYTHON_API_VERSION >= 1009
5453 char* tmpPtr
; int tmpSize
;
5454 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5455 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5458 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5460 _arg1
= new wxString(tmpPtr
, tmpSize
);
5462 if (!PyString_Check(_obj1
)) {
5463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5466 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5469 _arg2
= (bool ) tempbool2
;
5471 wxPy_BEGIN_ALLOW_THREADS
;
5472 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5474 wxPy_END_ALLOW_THREADS
;
5475 if (PyErr_Occurred()) return NULL
;
5476 } Py_INCREF(Py_None
);
5477 _resultobj
= Py_None
;
5485 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5486 wxCheckListBox
*src
;
5488 src
= (wxCheckListBox
*) ptr
;
5489 dest
= (wxListBox
*) src
;
5490 return (void *) dest
;
5493 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5494 wxCheckListBox
*src
;
5496 src
= (wxCheckListBox
*) ptr
;
5497 dest
= (wxControl
*) src
;
5498 return (void *) dest
;
5501 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5502 wxCheckListBox
*src
;
5504 src
= (wxCheckListBox
*) ptr
;
5505 dest
= (wxWindow
*) src
;
5506 return (void *) dest
;
5509 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5510 wxCheckListBox
*src
;
5512 src
= (wxCheckListBox
*) ptr
;
5513 dest
= (wxEvtHandler
*) src
;
5514 return (void *) dest
;
5517 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5518 wxCheckListBox
*src
;
5520 src
= (wxCheckListBox
*) ptr
;
5521 dest
= (wxObject
*) src
;
5522 return (void *) dest
;
5525 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5526 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5528 wxCheckListBox
* _result
;
5531 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5532 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5533 int _arg4
= (int ) 0;
5534 wxString
* _arg5
= (wxString
*) NULL
;
5535 long _arg6
= (long ) 0;
5536 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5537 char * _arg8
= (char *) "listBox";
5538 PyObject
* _argo0
= 0;
5540 PyObject
* _obj2
= 0;
5542 PyObject
* _obj3
= 0;
5543 PyObject
* _obj5
= 0;
5544 PyObject
* _argo7
= 0;
5545 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5561 if (! wxPoint_helper(_obj2
, &_arg2
))
5567 if (! wxSize_helper(_obj3
, &_arg3
))
5572 _arg5
= wxString_LIST_helper(_obj5
);
5573 if (_arg5
== NULL
) {
5578 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5586 _arg4
= PyList_Size(_obj5
);
5593 wxPy_BEGIN_ALLOW_THREADS
;
5594 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5596 wxPy_END_ALLOW_THREADS
;
5597 if (PyErr_Occurred()) return NULL
;
5599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5600 _resultobj
= Py_BuildValue("s",_ptemp
);
5603 _resultobj
= Py_None
;
5611 #define new_wxPreCheckListBox() (new wxCheckListBox())
5612 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
* _resultobj
;
5614 wxCheckListBox
* _result
;
5615 char *_kwnames
[] = { NULL
};
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5622 wxPy_BEGIN_ALLOW_THREADS
;
5623 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5625 wxPy_END_ALLOW_THREADS
;
5626 if (PyErr_Occurred()) return NULL
;
5628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5629 _resultobj
= Py_BuildValue("s",_ptemp
);
5632 _resultobj
= Py_None
;
5637 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5638 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5641 wxCheckListBox
* _arg0
;
5644 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5645 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5646 int _arg5
= (int ) 0;
5647 wxString
* _arg6
= (wxString
*) NULL
;
5648 long _arg7
= (long ) 0;
5649 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5650 char * _arg9
= (char *) "listBox";
5651 PyObject
* _argo0
= 0;
5652 PyObject
* _argo1
= 0;
5654 PyObject
* _obj3
= 0;
5656 PyObject
* _obj4
= 0;
5657 PyObject
* _obj6
= 0;
5658 PyObject
* _argo8
= 0;
5659 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5672 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5681 if (! wxPoint_helper(_obj3
, &_arg3
))
5687 if (! wxSize_helper(_obj4
, &_arg4
))
5692 _arg6
= wxString_LIST_helper(_obj6
);
5693 if (_arg6
== NULL
) {
5698 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5699 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5706 _arg5
= PyList_Size(_obj6
);
5713 wxPy_BEGIN_ALLOW_THREADS
;
5714 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5716 wxPy_END_ALLOW_THREADS
;
5717 if (PyErr_Occurred()) return NULL
;
5718 } _resultobj
= Py_BuildValue("i",_result
);
5725 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5726 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
* _resultobj
;
5729 wxCheckListBox
* _arg0
;
5731 PyObject
* _argo0
= 0;
5732 char *_kwnames
[] = { "self","uiIndex", NULL
};
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5745 wxPy_BEGIN_ALLOW_THREADS
;
5746 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5748 wxPy_END_ALLOW_THREADS
;
5749 if (PyErr_Occurred()) return NULL
;
5750 } _resultobj
= Py_BuildValue("i",_result
);
5754 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5755 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
* _resultobj
;
5757 wxCheckListBox
* _arg0
;
5759 int _arg2
= (int ) TRUE
;
5760 PyObject
* _argo0
= 0;
5761 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5774 wxPy_BEGIN_ALLOW_THREADS
;
5775 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5777 wxPy_END_ALLOW_THREADS
;
5778 if (PyErr_Occurred()) return NULL
;
5779 } Py_INCREF(Py_None
);
5780 _resultobj
= Py_None
;
5784 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5785 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
* _resultobj
;
5787 wxCheckListBox
* _arg0
;
5791 PyObject
* _argo0
= 0;
5792 PyObject
* _obj2
= 0;
5793 char *_kwnames
[] = { "self","choices","pos", NULL
};
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5806 _arg2
= wxString_LIST_helper(_obj2
);
5807 if (_arg2
== NULL
) {
5813 _arg1
= PyList_Size(_obj2
);
5820 wxPy_BEGIN_ALLOW_THREADS
;
5821 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5823 wxPy_END_ALLOW_THREADS
;
5824 if (PyErr_Occurred()) return NULL
;
5825 } Py_INCREF(Py_None
);
5826 _resultobj
= Py_None
;
5833 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5834 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5837 wxCheckListBox
* _arg0
;
5838 PyObject
* _argo0
= 0;
5839 char *_kwnames
[] = { "self", NULL
};
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5852 wxPy_BEGIN_ALLOW_THREADS
;
5853 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5855 wxPy_END_ALLOW_THREADS
;
5856 if (PyErr_Occurred()) return NULL
;
5857 } _resultobj
= Py_BuildValue("i",_result
);
5861 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5862 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
* _resultobj
;
5864 wxTextAttr
* _result
;
5865 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5866 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5867 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5869 PyObject
* _obj0
= 0;
5871 PyObject
* _obj1
= 0;
5872 PyObject
* _argo2
= 0;
5873 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5882 if (! wxColour_helper(_obj0
, &_arg0
))
5888 if (! wxColour_helper(_obj1
, &_arg1
))
5892 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5893 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5899 wxPy_BEGIN_ALLOW_THREADS
;
5900 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5902 wxPy_END_ALLOW_THREADS
;
5903 if (PyErr_Occurred()) return NULL
;
5905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5906 _resultobj
= Py_BuildValue("s",_ptemp
);
5909 _resultobj
= Py_None
;
5914 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5915 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5932 wxPy_BEGIN_ALLOW_THREADS
;
5933 delete_wxTextAttr(_arg0
);
5935 wxPy_END_ALLOW_THREADS
;
5936 if (PyErr_Occurred()) return NULL
;
5937 } Py_INCREF(Py_None
);
5938 _resultobj
= Py_None
;
5942 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5943 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
* _resultobj
;
5947 PyObject
* _argo0
= 0;
5949 PyObject
* _obj1
= 0;
5950 char *_kwnames
[] = { "self","colText", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5964 if (! wxColour_helper(_obj1
, &_arg1
))
5968 wxPy_BEGIN_ALLOW_THREADS
;
5969 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5971 wxPy_END_ALLOW_THREADS
;
5972 if (PyErr_Occurred()) return NULL
;
5973 } Py_INCREF(Py_None
);
5974 _resultobj
= Py_None
;
5978 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5979 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
* _resultobj
;
5983 PyObject
* _argo0
= 0;
5985 PyObject
* _obj1
= 0;
5986 char *_kwnames
[] = { "self","colBack", NULL
};
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6000 if (! wxColour_helper(_obj1
, &_arg1
))
6004 wxPy_BEGIN_ALLOW_THREADS
;
6005 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
6007 wxPy_END_ALLOW_THREADS
;
6008 if (PyErr_Occurred()) return NULL
;
6009 } Py_INCREF(Py_None
);
6010 _resultobj
= Py_None
;
6014 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6015 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6016 PyObject
* _resultobj
;
6019 PyObject
* _argo0
= 0;
6020 PyObject
* _argo1
= 0;
6021 char *_kwnames
[] = { "self","font", NULL
};
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
6027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6041 wxPy_BEGIN_ALLOW_THREADS
;
6042 wxTextAttr_SetFont(_arg0
,*_arg1
);
6044 wxPy_END_ALLOW_THREADS
;
6045 if (PyErr_Occurred()) return NULL
;
6046 } Py_INCREF(Py_None
);
6047 _resultobj
= Py_None
;
6051 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6052 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6056 PyObject
* _argo0
= 0;
6057 char *_kwnames
[] = { "self", NULL
};
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6070 wxPy_BEGIN_ALLOW_THREADS
;
6071 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6073 wxPy_END_ALLOW_THREADS
;
6074 if (PyErr_Occurred()) return NULL
;
6075 } _resultobj
= Py_BuildValue("i",_result
);
6079 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6080 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6084 PyObject
* _argo0
= 0;
6085 char *_kwnames
[] = { "self", NULL
};
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6098 wxPy_BEGIN_ALLOW_THREADS
;
6099 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6101 wxPy_END_ALLOW_THREADS
;
6102 if (PyErr_Occurred()) return NULL
;
6103 } _resultobj
= Py_BuildValue("i",_result
);
6107 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6108 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6129 wxPy_END_ALLOW_THREADS
;
6130 if (PyErr_Occurred()) return NULL
;
6131 } _resultobj
= Py_BuildValue("i",_result
);
6135 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6136 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6140 PyObject
* _argo0
= 0;
6141 char *_kwnames
[] = { "self", NULL
};
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6155 wxPy_BEGIN_ALLOW_THREADS
;
6156 const wxColour
& _result_ref
= wxTextAttr_GetTextColour(_arg0
);
6157 _result
= (wxColour
*) &_result_ref
;
6159 wxPy_END_ALLOW_THREADS
;
6160 if (PyErr_Occurred()) return NULL
;
6162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6163 _resultobj
= Py_BuildValue("s",_ptemp
);
6166 _resultobj
= Py_None
;
6171 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6172 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6176 PyObject
* _argo0
= 0;
6177 char *_kwnames
[] = { "self", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6191 wxPy_BEGIN_ALLOW_THREADS
;
6192 const wxColour
& _result_ref
= wxTextAttr_GetBackgroundColour(_arg0
);
6193 _result
= (wxColour
*) &_result_ref
;
6195 wxPy_END_ALLOW_THREADS
;
6196 if (PyErr_Occurred()) return NULL
;
6198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6199 _resultobj
= Py_BuildValue("s",_ptemp
);
6202 _resultobj
= Py_None
;
6207 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6208 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
* _resultobj
;
6212 PyObject
* _argo0
= 0;
6213 char *_kwnames
[] = { "self", NULL
};
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6227 wxPy_BEGIN_ALLOW_THREADS
;
6228 const wxFont
& _result_ref
= wxTextAttr_GetFont(_arg0
);
6229 _result
= (wxFont
*) &_result_ref
;
6231 wxPy_END_ALLOW_THREADS
;
6232 if (PyErr_Occurred()) return NULL
;
6234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6235 _resultobj
= Py_BuildValue("s",_ptemp
);
6238 _resultobj
= Py_None
;
6243 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6246 src
= (wxTextCtrl
*) ptr
;
6247 dest
= (wxControl
*) src
;
6248 return (void *) dest
;
6251 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6254 src
= (wxTextCtrl
*) ptr
;
6255 dest
= (wxWindow
*) src
;
6256 return (void *) dest
;
6259 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6262 src
= (wxTextCtrl
*) ptr
;
6263 dest
= (wxEvtHandler
*) src
;
6264 return (void *) dest
;
6267 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6270 src
= (wxTextCtrl
*) ptr
;
6271 dest
= (wxObject
*) src
;
6272 return (void *) dest
;
6275 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6276 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6278 wxTextCtrl
* _result
;
6281 char * _arg2
= (char *) "";
6282 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6283 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6284 long _arg5
= (long ) 0;
6285 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6286 char * _arg7
= (char *) "text";
6287 PyObject
* _argo0
= 0;
6289 PyObject
* _obj3
= 0;
6291 PyObject
* _obj4
= 0;
6292 PyObject
* _argo6
= 0;
6293 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6309 if (! wxPoint_helper(_obj3
, &_arg3
))
6315 if (! wxSize_helper(_obj4
, &_arg4
))
6319 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6329 wxPy_END_ALLOW_THREADS
;
6330 if (PyErr_Occurred()) return NULL
;
6332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6333 _resultobj
= Py_BuildValue("s",_ptemp
);
6336 _resultobj
= Py_None
;
6341 #define new_wxPreTextCtrl() (new wxTextCtrl())
6342 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
* _resultobj
;
6344 wxTextCtrl
* _result
;
6345 char *_kwnames
[] = { NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6355 wxPy_END_ALLOW_THREADS
;
6356 if (PyErr_Occurred()) return NULL
;
6358 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6359 _resultobj
= Py_BuildValue("s",_ptemp
);
6362 _resultobj
= Py_None
;
6367 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6368 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6374 char * _arg3
= (char *) "";
6375 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6376 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6377 long _arg6
= (long ) 0;
6378 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6379 char * _arg8
= (char *) "text";
6380 PyObject
* _argo0
= 0;
6381 PyObject
* _argo1
= 0;
6383 PyObject
* _obj4
= 0;
6385 PyObject
* _obj5
= 0;
6386 PyObject
* _argo7
= 0;
6387 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6400 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6401 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6409 if (! wxPoint_helper(_obj4
, &_arg4
))
6415 if (! wxSize_helper(_obj5
, &_arg5
))
6419 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6420 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6429 wxPy_END_ALLOW_THREADS
;
6430 if (PyErr_Occurred()) return NULL
;
6431 } _resultobj
= Py_BuildValue("i",_result
);
6435 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6436 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6453 wxPy_BEGIN_ALLOW_THREADS
;
6454 wxTextCtrl_Clear(_arg0
);
6456 wxPy_END_ALLOW_THREADS
;
6457 if (PyErr_Occurred()) return NULL
;
6458 } Py_INCREF(Py_None
);
6459 _resultobj
= Py_None
;
6463 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
6464 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6467 PyObject
* _argo0
= 0;
6468 char *_kwnames
[] = { "self", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
6474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
6481 wxPy_BEGIN_ALLOW_THREADS
;
6482 wxTextCtrl_Copy(_arg0
);
6484 wxPy_END_ALLOW_THREADS
;
6485 if (PyErr_Occurred()) return NULL
;
6486 } Py_INCREF(Py_None
);
6487 _resultobj
= Py_None
;
6491 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
6492 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
6509 wxPy_BEGIN_ALLOW_THREADS
;
6510 wxTextCtrl_Cut(_arg0
);
6512 wxPy_END_ALLOW_THREADS
;
6513 if (PyErr_Occurred()) return NULL
;
6514 } Py_INCREF(Py_None
);
6515 _resultobj
= Py_None
;
6519 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6520 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6523 PyObject
* _argo0
= 0;
6524 char *_kwnames
[] = { "self", NULL
};
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6537 wxPy_BEGIN_ALLOW_THREADS
;
6538 wxTextCtrl_DiscardEdits(_arg0
);
6540 wxPy_END_ALLOW_THREADS
;
6541 if (PyErr_Occurred()) return NULL
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6547 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
6548 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self", NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
6559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
6566 wxPy_BEGIN_ALLOW_THREADS
;
6567 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
6569 wxPy_END_ALLOW_THREADS
;
6570 if (PyErr_Occurred()) return NULL
;
6571 } _resultobj
= Py_BuildValue("l",_result
);
6575 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
6576 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "self", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
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_GetLastPosition. Expected _wxTextCtrl_p.");
6594 wxPy_BEGIN_ALLOW_THREADS
;
6595 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
6597 wxPy_END_ALLOW_THREADS
;
6598 if (PyErr_Occurred()) return NULL
;
6599 } _resultobj
= Py_BuildValue("l",_result
);
6603 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6604 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
* _resultobj
;
6609 PyObject
* _argo0
= 0;
6610 char *_kwnames
[] = { "self","lineNo", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6623 wxPy_BEGIN_ALLOW_THREADS
;
6624 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6626 wxPy_END_ALLOW_THREADS
;
6627 if (PyErr_Occurred()) return NULL
;
6628 } _resultobj
= Py_BuildValue("i",_result
);
6632 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6633 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
* _resultobj
;
6638 PyObject
* _argo0
= 0;
6639 char *_kwnames
[] = { "self","lineNo", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6652 wxPy_BEGIN_ALLOW_THREADS
;
6653 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6655 wxPy_END_ALLOW_THREADS
;
6656 if (PyErr_Occurred()) return NULL
;
6658 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6666 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6667 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
* _resultobj
;
6671 PyObject
* _argo0
= 0;
6672 char *_kwnames
[] = { "self", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6685 wxPy_BEGIN_ALLOW_THREADS
;
6686 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6688 wxPy_END_ALLOW_THREADS
;
6689 if (PyErr_Occurred()) return NULL
;
6690 } _resultobj
= Py_BuildValue("i",_result
);
6694 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6695 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
* _resultobj
;
6699 PyObject
* _argo0
= 0;
6700 char *_kwnames
[] = { "self", NULL
};
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6713 wxPy_BEGIN_ALLOW_THREADS
;
6714 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6716 wxPy_END_ALLOW_THREADS
;
6717 if (PyErr_Occurred()) return NULL
;
6719 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6727 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6728 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6746 wxPy_BEGIN_ALLOW_THREADS
;
6747 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6749 wxPy_END_ALLOW_THREADS
;
6750 if (PyErr_Occurred()) return NULL
;
6751 } _resultobj
= Py_BuildValue("i",_result
);
6755 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6756 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6761 PyObject
* _argo0
= 0;
6762 PyObject
* _obj1
= 0;
6763 char *_kwnames
[] = { "self","filename", NULL
};
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6776 #if PYTHON_API_VERSION >= 1009
6777 char* tmpPtr
; int tmpSize
;
6778 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6782 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6784 _arg1
= new wxString(tmpPtr
, tmpSize
);
6786 if (!PyString_Check(_obj1
)) {
6787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6790 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6794 wxPy_BEGIN_ALLOW_THREADS
;
6795 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6797 wxPy_END_ALLOW_THREADS
;
6798 if (PyErr_Occurred()) return NULL
;
6799 } _resultobj
= Py_BuildValue("i",_result
);
6807 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
6808 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6811 PyObject
* _argo0
= 0;
6812 char *_kwnames
[] = { "self", NULL
};
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
6818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
6825 wxPy_BEGIN_ALLOW_THREADS
;
6826 wxTextCtrl_Paste(_arg0
);
6828 wxPy_END_ALLOW_THREADS
;
6829 if (PyErr_Occurred()) return NULL
;
6830 } Py_INCREF(Py_None
);
6831 _resultobj
= Py_None
;
6835 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6836 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
* _resultobj
;
6844 PyObject
* _argo0
= 0;
6845 char *_kwnames
[] = { "self","pos", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6864 wxPy_BEGIN_ALLOW_THREADS
;
6865 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
6867 wxPy_END_ALLOW_THREADS
;
6868 if (PyErr_Occurred()) return NULL
;
6869 } Py_INCREF(Py_None
);
6870 _resultobj
= Py_None
;
6873 o
= PyInt_FromLong((long) (*_arg2
));
6874 _resultobj
= t_output_helper(_resultobj
, o
);
6878 o
= PyInt_FromLong((long) (*_arg3
));
6879 _resultobj
= t_output_helper(_resultobj
, o
);
6884 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6885 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6890 PyObject
* _argo0
= 0;
6891 char *_kwnames
[] = { "self","from","to", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6904 wxPy_BEGIN_ALLOW_THREADS
;
6905 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6907 wxPy_END_ALLOW_THREADS
;
6908 if (PyErr_Occurred()) return NULL
;
6909 } Py_INCREF(Py_None
);
6910 _resultobj
= Py_None
;
6914 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6915 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
* _resultobj
;
6921 PyObject
* _argo0
= 0;
6922 PyObject
* _obj3
= 0;
6923 char *_kwnames
[] = { "self","from","to","value", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6936 #if PYTHON_API_VERSION >= 1009
6937 char* tmpPtr
; int tmpSize
;
6938 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6942 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6944 _arg3
= new wxString(tmpPtr
, tmpSize
);
6946 if (!PyString_Check(_obj3
)) {
6947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6950 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6954 wxPy_BEGIN_ALLOW_THREADS
;
6955 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6957 wxPy_END_ALLOW_THREADS
;
6958 if (PyErr_Occurred()) return NULL
;
6959 } Py_INCREF(Py_None
);
6960 _resultobj
= Py_None
;
6968 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6969 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
* _resultobj
;
6974 PyObject
* _argo0
= 0;
6975 PyObject
* _obj1
= 0;
6976 char *_kwnames
[] = { "self","filename", NULL
};
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6989 #if PYTHON_API_VERSION >= 1009
6990 char* tmpPtr
; int tmpSize
;
6991 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6992 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6995 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6997 _arg1
= new wxString(tmpPtr
, tmpSize
);
6999 if (!PyString_Check(_obj1
)) {
7000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7003 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7007 wxPy_BEGIN_ALLOW_THREADS
;
7008 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
7010 wxPy_END_ALLOW_THREADS
;
7011 if (PyErr_Occurred()) return NULL
;
7012 } _resultobj
= Py_BuildValue("i",_result
);
7020 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7021 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7025 PyObject
* _argo0
= 0;
7027 char *_kwnames
[] = { "self","editable", NULL
};
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7039 _arg1
= (bool ) tempbool1
;
7041 wxPy_BEGIN_ALLOW_THREADS
;
7042 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7044 wxPy_END_ALLOW_THREADS
;
7045 if (PyErr_Occurred()) return NULL
;
7046 } Py_INCREF(Py_None
);
7047 _resultobj
= Py_None
;
7051 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7052 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
* _resultobj
;
7056 PyObject
* _argo0
= 0;
7057 char *_kwnames
[] = { "self","pos", NULL
};
7060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7070 wxPy_BEGIN_ALLOW_THREADS
;
7071 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7073 wxPy_END_ALLOW_THREADS
;
7074 if (PyErr_Occurred()) return NULL
;
7075 } Py_INCREF(Py_None
);
7076 _resultobj
= Py_None
;
7080 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7081 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
* _resultobj
;
7084 PyObject
* _argo0
= 0;
7085 char *_kwnames
[] = { "self", NULL
};
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7098 wxPy_BEGIN_ALLOW_THREADS
;
7099 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7101 wxPy_END_ALLOW_THREADS
;
7102 if (PyErr_Occurred()) return NULL
;
7103 } Py_INCREF(Py_None
);
7104 _resultobj
= Py_None
;
7108 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7109 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
* _resultobj
;
7114 PyObject
* _argo0
= 0;
7115 char *_kwnames
[] = { "self","from","to", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7128 wxPy_BEGIN_ALLOW_THREADS
;
7129 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7131 wxPy_END_ALLOW_THREADS
;
7132 if (PyErr_Occurred()) return NULL
;
7133 } Py_INCREF(Py_None
);
7134 _resultobj
= Py_None
;
7138 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7139 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7143 PyObject
* _argo0
= 0;
7144 PyObject
* _obj1
= 0;
7145 char *_kwnames
[] = { "self","value", NULL
};
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
7151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
7158 #if PYTHON_API_VERSION >= 1009
7159 char* tmpPtr
; int tmpSize
;
7160 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7164 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7166 _arg1
= new wxString(tmpPtr
, tmpSize
);
7168 if (!PyString_Check(_obj1
)) {
7169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7172 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7176 wxPy_BEGIN_ALLOW_THREADS
;
7177 wxTextCtrl_SetValue(_arg0
,*_arg1
);
7179 wxPy_END_ALLOW_THREADS
;
7180 if (PyErr_Occurred()) return NULL
;
7181 } Py_INCREF(Py_None
);
7182 _resultobj
= Py_None
;
7190 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7191 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7195 PyObject
* _argo0
= 0;
7196 char *_kwnames
[] = { "self","pos", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7209 wxPy_BEGIN_ALLOW_THREADS
;
7210 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7212 wxPy_END_ALLOW_THREADS
;
7213 if (PyErr_Occurred()) return NULL
;
7214 } Py_INCREF(Py_None
);
7215 _resultobj
= Py_None
;
7219 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7220 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
* _resultobj
;
7224 PyObject
* _argo0
= 0;
7225 PyObject
* _obj1
= 0;
7226 char *_kwnames
[] = { "self","text", NULL
};
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7239 #if PYTHON_API_VERSION >= 1009
7240 char* tmpPtr
; int tmpSize
;
7241 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7245 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7247 _arg1
= new wxString(tmpPtr
, tmpSize
);
7249 if (!PyString_Check(_obj1
)) {
7250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7253 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7257 wxPy_BEGIN_ALLOW_THREADS
;
7258 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7260 wxPy_END_ALLOW_THREADS
;
7261 if (PyErr_Occurred()) return NULL
;
7262 } Py_INCREF(Py_None
);
7263 _resultobj
= Py_None
;
7271 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7272 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7276 PyObject
* _argo0
= 0;
7277 PyObject
* _obj1
= 0;
7278 char *_kwnames
[] = { "self","text", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7291 #if PYTHON_API_VERSION >= 1009
7292 char* tmpPtr
; int tmpSize
;
7293 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7297 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7299 _arg1
= new wxString(tmpPtr
, tmpSize
);
7301 if (!PyString_Check(_obj1
)) {
7302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7305 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7309 wxPy_BEGIN_ALLOW_THREADS
;
7310 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7312 wxPy_END_ALLOW_THREADS
;
7313 if (PyErr_Occurred()) return NULL
;
7314 } Py_INCREF(Py_None
);
7315 _resultobj
= Py_None
;
7323 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7324 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
* _resultobj
;
7330 PyObject
* _argo0
= 0;
7331 char *_kwnames
[] = { "self","x","y", NULL
};
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7344 wxPy_BEGIN_ALLOW_THREADS
;
7345 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7347 wxPy_END_ALLOW_THREADS
;
7348 if (PyErr_Occurred()) return NULL
;
7349 } _resultobj
= Py_BuildValue("l",_result
);
7353 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7354 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
* _resultobj
;
7358 PyObject
* _argo0
= 0;
7359 char *_kwnames
[] = { "self", NULL
};
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7372 wxPy_BEGIN_ALLOW_THREADS
;
7373 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7375 wxPy_END_ALLOW_THREADS
;
7376 if (PyErr_Occurred()) return NULL
;
7377 } _resultobj
= Py_BuildValue("i",_result
);
7381 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7382 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7386 PyObject
* _argo0
= 0;
7387 char *_kwnames
[] = { "self", NULL
};
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7400 wxPy_BEGIN_ALLOW_THREADS
;
7401 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7403 wxPy_END_ALLOW_THREADS
;
7404 if (PyErr_Occurred()) return NULL
;
7405 } _resultobj
= Py_BuildValue("i",_result
);
7409 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7410 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7414 PyObject
* _argo0
= 0;
7415 char *_kwnames
[] = { "self", NULL
};
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7428 wxPy_BEGIN_ALLOW_THREADS
;
7429 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7431 wxPy_END_ALLOW_THREADS
;
7432 if (PyErr_Occurred()) return NULL
;
7433 } _resultobj
= Py_BuildValue("i",_result
);
7437 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7438 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7442 PyObject
* _argo0
= 0;
7443 char *_kwnames
[] = { "self", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7456 wxPy_BEGIN_ALLOW_THREADS
;
7457 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7459 wxPy_END_ALLOW_THREADS
;
7460 if (PyErr_Occurred()) return NULL
;
7461 } _resultobj
= Py_BuildValue("i",_result
);
7465 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7466 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
* _resultobj
;
7470 PyObject
* _argo0
= 0;
7471 char *_kwnames
[] = { "self", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7484 wxPy_BEGIN_ALLOW_THREADS
;
7485 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7487 wxPy_END_ALLOW_THREADS
;
7488 if (PyErr_Occurred()) return NULL
;
7489 } _resultobj
= Py_BuildValue("i",_result
);
7493 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7494 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
* _resultobj
;
7501 PyObject
* _argo0
= 0;
7502 char *_kwnames
[] = { "self", NULL
};
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
7514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
7521 wxPy_BEGIN_ALLOW_THREADS
;
7522 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
7524 wxPy_END_ALLOW_THREADS
;
7525 if (PyErr_Occurred()) return NULL
;
7526 } Py_INCREF(Py_None
);
7527 _resultobj
= Py_None
;
7530 o
= PyInt_FromLong((long) (*_arg1
));
7531 _resultobj
= t_output_helper(_resultobj
, o
);
7535 o
= PyInt_FromLong((long) (*_arg2
));
7536 _resultobj
= t_output_helper(_resultobj
, o
);
7541 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7542 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
* _resultobj
;
7546 PyObject
* _argo0
= 0;
7547 char *_kwnames
[] = { "self", NULL
};
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
7553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
7560 wxPy_BEGIN_ALLOW_THREADS
;
7561 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
7563 wxPy_END_ALLOW_THREADS
;
7564 if (PyErr_Occurred()) return NULL
;
7565 } _resultobj
= Py_BuildValue("i",_result
);
7569 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7570 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
* _resultobj
;
7573 PyObject
* _argo0
= 0;
7574 char *_kwnames
[] = { "self", NULL
};
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7587 wxPy_BEGIN_ALLOW_THREADS
;
7588 wxTextCtrl_Undo(_arg0
);
7590 wxPy_END_ALLOW_THREADS
;
7591 if (PyErr_Occurred()) return NULL
;
7592 } Py_INCREF(Py_None
);
7593 _resultobj
= Py_None
;
7597 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7598 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7601 PyObject
* _argo0
= 0;
7602 char *_kwnames
[] = { "self", NULL
};
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7615 wxPy_BEGIN_ALLOW_THREADS
;
7616 wxTextCtrl_Redo(_arg0
);
7618 wxPy_END_ALLOW_THREADS
;
7619 if (PyErr_Occurred()) return NULL
;
7620 } Py_INCREF(Py_None
);
7621 _resultobj
= Py_None
;
7625 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7626 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7633 PyObject
* _argo0
= 0;
7634 PyObject
* _argo3
= 0;
7635 char *_kwnames
[] = { "self","start","end","style", NULL
};
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7648 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7649 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7655 wxPy_BEGIN_ALLOW_THREADS
;
7656 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7658 wxPy_END_ALLOW_THREADS
;
7659 if (PyErr_Occurred()) return NULL
;
7660 } _resultobj
= Py_BuildValue("i",_result
);
7664 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7665 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
* _resultobj
;
7670 PyObject
* _argo0
= 0;
7671 PyObject
* _argo1
= 0;
7672 char *_kwnames
[] = { "self","style", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7692 wxPy_BEGIN_ALLOW_THREADS
;
7693 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7695 wxPy_END_ALLOW_THREADS
;
7696 if (PyErr_Occurred()) return NULL
;
7697 } _resultobj
= Py_BuildValue("i",_result
);
7701 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7702 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7704 wxTextAttr
* _result
;
7706 PyObject
* _argo0
= 0;
7707 char *_kwnames
[] = { "self", NULL
};
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7721 wxPy_BEGIN_ALLOW_THREADS
;
7722 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7723 _result
= (wxTextAttr
*) &_result_ref
;
7725 wxPy_END_ALLOW_THREADS
;
7726 if (PyErr_Occurred()) return NULL
;
7728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7729 _resultobj
= Py_BuildValue("s",_ptemp
);
7732 _resultobj
= Py_None
;
7737 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7738 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
* _resultobj
;
7741 unsigned long _arg1
;
7742 PyObject
* _argo0
= 0;
7743 char *_kwnames
[] = { "self","len", NULL
};
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7756 wxPy_BEGIN_ALLOW_THREADS
;
7757 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7759 wxPy_END_ALLOW_THREADS
;
7760 if (PyErr_Occurred()) return NULL
;
7761 } Py_INCREF(Py_None
);
7762 _resultobj
= Py_None
;
7766 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7767 self
->AppendText(text
);
7769 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
* _resultobj
;
7773 PyObject
* _argo0
= 0;
7774 PyObject
* _obj1
= 0;
7775 char *_kwnames
[] = { "self","text", NULL
};
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7788 #if PYTHON_API_VERSION >= 1009
7789 char* tmpPtr
; int tmpSize
;
7790 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7791 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7794 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7796 _arg1
= new wxString(tmpPtr
, tmpSize
);
7798 if (!PyString_Check(_obj1
)) {
7799 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7802 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7806 wxPy_BEGIN_ALLOW_THREADS
;
7807 wxTextCtrl_write(_arg0
,*_arg1
);
7809 wxPy_END_ALLOW_THREADS
;
7810 if (PyErr_Occurred()) return NULL
;
7811 } Py_INCREF(Py_None
);
7812 _resultobj
= Py_None
;
7820 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7823 src
= (wxScrollBar
*) ptr
;
7824 dest
= (wxControl
*) src
;
7825 return (void *) dest
;
7828 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7831 src
= (wxScrollBar
*) ptr
;
7832 dest
= (wxWindow
*) src
;
7833 return (void *) dest
;
7836 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7839 src
= (wxScrollBar
*) ptr
;
7840 dest
= (wxEvtHandler
*) src
;
7841 return (void *) dest
;
7844 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7847 src
= (wxScrollBar
*) ptr
;
7848 dest
= (wxObject
*) src
;
7849 return (void *) dest
;
7852 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7853 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
* _resultobj
;
7855 wxScrollBar
* _result
;
7857 wxWindowID _arg1
= (wxWindowID
) -1;
7858 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7859 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7860 long _arg4
= (long ) wxSB_HORIZONTAL
;
7861 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7862 char * _arg6
= (char *) "scrollBar";
7863 PyObject
* _argo0
= 0;
7865 PyObject
* _obj2
= 0;
7867 PyObject
* _obj3
= 0;
7868 PyObject
* _argo5
= 0;
7869 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7885 if (! wxPoint_helper(_obj2
, &_arg2
))
7891 if (! wxSize_helper(_obj3
, &_arg3
))
7895 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7896 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7902 wxPy_BEGIN_ALLOW_THREADS
;
7903 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7905 wxPy_END_ALLOW_THREADS
;
7906 if (PyErr_Occurred()) return NULL
;
7908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7909 _resultobj
= Py_BuildValue("s",_ptemp
);
7912 _resultobj
= Py_None
;
7917 #define new_wxPreScrollBar() (new wxScrollBar())
7918 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7920 wxScrollBar
* _result
;
7921 char *_kwnames
[] = { NULL
};
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7928 wxPy_BEGIN_ALLOW_THREADS
;
7929 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7931 wxPy_END_ALLOW_THREADS
;
7932 if (PyErr_Occurred()) return NULL
;
7934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7935 _resultobj
= Py_BuildValue("s",_ptemp
);
7938 _resultobj
= Py_None
;
7943 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7944 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
* _resultobj
;
7947 wxScrollBar
* _arg0
;
7949 wxWindowID _arg2
= (wxWindowID
) -1;
7950 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7951 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7952 long _arg5
= (long ) wxSB_HORIZONTAL
;
7953 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7954 char * _arg7
= (char *) "scrollBar";
7955 PyObject
* _argo0
= 0;
7956 PyObject
* _argo1
= 0;
7958 PyObject
* _obj3
= 0;
7960 PyObject
* _obj4
= 0;
7961 PyObject
* _argo6
= 0;
7962 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7984 if (! wxPoint_helper(_obj3
, &_arg3
))
7990 if (! wxSize_helper(_obj4
, &_arg4
))
7994 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7995 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8001 wxPy_BEGIN_ALLOW_THREADS
;
8002 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8004 wxPy_END_ALLOW_THREADS
;
8005 if (PyErr_Occurred()) return NULL
;
8006 } _resultobj
= Py_BuildValue("i",_result
);
8010 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8011 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8012 PyObject
* _resultobj
;
8014 wxScrollBar
* _arg0
;
8015 PyObject
* _argo0
= 0;
8016 char *_kwnames
[] = { "self", NULL
};
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8029 wxPy_BEGIN_ALLOW_THREADS
;
8030 _result
= (int )wxScrollBar_GetRange(_arg0
);
8032 wxPy_END_ALLOW_THREADS
;
8033 if (PyErr_Occurred()) return NULL
;
8034 } _resultobj
= Py_BuildValue("i",_result
);
8038 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8039 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
* _resultobj
;
8042 wxScrollBar
* _arg0
;
8043 PyObject
* _argo0
= 0;
8044 char *_kwnames
[] = { "self", NULL
};
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8057 wxPy_BEGIN_ALLOW_THREADS
;
8058 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8060 wxPy_END_ALLOW_THREADS
;
8061 if (PyErr_Occurred()) return NULL
;
8062 } _resultobj
= Py_BuildValue("i",_result
);
8066 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8067 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
* _resultobj
;
8070 wxScrollBar
* _arg0
;
8071 PyObject
* _argo0
= 0;
8072 char *_kwnames
[] = { "self", NULL
};
8075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8085 wxPy_BEGIN_ALLOW_THREADS
;
8086 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8088 wxPy_END_ALLOW_THREADS
;
8089 if (PyErr_Occurred()) return NULL
;
8090 } _resultobj
= Py_BuildValue("i",_result
);
8094 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8095 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
* _resultobj
;
8098 wxScrollBar
* _arg0
;
8099 PyObject
* _argo0
= 0;
8100 char *_kwnames
[] = { "self", NULL
};
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8113 wxPy_BEGIN_ALLOW_THREADS
;
8114 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8116 wxPy_END_ALLOW_THREADS
;
8117 if (PyErr_Occurred()) return NULL
;
8118 } _resultobj
= Py_BuildValue("i",_result
);
8122 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8123 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
* _resultobj
;
8125 wxScrollBar
* _arg0
;
8127 PyObject
* _argo0
= 0;
8128 char *_kwnames
[] = { "self","viewStart", NULL
};
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8141 wxPy_BEGIN_ALLOW_THREADS
;
8142 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8144 wxPy_END_ALLOW_THREADS
;
8145 if (PyErr_Occurred()) return NULL
;
8146 } Py_INCREF(Py_None
);
8147 _resultobj
= Py_None
;
8151 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8152 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
* _resultobj
;
8154 wxScrollBar
* _arg0
;
8159 bool _arg5
= (bool ) TRUE
;
8160 PyObject
* _argo0
= 0;
8161 int tempbool5
= (int) TRUE
;
8162 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8174 _arg5
= (bool ) tempbool5
;
8176 wxPy_BEGIN_ALLOW_THREADS
;
8177 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8179 wxPy_END_ALLOW_THREADS
;
8180 if (PyErr_Occurred()) return NULL
;
8181 } Py_INCREF(Py_None
);
8182 _resultobj
= Py_None
;
8186 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8189 src
= (wxSpinButton
*) ptr
;
8190 dest
= (wxControl
*) src
;
8191 return (void *) dest
;
8194 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8197 src
= (wxSpinButton
*) ptr
;
8198 dest
= (wxWindow
*) src
;
8199 return (void *) dest
;
8202 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8205 src
= (wxSpinButton
*) ptr
;
8206 dest
= (wxEvtHandler
*) src
;
8207 return (void *) dest
;
8210 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8213 src
= (wxSpinButton
*) ptr
;
8214 dest
= (wxObject
*) src
;
8215 return (void *) dest
;
8218 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8219 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
* _resultobj
;
8221 wxSpinButton
* _result
;
8223 wxWindowID _arg1
= (wxWindowID
) -1;
8224 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8225 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8226 long _arg4
= (long ) wxSP_HORIZONTAL
;
8227 char * _arg5
= (char *) "spinButton";
8228 PyObject
* _argo0
= 0;
8230 PyObject
* _obj2
= 0;
8232 PyObject
* _obj3
= 0;
8233 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8249 if (! wxPoint_helper(_obj2
, &_arg2
))
8255 if (! wxSize_helper(_obj3
, &_arg3
))
8259 wxPy_BEGIN_ALLOW_THREADS
;
8260 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8262 wxPy_END_ALLOW_THREADS
;
8263 if (PyErr_Occurred()) return NULL
;
8265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8266 _resultobj
= Py_BuildValue("s",_ptemp
);
8269 _resultobj
= Py_None
;
8274 #define new_wxPreSpinButton() (new wxSpinButton())
8275 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
* _resultobj
;
8277 wxSpinButton
* _result
;
8278 char *_kwnames
[] = { NULL
};
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8285 wxPy_BEGIN_ALLOW_THREADS
;
8286 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8288 wxPy_END_ALLOW_THREADS
;
8289 if (PyErr_Occurred()) return NULL
;
8291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8292 _resultobj
= Py_BuildValue("s",_ptemp
);
8295 _resultobj
= Py_None
;
8300 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8301 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
* _resultobj
;
8304 wxSpinButton
* _arg0
;
8306 wxWindowID _arg2
= (wxWindowID
) -1;
8307 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8308 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8309 long _arg5
= (long ) wxSP_HORIZONTAL
;
8310 char * _arg6
= (char *) "spinButton";
8311 PyObject
* _argo0
= 0;
8312 PyObject
* _argo1
= 0;
8314 PyObject
* _obj3
= 0;
8316 PyObject
* _obj4
= 0;
8317 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8339 if (! wxPoint_helper(_obj3
, &_arg3
))
8345 if (! wxSize_helper(_obj4
, &_arg4
))
8349 wxPy_BEGIN_ALLOW_THREADS
;
8350 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8352 wxPy_END_ALLOW_THREADS
;
8353 if (PyErr_Occurred()) return NULL
;
8354 } _resultobj
= Py_BuildValue("i",_result
);
8358 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8359 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
* _resultobj
;
8362 wxSpinButton
* _arg0
;
8363 PyObject
* _argo0
= 0;
8364 char *_kwnames
[] = { "self", NULL
};
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8377 wxPy_BEGIN_ALLOW_THREADS
;
8378 _result
= (int )wxSpinButton_GetMax(_arg0
);
8380 wxPy_END_ALLOW_THREADS
;
8381 if (PyErr_Occurred()) return NULL
;
8382 } _resultobj
= Py_BuildValue("i",_result
);
8386 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8387 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
* _resultobj
;
8390 wxSpinButton
* _arg0
;
8391 PyObject
* _argo0
= 0;
8392 char *_kwnames
[] = { "self", NULL
};
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8405 wxPy_BEGIN_ALLOW_THREADS
;
8406 _result
= (int )wxSpinButton_GetMin(_arg0
);
8408 wxPy_END_ALLOW_THREADS
;
8409 if (PyErr_Occurred()) return NULL
;
8410 } _resultobj
= Py_BuildValue("i",_result
);
8414 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8415 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
* _resultobj
;
8418 wxSpinButton
* _arg0
;
8419 PyObject
* _argo0
= 0;
8420 char *_kwnames
[] = { "self", NULL
};
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8433 wxPy_BEGIN_ALLOW_THREADS
;
8434 _result
= (int )wxSpinButton_GetValue(_arg0
);
8436 wxPy_END_ALLOW_THREADS
;
8437 if (PyErr_Occurred()) return NULL
;
8438 } _resultobj
= Py_BuildValue("i",_result
);
8442 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8443 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
* _resultobj
;
8445 wxSpinButton
* _arg0
;
8448 PyObject
* _argo0
= 0;
8449 char *_kwnames
[] = { "self","min","max", NULL
};
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8462 wxPy_BEGIN_ALLOW_THREADS
;
8463 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8465 wxPy_END_ALLOW_THREADS
;
8466 if (PyErr_Occurred()) return NULL
;
8467 } Py_INCREF(Py_None
);
8468 _resultobj
= Py_None
;
8472 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8473 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
* _resultobj
;
8475 wxSpinButton
* _arg0
;
8477 PyObject
* _argo0
= 0;
8478 char *_kwnames
[] = { "self","value", NULL
};
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8491 wxPy_BEGIN_ALLOW_THREADS
;
8492 wxSpinButton_SetValue(_arg0
,_arg1
);
8494 wxPy_END_ALLOW_THREADS
;
8495 if (PyErr_Occurred()) return NULL
;
8496 } Py_INCREF(Py_None
);
8497 _resultobj
= Py_None
;
8501 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8502 wxStaticBitmap
*src
;
8504 src
= (wxStaticBitmap
*) ptr
;
8505 dest
= (wxControl
*) src
;
8506 return (void *) dest
;
8509 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8510 wxStaticBitmap
*src
;
8512 src
= (wxStaticBitmap
*) ptr
;
8513 dest
= (wxWindow
*) src
;
8514 return (void *) dest
;
8517 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8518 wxStaticBitmap
*src
;
8520 src
= (wxStaticBitmap
*) ptr
;
8521 dest
= (wxEvtHandler
*) src
;
8522 return (void *) dest
;
8525 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8526 wxStaticBitmap
*src
;
8528 src
= (wxStaticBitmap
*) ptr
;
8529 dest
= (wxObject
*) src
;
8530 return (void *) dest
;
8533 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8534 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
* _resultobj
;
8536 wxStaticBitmap
* _result
;
8540 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8541 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8542 long _arg5
= (long ) 0;
8543 char * _arg6
= (char *) "staticBitmap";
8544 PyObject
* _argo0
= 0;
8545 PyObject
* _argo2
= 0;
8547 PyObject
* _obj3
= 0;
8549 PyObject
* _obj4
= 0;
8550 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8564 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8565 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8573 if (! wxPoint_helper(_obj3
, &_arg3
))
8579 if (! wxSize_helper(_obj4
, &_arg4
))
8583 wxPy_BEGIN_ALLOW_THREADS
;
8584 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8586 wxPy_END_ALLOW_THREADS
;
8587 if (PyErr_Occurred()) return NULL
;
8589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8590 _resultobj
= Py_BuildValue("s",_ptemp
);
8593 _resultobj
= Py_None
;
8598 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8599 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
* _resultobj
;
8601 wxStaticBitmap
* _result
;
8602 char *_kwnames
[] = { NULL
};
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8609 wxPy_BEGIN_ALLOW_THREADS
;
8610 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8612 wxPy_END_ALLOW_THREADS
;
8613 if (PyErr_Occurred()) return NULL
;
8615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8616 _resultobj
= Py_BuildValue("s",_ptemp
);
8619 _resultobj
= Py_None
;
8624 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8625 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
* _resultobj
;
8628 wxStaticBitmap
* _arg0
;
8632 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8633 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8634 long _arg6
= (long ) 0;
8635 char * _arg7
= (char *) "staticBitmap";
8636 PyObject
* _argo0
= 0;
8637 PyObject
* _argo1
= 0;
8638 PyObject
* _argo3
= 0;
8640 PyObject
* _obj4
= 0;
8642 PyObject
* _obj5
= 0;
8643 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8656 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8657 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8663 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8664 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8672 if (! wxPoint_helper(_obj4
, &_arg4
))
8678 if (! wxSize_helper(_obj5
, &_arg5
))
8682 wxPy_BEGIN_ALLOW_THREADS
;
8683 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8685 wxPy_END_ALLOW_THREADS
;
8686 if (PyErr_Occurred()) return NULL
;
8687 } _resultobj
= Py_BuildValue("i",_result
);
8691 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8692 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
* _resultobj
;
8695 wxStaticBitmap
* _arg0
;
8696 PyObject
* _argo0
= 0;
8697 char *_kwnames
[] = { "self", NULL
};
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8711 wxPy_BEGIN_ALLOW_THREADS
;
8712 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
8713 _result
= (wxBitmap
*) &_result_ref
;
8715 wxPy_END_ALLOW_THREADS
;
8716 if (PyErr_Occurred()) return NULL
;
8718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
8719 _resultobj
= Py_BuildValue("s",_ptemp
);
8722 _resultobj
= Py_None
;
8727 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8728 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
* _resultobj
;
8730 wxStaticBitmap
* _arg0
;
8732 PyObject
* _argo0
= 0;
8733 PyObject
* _argo1
= 0;
8734 char *_kwnames
[] = { "self","bitmap", NULL
};
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8747 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8748 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8754 wxPy_BEGIN_ALLOW_THREADS
;
8755 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8757 wxPy_END_ALLOW_THREADS
;
8758 if (PyErr_Occurred()) return NULL
;
8759 } Py_INCREF(Py_None
);
8760 _resultobj
= Py_None
;
8764 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8765 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
* _resultobj
;
8767 wxStaticBitmap
* _arg0
;
8769 PyObject
* _argo0
= 0;
8770 PyObject
* _argo1
= 0;
8771 char *_kwnames
[] = { "self","icon", NULL
};
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8784 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8785 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8791 wxPy_BEGIN_ALLOW_THREADS
;
8792 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8794 wxPy_END_ALLOW_THREADS
;
8795 if (PyErr_Occurred()) return NULL
;
8796 } Py_INCREF(Py_None
);
8797 _resultobj
= Py_None
;
8801 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8804 src
= (wxRadioBox
*) ptr
;
8805 dest
= (wxControl
*) src
;
8806 return (void *) dest
;
8809 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8812 src
= (wxRadioBox
*) ptr
;
8813 dest
= (wxWindow
*) src
;
8814 return (void *) dest
;
8817 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8820 src
= (wxRadioBox
*) ptr
;
8821 dest
= (wxEvtHandler
*) src
;
8822 return (void *) dest
;
8825 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8828 src
= (wxRadioBox
*) ptr
;
8829 dest
= (wxObject
*) src
;
8830 return (void *) dest
;
8833 #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))
8834 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8835 PyObject
* _resultobj
;
8836 wxRadioBox
* _result
;
8840 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8841 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8842 int _arg5
= (int ) 0;
8843 wxString
* _arg6
= (wxString
*) NULL
;
8844 int _arg7
= (int ) 0;
8845 long _arg8
= (long ) wxRA_HORIZONTAL
;
8846 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8847 char * _arg10
= (char *) "radioBox";
8848 PyObject
* _argo0
= 0;
8849 PyObject
* _obj2
= 0;
8851 PyObject
* _obj3
= 0;
8853 PyObject
* _obj4
= 0;
8854 PyObject
* _obj6
= 0;
8855 PyObject
* _argo9
= 0;
8856 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8870 #if PYTHON_API_VERSION >= 1009
8871 char* tmpPtr
; int tmpSize
;
8872 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8873 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8876 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8878 _arg2
= new wxString(tmpPtr
, tmpSize
);
8880 if (!PyString_Check(_obj2
)) {
8881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8884 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8890 if (! wxPoint_helper(_obj3
, &_arg3
))
8896 if (! wxSize_helper(_obj4
, &_arg4
))
8901 _arg6
= wxString_LIST_helper(_obj6
);
8902 if (_arg6
== NULL
) {
8907 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8908 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8915 _arg5
= PyList_Size(_obj6
);
8922 wxPy_BEGIN_ALLOW_THREADS
;
8923 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8925 wxPy_END_ALLOW_THREADS
;
8926 if (PyErr_Occurred()) return NULL
;
8928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8929 _resultobj
= Py_BuildValue("s",_ptemp
);
8932 _resultobj
= Py_None
;
8944 #define new_wxPreRadioBox() (new wxRadioBox())
8945 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
* _resultobj
;
8947 wxRadioBox
* _result
;
8948 char *_kwnames
[] = { NULL
};
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8955 wxPy_BEGIN_ALLOW_THREADS
;
8956 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8958 wxPy_END_ALLOW_THREADS
;
8959 if (PyErr_Occurred()) return NULL
;
8961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8962 _resultobj
= Py_BuildValue("s",_ptemp
);
8965 _resultobj
= Py_None
;
8970 #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))
8971 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
* _resultobj
;
8978 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8979 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8980 int _arg6
= (int ) 0;
8981 wxString
* _arg7
= (wxString
*) NULL
;
8982 int _arg8
= (int ) 0;
8983 long _arg9
= (long ) wxRA_HORIZONTAL
;
8984 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8985 char * _arg11
= (char *) "radioBox";
8986 PyObject
* _argo0
= 0;
8987 PyObject
* _argo1
= 0;
8988 PyObject
* _obj3
= 0;
8990 PyObject
* _obj4
= 0;
8992 PyObject
* _obj5
= 0;
8993 PyObject
* _obj7
= 0;
8994 PyObject
* _argo10
= 0;
8995 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
9001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9008 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9009 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9015 #if PYTHON_API_VERSION >= 1009
9016 char* tmpPtr
; int tmpSize
;
9017 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9018 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9021 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9023 _arg3
= new wxString(tmpPtr
, tmpSize
);
9025 if (!PyString_Check(_obj3
)) {
9026 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9029 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9035 if (! wxPoint_helper(_obj4
, &_arg4
))
9041 if (! wxSize_helper(_obj5
, &_arg5
))
9046 _arg7
= wxString_LIST_helper(_obj7
);
9047 if (_arg7
== NULL
) {
9052 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9053 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9060 _arg6
= PyList_Size(_obj7
);
9067 wxPy_BEGIN_ALLOW_THREADS
;
9068 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
9070 wxPy_END_ALLOW_THREADS
;
9071 if (PyErr_Occurred()) return NULL
;
9072 } _resultobj
= Py_BuildValue("i",_result
);
9083 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9084 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
* _resultobj
;
9088 PyObject
* _argo0
= 0;
9090 char *_kwnames
[] = { "self","enable", NULL
};
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9102 _arg1
= (bool ) tempbool1
;
9104 wxPy_BEGIN_ALLOW_THREADS
;
9105 wxRadioBox_Enable(_arg0
,_arg1
);
9107 wxPy_END_ALLOW_THREADS
;
9108 if (PyErr_Occurred()) return NULL
;
9109 } Py_INCREF(Py_None
);
9110 _resultobj
= Py_None
;
9114 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9115 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
* _resultobj
;
9120 PyObject
* _argo0
= 0;
9122 char *_kwnames
[] = { "self","n","enable", NULL
};
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9134 _arg2
= (bool ) tempbool2
;
9136 wxPy_BEGIN_ALLOW_THREADS
;
9137 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9139 wxPy_END_ALLOW_THREADS
;
9140 if (PyErr_Occurred()) return NULL
;
9141 } Py_INCREF(Py_None
);
9142 _resultobj
= Py_None
;
9146 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9147 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
* _resultobj
;
9152 PyObject
* _argo0
= 0;
9153 PyObject
* _obj1
= 0;
9154 char *_kwnames
[] = { "self","string", NULL
};
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9167 #if PYTHON_API_VERSION >= 1009
9168 char* tmpPtr
; int tmpSize
;
9169 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9173 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9175 _arg1
= new wxString(tmpPtr
, tmpSize
);
9177 if (!PyString_Check(_obj1
)) {
9178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9181 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9185 wxPy_BEGIN_ALLOW_THREADS
;
9186 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9188 wxPy_END_ALLOW_THREADS
;
9189 if (PyErr_Occurred()) return NULL
;
9190 } _resultobj
= Py_BuildValue("i",_result
);
9198 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9199 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
* _resultobj
;
9204 PyObject
* _argo0
= 0;
9205 char *_kwnames
[] = { "self","n", NULL
};
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9218 wxPy_BEGIN_ALLOW_THREADS
;
9219 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9221 wxPy_END_ALLOW_THREADS
;
9222 if (PyErr_Occurred()) return NULL
;
9224 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9232 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9233 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
* _resultobj
;
9238 PyObject
* _argo0
= 0;
9239 PyObject
* _obj2
= 0;
9240 char *_kwnames
[] = { "self","n","label", NULL
};
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
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_SetString. Expected _wxRadioBox_p.");
9253 #if PYTHON_API_VERSION >= 1009
9254 char* tmpPtr
; int tmpSize
;
9255 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9259 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9261 _arg2
= new wxString(tmpPtr
, tmpSize
);
9263 if (!PyString_Check(_obj2
)) {
9264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9267 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9271 wxPy_BEGIN_ALLOW_THREADS
;
9272 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9274 wxPy_END_ALLOW_THREADS
;
9275 if (PyErr_Occurred()) return NULL
;
9276 } Py_INCREF(Py_None
);
9277 _resultobj
= Py_None
;
9285 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9286 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
* _resultobj
;
9290 PyObject
* _argo0
= 0;
9291 char *_kwnames
[] = { "self", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9304 wxPy_BEGIN_ALLOW_THREADS
;
9305 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9307 wxPy_END_ALLOW_THREADS
;
9308 if (PyErr_Occurred()) return NULL
;
9309 } _resultobj
= Py_BuildValue("i",_result
);
9313 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9314 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
* _resultobj
;
9318 PyObject
* _argo0
= 0;
9319 char *_kwnames
[] = { "self", NULL
};
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9332 wxPy_BEGIN_ALLOW_THREADS
;
9333 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9335 wxPy_END_ALLOW_THREADS
;
9336 if (PyErr_Occurred()) return NULL
;
9337 } _resultobj
= Py_BuildValue("i",_result
);
9341 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9342 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9346 PyObject
* _argo0
= 0;
9347 char *_kwnames
[] = { "self", NULL
};
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9360 wxPy_BEGIN_ALLOW_THREADS
;
9361 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9363 wxPy_END_ALLOW_THREADS
;
9364 if (PyErr_Occurred()) return NULL
;
9365 } _resultobj
= Py_BuildValue("i",_result
);
9369 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9370 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
* _resultobj
;
9374 PyObject
* _argo0
= 0;
9375 char *_kwnames
[] = { "self", NULL
};
9378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9388 wxPy_BEGIN_ALLOW_THREADS
;
9389 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9391 wxPy_END_ALLOW_THREADS
;
9392 if (PyErr_Occurred()) return NULL
;
9394 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9402 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9403 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
* _resultobj
;
9407 PyObject
* _argo0
= 0;
9408 char *_kwnames
[] = { "self", NULL
};
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9421 wxPy_BEGIN_ALLOW_THREADS
;
9422 _result
= (int )wxRadioBox_GetCount(_arg0
);
9424 wxPy_END_ALLOW_THREADS
;
9425 if (PyErr_Occurred()) return NULL
;
9426 } _resultobj
= Py_BuildValue("i",_result
);
9430 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9431 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
* _resultobj
;
9435 PyObject
* _argo0
= 0;
9436 char *_kwnames
[] = { "self","n", NULL
};
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9449 wxPy_BEGIN_ALLOW_THREADS
;
9450 wxRadioBox_SetSelection(_arg0
,_arg1
);
9452 wxPy_END_ALLOW_THREADS
;
9453 if (PyErr_Occurred()) return NULL
;
9454 } Py_INCREF(Py_None
);
9455 _resultobj
= Py_None
;
9459 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9460 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
* _resultobj
;
9464 PyObject
* _argo0
= 0;
9465 PyObject
* _obj1
= 0;
9466 char *_kwnames
[] = { "self","string", NULL
};
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9479 #if PYTHON_API_VERSION >= 1009
9480 char* tmpPtr
; int tmpSize
;
9481 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9485 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9487 _arg1
= new wxString(tmpPtr
, tmpSize
);
9489 if (!PyString_Check(_obj1
)) {
9490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9493 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9497 wxPy_BEGIN_ALLOW_THREADS
;
9498 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9500 wxPy_END_ALLOW_THREADS
;
9501 if (PyErr_Occurred()) return NULL
;
9502 } Py_INCREF(Py_None
);
9503 _resultobj
= Py_None
;
9511 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9512 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
* _resultobj
;
9516 PyObject
* _argo0
= 0;
9518 char *_kwnames
[] = { "self","show", NULL
};
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9530 _arg1
= (bool ) tempbool1
;
9532 wxPy_BEGIN_ALLOW_THREADS
;
9533 wxRadioBox_Show(_arg0
,_arg1
);
9535 wxPy_END_ALLOW_THREADS
;
9536 if (PyErr_Occurred()) return NULL
;
9537 } Py_INCREF(Py_None
);
9538 _resultobj
= Py_None
;
9542 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9543 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
* _resultobj
;
9548 PyObject
* _argo0
= 0;
9550 char *_kwnames
[] = { "self","item","show", NULL
};
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9562 _arg2
= (bool ) tempbool2
;
9564 wxPy_BEGIN_ALLOW_THREADS
;
9565 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9567 wxPy_END_ALLOW_THREADS
;
9568 if (PyErr_Occurred()) return NULL
;
9569 } Py_INCREF(Py_None
);
9570 _resultobj
= Py_None
;
9574 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9577 src
= (wxRadioButton
*) ptr
;
9578 dest
= (wxControl
*) src
;
9579 return (void *) dest
;
9582 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9585 src
= (wxRadioButton
*) ptr
;
9586 dest
= (wxWindow
*) src
;
9587 return (void *) dest
;
9590 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9593 src
= (wxRadioButton
*) ptr
;
9594 dest
= (wxEvtHandler
*) src
;
9595 return (void *) dest
;
9598 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9601 src
= (wxRadioButton
*) ptr
;
9602 dest
= (wxObject
*) src
;
9603 return (void *) dest
;
9606 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9607 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
* _resultobj
;
9609 wxRadioButton
* _result
;
9613 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9614 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9615 long _arg5
= (long ) 0;
9616 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9617 char * _arg7
= (char *) "radioButton";
9618 PyObject
* _argo0
= 0;
9619 PyObject
* _obj2
= 0;
9621 PyObject
* _obj3
= 0;
9623 PyObject
* _obj4
= 0;
9624 PyObject
* _argo6
= 0;
9625 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9639 #if PYTHON_API_VERSION >= 1009
9640 char* tmpPtr
; int tmpSize
;
9641 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9645 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9647 _arg2
= new wxString(tmpPtr
, tmpSize
);
9649 if (!PyString_Check(_obj2
)) {
9650 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9653 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9659 if (! wxPoint_helper(_obj3
, &_arg3
))
9665 if (! wxSize_helper(_obj4
, &_arg4
))
9669 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9676 wxPy_BEGIN_ALLOW_THREADS
;
9677 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9679 wxPy_END_ALLOW_THREADS
;
9680 if (PyErr_Occurred()) return NULL
;
9682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9683 _resultobj
= Py_BuildValue("s",_ptemp
);
9686 _resultobj
= Py_None
;
9695 #define new_wxPreRadioButton() (new wxRadioButton())
9696 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
* _resultobj
;
9698 wxRadioButton
* _result
;
9699 char *_kwnames
[] = { NULL
};
9703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9706 wxPy_BEGIN_ALLOW_THREADS
;
9707 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9709 wxPy_END_ALLOW_THREADS
;
9710 if (PyErr_Occurred()) return NULL
;
9712 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9713 _resultobj
= Py_BuildValue("s",_ptemp
);
9716 _resultobj
= Py_None
;
9721 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9722 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
* _resultobj
;
9725 wxRadioButton
* _arg0
;
9729 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9730 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9731 long _arg6
= (long ) 0;
9732 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9733 char * _arg8
= (char *) "radioButton";
9734 PyObject
* _argo0
= 0;
9735 PyObject
* _argo1
= 0;
9736 PyObject
* _obj3
= 0;
9738 PyObject
* _obj4
= 0;
9740 PyObject
* _obj5
= 0;
9741 PyObject
* _argo7
= 0;
9742 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9762 #if PYTHON_API_VERSION >= 1009
9763 char* tmpPtr
; int tmpSize
;
9764 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9768 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9770 _arg3
= new wxString(tmpPtr
, tmpSize
);
9772 if (!PyString_Check(_obj3
)) {
9773 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9776 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9782 if (! wxPoint_helper(_obj4
, &_arg4
))
9788 if (! wxSize_helper(_obj5
, &_arg5
))
9792 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9793 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9799 wxPy_BEGIN_ALLOW_THREADS
;
9800 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9802 wxPy_END_ALLOW_THREADS
;
9803 if (PyErr_Occurred()) return NULL
;
9804 } _resultobj
= Py_BuildValue("i",_result
);
9812 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9813 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
* _resultobj
;
9816 wxRadioButton
* _arg0
;
9817 PyObject
* _argo0
= 0;
9818 char *_kwnames
[] = { "self", NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9831 wxPy_BEGIN_ALLOW_THREADS
;
9832 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9834 wxPy_END_ALLOW_THREADS
;
9835 if (PyErr_Occurred()) return NULL
;
9836 } _resultobj
= Py_BuildValue("i",_result
);
9840 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9841 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
* _resultobj
;
9843 wxRadioButton
* _arg0
;
9845 PyObject
* _argo0
= 0;
9847 char *_kwnames
[] = { "self","value", NULL
};
9850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9859 _arg1
= (bool ) tempbool1
;
9861 wxPy_BEGIN_ALLOW_THREADS
;
9862 wxRadioButton_SetValue(_arg0
,_arg1
);
9864 wxPy_END_ALLOW_THREADS
;
9865 if (PyErr_Occurred()) return NULL
;
9866 } Py_INCREF(Py_None
);
9867 _resultobj
= Py_None
;
9871 static void *SwigwxSliderTowxControl(void *ptr
) {
9874 src
= (wxSlider
*) ptr
;
9875 dest
= (wxControl
*) src
;
9876 return (void *) dest
;
9879 static void *SwigwxSliderTowxWindow(void *ptr
) {
9882 src
= (wxSlider
*) ptr
;
9883 dest
= (wxWindow
*) src
;
9884 return (void *) dest
;
9887 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9890 src
= (wxSlider
*) ptr
;
9891 dest
= (wxEvtHandler
*) src
;
9892 return (void *) dest
;
9895 static void *SwigwxSliderTowxObject(void *ptr
) {
9898 src
= (wxSlider
*) ptr
;
9899 dest
= (wxObject
*) src
;
9900 return (void *) dest
;
9903 #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))
9904 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
* _resultobj
;
9912 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9913 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9914 long _arg7
= (long ) wxSL_HORIZONTAL
;
9915 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9916 char * _arg9
= (char *) "slider";
9917 PyObject
* _argo0
= 0;
9919 PyObject
* _obj5
= 0;
9921 PyObject
* _obj6
= 0;
9922 PyObject
* _argo8
= 0;
9923 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9939 if (! wxPoint_helper(_obj5
, &_arg5
))
9945 if (! wxSize_helper(_obj6
, &_arg6
))
9949 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9950 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9956 wxPy_BEGIN_ALLOW_THREADS
;
9957 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9959 wxPy_END_ALLOW_THREADS
;
9960 if (PyErr_Occurred()) return NULL
;
9962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9963 _resultobj
= Py_BuildValue("s",_ptemp
);
9966 _resultobj
= Py_None
;
9971 #define new_wxPreSlider() (new wxSlider())
9972 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
* _resultobj
;
9975 char *_kwnames
[] = { NULL
};
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9982 wxPy_BEGIN_ALLOW_THREADS
;
9983 _result
= (wxSlider
*)new_wxPreSlider();
9985 wxPy_END_ALLOW_THREADS
;
9986 if (PyErr_Occurred()) return NULL
;
9988 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9989 _resultobj
= Py_BuildValue("s",_ptemp
);
9992 _resultobj
= Py_None
;
9997 #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))
9998 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
* _resultobj
;
10007 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10008 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10009 long _arg8
= (long ) wxSL_HORIZONTAL
;
10010 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10011 char * _arg10
= (char *) "slider";
10012 PyObject
* _argo0
= 0;
10013 PyObject
* _argo1
= 0;
10015 PyObject
* _obj6
= 0;
10017 PyObject
* _obj7
= 0;
10018 PyObject
* _argo9
= 0;
10019 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
10025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10032 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10033 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10041 if (! wxPoint_helper(_obj6
, &_arg6
))
10047 if (! wxSize_helper(_obj7
, &_arg7
))
10051 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10052 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10058 wxPy_BEGIN_ALLOW_THREADS
;
10059 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
10061 wxPy_END_ALLOW_THREADS
;
10062 if (PyErr_Occurred()) return NULL
;
10063 } _resultobj
= Py_BuildValue("i",_result
);
10067 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10068 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
* _resultobj
;
10071 PyObject
* _argo0
= 0;
10072 char *_kwnames
[] = { "self", NULL
};
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10085 wxPy_BEGIN_ALLOW_THREADS
;
10086 wxSlider_ClearSel(_arg0
);
10088 wxPy_END_ALLOW_THREADS
;
10089 if (PyErr_Occurred()) return NULL
;
10090 } Py_INCREF(Py_None
);
10091 _resultobj
= Py_None
;
10095 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10096 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
* _resultobj
;
10099 PyObject
* _argo0
= 0;
10100 char *_kwnames
[] = { "self", NULL
};
10103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10113 wxPy_BEGIN_ALLOW_THREADS
;
10114 wxSlider_ClearTicks(_arg0
);
10116 wxPy_END_ALLOW_THREADS
;
10117 if (PyErr_Occurred()) return NULL
;
10118 } Py_INCREF(Py_None
);
10119 _resultobj
= Py_None
;
10123 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10124 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
* _resultobj
;
10128 PyObject
* _argo0
= 0;
10129 char *_kwnames
[] = { "self", NULL
};
10132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10142 wxPy_BEGIN_ALLOW_THREADS
;
10143 _result
= (int )wxSlider_GetLineSize(_arg0
);
10145 wxPy_END_ALLOW_THREADS
;
10146 if (PyErr_Occurred()) return NULL
;
10147 } _resultobj
= Py_BuildValue("i",_result
);
10151 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10152 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
* _resultobj
;
10156 PyObject
* _argo0
= 0;
10157 char *_kwnames
[] = { "self", NULL
};
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10170 wxPy_BEGIN_ALLOW_THREADS
;
10171 _result
= (int )wxSlider_GetMax(_arg0
);
10173 wxPy_END_ALLOW_THREADS
;
10174 if (PyErr_Occurred()) return NULL
;
10175 } _resultobj
= Py_BuildValue("i",_result
);
10179 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10180 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
* _resultobj
;
10184 PyObject
* _argo0
= 0;
10185 char *_kwnames
[] = { "self", NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10198 wxPy_BEGIN_ALLOW_THREADS
;
10199 _result
= (int )wxSlider_GetMin(_arg0
);
10201 wxPy_END_ALLOW_THREADS
;
10202 if (PyErr_Occurred()) return NULL
;
10203 } _resultobj
= Py_BuildValue("i",_result
);
10207 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10208 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
* _resultobj
;
10212 PyObject
* _argo0
= 0;
10213 char *_kwnames
[] = { "self", NULL
};
10216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10226 wxPy_BEGIN_ALLOW_THREADS
;
10227 _result
= (int )wxSlider_GetPageSize(_arg0
);
10229 wxPy_END_ALLOW_THREADS
;
10230 if (PyErr_Occurred()) return NULL
;
10231 } _resultobj
= Py_BuildValue("i",_result
);
10235 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10236 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
* _resultobj
;
10240 PyObject
* _argo0
= 0;
10241 char *_kwnames
[] = { "self", NULL
};
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10254 wxPy_BEGIN_ALLOW_THREADS
;
10255 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10257 wxPy_END_ALLOW_THREADS
;
10258 if (PyErr_Occurred()) return NULL
;
10259 } _resultobj
= Py_BuildValue("i",_result
);
10263 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10264 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
* _resultobj
;
10268 PyObject
* _argo0
= 0;
10269 char *_kwnames
[] = { "self", NULL
};
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10282 wxPy_BEGIN_ALLOW_THREADS
;
10283 _result
= (int )wxSlider_GetSelStart(_arg0
);
10285 wxPy_END_ALLOW_THREADS
;
10286 if (PyErr_Occurred()) return NULL
;
10287 } _resultobj
= Py_BuildValue("i",_result
);
10291 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10292 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
* _resultobj
;
10296 PyObject
* _argo0
= 0;
10297 char *_kwnames
[] = { "self", NULL
};
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10310 wxPy_BEGIN_ALLOW_THREADS
;
10311 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10313 wxPy_END_ALLOW_THREADS
;
10314 if (PyErr_Occurred()) return NULL
;
10315 } _resultobj
= Py_BuildValue("i",_result
);
10319 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10320 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
* _resultobj
;
10324 PyObject
* _argo0
= 0;
10325 char *_kwnames
[] = { "self", NULL
};
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10338 wxPy_BEGIN_ALLOW_THREADS
;
10339 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10341 wxPy_END_ALLOW_THREADS
;
10342 if (PyErr_Occurred()) return NULL
;
10343 } _resultobj
= Py_BuildValue("i",_result
);
10347 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10348 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
* _resultobj
;
10352 PyObject
* _argo0
= 0;
10353 char *_kwnames
[] = { "self", NULL
};
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10366 wxPy_BEGIN_ALLOW_THREADS
;
10367 _result
= (int )wxSlider_GetValue(_arg0
);
10369 wxPy_END_ALLOW_THREADS
;
10370 if (PyErr_Occurred()) return NULL
;
10371 } _resultobj
= Py_BuildValue("i",_result
);
10375 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10376 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
* _resultobj
;
10381 PyObject
* _argo0
= 0;
10382 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10395 wxPy_BEGIN_ALLOW_THREADS
;
10396 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10398 wxPy_END_ALLOW_THREADS
;
10399 if (PyErr_Occurred()) return NULL
;
10400 } Py_INCREF(Py_None
);
10401 _resultobj
= Py_None
;
10405 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10406 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
* _resultobj
;
10411 PyObject
* _argo0
= 0;
10412 char *_kwnames
[] = { "self","n","pos", NULL
};
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10425 wxPy_BEGIN_ALLOW_THREADS
;
10426 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10428 wxPy_END_ALLOW_THREADS
;
10429 if (PyErr_Occurred()) return NULL
;
10430 } Py_INCREF(Py_None
);
10431 _resultobj
= Py_None
;
10435 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10436 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
* _resultobj
;
10440 PyObject
* _argo0
= 0;
10441 char *_kwnames
[] = { "self","lineSize", NULL
};
10444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10454 wxPy_BEGIN_ALLOW_THREADS
;
10455 wxSlider_SetLineSize(_arg0
,_arg1
);
10457 wxPy_END_ALLOW_THREADS
;
10458 if (PyErr_Occurred()) return NULL
;
10459 } Py_INCREF(Py_None
);
10460 _resultobj
= Py_None
;
10464 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10465 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
* _resultobj
;
10469 PyObject
* _argo0
= 0;
10470 char *_kwnames
[] = { "self","pageSize", NULL
};
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10483 wxPy_BEGIN_ALLOW_THREADS
;
10484 wxSlider_SetPageSize(_arg0
,_arg1
);
10486 wxPy_END_ALLOW_THREADS
;
10487 if (PyErr_Occurred()) return NULL
;
10488 } Py_INCREF(Py_None
);
10489 _resultobj
= Py_None
;
10493 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10494 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
* _resultobj
;
10499 PyObject
* _argo0
= 0;
10500 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10513 wxPy_BEGIN_ALLOW_THREADS
;
10514 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10516 wxPy_END_ALLOW_THREADS
;
10517 if (PyErr_Occurred()) return NULL
;
10518 } Py_INCREF(Py_None
);
10519 _resultobj
= Py_None
;
10523 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10524 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10525 PyObject
* _resultobj
;
10528 PyObject
* _argo0
= 0;
10529 char *_kwnames
[] = { "self","len", NULL
};
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10542 wxPy_BEGIN_ALLOW_THREADS
;
10543 wxSlider_SetThumbLength(_arg0
,_arg1
);
10545 wxPy_END_ALLOW_THREADS
;
10546 if (PyErr_Occurred()) return NULL
;
10547 } Py_INCREF(Py_None
);
10548 _resultobj
= Py_None
;
10552 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10553 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
* _resultobj
;
10557 PyObject
* _argo0
= 0;
10558 char *_kwnames
[] = { "self","tickPos", NULL
};
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10571 wxPy_BEGIN_ALLOW_THREADS
;
10572 wxSlider_SetTick(_arg0
,_arg1
);
10574 wxPy_END_ALLOW_THREADS
;
10575 if (PyErr_Occurred()) return NULL
;
10576 } Py_INCREF(Py_None
);
10577 _resultobj
= Py_None
;
10581 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10582 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
* _resultobj
;
10586 PyObject
* _argo0
= 0;
10587 char *_kwnames
[] = { "self","value", NULL
};
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10600 wxPy_BEGIN_ALLOW_THREADS
;
10601 wxSlider_SetValue(_arg0
,_arg1
);
10603 wxPy_END_ALLOW_THREADS
;
10604 if (PyErr_Occurred()) return NULL
;
10605 } Py_INCREF(Py_None
);
10606 _resultobj
= Py_None
;
10610 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10612 wxSpinButton
*dest
;
10613 src
= (wxSpinCtrl
*) ptr
;
10614 dest
= (wxSpinButton
*) src
;
10615 return (void *) dest
;
10618 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10621 src
= (wxSpinCtrl
*) ptr
;
10622 dest
= (wxControl
*) src
;
10623 return (void *) dest
;
10626 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10629 src
= (wxSpinCtrl
*) ptr
;
10630 dest
= (wxWindow
*) src
;
10631 return (void *) dest
;
10634 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10636 wxEvtHandler
*dest
;
10637 src
= (wxSpinCtrl
*) ptr
;
10638 dest
= (wxEvtHandler
*) src
;
10639 return (void *) dest
;
10642 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10645 src
= (wxSpinCtrl
*) ptr
;
10646 dest
= (wxObject
*) src
;
10647 return (void *) dest
;
10650 #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))
10651 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
* _resultobj
;
10653 wxSpinCtrl
* _result
;
10655 wxWindowID _arg1
= (wxWindowID
) -1;
10656 char * _arg2
= (char *) "";
10657 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10658 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10659 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10660 int _arg6
= (int ) 0;
10661 int _arg7
= (int ) 100;
10662 int _arg8
= (int ) 0;
10663 char * _arg9
= (char *) "wxSpinCtrl";
10664 PyObject
* _argo0
= 0;
10666 PyObject
* _obj3
= 0;
10668 PyObject
* _obj4
= 0;
10669 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10685 if (! wxPoint_helper(_obj3
, &_arg3
))
10691 if (! wxSize_helper(_obj4
, &_arg4
))
10695 wxPy_BEGIN_ALLOW_THREADS
;
10696 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10698 wxPy_END_ALLOW_THREADS
;
10699 if (PyErr_Occurred()) return NULL
;
10701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10702 _resultobj
= Py_BuildValue("s",_ptemp
);
10704 Py_INCREF(Py_None
);
10705 _resultobj
= Py_None
;
10710 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10711 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10712 PyObject
* _resultobj
;
10713 wxSpinCtrl
* _result
;
10714 char *_kwnames
[] = { NULL
};
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10721 wxPy_BEGIN_ALLOW_THREADS
;
10722 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10724 wxPy_END_ALLOW_THREADS
;
10725 if (PyErr_Occurred()) return NULL
;
10727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10728 _resultobj
= Py_BuildValue("s",_ptemp
);
10730 Py_INCREF(Py_None
);
10731 _resultobj
= Py_None
;
10736 #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))
10737 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
* _resultobj
;
10740 wxSpinCtrl
* _arg0
;
10742 wxWindowID _arg2
= (wxWindowID
) -1;
10743 char * _arg3
= (char *) "";
10744 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10745 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10746 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10747 int _arg7
= (int ) 0;
10748 int _arg8
= (int ) 100;
10749 int _arg9
= (int ) 0;
10750 char * _arg10
= (char *) "wxSpinCtrl";
10751 PyObject
* _argo0
= 0;
10752 PyObject
* _argo1
= 0;
10754 PyObject
* _obj4
= 0;
10756 PyObject
* _obj5
= 0;
10757 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10779 if (! wxPoint_helper(_obj4
, &_arg4
))
10785 if (! wxSize_helper(_obj5
, &_arg5
))
10789 wxPy_BEGIN_ALLOW_THREADS
;
10790 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10792 wxPy_END_ALLOW_THREADS
;
10793 if (PyErr_Occurred()) return NULL
;
10794 } _resultobj
= Py_BuildValue("i",_result
);
10798 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10799 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
* _resultobj
;
10802 wxSpinCtrl
* _arg0
;
10803 PyObject
* _argo0
= 0;
10804 char *_kwnames
[] = { "self", NULL
};
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10817 wxPy_BEGIN_ALLOW_THREADS
;
10818 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10820 wxPy_END_ALLOW_THREADS
;
10821 if (PyErr_Occurred()) return NULL
;
10822 } _resultobj
= Py_BuildValue("i",_result
);
10826 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10827 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
* _resultobj
;
10830 wxSpinCtrl
* _arg0
;
10831 PyObject
* _argo0
= 0;
10832 char *_kwnames
[] = { "self", NULL
};
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10845 wxPy_BEGIN_ALLOW_THREADS
;
10846 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10848 wxPy_END_ALLOW_THREADS
;
10849 if (PyErr_Occurred()) return NULL
;
10850 } _resultobj
= Py_BuildValue("i",_result
);
10854 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10855 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
* _resultobj
;
10858 wxSpinCtrl
* _arg0
;
10859 PyObject
* _argo0
= 0;
10860 char *_kwnames
[] = { "self", NULL
};
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10873 wxPy_BEGIN_ALLOW_THREADS
;
10874 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10876 wxPy_END_ALLOW_THREADS
;
10877 if (PyErr_Occurred()) return NULL
;
10878 } _resultobj
= Py_BuildValue("i",_result
);
10882 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10883 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
* _resultobj
;
10885 wxSpinCtrl
* _arg0
;
10888 PyObject
* _argo0
= 0;
10889 char *_kwnames
[] = { "self","min","max", NULL
};
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10902 wxPy_BEGIN_ALLOW_THREADS
;
10903 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10905 wxPy_END_ALLOW_THREADS
;
10906 if (PyErr_Occurred()) return NULL
;
10907 } Py_INCREF(Py_None
);
10908 _resultobj
= Py_None
;
10912 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10913 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
* _resultobj
;
10915 wxSpinCtrl
* _arg0
;
10917 PyObject
* _argo0
= 0;
10918 char *_kwnames
[] = { "self","value", NULL
};
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10931 wxPy_BEGIN_ALLOW_THREADS
;
10932 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10934 wxPy_END_ALLOW_THREADS
;
10935 if (PyErr_Occurred()) return NULL
;
10936 } Py_INCREF(Py_None
);
10937 _resultobj
= Py_None
;
10941 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10942 wxToggleButton
*src
;
10944 src
= (wxToggleButton
*) ptr
;
10945 dest
= (wxControl
*) src
;
10946 return (void *) dest
;
10949 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10950 wxToggleButton
*src
;
10952 src
= (wxToggleButton
*) ptr
;
10953 dest
= (wxWindow
*) src
;
10954 return (void *) dest
;
10957 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10958 wxToggleButton
*src
;
10959 wxEvtHandler
*dest
;
10960 src
= (wxToggleButton
*) ptr
;
10961 dest
= (wxEvtHandler
*) src
;
10962 return (void *) dest
;
10965 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10966 wxToggleButton
*src
;
10968 src
= (wxToggleButton
*) ptr
;
10969 dest
= (wxObject
*) src
;
10970 return (void *) dest
;
10973 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10974 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
* _resultobj
;
10976 wxToggleButton
* _result
;
10980 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10981 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10982 long _arg5
= (long ) 0;
10983 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10984 char * _arg7
= (char *) "toggle";
10985 PyObject
* _argo0
= 0;
10986 PyObject
* _obj2
= 0;
10988 PyObject
* _obj3
= 0;
10990 PyObject
* _obj4
= 0;
10991 PyObject
* _argo6
= 0;
10992 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11006 #if PYTHON_API_VERSION >= 1009
11007 char* tmpPtr
; int tmpSize
;
11008 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
11009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11012 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
11014 _arg2
= new wxString(tmpPtr
, tmpSize
);
11016 if (!PyString_Check(_obj2
)) {
11017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11020 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
11026 if (! wxPoint_helper(_obj3
, &_arg3
))
11032 if (! wxSize_helper(_obj4
, &_arg4
))
11036 if (_argo6
== Py_None
) { _arg6
= NULL
; }
11037 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11043 wxPy_BEGIN_ALLOW_THREADS
;
11044 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
11046 wxPy_END_ALLOW_THREADS
;
11047 if (PyErr_Occurred()) return NULL
;
11049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11050 _resultobj
= Py_BuildValue("s",_ptemp
);
11052 Py_INCREF(Py_None
);
11053 _resultobj
= Py_None
;
11062 #define new_wxPreToggleButton() (new wxToggleButton())
11063 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
* _resultobj
;
11065 wxToggleButton
* _result
;
11066 char *_kwnames
[] = { NULL
};
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11073 wxPy_BEGIN_ALLOW_THREADS
;
11074 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11076 wxPy_END_ALLOW_THREADS
;
11077 if (PyErr_Occurred()) return NULL
;
11079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11080 _resultobj
= Py_BuildValue("s",_ptemp
);
11082 Py_INCREF(Py_None
);
11083 _resultobj
= Py_None
;
11088 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11089 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
* _resultobj
;
11092 wxToggleButton
* _arg0
;
11096 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11097 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11098 long _arg6
= (long ) 0;
11099 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11100 char * _arg8
= (char *) "toggle";
11101 PyObject
* _argo0
= 0;
11102 PyObject
* _argo1
= 0;
11103 PyObject
* _obj3
= 0;
11105 PyObject
* _obj4
= 0;
11107 PyObject
* _obj5
= 0;
11108 PyObject
* _argo7
= 0;
11109 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11129 #if PYTHON_API_VERSION >= 1009
11130 char* tmpPtr
; int tmpSize
;
11131 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11135 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11137 _arg3
= new wxString(tmpPtr
, tmpSize
);
11139 if (!PyString_Check(_obj3
)) {
11140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11143 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11149 if (! wxPoint_helper(_obj4
, &_arg4
))
11155 if (! wxSize_helper(_obj5
, &_arg5
))
11159 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11160 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11166 wxPy_BEGIN_ALLOW_THREADS
;
11167 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11169 wxPy_END_ALLOW_THREADS
;
11170 if (PyErr_Occurred()) return NULL
;
11171 } _resultobj
= Py_BuildValue("i",_result
);
11179 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11180 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
* _resultobj
;
11182 wxToggleButton
* _arg0
;
11184 PyObject
* _argo0
= 0;
11186 char *_kwnames
[] = { "self","value", NULL
};
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11198 _arg1
= (bool ) tempbool1
;
11200 wxPy_BEGIN_ALLOW_THREADS
;
11201 wxToggleButton_SetValue(_arg0
,_arg1
);
11203 wxPy_END_ALLOW_THREADS
;
11204 if (PyErr_Occurred()) return NULL
;
11205 } Py_INCREF(Py_None
);
11206 _resultobj
= Py_None
;
11210 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11211 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
* _resultobj
;
11214 wxToggleButton
* _arg0
;
11215 PyObject
* _argo0
= 0;
11216 char *_kwnames
[] = { "self", NULL
};
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11229 wxPy_BEGIN_ALLOW_THREADS
;
11230 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11232 wxPy_END_ALLOW_THREADS
;
11233 if (PyErr_Occurred()) return NULL
;
11234 } _resultobj
= Py_BuildValue("i",_result
);
11238 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11239 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
* _resultobj
;
11241 wxToggleButton
* _arg0
;
11243 PyObject
* _argo0
= 0;
11244 PyObject
* _obj1
= 0;
11245 char *_kwnames
[] = { "self","label", NULL
};
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11258 #if PYTHON_API_VERSION >= 1009
11259 char* tmpPtr
; int tmpSize
;
11260 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11264 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11266 _arg1
= new wxString(tmpPtr
, tmpSize
);
11268 if (!PyString_Check(_obj1
)) {
11269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11272 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11276 wxPy_BEGIN_ALLOW_THREADS
;
11277 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11279 wxPy_END_ALLOW_THREADS
;
11280 if (PyErr_Occurred()) return NULL
;
11281 } Py_INCREF(Py_None
);
11282 _resultobj
= Py_None
;
11290 static PyMethodDef controlscMethods
[] = {
11291 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxListBox_GetCount", (PyCFunction
) _wrap_wxListBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxChoice_GetCount", (PyCFunction
) _wrap_wxChoice_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxChoice_Delete", (PyCFunction
) _wrap_wxChoice_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11558 * This table is used by the pointer type-checker
11560 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11561 { "_signed_long","_long",0},
11562 { "_wxPrintQuality","_wxCoord",0},
11563 { "_wxPrintQuality","_int",0},
11564 { "_wxPrintQuality","_signed_int",0},
11565 { "_wxPrintQuality","_unsigned_int",0},
11566 { "_wxPrintQuality","_wxWindowID",0},
11567 { "_wxPrintQuality","_uint",0},
11568 { "_wxPrintQuality","_EBool",0},
11569 { "_wxPrintQuality","_size_t",0},
11570 { "_wxPrintQuality","_time_t",0},
11571 { "_byte","_unsigned_char",0},
11572 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11573 { "_long","_unsigned_long",0},
11574 { "_long","_signed_long",0},
11575 { "_size_t","_wxCoord",0},
11576 { "_size_t","_wxPrintQuality",0},
11577 { "_size_t","_time_t",0},
11578 { "_size_t","_unsigned_int",0},
11579 { "_size_t","_int",0},
11580 { "_size_t","_wxWindowID",0},
11581 { "_size_t","_uint",0},
11582 { "_uint","_wxCoord",0},
11583 { "_uint","_wxPrintQuality",0},
11584 { "_uint","_time_t",0},
11585 { "_uint","_size_t",0},
11586 { "_uint","_unsigned_int",0},
11587 { "_uint","_int",0},
11588 { "_uint","_wxWindowID",0},
11589 { "_wxChar","_char",0},
11590 { "_char","_wxChar",0},
11591 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11592 { "_EBool","_wxCoord",0},
11593 { "_EBool","_wxPrintQuality",0},
11594 { "_EBool","_signed_int",0},
11595 { "_EBool","_int",0},
11596 { "_EBool","_wxWindowID",0},
11597 { "_unsigned_long","_long",0},
11598 { "_signed_int","_wxCoord",0},
11599 { "_signed_int","_wxPrintQuality",0},
11600 { "_signed_int","_EBool",0},
11601 { "_signed_int","_wxWindowID",0},
11602 { "_signed_int","_int",0},
11603 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11604 { "_WXTYPE","_short",0},
11605 { "_WXTYPE","_signed_short",0},
11606 { "_WXTYPE","_unsigned_short",0},
11607 { "_unsigned_short","_WXTYPE",0},
11608 { "_unsigned_short","_short",0},
11609 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11610 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11611 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11612 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11613 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11614 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11615 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11616 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11617 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11618 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11619 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11620 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11621 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11622 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11623 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11624 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11625 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11626 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11627 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11628 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11629 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11630 { "_signed_short","_WXTYPE",0},
11631 { "_signed_short","_short",0},
11632 { "_unsigned_char","_byte",0},
11633 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11634 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11635 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11636 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11637 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11638 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11639 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11640 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11641 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11642 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11643 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11644 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11645 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11646 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11647 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11648 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11649 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11650 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11651 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11652 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11653 { "_unsigned_int","_wxCoord",0},
11654 { "_unsigned_int","_wxPrintQuality",0},
11655 { "_unsigned_int","_time_t",0},
11656 { "_unsigned_int","_size_t",0},
11657 { "_unsigned_int","_uint",0},
11658 { "_unsigned_int","_wxWindowID",0},
11659 { "_unsigned_int","_int",0},
11660 { "_short","_WXTYPE",0},
11661 { "_short","_unsigned_short",0},
11662 { "_short","_signed_short",0},
11663 { "_wxWindowID","_wxCoord",0},
11664 { "_wxWindowID","_wxPrintQuality",0},
11665 { "_wxWindowID","_time_t",0},
11666 { "_wxWindowID","_size_t",0},
11667 { "_wxWindowID","_EBool",0},
11668 { "_wxWindowID","_uint",0},
11669 { "_wxWindowID","_int",0},
11670 { "_wxWindowID","_signed_int",0},
11671 { "_wxWindowID","_unsigned_int",0},
11672 { "_int","_wxCoord",0},
11673 { "_int","_wxPrintQuality",0},
11674 { "_int","_time_t",0},
11675 { "_int","_size_t",0},
11676 { "_int","_EBool",0},
11677 { "_int","_uint",0},
11678 { "_int","_wxWindowID",0},
11679 { "_int","_unsigned_int",0},
11680 { "_int","_signed_int",0},
11681 { "_time_t","_wxCoord",0},
11682 { "_time_t","_wxPrintQuality",0},
11683 { "_time_t","_unsigned_int",0},
11684 { "_time_t","_int",0},
11685 { "_time_t","_wxWindowID",0},
11686 { "_time_t","_uint",0},
11687 { "_time_t","_size_t",0},
11688 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11689 { "_wxCoord","_int",0},
11690 { "_wxCoord","_signed_int",0},
11691 { "_wxCoord","_unsigned_int",0},
11692 { "_wxCoord","_wxWindowID",0},
11693 { "_wxCoord","_uint",0},
11694 { "_wxCoord","_EBool",0},
11695 { "_wxCoord","_size_t",0},
11696 { "_wxCoord","_time_t",0},
11697 { "_wxCoord","_wxPrintQuality",0},
11698 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11699 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11700 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11701 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11702 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11703 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11704 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11705 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11706 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11707 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11708 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11709 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11710 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11711 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11712 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11713 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11714 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11715 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11716 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11717 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11718 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11719 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11720 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11721 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11722 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11723 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11724 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11725 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11726 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11727 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11728 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11729 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11730 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11731 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11732 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11733 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11734 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11735 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11736 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11737 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11738 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11739 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11742 static PyObject
*SWIG_globals
;
11746 SWIGEXPORT(void) initcontrolsc() {
11748 SWIG_globals
= SWIG_newvarlink();
11749 m
= Py_InitModule("controlsc", controlscMethods
);
11750 d
= PyModule_GetDict(m
);
11751 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11752 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11753 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11756 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11757 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);