2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
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 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
772 char *_kwnames
[] = { NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
779 wxPy_BEGIN_ALLOW_THREADS
;
780 _result
= new wxSize (wxButton::GetDefaultSize());
782 wxPy_END_ALLOW_THREADS
;
783 if (PyErr_Occurred()) return NULL
;
784 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
785 _resultobj
= Py_BuildValue("s",_ptemp
);
789 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
792 src
= (wxBitmapButton
*) ptr
;
793 dest
= (wxButton
*) src
;
794 return (void *) dest
;
797 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
800 src
= (wxBitmapButton
*) ptr
;
801 dest
= (wxControl
*) src
;
802 return (void *) dest
;
805 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
808 src
= (wxBitmapButton
*) ptr
;
809 dest
= (wxWindow
*) src
;
810 return (void *) dest
;
813 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
816 src
= (wxBitmapButton
*) ptr
;
817 dest
= (wxEvtHandler
*) src
;
818 return (void *) dest
;
821 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
824 src
= (wxBitmapButton
*) ptr
;
825 dest
= (wxObject
*) src
;
826 return (void *) dest
;
829 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
830 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
831 PyObject
* _resultobj
;
832 wxBitmapButton
* _result
;
836 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
837 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
838 long _arg5
= (long ) wxBU_AUTODRAW
;
839 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
840 char * _arg7
= (char *) "button";
841 PyObject
* _argo0
= 0;
842 PyObject
* _argo2
= 0;
844 PyObject
* _obj3
= 0;
846 PyObject
* _obj4
= 0;
847 PyObject
* _argo6
= 0;
848 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
862 if (_argo2
== Py_None
) { _arg2
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
871 if (! wxPoint_helper(_obj3
, &_arg3
))
877 if (! wxSize_helper(_obj4
, &_arg4
))
881 if (_argo6
== Py_None
) { _arg6
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
888 wxPy_BEGIN_ALLOW_THREADS
;
889 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
891 wxPy_END_ALLOW_THREADS
;
892 if (PyErr_Occurred()) return NULL
;
894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
895 _resultobj
= Py_BuildValue("s",_ptemp
);
898 _resultobj
= Py_None
;
903 #define new_wxPreBitmapButton() (new wxBitmapButton())
904 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
906 wxBitmapButton
* _result
;
907 char *_kwnames
[] = { NULL
};
911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
914 wxPy_BEGIN_ALLOW_THREADS
;
915 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
917 wxPy_END_ALLOW_THREADS
;
918 if (PyErr_Occurred()) return NULL
;
920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
921 _resultobj
= Py_BuildValue("s",_ptemp
);
924 _resultobj
= Py_None
;
929 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
930 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
933 wxBitmapButton
* _arg0
;
937 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
938 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
939 long _arg6
= (long ) wxBU_AUTODRAW
;
940 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
941 char * _arg8
= (char *) "button";
942 PyObject
* _argo0
= 0;
943 PyObject
* _argo1
= 0;
944 PyObject
* _argo3
= 0;
946 PyObject
* _obj4
= 0;
948 PyObject
* _obj5
= 0;
949 PyObject
* _argo7
= 0;
950 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
970 if (_argo3
== Py_None
) { _arg3
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
979 if (! wxPoint_helper(_obj4
, &_arg4
))
985 if (! wxSize_helper(_obj5
, &_arg5
))
989 if (_argo7
== Py_None
) { _arg7
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
996 wxPy_BEGIN_ALLOW_THREADS
;
997 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
999 wxPy_END_ALLOW_THREADS
;
1000 if (PyErr_Occurred()) return NULL
;
1001 } _resultobj
= Py_BuildValue("i",_result
);
1005 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1006 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1009 wxBitmapButton
* _arg0
;
1010 PyObject
* _argo0
= 0;
1011 char *_kwnames
[] = { "self", NULL
};
1015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1025 wxPy_BEGIN_ALLOW_THREADS
;
1026 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
1027 _result
= (wxBitmap
*) &_result_ref
;
1029 wxPy_END_ALLOW_THREADS
;
1030 if (PyErr_Occurred()) return NULL
;
1032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1033 _resultobj
= Py_BuildValue("s",_ptemp
);
1036 _resultobj
= Py_None
;
1041 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1042 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 wxBitmapButton
* _arg0
;
1046 PyObject
* _argo0
= 0;
1047 char *_kwnames
[] = { "self", NULL
};
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
1063 _result
= (wxBitmap
*) &_result_ref
;
1065 wxPy_END_ALLOW_THREADS
;
1066 if (PyErr_Occurred()) return NULL
;
1068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1069 _resultobj
= Py_BuildValue("s",_ptemp
);
1072 _resultobj
= Py_None
;
1077 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1078 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1079 PyObject
* _resultobj
;
1081 wxBitmapButton
* _arg0
;
1082 PyObject
* _argo0
= 0;
1083 char *_kwnames
[] = { "self", NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1097 wxPy_BEGIN_ALLOW_THREADS
;
1098 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
1099 _result
= (wxBitmap
*) &_result_ref
;
1101 wxPy_END_ALLOW_THREADS
;
1102 if (PyErr_Occurred()) return NULL
;
1104 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1105 _resultobj
= Py_BuildValue("s",_ptemp
);
1108 _resultobj
= Py_None
;
1113 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1114 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1117 wxBitmapButton
* _arg0
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "self", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1133 wxPy_BEGIN_ALLOW_THREADS
;
1134 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
1135 _result
= (wxBitmap
*) &_result_ref
;
1137 wxPy_END_ALLOW_THREADS
;
1138 if (PyErr_Occurred()) return NULL
;
1140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1141 _resultobj
= Py_BuildValue("s",_ptemp
);
1144 _resultobj
= Py_None
;
1149 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1150 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1152 wxBitmapButton
* _arg0
;
1154 PyObject
* _argo0
= 0;
1155 PyObject
* _argo1
= 0;
1156 char *_kwnames
[] = { "self","bitmap", NULL
};
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1179 wxPy_END_ALLOW_THREADS
;
1180 if (PyErr_Occurred()) return NULL
;
1181 } Py_INCREF(Py_None
);
1182 _resultobj
= Py_None
;
1186 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1187 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1188 PyObject
* _resultobj
;
1189 wxBitmapButton
* _arg0
;
1191 PyObject
* _argo0
= 0;
1192 PyObject
* _argo1
= 0;
1193 char *_kwnames
[] = { "self","bitmap", NULL
};
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1206 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1213 wxPy_BEGIN_ALLOW_THREADS
;
1214 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1216 wxPy_END_ALLOW_THREADS
;
1217 if (PyErr_Occurred()) return NULL
;
1218 } Py_INCREF(Py_None
);
1219 _resultobj
= Py_None
;
1223 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1224 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
* _resultobj
;
1226 wxBitmapButton
* _arg0
;
1228 PyObject
* _argo0
= 0;
1229 PyObject
* _argo1
= 0;
1230 char *_kwnames
[] = { "self","bitmap", NULL
};
1233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1250 wxPy_BEGIN_ALLOW_THREADS
;
1251 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1253 wxPy_END_ALLOW_THREADS
;
1254 if (PyErr_Occurred()) return NULL
;
1255 } Py_INCREF(Py_None
);
1256 _resultobj
= Py_None
;
1260 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1261 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1262 PyObject
* _resultobj
;
1263 wxBitmapButton
* _arg0
;
1265 PyObject
* _argo0
= 0;
1266 PyObject
* _argo1
= 0;
1267 char *_kwnames
[] = { "self","bitmap", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1280 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1281 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1287 wxPy_BEGIN_ALLOW_THREADS
;
1288 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1290 wxPy_END_ALLOW_THREADS
;
1291 if (PyErr_Occurred()) return NULL
;
1292 } Py_INCREF(Py_None
);
1293 _resultobj
= Py_None
;
1297 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1298 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1300 wxBitmapButton
* _arg0
;
1303 PyObject
* _argo0
= 0;
1304 char *_kwnames
[] = { "self","x","y", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1320 wxPy_END_ALLOW_THREADS
;
1321 if (PyErr_Occurred()) return NULL
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1328 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1331 wxBitmapButton
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1346 wxPy_BEGIN_ALLOW_THREADS
;
1347 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1349 wxPy_END_ALLOW_THREADS
;
1350 if (PyErr_Occurred()) return NULL
;
1351 } _resultobj
= Py_BuildValue("i",_result
);
1355 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1356 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1359 wxBitmapButton
* _arg0
;
1360 PyObject
* _argo0
= 0;
1361 char *_kwnames
[] = { "self", NULL
};
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1374 wxPy_BEGIN_ALLOW_THREADS
;
1375 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1377 wxPy_END_ALLOW_THREADS
;
1378 if (PyErr_Occurred()) return NULL
;
1379 } _resultobj
= Py_BuildValue("i",_result
);
1383 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1386 src
= (wxCheckBox
*) ptr
;
1387 dest
= (wxControl
*) src
;
1388 return (void *) dest
;
1391 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1394 src
= (wxCheckBox
*) ptr
;
1395 dest
= (wxWindow
*) src
;
1396 return (void *) dest
;
1399 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1402 src
= (wxCheckBox
*) ptr
;
1403 dest
= (wxEvtHandler
*) src
;
1404 return (void *) dest
;
1407 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1410 src
= (wxCheckBox
*) ptr
;
1411 dest
= (wxObject
*) src
;
1412 return (void *) dest
;
1415 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1416 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
* _resultobj
;
1418 wxCheckBox
* _result
;
1422 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1423 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1424 long _arg5
= (long ) 0;
1425 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1426 char * _arg7
= (char *) "checkBox";
1427 PyObject
* _argo0
= 0;
1428 PyObject
* _obj2
= 0;
1430 PyObject
* _obj3
= 0;
1432 PyObject
* _obj4
= 0;
1433 PyObject
* _argo6
= 0;
1434 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1448 #if PYTHON_API_VERSION >= 1009
1449 char* tmpPtr
; int tmpSize
;
1450 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1451 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1454 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1456 _arg2
= new wxString(tmpPtr
, tmpSize
);
1458 if (!PyString_Check(_obj2
)) {
1459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1462 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1468 if (! wxPoint_helper(_obj3
, &_arg3
))
1474 if (! wxSize_helper(_obj4
, &_arg4
))
1478 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1479 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1488 wxPy_END_ALLOW_THREADS
;
1489 if (PyErr_Occurred()) return NULL
;
1491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1492 _resultobj
= Py_BuildValue("s",_ptemp
);
1495 _resultobj
= Py_None
;
1504 #define new_wxPreCheckBox() (new wxCheckBox())
1505 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxCheckBox
* _result
;
1508 char *_kwnames
[] = { NULL
};
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1518 wxPy_END_ALLOW_THREADS
;
1519 if (PyErr_Occurred()) return NULL
;
1521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1522 _resultobj
= Py_BuildValue("s",_ptemp
);
1525 _resultobj
= Py_None
;
1530 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1531 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1538 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1539 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1540 long _arg6
= (long ) 0;
1541 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1542 char * _arg8
= (char *) "checkBox";
1543 PyObject
* _argo0
= 0;
1544 PyObject
* _argo1
= 0;
1545 PyObject
* _obj3
= 0;
1547 PyObject
* _obj4
= 0;
1549 PyObject
* _obj5
= 0;
1550 PyObject
* _argo7
= 0;
1551 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1564 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1565 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
1571 #if PYTHON_API_VERSION >= 1009
1572 char* tmpPtr
; int tmpSize
;
1573 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1577 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1579 _arg3
= new wxString(tmpPtr
, tmpSize
);
1581 if (!PyString_Check(_obj3
)) {
1582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1585 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1591 if (! wxPoint_helper(_obj4
, &_arg4
))
1597 if (! wxSize_helper(_obj5
, &_arg5
))
1601 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1602 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
1608 wxPy_BEGIN_ALLOW_THREADS
;
1609 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1611 wxPy_END_ALLOW_THREADS
;
1612 if (PyErr_Occurred()) return NULL
;
1613 } _resultobj
= Py_BuildValue("i",_result
);
1621 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1622 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1643 wxPy_END_ALLOW_THREADS
;
1644 if (PyErr_Occurred()) return NULL
;
1645 } _resultobj
= Py_BuildValue("i",_result
);
1649 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1650 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1654 PyObject
* _argo0
= 0;
1656 char *_kwnames
[] = { "self","state", NULL
};
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1668 _arg1
= (bool ) tempbool1
;
1670 wxPy_BEGIN_ALLOW_THREADS
;
1671 wxCheckBox_SetValue(_arg0
,_arg1
);
1673 wxPy_END_ALLOW_THREADS
;
1674 if (PyErr_Occurred()) return NULL
;
1675 } Py_INCREF(Py_None
);
1676 _resultobj
= Py_None
;
1680 static void *SwigwxChoiceTowxControl(void *ptr
) {
1683 src
= (wxChoice
*) ptr
;
1684 dest
= (wxControl
*) src
;
1685 return (void *) dest
;
1688 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1691 src
= (wxChoice
*) ptr
;
1692 dest
= (wxWindow
*) src
;
1693 return (void *) dest
;
1696 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1699 src
= (wxChoice
*) ptr
;
1700 dest
= (wxEvtHandler
*) src
;
1701 return (void *) dest
;
1704 static void *SwigwxChoiceTowxObject(void *ptr
) {
1707 src
= (wxChoice
*) ptr
;
1708 dest
= (wxObject
*) src
;
1709 return (void *) dest
;
1712 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1713 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1718 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1719 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1720 int _arg4
= (int ) 0;
1721 wxString
* _arg5
= (wxString
*) NULL
;
1722 long _arg6
= (long ) 0;
1723 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1724 char * _arg8
= (char *) "choice";
1725 PyObject
* _argo0
= 0;
1727 PyObject
* _obj2
= 0;
1729 PyObject
* _obj3
= 0;
1730 PyObject
* _obj5
= 0;
1731 PyObject
* _argo7
= 0;
1732 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1748 if (! wxPoint_helper(_obj2
, &_arg2
))
1754 if (! wxSize_helper(_obj3
, &_arg3
))
1759 _arg5
= wxString_LIST_helper(_obj5
);
1760 if (_arg5
== NULL
) {
1765 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1773 _arg4
= PyList_Size(_obj5
);
1780 wxPy_BEGIN_ALLOW_THREADS
;
1781 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1783 wxPy_END_ALLOW_THREADS
;
1784 if (PyErr_Occurred()) return NULL
;
1786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1787 _resultobj
= Py_BuildValue("s",_ptemp
);
1790 _resultobj
= Py_None
;
1798 #define new_wxPreChoice() (new wxChoice())
1799 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1802 char *_kwnames
[] = { NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 _result
= (wxChoice
*)new_wxPreChoice();
1812 wxPy_END_ALLOW_THREADS
;
1813 if (PyErr_Occurred()) return NULL
;
1815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1816 _resultobj
= Py_BuildValue("s",_ptemp
);
1819 _resultobj
= Py_None
;
1824 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1825 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1826 PyObject
* _resultobj
;
1831 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1832 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1833 int _arg5
= (int ) 0;
1834 wxString
* _arg6
= (wxString
*) NULL
;
1835 long _arg7
= (long ) 0;
1836 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1837 char * _arg9
= (char *) "choice";
1838 PyObject
* _argo0
= 0;
1839 PyObject
* _argo1
= 0;
1841 PyObject
* _obj3
= 0;
1843 PyObject
* _obj4
= 0;
1844 PyObject
* _obj6
= 0;
1845 PyObject
* _argo8
= 0;
1846 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
1859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
1868 if (! wxPoint_helper(_obj3
, &_arg3
))
1874 if (! wxSize_helper(_obj4
, &_arg4
))
1879 _arg6
= wxString_LIST_helper(_obj6
);
1880 if (_arg6
== NULL
) {
1885 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
1893 _arg5
= PyList_Size(_obj6
);
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1903 wxPy_END_ALLOW_THREADS
;
1904 if (PyErr_Occurred()) return NULL
;
1905 } _resultobj
= Py_BuildValue("i",_result
);
1912 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1913 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
* _resultobj
;
1917 PyObject
* _argo0
= 0;
1918 PyObject
* _obj1
= 0;
1919 char *_kwnames
[] = { "self","item", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1932 #if PYTHON_API_VERSION >= 1009
1933 char* tmpPtr
; int tmpSize
;
1934 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1935 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1938 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1940 _arg1
= new wxString(tmpPtr
, tmpSize
);
1942 if (!PyString_Check(_obj1
)) {
1943 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1946 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 wxChoice_Append(_arg0
,*_arg1
);
1953 wxPy_END_ALLOW_THREADS
;
1954 if (PyErr_Occurred()) return NULL
;
1955 } Py_INCREF(Py_None
);
1956 _resultobj
= Py_None
;
1964 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1965 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "self", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 wxChoice_Clear(_arg0
);
1985 wxPy_END_ALLOW_THREADS
;
1986 if (PyErr_Occurred()) return NULL
;
1987 } Py_INCREF(Py_None
);
1988 _resultobj
= Py_None
;
1992 #define wxChoice_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1993 static PyObject
*_wrap_wxChoice_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1997 PyObject
* _argo0
= 0;
1998 char *_kwnames
[] = { "self","n", NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_Delete",_kwnames
,&_argo0
,&_arg1
))
2004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Delete. Expected _wxChoice_p.");
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 wxChoice_Delete(_arg0
,_arg1
);
2014 wxPy_END_ALLOW_THREADS
;
2015 if (PyErr_Occurred()) return NULL
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2022 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
* _resultobj
;
2027 PyObject
* _argo0
= 0;
2028 PyObject
* _obj1
= 0;
2029 char *_kwnames
[] = { "self","string", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
2035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
2042 #if PYTHON_API_VERSION >= 1009
2043 char* tmpPtr
; int tmpSize
;
2044 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2045 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2048 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2050 _arg1
= new wxString(tmpPtr
, tmpSize
);
2052 if (!PyString_Check(_obj1
)) {
2053 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2056 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
2063 wxPy_END_ALLOW_THREADS
;
2064 if (PyErr_Occurred()) return NULL
;
2065 } _resultobj
= Py_BuildValue("i",_result
);
2073 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2074 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
* _resultobj
;
2078 PyObject
* _argo0
= 0;
2079 char *_kwnames
[] = { "self", NULL
};
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2092 wxPy_BEGIN_ALLOW_THREADS
;
2093 _result
= (int )wxChoice_GetColumns(_arg0
);
2095 wxPy_END_ALLOW_THREADS
;
2096 if (PyErr_Occurred()) return NULL
;
2097 } _resultobj
= Py_BuildValue("i",_result
);
2101 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
2102 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2106 PyObject
* _argo0
= 0;
2107 char *_kwnames
[] = { "self", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
2120 wxPy_BEGIN_ALLOW_THREADS
;
2121 _result
= (int )wxChoice_GetSelection(_arg0
);
2123 wxPy_END_ALLOW_THREADS
;
2124 if (PyErr_Occurred()) return NULL
;
2125 } _resultobj
= Py_BuildValue("i",_result
);
2129 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2130 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2131 PyObject
* _resultobj
;
2135 PyObject
* _argo0
= 0;
2136 char *_kwnames
[] = { "self","n", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
2142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
2149 wxPy_BEGIN_ALLOW_THREADS
;
2150 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
2152 wxPy_END_ALLOW_THREADS
;
2153 if (PyErr_Occurred()) return NULL
;
2155 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2163 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2164 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2168 PyObject
* _argo0
= 0;
2169 char *_kwnames
[] = { "self", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
2175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
2185 wxPy_END_ALLOW_THREADS
;
2186 if (PyErr_Occurred()) return NULL
;
2188 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2196 #define wxChoice_GetCount(_swigobj) (_swigobj->GetCount())
2197 static PyObject
*_wrap_wxChoice_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2201 PyObject
* _argo0
= 0;
2202 char *_kwnames
[] = { "self", NULL
};
2205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetCount",_kwnames
,&_argo0
))
2208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetCount. Expected _wxChoice_p.");
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 _result
= (int )wxChoice_GetCount(_arg0
);
2218 wxPy_END_ALLOW_THREADS
;
2219 if (PyErr_Occurred()) return NULL
;
2220 } _resultobj
= Py_BuildValue("i",_result
);
2224 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2225 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
* _resultobj
;
2228 int _arg1
= (int ) 1;
2229 PyObject
* _argo0
= 0;
2230 char *_kwnames
[] = { "self","n", NULL
};
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2243 wxPy_BEGIN_ALLOW_THREADS
;
2244 wxChoice_SetColumns(_arg0
,_arg1
);
2246 wxPy_END_ALLOW_THREADS
;
2247 if (PyErr_Occurred()) return NULL
;
2248 } Py_INCREF(Py_None
);
2249 _resultobj
= Py_None
;
2253 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2254 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
* _resultobj
;
2258 PyObject
* _argo0
= 0;
2259 char *_kwnames
[] = { "self","n", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2272 wxPy_BEGIN_ALLOW_THREADS
;
2273 wxChoice_SetSelection(_arg0
,_arg1
);
2275 wxPy_END_ALLOW_THREADS
;
2276 if (PyErr_Occurred()) return NULL
;
2277 } Py_INCREF(Py_None
);
2278 _resultobj
= Py_None
;
2282 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2283 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
* _resultobj
;
2287 PyObject
* _argo0
= 0;
2288 PyObject
* _obj1
= 0;
2289 char *_kwnames
[] = { "self","string", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2302 #if PYTHON_API_VERSION >= 1009
2303 char* tmpPtr
; int tmpSize
;
2304 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2308 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2310 _arg1
= new wxString(tmpPtr
, tmpSize
);
2312 if (!PyString_Check(_obj1
)) {
2313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2316 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2320 wxPy_BEGIN_ALLOW_THREADS
;
2321 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2323 wxPy_END_ALLOW_THREADS
;
2324 if (PyErr_Occurred()) return NULL
;
2325 } Py_INCREF(Py_None
);
2326 _resultobj
= Py_None
;
2334 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2335 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2340 PyObject
* _argo0
= 0;
2341 PyObject
* _obj2
= 0;
2342 char *_kwnames
[] = { "self","n","s", NULL
};
2345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2355 #if PYTHON_API_VERSION >= 1009
2356 char* tmpPtr
; int tmpSize
;
2357 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2361 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2363 _arg2
= new wxString(tmpPtr
, tmpSize
);
2365 if (!PyString_Check(_obj2
)) {
2366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2369 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2376 wxPy_END_ALLOW_THREADS
;
2377 if (PyErr_Occurred()) return NULL
;
2378 } Py_INCREF(Py_None
);
2379 _resultobj
= Py_None
;
2387 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2390 src
= (wxComboBox
*) ptr
;
2391 dest
= (wxChoice
*) src
;
2392 return (void *) dest
;
2395 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2398 src
= (wxComboBox
*) ptr
;
2399 dest
= (wxControl
*) src
;
2400 return (void *) dest
;
2403 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2406 src
= (wxComboBox
*) ptr
;
2407 dest
= (wxWindow
*) src
;
2408 return (void *) dest
;
2411 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2414 src
= (wxComboBox
*) ptr
;
2415 dest
= (wxEvtHandler
*) src
;
2416 return (void *) dest
;
2419 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2422 src
= (wxComboBox
*) ptr
;
2423 dest
= (wxObject
*) src
;
2424 return (void *) dest
;
2427 #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))
2428 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2430 wxComboBox
* _result
;
2433 char * _arg2
= (char *) "";
2434 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2435 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2436 int _arg5
= (int ) 0;
2437 wxString
* _arg6
= (wxString
*) NULL
;
2438 long _arg7
= (long ) 0;
2439 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2440 char * _arg9
= (char *) "comboBox";
2441 PyObject
* _argo0
= 0;
2443 PyObject
* _obj3
= 0;
2445 PyObject
* _obj4
= 0;
2446 PyObject
* _obj6
= 0;
2447 PyObject
* _argo8
= 0;
2448 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2464 if (! wxPoint_helper(_obj3
, &_arg3
))
2470 if (! wxSize_helper(_obj4
, &_arg4
))
2475 _arg6
= wxString_LIST_helper(_obj6
);
2476 if (_arg6
== NULL
) {
2481 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2489 _arg5
= PyList_Size(_obj6
);
2496 wxPy_BEGIN_ALLOW_THREADS
;
2497 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2499 wxPy_END_ALLOW_THREADS
;
2500 if (PyErr_Occurred()) return NULL
;
2502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2503 _resultobj
= Py_BuildValue("s",_ptemp
);
2506 _resultobj
= Py_None
;
2514 #define new_wxPreComboBox() (new wxComboBox())
2515 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2516 PyObject
* _resultobj
;
2517 wxComboBox
* _result
;
2518 char *_kwnames
[] = { NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2525 wxPy_BEGIN_ALLOW_THREADS
;
2526 _result
= (wxComboBox
*)new_wxPreComboBox();
2528 wxPy_END_ALLOW_THREADS
;
2529 if (PyErr_Occurred()) return NULL
;
2531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2532 _resultobj
= Py_BuildValue("s",_ptemp
);
2535 _resultobj
= Py_None
;
2540 #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))
2541 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2547 char * _arg3
= (char *) "";
2548 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2549 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2550 int _arg6
= (int ) 0;
2551 wxString
* _arg7
= (wxString
*) NULL
;
2552 long _arg8
= (long ) 0;
2553 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2554 char * _arg10
= (char *) "comboBox";
2555 PyObject
* _argo0
= 0;
2556 PyObject
* _argo1
= 0;
2558 PyObject
* _obj4
= 0;
2560 PyObject
* _obj5
= 0;
2561 PyObject
* _obj7
= 0;
2562 PyObject
* _argo9
= 0;
2563 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2585 if (! wxPoint_helper(_obj4
, &_arg4
))
2591 if (! wxSize_helper(_obj5
, &_arg5
))
2596 _arg7
= wxString_LIST_helper(_obj7
);
2597 if (_arg7
== NULL
) {
2602 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2610 _arg6
= PyList_Size(_obj7
);
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2620 wxPy_END_ALLOW_THREADS
;
2621 if (PyErr_Occurred()) return NULL
;
2622 } _resultobj
= Py_BuildValue("i",_result
);
2629 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
2630 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2631 PyObject
* _resultobj
;
2634 PyObject
* _argo0
= 0;
2635 PyObject
* _obj1
= 0;
2636 char *_kwnames
[] = { "self","item", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
2649 #if PYTHON_API_VERSION >= 1009
2650 char* tmpPtr
; int tmpSize
;
2651 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2652 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2655 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2657 _arg1
= new wxString(tmpPtr
, tmpSize
);
2659 if (!PyString_Check(_obj1
)) {
2660 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2663 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2667 wxPy_BEGIN_ALLOW_THREADS
;
2668 wxComboBox_Append(_arg0
,*_arg1
);
2670 wxPy_END_ALLOW_THREADS
;
2671 if (PyErr_Occurred()) return NULL
;
2672 } Py_INCREF(Py_None
);
2673 _resultobj
= Py_None
;
2681 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
2682 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2685 PyObject
* _argo0
= 0;
2686 char *_kwnames
[] = { "self", NULL
};
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
2692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 wxComboBox_Clear(_arg0
);
2702 wxPy_END_ALLOW_THREADS
;
2703 if (PyErr_Occurred()) return NULL
;
2704 } Py_INCREF(Py_None
);
2705 _resultobj
= Py_None
;
2709 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2710 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 wxComboBox_Copy(_arg0
);
2730 wxPy_END_ALLOW_THREADS
;
2731 if (PyErr_Occurred()) return NULL
;
2732 } Py_INCREF(Py_None
);
2733 _resultobj
= Py_None
;
2737 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2738 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2755 wxPy_BEGIN_ALLOW_THREADS
;
2756 wxComboBox_Cut(_arg0
);
2758 wxPy_END_ALLOW_THREADS
;
2759 if (PyErr_Occurred()) return NULL
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2766 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2770 PyObject
* _argo0
= 0;
2771 char *_kwnames
[] = { "self","n", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
2784 wxPy_BEGIN_ALLOW_THREADS
;
2785 wxComboBox_Delete(_arg0
,_arg1
);
2787 wxPy_END_ALLOW_THREADS
;
2788 if (PyErr_Occurred()) return NULL
;
2789 } Py_INCREF(Py_None
);
2790 _resultobj
= Py_None
;
2794 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2795 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 PyObject
* _obj1
= 0;
2802 char *_kwnames
[] = { "self","string", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2815 #if PYTHON_API_VERSION >= 1009
2816 char* tmpPtr
; int tmpSize
;
2817 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2818 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2821 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2823 _arg1
= new wxString(tmpPtr
, tmpSize
);
2825 if (!PyString_Check(_obj1
)) {
2826 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2829 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2836 wxPy_END_ALLOW_THREADS
;
2837 if (PyErr_Occurred()) return NULL
;
2838 } _resultobj
= Py_BuildValue("i",_result
);
2846 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2847 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2848 PyObject
* _resultobj
;
2851 PyObject
* _argo0
= 0;
2852 char *_kwnames
[] = { "self", NULL
};
2855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2865 wxPy_BEGIN_ALLOW_THREADS
;
2866 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2868 wxPy_END_ALLOW_THREADS
;
2869 if (PyErr_Occurred()) return NULL
;
2870 } _resultobj
= Py_BuildValue("l",_result
);
2874 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2875 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
* _resultobj
;
2879 PyObject
* _argo0
= 0;
2880 char *_kwnames
[] = { "self", NULL
};
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2893 wxPy_BEGIN_ALLOW_THREADS
;
2894 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2896 wxPy_END_ALLOW_THREADS
;
2897 if (PyErr_Occurred()) return NULL
;
2898 } _resultobj
= Py_BuildValue("l",_result
);
2902 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2903 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2907 PyObject
* _argo0
= 0;
2908 char *_kwnames
[] = { "self", NULL
};
2911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2921 wxPy_BEGIN_ALLOW_THREADS
;
2922 _result
= (int )wxComboBox_GetSelection(_arg0
);
2924 wxPy_END_ALLOW_THREADS
;
2925 if (PyErr_Occurred()) return NULL
;
2926 } _resultobj
= Py_BuildValue("i",_result
);
2930 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2931 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self","n", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2950 wxPy_BEGIN_ALLOW_THREADS
;
2951 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2953 wxPy_END_ALLOW_THREADS
;
2954 if (PyErr_Occurred()) return NULL
;
2956 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2964 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2965 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2966 PyObject
* _resultobj
;
2969 PyObject
* _argo0
= 0;
2970 char *_kwnames
[] = { "self", NULL
};
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2983 wxPy_BEGIN_ALLOW_THREADS
;
2984 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2986 wxPy_END_ALLOW_THREADS
;
2987 if (PyErr_Occurred()) return NULL
;
2989 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2997 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2998 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "self", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3016 wxPy_BEGIN_ALLOW_THREADS
;
3017 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3019 wxPy_END_ALLOW_THREADS
;
3020 if (PyErr_Occurred()) return NULL
;
3022 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3030 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3031 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3034 PyObject
* _argo0
= 0;
3035 char *_kwnames
[] = { "self", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3048 wxPy_BEGIN_ALLOW_THREADS
;
3049 wxComboBox_Paste(_arg0
);
3051 wxPy_END_ALLOW_THREADS
;
3052 if (PyErr_Occurred()) return NULL
;
3053 } Py_INCREF(Py_None
);
3054 _resultobj
= Py_None
;
3058 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3059 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3065 PyObject
* _argo0
= 0;
3066 PyObject
* _obj3
= 0;
3067 char *_kwnames
[] = { "self","from","to","text", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3080 #if PYTHON_API_VERSION >= 1009
3081 char* tmpPtr
; int tmpSize
;
3082 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3086 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3088 _arg3
= new wxString(tmpPtr
, tmpSize
);
3090 if (!PyString_Check(_obj3
)) {
3091 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3094 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3101 wxPy_END_ALLOW_THREADS
;
3102 if (PyErr_Occurred()) return NULL
;
3103 } Py_INCREF(Py_None
);
3104 _resultobj
= Py_None
;
3112 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3113 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "self","from","to", NULL
};
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3132 wxPy_BEGIN_ALLOW_THREADS
;
3133 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3135 wxPy_END_ALLOW_THREADS
;
3136 if (PyErr_Occurred()) return NULL
;
3137 } Py_INCREF(Py_None
);
3138 _resultobj
= Py_None
;
3142 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3143 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3147 PyObject
* _argo0
= 0;
3148 char *_kwnames
[] = { "self","pos", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3161 wxPy_BEGIN_ALLOW_THREADS
;
3162 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3164 wxPy_END_ALLOW_THREADS
;
3165 if (PyErr_Occurred()) return NULL
;
3166 } Py_INCREF(Py_None
);
3167 _resultobj
= Py_None
;
3171 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3172 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3189 wxPy_BEGIN_ALLOW_THREADS
;
3190 wxComboBox_SetInsertionPointEnd(_arg0
);
3192 wxPy_END_ALLOW_THREADS
;
3193 if (PyErr_Occurred()) return NULL
;
3194 } Py_INCREF(Py_None
);
3195 _resultobj
= Py_None
;
3199 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3200 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3204 PyObject
* _argo0
= 0;
3205 char *_kwnames
[] = { "self","n", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3218 wxPy_BEGIN_ALLOW_THREADS
;
3219 wxComboBox_SetSelection(_arg0
,_arg1
);
3221 wxPy_END_ALLOW_THREADS
;
3222 if (PyErr_Occurred()) return NULL
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3228 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3229 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self","from","to", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3251 wxPy_END_ALLOW_THREADS
;
3252 if (PyErr_Occurred()) return NULL
;
3253 } Py_INCREF(Py_None
);
3254 _resultobj
= Py_None
;
3258 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3259 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
* _resultobj
;
3263 PyObject
* _argo0
= 0;
3264 PyObject
* _obj1
= 0;
3265 char *_kwnames
[] = { "self","text", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3278 #if PYTHON_API_VERSION >= 1009
3279 char* tmpPtr
; int tmpSize
;
3280 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3281 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3284 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3286 _arg1
= new wxString(tmpPtr
, tmpSize
);
3288 if (!PyString_Check(_obj1
)) {
3289 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3292 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3296 wxPy_BEGIN_ALLOW_THREADS
;
3297 wxComboBox_SetValue(_arg0
,*_arg1
);
3299 wxPy_END_ALLOW_THREADS
;
3300 if (PyErr_Occurred()) return NULL
;
3301 } Py_INCREF(Py_None
);
3302 _resultobj
= Py_None
;
3310 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3311 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3315 PyObject
* _argo0
= 0;
3317 char *_kwnames
[] = { "self","editable", NULL
};
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3329 _arg1
= (bool ) tempbool1
;
3331 wxPy_BEGIN_ALLOW_THREADS
;
3332 wxComboBox_SetEditable(_arg0
,_arg1
);
3334 wxPy_END_ALLOW_THREADS
;
3335 if (PyErr_Occurred()) return NULL
;
3336 } Py_INCREF(Py_None
);
3337 _resultobj
= Py_None
;
3341 static void *SwigwxGaugeTowxControl(void *ptr
) {
3344 src
= (wxGauge
*) ptr
;
3345 dest
= (wxControl
*) src
;
3346 return (void *) dest
;
3349 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3352 src
= (wxGauge
*) ptr
;
3353 dest
= (wxWindow
*) src
;
3354 return (void *) dest
;
3357 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3360 src
= (wxGauge
*) ptr
;
3361 dest
= (wxEvtHandler
*) src
;
3362 return (void *) dest
;
3365 static void *SwigwxGaugeTowxObject(void *ptr
) {
3368 src
= (wxGauge
*) ptr
;
3369 dest
= (wxObject
*) src
;
3370 return (void *) dest
;
3373 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3374 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3380 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3381 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3382 long _arg5
= (long ) wxGA_HORIZONTAL
;
3383 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3384 char * _arg7
= (char *) "gauge";
3385 PyObject
* _argo0
= 0;
3387 PyObject
* _obj3
= 0;
3389 PyObject
* _obj4
= 0;
3390 PyObject
* _argo6
= 0;
3391 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3407 if (! wxPoint_helper(_obj3
, &_arg3
))
3413 if (! wxSize_helper(_obj4
, &_arg4
))
3417 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3418 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3424 wxPy_BEGIN_ALLOW_THREADS
;
3425 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3427 wxPy_END_ALLOW_THREADS
;
3428 if (PyErr_Occurred()) return NULL
;
3430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3431 _resultobj
= Py_BuildValue("s",_ptemp
);
3434 _resultobj
= Py_None
;
3439 #define new_wxPreGauge() (new wxGauge())
3440 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3443 char *_kwnames
[] = { NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3450 wxPy_BEGIN_ALLOW_THREADS
;
3451 _result
= (wxGauge
*)new_wxPreGauge();
3453 wxPy_END_ALLOW_THREADS
;
3454 if (PyErr_Occurred()) return NULL
;
3456 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3457 _resultobj
= Py_BuildValue("s",_ptemp
);
3460 _resultobj
= Py_None
;
3465 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3466 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
* _resultobj
;
3473 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3474 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3475 long _arg6
= (long ) wxGA_HORIZONTAL
;
3476 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3477 char * _arg8
= (char *) "gauge";
3478 PyObject
* _argo0
= 0;
3479 PyObject
* _argo1
= 0;
3481 PyObject
* _obj4
= 0;
3483 PyObject
* _obj5
= 0;
3484 PyObject
* _argo7
= 0;
3485 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3507 if (! wxPoint_helper(_obj4
, &_arg4
))
3513 if (! wxSize_helper(_obj5
, &_arg5
))
3517 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3524 wxPy_BEGIN_ALLOW_THREADS
;
3525 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3527 wxPy_END_ALLOW_THREADS
;
3528 if (PyErr_Occurred()) return NULL
;
3529 } _resultobj
= Py_BuildValue("i",_result
);
3533 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3534 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3538 PyObject
* _argo0
= 0;
3539 char *_kwnames
[] = { "self", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3552 wxPy_BEGIN_ALLOW_THREADS
;
3553 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3555 wxPy_END_ALLOW_THREADS
;
3556 if (PyErr_Occurred()) return NULL
;
3557 } _resultobj
= Py_BuildValue("i",_result
);
3561 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3562 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3563 PyObject
* _resultobj
;
3566 PyObject
* _argo0
= 0;
3567 char *_kwnames
[] = { "self", NULL
};
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3580 wxPy_BEGIN_ALLOW_THREADS
;
3581 _result
= (int )wxGauge_GetRange(_arg0
);
3583 wxPy_END_ALLOW_THREADS
;
3584 if (PyErr_Occurred()) return NULL
;
3585 } _resultobj
= Py_BuildValue("i",_result
);
3589 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3590 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
* _resultobj
;
3594 PyObject
* _argo0
= 0;
3595 char *_kwnames
[] = { "self", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3608 wxPy_BEGIN_ALLOW_THREADS
;
3609 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3611 wxPy_END_ALLOW_THREADS
;
3612 if (PyErr_Occurred()) return NULL
;
3613 } _resultobj
= Py_BuildValue("i",_result
);
3617 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3618 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
* _resultobj
;
3622 PyObject
* _argo0
= 0;
3623 char *_kwnames
[] = { "self", NULL
};
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3636 wxPy_BEGIN_ALLOW_THREADS
;
3637 _result
= (int )wxGauge_GetValue(_arg0
);
3639 wxPy_END_ALLOW_THREADS
;
3640 if (PyErr_Occurred()) return NULL
;
3641 } _resultobj
= Py_BuildValue("i",_result
);
3645 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3646 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self","width", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3664 wxPy_BEGIN_ALLOW_THREADS
;
3665 wxGauge_SetBezelFace(_arg0
,_arg1
);
3667 wxPy_END_ALLOW_THREADS
;
3668 if (PyErr_Occurred()) return NULL
;
3669 } Py_INCREF(Py_None
);
3670 _resultobj
= Py_None
;
3674 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3675 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3679 PyObject
* _argo0
= 0;
3680 char *_kwnames
[] = { "self","range", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3693 wxPy_BEGIN_ALLOW_THREADS
;
3694 wxGauge_SetRange(_arg0
,_arg1
);
3696 wxPy_END_ALLOW_THREADS
;
3697 if (PyErr_Occurred()) return NULL
;
3698 } Py_INCREF(Py_None
);
3699 _resultobj
= Py_None
;
3703 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3704 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self","width", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3722 wxPy_BEGIN_ALLOW_THREADS
;
3723 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3725 wxPy_END_ALLOW_THREADS
;
3726 if (PyErr_Occurred()) return NULL
;
3727 } Py_INCREF(Py_None
);
3728 _resultobj
= Py_None
;
3732 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3733 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self","pos", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 wxGauge_SetValue(_arg0
,_arg1
);
3754 wxPy_END_ALLOW_THREADS
;
3755 if (PyErr_Occurred()) return NULL
;
3756 } Py_INCREF(Py_None
);
3757 _resultobj
= Py_None
;
3761 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3764 src
= (wxStaticBox
*) ptr
;
3765 dest
= (wxControl
*) src
;
3766 return (void *) dest
;
3769 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3772 src
= (wxStaticBox
*) ptr
;
3773 dest
= (wxWindow
*) src
;
3774 return (void *) dest
;
3777 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3780 src
= (wxStaticBox
*) ptr
;
3781 dest
= (wxEvtHandler
*) src
;
3782 return (void *) dest
;
3785 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3788 src
= (wxStaticBox
*) ptr
;
3789 dest
= (wxObject
*) src
;
3790 return (void *) dest
;
3793 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3794 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3796 wxStaticBox
* _result
;
3800 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3801 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3802 long _arg5
= (long ) 0;
3803 char * _arg6
= (char *) "staticBox";
3804 PyObject
* _argo0
= 0;
3805 PyObject
* _obj2
= 0;
3807 PyObject
* _obj3
= 0;
3809 PyObject
* _obj4
= 0;
3810 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3824 #if PYTHON_API_VERSION >= 1009
3825 char* tmpPtr
; int tmpSize
;
3826 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3830 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3832 _arg2
= new wxString(tmpPtr
, tmpSize
);
3834 if (!PyString_Check(_obj2
)) {
3835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3838 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3844 if (! wxPoint_helper(_obj3
, &_arg3
))
3850 if (! wxSize_helper(_obj4
, &_arg4
))
3854 wxPy_BEGIN_ALLOW_THREADS
;
3855 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3857 wxPy_END_ALLOW_THREADS
;
3858 if (PyErr_Occurred()) return NULL
;
3860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3861 _resultobj
= Py_BuildValue("s",_ptemp
);
3864 _resultobj
= Py_None
;
3873 #define new_wxPreStaticBox() (new wxStaticBox())
3874 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3876 wxStaticBox
* _result
;
3877 char *_kwnames
[] = { NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3887 wxPy_END_ALLOW_THREADS
;
3888 if (PyErr_Occurred()) return NULL
;
3890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3891 _resultobj
= Py_BuildValue("s",_ptemp
);
3894 _resultobj
= Py_None
;
3899 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3900 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
* _resultobj
;
3903 wxStaticBox
* _arg0
;
3907 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3908 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3909 long _arg6
= (long ) 0;
3910 char * _arg7
= (char *) "staticBox";
3911 PyObject
* _argo0
= 0;
3912 PyObject
* _argo1
= 0;
3913 PyObject
* _obj3
= 0;
3915 PyObject
* _obj4
= 0;
3917 PyObject
* _obj5
= 0;
3918 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3938 #if PYTHON_API_VERSION >= 1009
3939 char* tmpPtr
; int tmpSize
;
3940 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3941 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3944 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3946 _arg3
= new wxString(tmpPtr
, tmpSize
);
3948 if (!PyString_Check(_obj3
)) {
3949 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3952 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3958 if (! wxPoint_helper(_obj4
, &_arg4
))
3964 if (! wxSize_helper(_obj5
, &_arg5
))
3968 wxPy_BEGIN_ALLOW_THREADS
;
3969 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3971 wxPy_END_ALLOW_THREADS
;
3972 if (PyErr_Occurred()) return NULL
;
3973 } _resultobj
= Py_BuildValue("i",_result
);
3981 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3984 src
= (wxStaticLine
*) ptr
;
3985 dest
= (wxControl
*) src
;
3986 return (void *) dest
;
3989 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3992 src
= (wxStaticLine
*) ptr
;
3993 dest
= (wxWindow
*) src
;
3994 return (void *) dest
;
3997 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4000 src
= (wxStaticLine
*) ptr
;
4001 dest
= (wxEvtHandler
*) src
;
4002 return (void *) dest
;
4005 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4008 src
= (wxStaticLine
*) ptr
;
4009 dest
= (wxObject
*) src
;
4010 return (void *) dest
;
4013 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4014 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4015 PyObject
* _resultobj
;
4016 wxStaticLine
* _result
;
4019 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4020 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4021 long _arg4
= (long ) wxLI_HORIZONTAL
;
4022 char * _arg5
= (char *) "staticLine";
4023 PyObject
* _argo0
= 0;
4025 PyObject
* _obj2
= 0;
4027 PyObject
* _obj3
= 0;
4028 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4044 if (! wxPoint_helper(_obj2
, &_arg2
))
4050 if (! wxSize_helper(_obj3
, &_arg3
))
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4057 wxPy_END_ALLOW_THREADS
;
4058 if (PyErr_Occurred()) return NULL
;
4060 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4061 _resultobj
= Py_BuildValue("s",_ptemp
);
4064 _resultobj
= Py_None
;
4069 #define new_wxPreStaticLine() (new wxStaticLine())
4070 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4072 wxStaticLine
* _result
;
4073 char *_kwnames
[] = { NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4080 wxPy_BEGIN_ALLOW_THREADS
;
4081 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4083 wxPy_END_ALLOW_THREADS
;
4084 if (PyErr_Occurred()) return NULL
;
4086 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4087 _resultobj
= Py_BuildValue("s",_ptemp
);
4090 _resultobj
= Py_None
;
4095 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4096 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4099 wxStaticLine
* _arg0
;
4102 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4103 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4104 long _arg5
= (long ) wxLI_HORIZONTAL
;
4105 char * _arg6
= (char *) "staticLine";
4106 PyObject
* _argo0
= 0;
4107 PyObject
* _argo1
= 0;
4109 PyObject
* _obj3
= 0;
4111 PyObject
* _obj4
= 0;
4112 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4134 if (! wxPoint_helper(_obj3
, &_arg3
))
4140 if (! wxSize_helper(_obj4
, &_arg4
))
4144 wxPy_BEGIN_ALLOW_THREADS
;
4145 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4147 wxPy_END_ALLOW_THREADS
;
4148 if (PyErr_Occurred()) return NULL
;
4149 } _resultobj
= Py_BuildValue("i",_result
);
4153 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4156 src
= (wxStaticText
*) ptr
;
4157 dest
= (wxControl
*) src
;
4158 return (void *) dest
;
4161 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4164 src
= (wxStaticText
*) ptr
;
4165 dest
= (wxWindow
*) src
;
4166 return (void *) dest
;
4169 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4172 src
= (wxStaticText
*) ptr
;
4173 dest
= (wxEvtHandler
*) src
;
4174 return (void *) dest
;
4177 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4180 src
= (wxStaticText
*) ptr
;
4181 dest
= (wxObject
*) src
;
4182 return (void *) dest
;
4185 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4186 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
* _resultobj
;
4188 wxStaticText
* _result
;
4192 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4193 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4194 long _arg5
= (long ) 0;
4195 char * _arg6
= (char *) "staticText";
4196 PyObject
* _argo0
= 0;
4197 PyObject
* _obj2
= 0;
4199 PyObject
* _obj3
= 0;
4201 PyObject
* _obj4
= 0;
4202 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4216 #if PYTHON_API_VERSION >= 1009
4217 char* tmpPtr
; int tmpSize
;
4218 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4222 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4224 _arg2
= new wxString(tmpPtr
, tmpSize
);
4226 if (!PyString_Check(_obj2
)) {
4227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4230 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4236 if (! wxPoint_helper(_obj3
, &_arg3
))
4242 if (! wxSize_helper(_obj4
, &_arg4
))
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4249 wxPy_END_ALLOW_THREADS
;
4250 if (PyErr_Occurred()) return NULL
;
4252 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4253 _resultobj
= Py_BuildValue("s",_ptemp
);
4256 _resultobj
= Py_None
;
4265 #define new_wxPreStaticText() (new wxStaticText())
4266 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
* _resultobj
;
4268 wxStaticText
* _result
;
4269 char *_kwnames
[] = { NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (wxStaticText
*)new_wxPreStaticText();
4279 wxPy_END_ALLOW_THREADS
;
4280 if (PyErr_Occurred()) return NULL
;
4282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4283 _resultobj
= Py_BuildValue("s",_ptemp
);
4286 _resultobj
= Py_None
;
4291 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4292 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4295 wxStaticText
* _arg0
;
4299 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4300 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4301 long _arg6
= (long ) 0;
4302 char * _arg7
= (char *) "staticText";
4303 PyObject
* _argo0
= 0;
4304 PyObject
* _argo1
= 0;
4305 PyObject
* _obj3
= 0;
4307 PyObject
* _obj4
= 0;
4309 PyObject
* _obj5
= 0;
4310 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4323 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4330 #if PYTHON_API_VERSION >= 1009
4331 char* tmpPtr
; int tmpSize
;
4332 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4336 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4338 _arg3
= new wxString(tmpPtr
, tmpSize
);
4340 if (!PyString_Check(_obj3
)) {
4341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4344 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4350 if (! wxPoint_helper(_obj4
, &_arg4
))
4356 if (! wxSize_helper(_obj5
, &_arg5
))
4360 wxPy_BEGIN_ALLOW_THREADS
;
4361 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4363 wxPy_END_ALLOW_THREADS
;
4364 if (PyErr_Occurred()) return NULL
;
4365 } _resultobj
= Py_BuildValue("i",_result
);
4373 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4374 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4377 wxStaticText
* _arg0
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4395 wxPy_END_ALLOW_THREADS
;
4396 if (PyErr_Occurred()) return NULL
;
4398 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4406 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4407 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
* _resultobj
;
4409 wxStaticText
* _arg0
;
4411 PyObject
* _argo0
= 0;
4412 PyObject
* _obj1
= 0;
4413 char *_kwnames
[] = { "self","label", NULL
};
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4426 #if PYTHON_API_VERSION >= 1009
4427 char* tmpPtr
; int tmpSize
;
4428 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4432 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4434 _arg1
= new wxString(tmpPtr
, tmpSize
);
4436 if (!PyString_Check(_obj1
)) {
4437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4440 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4444 wxPy_BEGIN_ALLOW_THREADS
;
4445 wxStaticText_SetLabel(_arg0
,*_arg1
);
4447 wxPy_END_ALLOW_THREADS
;
4448 if (PyErr_Occurred()) return NULL
;
4449 } Py_INCREF(Py_None
);
4450 _resultobj
= Py_None
;
4458 static void *SwigwxListBoxTowxControl(void *ptr
) {
4461 src
= (wxListBox
*) ptr
;
4462 dest
= (wxControl
*) src
;
4463 return (void *) dest
;
4466 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4469 src
= (wxListBox
*) ptr
;
4470 dest
= (wxWindow
*) src
;
4471 return (void *) dest
;
4474 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4477 src
= (wxListBox
*) ptr
;
4478 dest
= (wxEvtHandler
*) src
;
4479 return (void *) dest
;
4482 static void *SwigwxListBoxTowxObject(void *ptr
) {
4485 src
= (wxListBox
*) ptr
;
4486 dest
= (wxObject
*) src
;
4487 return (void *) dest
;
4490 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4491 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4493 wxListBox
* _result
;
4496 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4497 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4499 wxString
* _arg5
= (wxString
*) NULL
;
4500 long _arg6
= (long ) 0;
4501 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4502 char * _arg8
= (char *) "listBox";
4503 PyObject
* _argo0
= 0;
4505 PyObject
* _obj2
= 0;
4507 PyObject
* _obj3
= 0;
4508 PyObject
* _obj5
= 0;
4509 PyObject
* _argo7
= 0;
4510 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4526 if (! wxPoint_helper(_obj2
, &_arg2
))
4532 if (! wxSize_helper(_obj3
, &_arg3
))
4537 _arg5
= wxString_LIST_helper(_obj5
);
4538 if (_arg5
== NULL
) {
4543 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4544 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4551 _arg4
= PyList_Size(_obj5
);
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4561 wxPy_END_ALLOW_THREADS
;
4562 if (PyErr_Occurred()) return NULL
;
4564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4565 _resultobj
= Py_BuildValue("s",_ptemp
);
4568 _resultobj
= Py_None
;
4576 #define new_wxPreListBox() (new wxListBox())
4577 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4579 wxListBox
* _result
;
4580 char *_kwnames
[] = { NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4587 wxPy_BEGIN_ALLOW_THREADS
;
4588 _result
= (wxListBox
*)new_wxPreListBox();
4590 wxPy_END_ALLOW_THREADS
;
4591 if (PyErr_Occurred()) return NULL
;
4593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4594 _resultobj
= Py_BuildValue("s",_ptemp
);
4597 _resultobj
= Py_None
;
4602 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4603 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4609 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4610 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4612 wxString
* _arg6
= (wxString
*) NULL
;
4613 long _arg7
= (long ) 0;
4614 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4615 char * _arg9
= (char *) "listBox";
4616 PyObject
* _argo0
= 0;
4617 PyObject
* _argo1
= 0;
4619 PyObject
* _obj3
= 0;
4621 PyObject
* _obj4
= 0;
4622 PyObject
* _obj6
= 0;
4623 PyObject
* _argo8
= 0;
4624 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4637 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4646 if (! wxPoint_helper(_obj3
, &_arg3
))
4652 if (! wxSize_helper(_obj4
, &_arg4
))
4657 _arg6
= wxString_LIST_helper(_obj6
);
4658 if (_arg6
== NULL
) {
4663 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4664 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4671 _arg5
= PyList_Size(_obj6
);
4678 wxPy_BEGIN_ALLOW_THREADS
;
4679 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4681 wxPy_END_ALLOW_THREADS
;
4682 if (PyErr_Occurred()) return NULL
;
4683 } _resultobj
= Py_BuildValue("i",_result
);
4690 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
4691 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
* _resultobj
;
4695 PyObject
* _argo0
= 0;
4696 PyObject
* _obj1
= 0;
4697 char *_kwnames
[] = { "self","item", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
4703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
4710 #if PYTHON_API_VERSION >= 1009
4711 char* tmpPtr
; int tmpSize
;
4712 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4716 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4718 _arg1
= new wxString(tmpPtr
, tmpSize
);
4720 if (!PyString_Check(_obj1
)) {
4721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4724 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4728 wxPy_BEGIN_ALLOW_THREADS
;
4729 wxListBox_Append(_arg0
,*_arg1
);
4731 wxPy_END_ALLOW_THREADS
;
4732 if (PyErr_Occurred()) return NULL
;
4733 } Py_INCREF(Py_None
);
4734 _resultobj
= Py_None
;
4742 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4743 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
* _resultobj
;
4746 PyObject
* _argo0
= 0;
4747 char *_kwnames
[] = { "self", NULL
};
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4760 wxPy_BEGIN_ALLOW_THREADS
;
4761 wxListBox_Clear(_arg0
);
4763 wxPy_END_ALLOW_THREADS
;
4764 if (PyErr_Occurred()) return NULL
;
4765 } Py_INCREF(Py_None
);
4766 _resultobj
= Py_None
;
4770 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
4771 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
* _resultobj
;
4775 PyObject
* _argo0
= 0;
4776 char *_kwnames
[] = { "self","n", NULL
};
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
4782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
4789 wxPy_BEGIN_ALLOW_THREADS
;
4790 wxListBox_Delete(_arg0
,_arg1
);
4792 wxPy_END_ALLOW_THREADS
;
4793 if (PyErr_Occurred()) return NULL
;
4794 } Py_INCREF(Py_None
);
4795 _resultobj
= Py_None
;
4799 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4800 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self","n", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 wxListBox_Deselect(_arg0
,_arg1
);
4821 wxPy_END_ALLOW_THREADS
;
4822 if (PyErr_Occurred()) return NULL
;
4823 } Py_INCREF(Py_None
);
4824 _resultobj
= Py_None
;
4828 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
4829 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4834 PyObject
* _argo0
= 0;
4835 PyObject
* _obj1
= 0;
4836 char *_kwnames
[] = { "self","string", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
4849 #if PYTHON_API_VERSION >= 1009
4850 char* tmpPtr
; int tmpSize
;
4851 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4855 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4857 _arg1
= new wxString(tmpPtr
, tmpSize
);
4859 if (!PyString_Check(_obj1
)) {
4860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4863 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4867 wxPy_BEGIN_ALLOW_THREADS
;
4868 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
4870 wxPy_END_ALLOW_THREADS
;
4871 if (PyErr_Occurred()) return NULL
;
4872 } _resultobj
= Py_BuildValue("i",_result
);
4880 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
4881 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4885 PyObject
* _argo0
= 0;
4886 char *_kwnames
[] = { "self", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 _result
= (int )wxListBox_GetSelection(_arg0
);
4902 wxPy_END_ALLOW_THREADS
;
4903 if (PyErr_Occurred()) return NULL
;
4904 } _resultobj
= Py_BuildValue("i",_result
);
4908 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4910 self
->GetSelections(lst
);
4911 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4912 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4913 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4917 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4921 PyObject
* _argo0
= 0;
4922 char *_kwnames
[] = { "self", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4935 wxPy_BEGIN_ALLOW_THREADS
;
4936 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4938 wxPy_END_ALLOW_THREADS
;
4939 if (PyErr_Occurred()) return NULL
;
4941 _resultobj
= _result
;
4946 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4947 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4953 PyObject
* _argo0
= 0;
4954 PyObject
* _obj2
= 0;
4955 char *_kwnames
[] = { "self","choices","pos", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4968 _arg2
= wxString_LIST_helper(_obj2
);
4969 if (_arg2
== NULL
) {
4975 _arg1
= PyList_Size(_obj2
);
4982 wxPy_BEGIN_ALLOW_THREADS
;
4983 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4985 wxPy_END_ALLOW_THREADS
;
4986 if (PyErr_Occurred()) return NULL
;
4987 } Py_INCREF(Py_None
);
4988 _resultobj
= Py_None
;
4995 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
4996 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
5001 PyObject
* _argo0
= 0;
5002 char *_kwnames
[] = { "self","n", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
5015 wxPy_BEGIN_ALLOW_THREADS
;
5016 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
5018 wxPy_END_ALLOW_THREADS
;
5019 if (PyErr_Occurred()) return NULL
;
5021 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5029 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5030 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
5051 wxPy_END_ALLOW_THREADS
;
5052 if (PyErr_Occurred()) return NULL
;
5054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5062 #define wxListBox_GetCount(_swigobj) (_swigobj->GetCount())
5063 static PyObject
*_wrap_wxListBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5067 PyObject
* _argo0
= 0;
5068 char *_kwnames
[] = { "self", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetCount",_kwnames
,&_argo0
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetCount. Expected _wxListBox_p.");
5081 wxPy_BEGIN_ALLOW_THREADS
;
5082 _result
= (int )wxListBox_GetCount(_arg0
);
5084 wxPy_END_ALLOW_THREADS
;
5085 if (PyErr_Occurred()) return NULL
;
5086 } _resultobj
= Py_BuildValue("i",_result
);
5090 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5091 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5096 PyObject
* _argo0
= 0;
5097 char *_kwnames
[] = { "self","n", NULL
};
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5113 wxPy_END_ALLOW_THREADS
;
5114 if (PyErr_Occurred()) return NULL
;
5115 } _resultobj
= Py_BuildValue("i",_result
);
5119 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5120 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5125 PyObject
* _argo0
= 0;
5126 char *_kwnames
[] = { "self","n", NULL
};
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5139 wxPy_BEGIN_ALLOW_THREADS
;
5140 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5142 wxPy_END_ALLOW_THREADS
;
5143 if (PyErr_Occurred()) return NULL
;
5144 } _resultobj
= Py_BuildValue("i",_result
);
5148 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5149 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
* _resultobj
;
5154 PyObject
* _argo0
= 0;
5155 PyObject
* _obj2
= 0;
5156 char *_kwnames
[] = { "self","choices", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5170 _arg2
= wxString_LIST_helper(_obj2
);
5171 if (_arg2
== NULL
) {
5177 _arg1
= PyList_Size(_obj2
);
5184 wxPy_BEGIN_ALLOW_THREADS
;
5185 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5187 wxPy_END_ALLOW_THREADS
;
5188 if (PyErr_Occurred()) return NULL
;
5189 } Py_INCREF(Py_None
);
5190 _resultobj
= Py_None
;
5197 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5198 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
* _resultobj
;
5202 PyObject
* _argo0
= 0;
5203 char *_kwnames
[] = { "self","n", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5216 wxPy_BEGIN_ALLOW_THREADS
;
5217 wxListBox_SetFirstItem(_arg0
,_arg1
);
5219 wxPy_END_ALLOW_THREADS
;
5220 if (PyErr_Occurred()) return NULL
;
5221 } Py_INCREF(Py_None
);
5222 _resultobj
= Py_None
;
5226 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5227 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
* _resultobj
;
5231 PyObject
* _argo0
= 0;
5232 PyObject
* _obj1
= 0;
5233 char *_kwnames
[] = { "self","string", NULL
};
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5246 #if PYTHON_API_VERSION >= 1009
5247 char* tmpPtr
; int tmpSize
;
5248 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5252 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5254 _arg1
= new wxString(tmpPtr
, tmpSize
);
5256 if (!PyString_Check(_obj1
)) {
5257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5260 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5264 wxPy_BEGIN_ALLOW_THREADS
;
5265 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5267 wxPy_END_ALLOW_THREADS
;
5268 if (PyErr_Occurred()) return NULL
;
5269 } Py_INCREF(Py_None
);
5270 _resultobj
= Py_None
;
5278 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5279 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
* _resultobj
;
5283 bool _arg2
= (bool ) TRUE
;
5284 PyObject
* _argo0
= 0;
5285 int tempbool2
= (int) TRUE
;
5286 char *_kwnames
[] = { "self","n","select", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5298 _arg2
= (bool ) tempbool2
;
5300 wxPy_BEGIN_ALLOW_THREADS
;
5301 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5303 wxPy_END_ALLOW_THREADS
;
5304 if (PyErr_Occurred()) return NULL
;
5305 } Py_INCREF(Py_None
);
5306 _resultobj
= Py_None
;
5310 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5311 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5316 PyObject
* _argo0
= 0;
5317 PyObject
* _obj2
= 0;
5318 char *_kwnames
[] = { "self","n","string", NULL
};
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5331 #if PYTHON_API_VERSION >= 1009
5332 char* tmpPtr
; int tmpSize
;
5333 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5337 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5339 _arg2
= new wxString(tmpPtr
, tmpSize
);
5341 if (!PyString_Check(_obj2
)) {
5342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5345 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5349 wxPy_BEGIN_ALLOW_THREADS
;
5350 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5352 wxPy_END_ALLOW_THREADS
;
5353 if (PyErr_Occurred()) return NULL
;
5354 } Py_INCREF(Py_None
);
5355 _resultobj
= Py_None
;
5363 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5364 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5368 bool _arg2
= (bool ) TRUE
;
5369 PyObject
* _argo0
= 0;
5370 PyObject
* _obj1
= 0;
5371 int tempbool2
= (int) TRUE
;
5372 char *_kwnames
[] = { "self","string","select", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5385 #if PYTHON_API_VERSION >= 1009
5386 char* tmpPtr
; int tmpSize
;
5387 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5391 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5393 _arg1
= new wxString(tmpPtr
, tmpSize
);
5395 if (!PyString_Check(_obj1
)) {
5396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5399 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5402 _arg2
= (bool ) tempbool2
;
5404 wxPy_BEGIN_ALLOW_THREADS
;
5405 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5407 wxPy_END_ALLOW_THREADS
;
5408 if (PyErr_Occurred()) return NULL
;
5409 } Py_INCREF(Py_None
);
5410 _resultobj
= Py_None
;
5418 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5419 wxCheckListBox
*src
;
5421 src
= (wxCheckListBox
*) ptr
;
5422 dest
= (wxListBox
*) src
;
5423 return (void *) dest
;
5426 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5427 wxCheckListBox
*src
;
5429 src
= (wxCheckListBox
*) ptr
;
5430 dest
= (wxControl
*) src
;
5431 return (void *) dest
;
5434 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5435 wxCheckListBox
*src
;
5437 src
= (wxCheckListBox
*) ptr
;
5438 dest
= (wxWindow
*) src
;
5439 return (void *) dest
;
5442 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5443 wxCheckListBox
*src
;
5445 src
= (wxCheckListBox
*) ptr
;
5446 dest
= (wxEvtHandler
*) src
;
5447 return (void *) dest
;
5450 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5451 wxCheckListBox
*src
;
5453 src
= (wxCheckListBox
*) ptr
;
5454 dest
= (wxObject
*) src
;
5455 return (void *) dest
;
5458 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5459 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5461 wxCheckListBox
* _result
;
5464 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5465 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5466 int _arg4
= (int ) 0;
5467 wxString
* _arg5
= (wxString
*) NULL
;
5468 long _arg6
= (long ) 0;
5469 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5470 char * _arg8
= (char *) "listBox";
5471 PyObject
* _argo0
= 0;
5473 PyObject
* _obj2
= 0;
5475 PyObject
* _obj3
= 0;
5476 PyObject
* _obj5
= 0;
5477 PyObject
* _argo7
= 0;
5478 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5494 if (! wxPoint_helper(_obj2
, &_arg2
))
5500 if (! wxSize_helper(_obj3
, &_arg3
))
5505 _arg5
= wxString_LIST_helper(_obj5
);
5506 if (_arg5
== NULL
) {
5511 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5512 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5519 _arg4
= PyList_Size(_obj5
);
5526 wxPy_BEGIN_ALLOW_THREADS
;
5527 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5529 wxPy_END_ALLOW_THREADS
;
5530 if (PyErr_Occurred()) return NULL
;
5532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5533 _resultobj
= Py_BuildValue("s",_ptemp
);
5536 _resultobj
= Py_None
;
5544 #define new_wxPreCheckListBox() (new wxCheckListBox())
5545 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
* _resultobj
;
5547 wxCheckListBox
* _result
;
5548 char *_kwnames
[] = { NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5555 wxPy_BEGIN_ALLOW_THREADS
;
5556 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5558 wxPy_END_ALLOW_THREADS
;
5559 if (PyErr_Occurred()) return NULL
;
5561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5562 _resultobj
= Py_BuildValue("s",_ptemp
);
5565 _resultobj
= Py_None
;
5570 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5571 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
* _resultobj
;
5574 wxCheckListBox
* _arg0
;
5577 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5578 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5579 int _arg5
= (int ) 0;
5580 wxString
* _arg6
= (wxString
*) NULL
;
5581 long _arg7
= (long ) 0;
5582 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5583 char * _arg9
= (char *) "listBox";
5584 PyObject
* _argo0
= 0;
5585 PyObject
* _argo1
= 0;
5587 PyObject
* _obj3
= 0;
5589 PyObject
* _obj4
= 0;
5590 PyObject
* _obj6
= 0;
5591 PyObject
* _argo8
= 0;
5592 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5605 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5606 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5614 if (! wxPoint_helper(_obj3
, &_arg3
))
5620 if (! wxSize_helper(_obj4
, &_arg4
))
5625 _arg6
= wxString_LIST_helper(_obj6
);
5626 if (_arg6
== NULL
) {
5631 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5632 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5639 _arg5
= PyList_Size(_obj6
);
5646 wxPy_BEGIN_ALLOW_THREADS
;
5647 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5649 wxPy_END_ALLOW_THREADS
;
5650 if (PyErr_Occurred()) return NULL
;
5651 } _resultobj
= Py_BuildValue("i",_result
);
5658 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5659 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
* _resultobj
;
5662 wxCheckListBox
* _arg0
;
5664 PyObject
* _argo0
= 0;
5665 char *_kwnames
[] = { "self","uiIndex", NULL
};
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5678 wxPy_BEGIN_ALLOW_THREADS
;
5679 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5681 wxPy_END_ALLOW_THREADS
;
5682 if (PyErr_Occurred()) return NULL
;
5683 } _resultobj
= Py_BuildValue("i",_result
);
5687 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5688 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
* _resultobj
;
5690 wxCheckListBox
* _arg0
;
5692 int _arg2
= (int ) TRUE
;
5693 PyObject
* _argo0
= 0;
5694 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5707 wxPy_BEGIN_ALLOW_THREADS
;
5708 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5710 wxPy_END_ALLOW_THREADS
;
5711 if (PyErr_Occurred()) return NULL
;
5712 } Py_INCREF(Py_None
);
5713 _resultobj
= Py_None
;
5717 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5718 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
* _resultobj
;
5720 wxCheckListBox
* _arg0
;
5724 PyObject
* _argo0
= 0;
5725 PyObject
* _obj2
= 0;
5726 char *_kwnames
[] = { "self","choices","pos", NULL
};
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5739 _arg2
= wxString_LIST_helper(_obj2
);
5740 if (_arg2
== NULL
) {
5746 _arg1
= PyList_Size(_obj2
);
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5756 wxPy_END_ALLOW_THREADS
;
5757 if (PyErr_Occurred()) return NULL
;
5758 } Py_INCREF(Py_None
);
5759 _resultobj
= Py_None
;
5766 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5767 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5770 wxCheckListBox
* _arg0
;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5785 wxPy_BEGIN_ALLOW_THREADS
;
5786 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5788 wxPy_END_ALLOW_THREADS
;
5789 if (PyErr_Occurred()) return NULL
;
5790 } _resultobj
= Py_BuildValue("i",_result
);
5794 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5795 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
* _resultobj
;
5797 wxTextAttr
* _result
;
5798 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5799 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5800 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5802 PyObject
* _obj0
= 0;
5804 PyObject
* _obj1
= 0;
5805 PyObject
* _argo2
= 0;
5806 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5815 if (! wxColour_helper(_obj0
, &_arg0
))
5821 if (! wxColour_helper(_obj1
, &_arg1
))
5825 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5826 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5832 wxPy_BEGIN_ALLOW_THREADS
;
5833 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5835 wxPy_END_ALLOW_THREADS
;
5836 if (PyErr_Occurred()) return NULL
;
5838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5839 _resultobj
= Py_BuildValue("s",_ptemp
);
5842 _resultobj
= Py_None
;
5847 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5848 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5851 PyObject
* _argo0
= 0;
5852 char *_kwnames
[] = { "self", NULL
};
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5865 wxPy_BEGIN_ALLOW_THREADS
;
5866 delete_wxTextAttr(_arg0
);
5868 wxPy_END_ALLOW_THREADS
;
5869 if (PyErr_Occurred()) return NULL
;
5870 } Py_INCREF(Py_None
);
5871 _resultobj
= Py_None
;
5875 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5876 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5880 PyObject
* _argo0
= 0;
5882 PyObject
* _obj1
= 0;
5883 char *_kwnames
[] = { "self","colText", NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5897 if (! wxColour_helper(_obj1
, &_arg1
))
5901 wxPy_BEGIN_ALLOW_THREADS
;
5902 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5904 wxPy_END_ALLOW_THREADS
;
5905 if (PyErr_Occurred()) return NULL
;
5906 } Py_INCREF(Py_None
);
5907 _resultobj
= Py_None
;
5911 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5912 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
* _resultobj
;
5916 PyObject
* _argo0
= 0;
5918 PyObject
* _obj1
= 0;
5919 char *_kwnames
[] = { "self","colBack", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
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 wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5933 if (! wxColour_helper(_obj1
, &_arg1
))
5937 wxPy_BEGIN_ALLOW_THREADS
;
5938 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5940 wxPy_END_ALLOW_THREADS
;
5941 if (PyErr_Occurred()) return NULL
;
5942 } Py_INCREF(Py_None
);
5943 _resultobj
= Py_None
;
5947 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5948 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5952 PyObject
* _argo0
= 0;
5953 PyObject
* _argo1
= 0;
5954 char *_kwnames
[] = { "self","font", NULL
};
5957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 wxTextAttr_SetFont(_arg0
,*_arg1
);
5977 wxPy_END_ALLOW_THREADS
;
5978 if (PyErr_Occurred()) return NULL
;
5979 } Py_INCREF(Py_None
);
5980 _resultobj
= Py_None
;
5984 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5985 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6003 wxPy_BEGIN_ALLOW_THREADS
;
6004 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6006 wxPy_END_ALLOW_THREADS
;
6007 if (PyErr_Occurred()) return NULL
;
6008 } _resultobj
= Py_BuildValue("i",_result
);
6012 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6013 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6031 wxPy_BEGIN_ALLOW_THREADS
;
6032 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6034 wxPy_END_ALLOW_THREADS
;
6035 if (PyErr_Occurred()) return NULL
;
6036 } _resultobj
= Py_BuildValue("i",_result
);
6040 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6041 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6045 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6059 wxPy_BEGIN_ALLOW_THREADS
;
6060 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6062 wxPy_END_ALLOW_THREADS
;
6063 if (PyErr_Occurred()) return NULL
;
6064 } _resultobj
= Py_BuildValue("i",_result
);
6068 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6069 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
* _resultobj
;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self", NULL
};
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6088 wxPy_BEGIN_ALLOW_THREADS
;
6089 const wxColour
& _result_ref
= wxTextAttr_GetTextColour(_arg0
);
6090 _result
= (wxColour
*) &_result_ref
;
6092 wxPy_END_ALLOW_THREADS
;
6093 if (PyErr_Occurred()) return NULL
;
6095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6096 _resultobj
= Py_BuildValue("s",_ptemp
);
6099 _resultobj
= Py_None
;
6104 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6105 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6109 PyObject
* _argo0
= 0;
6110 char *_kwnames
[] = { "self", NULL
};
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6124 wxPy_BEGIN_ALLOW_THREADS
;
6125 const wxColour
& _result_ref
= wxTextAttr_GetBackgroundColour(_arg0
);
6126 _result
= (wxColour
*) &_result_ref
;
6128 wxPy_END_ALLOW_THREADS
;
6129 if (PyErr_Occurred()) return NULL
;
6131 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6132 _resultobj
= Py_BuildValue("s",_ptemp
);
6135 _resultobj
= Py_None
;
6140 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6141 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6145 PyObject
* _argo0
= 0;
6146 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 const wxFont
& _result_ref
= wxTextAttr_GetFont(_arg0
);
6162 _result
= (wxFont
*) &_result_ref
;
6164 wxPy_END_ALLOW_THREADS
;
6165 if (PyErr_Occurred()) return NULL
;
6167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6168 _resultobj
= Py_BuildValue("s",_ptemp
);
6171 _resultobj
= Py_None
;
6176 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6179 src
= (wxTextCtrl
*) ptr
;
6180 dest
= (wxControl
*) src
;
6181 return (void *) dest
;
6184 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6187 src
= (wxTextCtrl
*) ptr
;
6188 dest
= (wxWindow
*) src
;
6189 return (void *) dest
;
6192 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6195 src
= (wxTextCtrl
*) ptr
;
6196 dest
= (wxEvtHandler
*) src
;
6197 return (void *) dest
;
6200 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6203 src
= (wxTextCtrl
*) ptr
;
6204 dest
= (wxObject
*) src
;
6205 return (void *) dest
;
6208 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6209 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6211 wxTextCtrl
* _result
;
6214 char * _arg2
= (char *) "";
6215 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6216 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6217 long _arg5
= (long ) 0;
6218 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6219 char * _arg7
= (char *) "text";
6220 PyObject
* _argo0
= 0;
6222 PyObject
* _obj3
= 0;
6224 PyObject
* _obj4
= 0;
6225 PyObject
* _argo6
= 0;
6226 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6242 if (! wxPoint_helper(_obj3
, &_arg3
))
6248 if (! wxSize_helper(_obj4
, &_arg4
))
6252 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6253 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6259 wxPy_BEGIN_ALLOW_THREADS
;
6260 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6262 wxPy_END_ALLOW_THREADS
;
6263 if (PyErr_Occurred()) return NULL
;
6265 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6266 _resultobj
= Py_BuildValue("s",_ptemp
);
6269 _resultobj
= Py_None
;
6274 #define new_wxPreTextCtrl() (new wxTextCtrl())
6275 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
* _resultobj
;
6277 wxTextCtrl
* _result
;
6278 char *_kwnames
[] = { NULL
};
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6285 wxPy_BEGIN_ALLOW_THREADS
;
6286 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6288 wxPy_END_ALLOW_THREADS
;
6289 if (PyErr_Occurred()) return NULL
;
6291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6292 _resultobj
= Py_BuildValue("s",_ptemp
);
6295 _resultobj
= Py_None
;
6300 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6301 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
* _resultobj
;
6307 char * _arg3
= (char *) "";
6308 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6309 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6310 long _arg6
= (long ) 0;
6311 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6312 char * _arg8
= (char *) "text";
6313 PyObject
* _argo0
= 0;
6314 PyObject
* _argo1
= 0;
6316 PyObject
* _obj4
= 0;
6318 PyObject
* _obj5
= 0;
6319 PyObject
* _argo7
= 0;
6320 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6342 if (! wxPoint_helper(_obj4
, &_arg4
))
6348 if (! wxSize_helper(_obj5
, &_arg5
))
6352 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6359 wxPy_BEGIN_ALLOW_THREADS
;
6360 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6362 wxPy_END_ALLOW_THREADS
;
6363 if (PyErr_Occurred()) return NULL
;
6364 } _resultobj
= Py_BuildValue("i",_result
);
6368 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6369 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
* _resultobj
;
6372 PyObject
* _argo0
= 0;
6373 char *_kwnames
[] = { "self", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6386 wxPy_BEGIN_ALLOW_THREADS
;
6387 wxTextCtrl_Clear(_arg0
);
6389 wxPy_END_ALLOW_THREADS
;
6390 if (PyErr_Occurred()) return NULL
;
6391 } Py_INCREF(Py_None
);
6392 _resultobj
= Py_None
;
6396 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
6397 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
* _resultobj
;
6400 PyObject
* _argo0
= 0;
6401 char *_kwnames
[] = { "self", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
6414 wxPy_BEGIN_ALLOW_THREADS
;
6415 wxTextCtrl_Copy(_arg0
);
6417 wxPy_END_ALLOW_THREADS
;
6418 if (PyErr_Occurred()) return NULL
;
6419 } Py_INCREF(Py_None
);
6420 _resultobj
= Py_None
;
6424 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
6425 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
* _resultobj
;
6428 PyObject
* _argo0
= 0;
6429 char *_kwnames
[] = { "self", NULL
};
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
6435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
6442 wxPy_BEGIN_ALLOW_THREADS
;
6443 wxTextCtrl_Cut(_arg0
);
6445 wxPy_END_ALLOW_THREADS
;
6446 if (PyErr_Occurred()) return NULL
;
6447 } Py_INCREF(Py_None
);
6448 _resultobj
= Py_None
;
6452 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6453 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
* _resultobj
;
6456 PyObject
* _argo0
= 0;
6457 char *_kwnames
[] = { "self", NULL
};
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6470 wxPy_BEGIN_ALLOW_THREADS
;
6471 wxTextCtrl_DiscardEdits(_arg0
);
6473 wxPy_END_ALLOW_THREADS
;
6474 if (PyErr_Occurred()) return NULL
;
6475 } Py_INCREF(Py_None
);
6476 _resultobj
= Py_None
;
6480 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
6481 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6485 PyObject
* _argo0
= 0;
6486 char *_kwnames
[] = { "self", NULL
};
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
6492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
6499 wxPy_BEGIN_ALLOW_THREADS
;
6500 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
6502 wxPy_END_ALLOW_THREADS
;
6503 if (PyErr_Occurred()) return NULL
;
6504 } _resultobj
= Py_BuildValue("l",_result
);
6508 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
6509 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
* _resultobj
;
6513 PyObject
* _argo0
= 0;
6514 char *_kwnames
[] = { "self", NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
6520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
6527 wxPy_BEGIN_ALLOW_THREADS
;
6528 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
6530 wxPy_END_ALLOW_THREADS
;
6531 if (PyErr_Occurred()) return NULL
;
6532 } _resultobj
= Py_BuildValue("l",_result
);
6536 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6537 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
* _resultobj
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self","lineNo", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6556 wxPy_BEGIN_ALLOW_THREADS
;
6557 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6559 wxPy_END_ALLOW_THREADS
;
6560 if (PyErr_Occurred()) return NULL
;
6561 } _resultobj
= Py_BuildValue("i",_result
);
6565 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6566 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self","lineNo", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6585 wxPy_BEGIN_ALLOW_THREADS
;
6586 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6588 wxPy_END_ALLOW_THREADS
;
6589 if (PyErr_Occurred()) return NULL
;
6591 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6599 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6600 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
* _resultobj
;
6604 PyObject
* _argo0
= 0;
6605 char *_kwnames
[] = { "self", NULL
};
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6618 wxPy_BEGIN_ALLOW_THREADS
;
6619 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6621 wxPy_END_ALLOW_THREADS
;
6622 if (PyErr_Occurred()) return NULL
;
6623 } _resultobj
= Py_BuildValue("i",_result
);
6627 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6628 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
* _resultobj
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6646 wxPy_BEGIN_ALLOW_THREADS
;
6647 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6649 wxPy_END_ALLOW_THREADS
;
6650 if (PyErr_Occurred()) return NULL
;
6652 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6660 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6661 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6665 PyObject
* _argo0
= 0;
6666 char *_kwnames
[] = { "self", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6679 wxPy_BEGIN_ALLOW_THREADS
;
6680 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6682 wxPy_END_ALLOW_THREADS
;
6683 if (PyErr_Occurred()) return NULL
;
6684 } _resultobj
= Py_BuildValue("i",_result
);
6688 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6689 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6694 PyObject
* _argo0
= 0;
6695 PyObject
* _obj1
= 0;
6696 char *_kwnames
[] = { "self","filename", NULL
};
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6709 #if PYTHON_API_VERSION >= 1009
6710 char* tmpPtr
; int tmpSize
;
6711 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6712 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6715 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6717 _arg1
= new wxString(tmpPtr
, tmpSize
);
6719 if (!PyString_Check(_obj1
)) {
6720 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6723 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6727 wxPy_BEGIN_ALLOW_THREADS
;
6728 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6730 wxPy_END_ALLOW_THREADS
;
6731 if (PyErr_Occurred()) return NULL
;
6732 } _resultobj
= Py_BuildValue("i",_result
);
6740 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
6741 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
* _resultobj
;
6744 PyObject
* _argo0
= 0;
6745 char *_kwnames
[] = { "self", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
6758 wxPy_BEGIN_ALLOW_THREADS
;
6759 wxTextCtrl_Paste(_arg0
);
6761 wxPy_END_ALLOW_THREADS
;
6762 if (PyErr_Occurred()) return NULL
;
6763 } Py_INCREF(Py_None
);
6764 _resultobj
= Py_None
;
6768 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6769 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
* _resultobj
;
6777 PyObject
* _argo0
= 0;
6778 char *_kwnames
[] = { "self","pos", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6797 wxPy_BEGIN_ALLOW_THREADS
;
6798 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
6800 wxPy_END_ALLOW_THREADS
;
6801 if (PyErr_Occurred()) return NULL
;
6802 } Py_INCREF(Py_None
);
6803 _resultobj
= Py_None
;
6806 o
= PyInt_FromLong((long) (*_arg2
));
6807 _resultobj
= t_output_helper(_resultobj
, o
);
6811 o
= PyInt_FromLong((long) (*_arg3
));
6812 _resultobj
= t_output_helper(_resultobj
, o
);
6817 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6818 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self","from","to", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6837 wxPy_BEGIN_ALLOW_THREADS
;
6838 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6840 wxPy_END_ALLOW_THREADS
;
6841 if (PyErr_Occurred()) return NULL
;
6842 } Py_INCREF(Py_None
);
6843 _resultobj
= Py_None
;
6847 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6848 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6849 PyObject
* _resultobj
;
6854 PyObject
* _argo0
= 0;
6855 PyObject
* _obj3
= 0;
6856 char *_kwnames
[] = { "self","from","to","value", NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6869 #if PYTHON_API_VERSION >= 1009
6870 char* tmpPtr
; int tmpSize
;
6871 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6875 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6877 _arg3
= new wxString(tmpPtr
, tmpSize
);
6879 if (!PyString_Check(_obj3
)) {
6880 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6883 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6887 wxPy_BEGIN_ALLOW_THREADS
;
6888 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6890 wxPy_END_ALLOW_THREADS
;
6891 if (PyErr_Occurred()) return NULL
;
6892 } Py_INCREF(Py_None
);
6893 _resultobj
= Py_None
;
6901 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6902 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6907 PyObject
* _argo0
= 0;
6908 PyObject
* _obj1
= 0;
6909 char *_kwnames
[] = { "self","filename", NULL
};
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6922 #if PYTHON_API_VERSION >= 1009
6923 char* tmpPtr
; int tmpSize
;
6924 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6928 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6930 _arg1
= new wxString(tmpPtr
, tmpSize
);
6932 if (!PyString_Check(_obj1
)) {
6933 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6936 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6940 wxPy_BEGIN_ALLOW_THREADS
;
6941 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6943 wxPy_END_ALLOW_THREADS
;
6944 if (PyErr_Occurred()) return NULL
;
6945 } _resultobj
= Py_BuildValue("i",_result
);
6953 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
6954 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
* _resultobj
;
6958 PyObject
* _argo0
= 0;
6960 char *_kwnames
[] = { "self","editable", NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
6966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
6972 _arg1
= (bool ) tempbool1
;
6974 wxPy_BEGIN_ALLOW_THREADS
;
6975 wxTextCtrl_SetEditable(_arg0
,_arg1
);
6977 wxPy_END_ALLOW_THREADS
;
6978 if (PyErr_Occurred()) return NULL
;
6979 } Py_INCREF(Py_None
);
6980 _resultobj
= Py_None
;
6984 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
6985 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self","pos", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7003 wxPy_BEGIN_ALLOW_THREADS
;
7004 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7006 wxPy_END_ALLOW_THREADS
;
7007 if (PyErr_Occurred()) return NULL
;
7008 } Py_INCREF(Py_None
);
7009 _resultobj
= Py_None
;
7013 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7014 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self", NULL
};
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7031 wxPy_BEGIN_ALLOW_THREADS
;
7032 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7034 wxPy_END_ALLOW_THREADS
;
7035 if (PyErr_Occurred()) return NULL
;
7036 } Py_INCREF(Py_None
);
7037 _resultobj
= Py_None
;
7041 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7042 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7047 PyObject
* _argo0
= 0;
7048 char *_kwnames
[] = { "self","from","to", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7061 wxPy_BEGIN_ALLOW_THREADS
;
7062 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7064 wxPy_END_ALLOW_THREADS
;
7065 if (PyErr_Occurred()) return NULL
;
7066 } Py_INCREF(Py_None
);
7067 _resultobj
= Py_None
;
7071 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7072 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7076 PyObject
* _argo0
= 0;
7077 PyObject
* _obj1
= 0;
7078 char *_kwnames
[] = { "self","value", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
7091 #if PYTHON_API_VERSION >= 1009
7092 char* tmpPtr
; int tmpSize
;
7093 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7097 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7099 _arg1
= new wxString(tmpPtr
, tmpSize
);
7101 if (!PyString_Check(_obj1
)) {
7102 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7105 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7109 wxPy_BEGIN_ALLOW_THREADS
;
7110 wxTextCtrl_SetValue(_arg0
,*_arg1
);
7112 wxPy_END_ALLOW_THREADS
;
7113 if (PyErr_Occurred()) return NULL
;
7114 } Py_INCREF(Py_None
);
7115 _resultobj
= Py_None
;
7123 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7124 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 char *_kwnames
[] = { "self","pos", NULL
};
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7142 wxPy_BEGIN_ALLOW_THREADS
;
7143 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7145 wxPy_END_ALLOW_THREADS
;
7146 if (PyErr_Occurred()) return NULL
;
7147 } Py_INCREF(Py_None
);
7148 _resultobj
= Py_None
;
7152 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7153 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 PyObject
* _obj1
= 0;
7159 char *_kwnames
[] = { "self","text", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7172 #if PYTHON_API_VERSION >= 1009
7173 char* tmpPtr
; int tmpSize
;
7174 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7175 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7178 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7180 _arg1
= new wxString(tmpPtr
, tmpSize
);
7182 if (!PyString_Check(_obj1
)) {
7183 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7186 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7190 wxPy_BEGIN_ALLOW_THREADS
;
7191 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7193 wxPy_END_ALLOW_THREADS
;
7194 if (PyErr_Occurred()) return NULL
;
7195 } Py_INCREF(Py_None
);
7196 _resultobj
= Py_None
;
7204 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7205 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7209 PyObject
* _argo0
= 0;
7210 PyObject
* _obj1
= 0;
7211 char *_kwnames
[] = { "self","text", NULL
};
7214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7224 #if PYTHON_API_VERSION >= 1009
7225 char* tmpPtr
; int tmpSize
;
7226 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7230 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7232 _arg1
= new wxString(tmpPtr
, tmpSize
);
7234 if (!PyString_Check(_obj1
)) {
7235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7238 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7242 wxPy_BEGIN_ALLOW_THREADS
;
7243 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7245 wxPy_END_ALLOW_THREADS
;
7246 if (PyErr_Occurred()) return NULL
;
7247 } Py_INCREF(Py_None
);
7248 _resultobj
= Py_None
;
7256 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7257 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7263 PyObject
* _argo0
= 0;
7264 char *_kwnames
[] = { "self","x","y", NULL
};
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7277 wxPy_BEGIN_ALLOW_THREADS
;
7278 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7280 wxPy_END_ALLOW_THREADS
;
7281 if (PyErr_Occurred()) return NULL
;
7282 } _resultobj
= Py_BuildValue("l",_result
);
7286 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7287 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
* _resultobj
;
7291 PyObject
* _argo0
= 0;
7292 char *_kwnames
[] = { "self", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7305 wxPy_BEGIN_ALLOW_THREADS
;
7306 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7308 wxPy_END_ALLOW_THREADS
;
7309 if (PyErr_Occurred()) return NULL
;
7310 } _resultobj
= Py_BuildValue("i",_result
);
7314 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7315 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7333 wxPy_BEGIN_ALLOW_THREADS
;
7334 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7336 wxPy_END_ALLOW_THREADS
;
7337 if (PyErr_Occurred()) return NULL
;
7338 } _resultobj
= Py_BuildValue("i",_result
);
7342 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7343 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
* _resultobj
;
7347 PyObject
* _argo0
= 0;
7348 char *_kwnames
[] = { "self", NULL
};
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7361 wxPy_BEGIN_ALLOW_THREADS
;
7362 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7364 wxPy_END_ALLOW_THREADS
;
7365 if (PyErr_Occurred()) return NULL
;
7366 } _resultobj
= Py_BuildValue("i",_result
);
7370 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7371 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
* _resultobj
;
7375 PyObject
* _argo0
= 0;
7376 char *_kwnames
[] = { "self", NULL
};
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7389 wxPy_BEGIN_ALLOW_THREADS
;
7390 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7392 wxPy_END_ALLOW_THREADS
;
7393 if (PyErr_Occurred()) return NULL
;
7394 } _resultobj
= Py_BuildValue("i",_result
);
7398 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7399 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
* _resultobj
;
7403 PyObject
* _argo0
= 0;
7404 char *_kwnames
[] = { "self", NULL
};
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7417 wxPy_BEGIN_ALLOW_THREADS
;
7418 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7420 wxPy_END_ALLOW_THREADS
;
7421 if (PyErr_Occurred()) return NULL
;
7422 } _resultobj
= Py_BuildValue("i",_result
);
7426 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7427 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
* _resultobj
;
7434 PyObject
* _argo0
= 0;
7435 char *_kwnames
[] = { "self", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
7454 wxPy_BEGIN_ALLOW_THREADS
;
7455 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
7457 wxPy_END_ALLOW_THREADS
;
7458 if (PyErr_Occurred()) return NULL
;
7459 } Py_INCREF(Py_None
);
7460 _resultobj
= Py_None
;
7463 o
= PyInt_FromLong((long) (*_arg1
));
7464 _resultobj
= t_output_helper(_resultobj
, o
);
7468 o
= PyInt_FromLong((long) (*_arg2
));
7469 _resultobj
= t_output_helper(_resultobj
, o
);
7474 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7475 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
* _resultobj
;
7479 PyObject
* _argo0
= 0;
7480 char *_kwnames
[] = { "self", NULL
};
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
7486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
7493 wxPy_BEGIN_ALLOW_THREADS
;
7494 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
7496 wxPy_END_ALLOW_THREADS
;
7497 if (PyErr_Occurred()) return NULL
;
7498 } _resultobj
= Py_BuildValue("i",_result
);
7502 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7503 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
* _resultobj
;
7506 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7520 wxPy_BEGIN_ALLOW_THREADS
;
7521 wxTextCtrl_Undo(_arg0
);
7523 wxPy_END_ALLOW_THREADS
;
7524 if (PyErr_Occurred()) return NULL
;
7525 } Py_INCREF(Py_None
);
7526 _resultobj
= Py_None
;
7530 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7531 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
* _resultobj
;
7534 PyObject
* _argo0
= 0;
7535 char *_kwnames
[] = { "self", NULL
};
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7548 wxPy_BEGIN_ALLOW_THREADS
;
7549 wxTextCtrl_Redo(_arg0
);
7551 wxPy_END_ALLOW_THREADS
;
7552 if (PyErr_Occurred()) return NULL
;
7553 } Py_INCREF(Py_None
);
7554 _resultobj
= Py_None
;
7558 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7559 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
* _resultobj
;
7566 PyObject
* _argo0
= 0;
7567 PyObject
* _argo3
= 0;
7568 char *_kwnames
[] = { "self","start","end","style", NULL
};
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7581 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7582 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7588 wxPy_BEGIN_ALLOW_THREADS
;
7589 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7591 wxPy_END_ALLOW_THREADS
;
7592 if (PyErr_Occurred()) return NULL
;
7593 } _resultobj
= Py_BuildValue("i",_result
);
7597 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7598 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7603 PyObject
* _argo0
= 0;
7604 PyObject
* _argo1
= 0;
7605 char *_kwnames
[] = { "self","style", NULL
};
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7625 wxPy_BEGIN_ALLOW_THREADS
;
7626 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7628 wxPy_END_ALLOW_THREADS
;
7629 if (PyErr_Occurred()) return NULL
;
7630 } _resultobj
= Py_BuildValue("i",_result
);
7634 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7635 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
* _resultobj
;
7637 wxTextAttr
* _result
;
7639 PyObject
* _argo0
= 0;
7640 char *_kwnames
[] = { "self", NULL
};
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7654 wxPy_BEGIN_ALLOW_THREADS
;
7655 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7656 _result
= (wxTextAttr
*) &_result_ref
;
7658 wxPy_END_ALLOW_THREADS
;
7659 if (PyErr_Occurred()) return NULL
;
7661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7662 _resultobj
= Py_BuildValue("s",_ptemp
);
7665 _resultobj
= Py_None
;
7670 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7671 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7674 unsigned long _arg1
;
7675 PyObject
* _argo0
= 0;
7676 char *_kwnames
[] = { "self","len", NULL
};
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7689 wxPy_BEGIN_ALLOW_THREADS
;
7690 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7692 wxPy_END_ALLOW_THREADS
;
7693 if (PyErr_Occurred()) return NULL
;
7694 } Py_INCREF(Py_None
);
7695 _resultobj
= Py_None
;
7699 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7700 self
->AppendText(text
);
7702 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7706 PyObject
* _argo0
= 0;
7707 PyObject
* _obj1
= 0;
7708 char *_kwnames
[] = { "self","text", NULL
};
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
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_write. Expected _wxTextCtrl_p.");
7721 #if PYTHON_API_VERSION >= 1009
7722 char* tmpPtr
; int tmpSize
;
7723 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7727 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7729 _arg1
= new wxString(tmpPtr
, tmpSize
);
7731 if (!PyString_Check(_obj1
)) {
7732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7735 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7739 wxPy_BEGIN_ALLOW_THREADS
;
7740 wxTextCtrl_write(_arg0
,*_arg1
);
7742 wxPy_END_ALLOW_THREADS
;
7743 if (PyErr_Occurred()) return NULL
;
7744 } Py_INCREF(Py_None
);
7745 _resultobj
= Py_None
;
7753 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7756 src
= (wxScrollBar
*) ptr
;
7757 dest
= (wxControl
*) src
;
7758 return (void *) dest
;
7761 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7764 src
= (wxScrollBar
*) ptr
;
7765 dest
= (wxWindow
*) src
;
7766 return (void *) dest
;
7769 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7772 src
= (wxScrollBar
*) ptr
;
7773 dest
= (wxEvtHandler
*) src
;
7774 return (void *) dest
;
7777 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7780 src
= (wxScrollBar
*) ptr
;
7781 dest
= (wxObject
*) src
;
7782 return (void *) dest
;
7785 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7786 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
* _resultobj
;
7788 wxScrollBar
* _result
;
7790 wxWindowID _arg1
= (wxWindowID
) -1;
7791 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7792 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7793 long _arg4
= (long ) wxSB_HORIZONTAL
;
7794 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7795 char * _arg6
= (char *) "scrollBar";
7796 PyObject
* _argo0
= 0;
7798 PyObject
* _obj2
= 0;
7800 PyObject
* _obj3
= 0;
7801 PyObject
* _argo5
= 0;
7802 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7818 if (! wxPoint_helper(_obj2
, &_arg2
))
7824 if (! wxSize_helper(_obj3
, &_arg3
))
7828 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7829 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7835 wxPy_BEGIN_ALLOW_THREADS
;
7836 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7838 wxPy_END_ALLOW_THREADS
;
7839 if (PyErr_Occurred()) return NULL
;
7841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7842 _resultobj
= Py_BuildValue("s",_ptemp
);
7845 _resultobj
= Py_None
;
7850 #define new_wxPreScrollBar() (new wxScrollBar())
7851 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7853 wxScrollBar
* _result
;
7854 char *_kwnames
[] = { NULL
};
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7861 wxPy_BEGIN_ALLOW_THREADS
;
7862 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7864 wxPy_END_ALLOW_THREADS
;
7865 if (PyErr_Occurred()) return NULL
;
7867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7868 _resultobj
= Py_BuildValue("s",_ptemp
);
7871 _resultobj
= Py_None
;
7876 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7877 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
* _resultobj
;
7880 wxScrollBar
* _arg0
;
7882 wxWindowID _arg2
= (wxWindowID
) -1;
7883 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7884 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7885 long _arg5
= (long ) wxSB_HORIZONTAL
;
7886 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7887 char * _arg7
= (char *) "scrollBar";
7888 PyObject
* _argo0
= 0;
7889 PyObject
* _argo1
= 0;
7891 PyObject
* _obj3
= 0;
7893 PyObject
* _obj4
= 0;
7894 PyObject
* _argo6
= 0;
7895 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7917 if (! wxPoint_helper(_obj3
, &_arg3
))
7923 if (! wxSize_helper(_obj4
, &_arg4
))
7927 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7928 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7934 wxPy_BEGIN_ALLOW_THREADS
;
7935 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7937 wxPy_END_ALLOW_THREADS
;
7938 if (PyErr_Occurred()) return NULL
;
7939 } _resultobj
= Py_BuildValue("i",_result
);
7943 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7944 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
* _resultobj
;
7947 wxScrollBar
* _arg0
;
7948 PyObject
* _argo0
= 0;
7949 char *_kwnames
[] = { "self", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7962 wxPy_BEGIN_ALLOW_THREADS
;
7963 _result
= (int )wxScrollBar_GetRange(_arg0
);
7965 wxPy_END_ALLOW_THREADS
;
7966 if (PyErr_Occurred()) return NULL
;
7967 } _resultobj
= Py_BuildValue("i",_result
);
7971 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7972 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
* _resultobj
;
7975 wxScrollBar
* _arg0
;
7976 PyObject
* _argo0
= 0;
7977 char *_kwnames
[] = { "self", NULL
};
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7990 wxPy_BEGIN_ALLOW_THREADS
;
7991 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7993 wxPy_END_ALLOW_THREADS
;
7994 if (PyErr_Occurred()) return NULL
;
7995 } _resultobj
= Py_BuildValue("i",_result
);
7999 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8000 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
* _resultobj
;
8003 wxScrollBar
* _arg0
;
8004 PyObject
* _argo0
= 0;
8005 char *_kwnames
[] = { "self", NULL
};
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8018 wxPy_BEGIN_ALLOW_THREADS
;
8019 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8021 wxPy_END_ALLOW_THREADS
;
8022 if (PyErr_Occurred()) return NULL
;
8023 } _resultobj
= Py_BuildValue("i",_result
);
8027 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8028 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
* _resultobj
;
8031 wxScrollBar
* _arg0
;
8032 PyObject
* _argo0
= 0;
8033 char *_kwnames
[] = { "self", NULL
};
8036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8046 wxPy_BEGIN_ALLOW_THREADS
;
8047 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8049 wxPy_END_ALLOW_THREADS
;
8050 if (PyErr_Occurred()) return NULL
;
8051 } _resultobj
= Py_BuildValue("i",_result
);
8055 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8056 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
* _resultobj
;
8058 wxScrollBar
* _arg0
;
8060 PyObject
* _argo0
= 0;
8061 char *_kwnames
[] = { "self","viewStart", NULL
};
8064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8074 wxPy_BEGIN_ALLOW_THREADS
;
8075 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8077 wxPy_END_ALLOW_THREADS
;
8078 if (PyErr_Occurred()) return NULL
;
8079 } Py_INCREF(Py_None
);
8080 _resultobj
= Py_None
;
8084 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8085 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
* _resultobj
;
8087 wxScrollBar
* _arg0
;
8092 bool _arg5
= (bool ) TRUE
;
8093 PyObject
* _argo0
= 0;
8094 int tempbool5
= (int) TRUE
;
8095 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8107 _arg5
= (bool ) tempbool5
;
8109 wxPy_BEGIN_ALLOW_THREADS
;
8110 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8112 wxPy_END_ALLOW_THREADS
;
8113 if (PyErr_Occurred()) return NULL
;
8114 } Py_INCREF(Py_None
);
8115 _resultobj
= Py_None
;
8119 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8122 src
= (wxSpinButton
*) ptr
;
8123 dest
= (wxControl
*) src
;
8124 return (void *) dest
;
8127 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8130 src
= (wxSpinButton
*) ptr
;
8131 dest
= (wxWindow
*) src
;
8132 return (void *) dest
;
8135 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8138 src
= (wxSpinButton
*) ptr
;
8139 dest
= (wxEvtHandler
*) src
;
8140 return (void *) dest
;
8143 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8146 src
= (wxSpinButton
*) ptr
;
8147 dest
= (wxObject
*) src
;
8148 return (void *) dest
;
8151 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8152 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
* _resultobj
;
8154 wxSpinButton
* _result
;
8156 wxWindowID _arg1
= (wxWindowID
) -1;
8157 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8158 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8159 long _arg4
= (long ) wxSP_HORIZONTAL
;
8160 char * _arg5
= (char *) "spinButton";
8161 PyObject
* _argo0
= 0;
8163 PyObject
* _obj2
= 0;
8165 PyObject
* _obj3
= 0;
8166 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8182 if (! wxPoint_helper(_obj2
, &_arg2
))
8188 if (! wxSize_helper(_obj3
, &_arg3
))
8192 wxPy_BEGIN_ALLOW_THREADS
;
8193 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8195 wxPy_END_ALLOW_THREADS
;
8196 if (PyErr_Occurred()) return NULL
;
8198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8199 _resultobj
= Py_BuildValue("s",_ptemp
);
8202 _resultobj
= Py_None
;
8207 #define new_wxPreSpinButton() (new wxSpinButton())
8208 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8210 wxSpinButton
* _result
;
8211 char *_kwnames
[] = { NULL
};
8215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8218 wxPy_BEGIN_ALLOW_THREADS
;
8219 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8221 wxPy_END_ALLOW_THREADS
;
8222 if (PyErr_Occurred()) return NULL
;
8224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8225 _resultobj
= Py_BuildValue("s",_ptemp
);
8228 _resultobj
= Py_None
;
8233 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8234 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8235 PyObject
* _resultobj
;
8237 wxSpinButton
* _arg0
;
8239 wxWindowID _arg2
= (wxWindowID
) -1;
8240 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8241 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8242 long _arg5
= (long ) wxSP_HORIZONTAL
;
8243 char * _arg6
= (char *) "spinButton";
8244 PyObject
* _argo0
= 0;
8245 PyObject
* _argo1
= 0;
8247 PyObject
* _obj3
= 0;
8249 PyObject
* _obj4
= 0;
8250 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8272 if (! wxPoint_helper(_obj3
, &_arg3
))
8278 if (! wxSize_helper(_obj4
, &_arg4
))
8282 wxPy_BEGIN_ALLOW_THREADS
;
8283 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8285 wxPy_END_ALLOW_THREADS
;
8286 if (PyErr_Occurred()) return NULL
;
8287 } _resultobj
= Py_BuildValue("i",_result
);
8291 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8292 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
* _resultobj
;
8295 wxSpinButton
* _arg0
;
8296 PyObject
* _argo0
= 0;
8297 char *_kwnames
[] = { "self", NULL
};
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8310 wxPy_BEGIN_ALLOW_THREADS
;
8311 _result
= (int )wxSpinButton_GetMax(_arg0
);
8313 wxPy_END_ALLOW_THREADS
;
8314 if (PyErr_Occurred()) return NULL
;
8315 } _resultobj
= Py_BuildValue("i",_result
);
8319 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8320 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
* _resultobj
;
8323 wxSpinButton
* _arg0
;
8324 PyObject
* _argo0
= 0;
8325 char *_kwnames
[] = { "self", NULL
};
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8338 wxPy_BEGIN_ALLOW_THREADS
;
8339 _result
= (int )wxSpinButton_GetMin(_arg0
);
8341 wxPy_END_ALLOW_THREADS
;
8342 if (PyErr_Occurred()) return NULL
;
8343 } _resultobj
= Py_BuildValue("i",_result
);
8347 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8348 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
* _resultobj
;
8351 wxSpinButton
* _arg0
;
8352 PyObject
* _argo0
= 0;
8353 char *_kwnames
[] = { "self", NULL
};
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8366 wxPy_BEGIN_ALLOW_THREADS
;
8367 _result
= (int )wxSpinButton_GetValue(_arg0
);
8369 wxPy_END_ALLOW_THREADS
;
8370 if (PyErr_Occurred()) return NULL
;
8371 } _resultobj
= Py_BuildValue("i",_result
);
8375 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8376 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8378 wxSpinButton
* _arg0
;
8381 PyObject
* _argo0
= 0;
8382 char *_kwnames
[] = { "self","min","max", NULL
};
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8395 wxPy_BEGIN_ALLOW_THREADS
;
8396 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8398 wxPy_END_ALLOW_THREADS
;
8399 if (PyErr_Occurred()) return NULL
;
8400 } Py_INCREF(Py_None
);
8401 _resultobj
= Py_None
;
8405 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8406 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
* _resultobj
;
8408 wxSpinButton
* _arg0
;
8410 PyObject
* _argo0
= 0;
8411 char *_kwnames
[] = { "self","value", NULL
};
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8424 wxPy_BEGIN_ALLOW_THREADS
;
8425 wxSpinButton_SetValue(_arg0
,_arg1
);
8427 wxPy_END_ALLOW_THREADS
;
8428 if (PyErr_Occurred()) return NULL
;
8429 } Py_INCREF(Py_None
);
8430 _resultobj
= Py_None
;
8434 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8435 wxStaticBitmap
*src
;
8437 src
= (wxStaticBitmap
*) ptr
;
8438 dest
= (wxControl
*) src
;
8439 return (void *) dest
;
8442 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8443 wxStaticBitmap
*src
;
8445 src
= (wxStaticBitmap
*) ptr
;
8446 dest
= (wxWindow
*) src
;
8447 return (void *) dest
;
8450 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8451 wxStaticBitmap
*src
;
8453 src
= (wxStaticBitmap
*) ptr
;
8454 dest
= (wxEvtHandler
*) src
;
8455 return (void *) dest
;
8458 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8459 wxStaticBitmap
*src
;
8461 src
= (wxStaticBitmap
*) ptr
;
8462 dest
= (wxObject
*) src
;
8463 return (void *) dest
;
8466 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8467 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
* _resultobj
;
8469 wxStaticBitmap
* _result
;
8473 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8474 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8475 long _arg5
= (long ) 0;
8476 char * _arg6
= (char *) "staticBitmap";
8477 PyObject
* _argo0
= 0;
8478 PyObject
* _argo2
= 0;
8480 PyObject
* _obj3
= 0;
8482 PyObject
* _obj4
= 0;
8483 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8497 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8498 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8506 if (! wxPoint_helper(_obj3
, &_arg3
))
8512 if (! wxSize_helper(_obj4
, &_arg4
))
8516 wxPy_BEGIN_ALLOW_THREADS
;
8517 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8519 wxPy_END_ALLOW_THREADS
;
8520 if (PyErr_Occurred()) return NULL
;
8522 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8523 _resultobj
= Py_BuildValue("s",_ptemp
);
8526 _resultobj
= Py_None
;
8531 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8532 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
* _resultobj
;
8534 wxStaticBitmap
* _result
;
8535 char *_kwnames
[] = { NULL
};
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8542 wxPy_BEGIN_ALLOW_THREADS
;
8543 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8545 wxPy_END_ALLOW_THREADS
;
8546 if (PyErr_Occurred()) return NULL
;
8548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8549 _resultobj
= Py_BuildValue("s",_ptemp
);
8552 _resultobj
= Py_None
;
8557 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8558 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
* _resultobj
;
8561 wxStaticBitmap
* _arg0
;
8565 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8566 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8567 long _arg6
= (long ) 0;
8568 char * _arg7
= (char *) "staticBitmap";
8569 PyObject
* _argo0
= 0;
8570 PyObject
* _argo1
= 0;
8571 PyObject
* _argo3
= 0;
8573 PyObject
* _obj4
= 0;
8575 PyObject
* _obj5
= 0;
8576 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8596 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8597 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8605 if (! wxPoint_helper(_obj4
, &_arg4
))
8611 if (! wxSize_helper(_obj5
, &_arg5
))
8615 wxPy_BEGIN_ALLOW_THREADS
;
8616 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8618 wxPy_END_ALLOW_THREADS
;
8619 if (PyErr_Occurred()) return NULL
;
8620 } _resultobj
= Py_BuildValue("i",_result
);
8624 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8625 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
* _resultobj
;
8628 wxStaticBitmap
* _arg0
;
8629 PyObject
* _argo0
= 0;
8630 char *_kwnames
[] = { "self", NULL
};
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8644 wxPy_BEGIN_ALLOW_THREADS
;
8645 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
8646 _result
= (wxBitmap
*) &_result_ref
;
8648 wxPy_END_ALLOW_THREADS
;
8649 if (PyErr_Occurred()) return NULL
;
8651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
8652 _resultobj
= Py_BuildValue("s",_ptemp
);
8655 _resultobj
= Py_None
;
8660 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8661 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
* _resultobj
;
8663 wxStaticBitmap
* _arg0
;
8665 PyObject
* _argo0
= 0;
8666 PyObject
* _argo1
= 0;
8667 char *_kwnames
[] = { "self","bitmap", NULL
};
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8687 wxPy_BEGIN_ALLOW_THREADS
;
8688 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8690 wxPy_END_ALLOW_THREADS
;
8691 if (PyErr_Occurred()) return NULL
;
8692 } Py_INCREF(Py_None
);
8693 _resultobj
= Py_None
;
8697 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8698 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8699 PyObject
* _resultobj
;
8700 wxStaticBitmap
* _arg0
;
8702 PyObject
* _argo0
= 0;
8703 PyObject
* _argo1
= 0;
8704 char *_kwnames
[] = { "self","icon", NULL
};
8707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8717 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8718 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8724 wxPy_BEGIN_ALLOW_THREADS
;
8725 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8727 wxPy_END_ALLOW_THREADS
;
8728 if (PyErr_Occurred()) return NULL
;
8729 } Py_INCREF(Py_None
);
8730 _resultobj
= Py_None
;
8734 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8737 src
= (wxRadioBox
*) ptr
;
8738 dest
= (wxControl
*) src
;
8739 return (void *) dest
;
8742 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8745 src
= (wxRadioBox
*) ptr
;
8746 dest
= (wxWindow
*) src
;
8747 return (void *) dest
;
8750 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8753 src
= (wxRadioBox
*) ptr
;
8754 dest
= (wxEvtHandler
*) src
;
8755 return (void *) dest
;
8758 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8761 src
= (wxRadioBox
*) ptr
;
8762 dest
= (wxObject
*) src
;
8763 return (void *) dest
;
8766 #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))
8767 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
* _resultobj
;
8769 wxRadioBox
* _result
;
8773 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8774 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8775 int _arg5
= (int ) 0;
8776 wxString
* _arg6
= (wxString
*) NULL
;
8777 int _arg7
= (int ) 0;
8778 long _arg8
= (long ) wxRA_HORIZONTAL
;
8779 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8780 char * _arg10
= (char *) "radioBox";
8781 PyObject
* _argo0
= 0;
8782 PyObject
* _obj2
= 0;
8784 PyObject
* _obj3
= 0;
8786 PyObject
* _obj4
= 0;
8787 PyObject
* _obj6
= 0;
8788 PyObject
* _argo9
= 0;
8789 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8803 #if PYTHON_API_VERSION >= 1009
8804 char* tmpPtr
; int tmpSize
;
8805 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8809 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8811 _arg2
= new wxString(tmpPtr
, tmpSize
);
8813 if (!PyString_Check(_obj2
)) {
8814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8817 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8823 if (! wxPoint_helper(_obj3
, &_arg3
))
8829 if (! wxSize_helper(_obj4
, &_arg4
))
8834 _arg6
= wxString_LIST_helper(_obj6
);
8835 if (_arg6
== NULL
) {
8840 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8841 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8848 _arg5
= PyList_Size(_obj6
);
8855 wxPy_BEGIN_ALLOW_THREADS
;
8856 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8858 wxPy_END_ALLOW_THREADS
;
8859 if (PyErr_Occurred()) return NULL
;
8861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8862 _resultobj
= Py_BuildValue("s",_ptemp
);
8865 _resultobj
= Py_None
;
8877 #define new_wxPreRadioBox() (new wxRadioBox())
8878 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
* _resultobj
;
8880 wxRadioBox
* _result
;
8881 char *_kwnames
[] = { NULL
};
8885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8888 wxPy_BEGIN_ALLOW_THREADS
;
8889 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8891 wxPy_END_ALLOW_THREADS
;
8892 if (PyErr_Occurred()) return NULL
;
8894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8895 _resultobj
= Py_BuildValue("s",_ptemp
);
8898 _resultobj
= Py_None
;
8903 #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))
8904 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
* _resultobj
;
8911 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8912 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8913 int _arg6
= (int ) 0;
8914 wxString
* _arg7
= (wxString
*) NULL
;
8915 int _arg8
= (int ) 0;
8916 long _arg9
= (long ) wxRA_HORIZONTAL
;
8917 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8918 char * _arg11
= (char *) "radioBox";
8919 PyObject
* _argo0
= 0;
8920 PyObject
* _argo1
= 0;
8921 PyObject
* _obj3
= 0;
8923 PyObject
* _obj4
= 0;
8925 PyObject
* _obj5
= 0;
8926 PyObject
* _obj7
= 0;
8927 PyObject
* _argo10
= 0;
8928 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8948 #if PYTHON_API_VERSION >= 1009
8949 char* tmpPtr
; int tmpSize
;
8950 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8951 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8954 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8956 _arg3
= new wxString(tmpPtr
, tmpSize
);
8958 if (!PyString_Check(_obj3
)) {
8959 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8962 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8968 if (! wxPoint_helper(_obj4
, &_arg4
))
8974 if (! wxSize_helper(_obj5
, &_arg5
))
8979 _arg7
= wxString_LIST_helper(_obj7
);
8980 if (_arg7
== NULL
) {
8985 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8993 _arg6
= PyList_Size(_obj7
);
9000 wxPy_BEGIN_ALLOW_THREADS
;
9001 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
9003 wxPy_END_ALLOW_THREADS
;
9004 if (PyErr_Occurred()) return NULL
;
9005 } _resultobj
= Py_BuildValue("i",_result
);
9016 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9017 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
* _resultobj
;
9021 PyObject
* _argo0
= 0;
9023 char *_kwnames
[] = { "self","enable", NULL
};
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9035 _arg1
= (bool ) tempbool1
;
9037 wxPy_BEGIN_ALLOW_THREADS
;
9038 wxRadioBox_Enable(_arg0
,_arg1
);
9040 wxPy_END_ALLOW_THREADS
;
9041 if (PyErr_Occurred()) return NULL
;
9042 } Py_INCREF(Py_None
);
9043 _resultobj
= Py_None
;
9047 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9048 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
* _resultobj
;
9053 PyObject
* _argo0
= 0;
9055 char *_kwnames
[] = { "self","n","enable", NULL
};
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9067 _arg2
= (bool ) tempbool2
;
9069 wxPy_BEGIN_ALLOW_THREADS
;
9070 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9072 wxPy_END_ALLOW_THREADS
;
9073 if (PyErr_Occurred()) return NULL
;
9074 } Py_INCREF(Py_None
);
9075 _resultobj
= Py_None
;
9079 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9080 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
* _resultobj
;
9085 PyObject
* _argo0
= 0;
9086 PyObject
* _obj1
= 0;
9087 char *_kwnames
[] = { "self","string", NULL
};
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9100 #if PYTHON_API_VERSION >= 1009
9101 char* tmpPtr
; int tmpSize
;
9102 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9103 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9106 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9108 _arg1
= new wxString(tmpPtr
, tmpSize
);
9110 if (!PyString_Check(_obj1
)) {
9111 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9114 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9118 wxPy_BEGIN_ALLOW_THREADS
;
9119 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9121 wxPy_END_ALLOW_THREADS
;
9122 if (PyErr_Occurred()) return NULL
;
9123 } _resultobj
= Py_BuildValue("i",_result
);
9131 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9132 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
* _resultobj
;
9137 PyObject
* _argo0
= 0;
9138 char *_kwnames
[] = { "self","n", NULL
};
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9151 wxPy_BEGIN_ALLOW_THREADS
;
9152 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9154 wxPy_END_ALLOW_THREADS
;
9155 if (PyErr_Occurred()) return NULL
;
9157 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9165 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9166 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
* _resultobj
;
9171 PyObject
* _argo0
= 0;
9172 char *_kwnames
[] = { "self","item", NULL
};
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
9178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9185 wxPy_BEGIN_ALLOW_THREADS
;
9186 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
9188 wxPy_END_ALLOW_THREADS
;
9189 if (PyErr_Occurred()) return NULL
;
9191 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9199 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9200 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
* _resultobj
;
9205 PyObject
* _argo0
= 0;
9206 PyObject
* _obj2
= 0;
9207 char *_kwnames
[] = { "self","item","label", NULL
};
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9220 #if PYTHON_API_VERSION >= 1009
9221 char* tmpPtr
; int tmpSize
;
9222 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9226 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9228 _arg2
= new wxString(tmpPtr
, tmpSize
);
9230 if (!PyString_Check(_obj2
)) {
9231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9234 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9238 wxPy_BEGIN_ALLOW_THREADS
;
9239 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
9241 wxPy_END_ALLOW_THREADS
;
9242 if (PyErr_Occurred()) return NULL
;
9243 } Py_INCREF(Py_None
);
9244 _resultobj
= Py_None
;
9252 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9253 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
* _resultobj
;
9257 PyObject
* _argo0
= 0;
9258 char *_kwnames
[] = { "self", NULL
};
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9271 wxPy_BEGIN_ALLOW_THREADS
;
9272 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9274 wxPy_END_ALLOW_THREADS
;
9275 if (PyErr_Occurred()) return NULL
;
9276 } _resultobj
= Py_BuildValue("i",_result
);
9280 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9281 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
* _resultobj
;
9285 PyObject
* _argo0
= 0;
9286 char *_kwnames
[] = { "self", NULL
};
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9299 wxPy_BEGIN_ALLOW_THREADS
;
9300 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9302 wxPy_END_ALLOW_THREADS
;
9303 if (PyErr_Occurred()) return NULL
;
9305 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9313 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9314 static PyObject
*_wrap_wxRadioBox_GetCount(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_GetCount",_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_GetCount. Expected _wxRadioBox_p.");
9332 wxPy_BEGIN_ALLOW_THREADS
;
9333 _result
= (int )wxRadioBox_GetCount(_arg0
);
9335 wxPy_END_ALLOW_THREADS
;
9336 if (PyErr_Occurred()) return NULL
;
9337 } _resultobj
= Py_BuildValue("i",_result
);
9341 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9342 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9346 PyObject
* _argo0
= 0;
9347 char *_kwnames
[] = { "self","n", NULL
};
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
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_SetSelection. Expected _wxRadioBox_p.");
9360 wxPy_BEGIN_ALLOW_THREADS
;
9361 wxRadioBox_SetSelection(_arg0
,_arg1
);
9363 wxPy_END_ALLOW_THREADS
;
9364 if (PyErr_Occurred()) return NULL
;
9365 } Py_INCREF(Py_None
);
9366 _resultobj
= Py_None
;
9370 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9371 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
* _resultobj
;
9375 PyObject
* _argo0
= 0;
9376 PyObject
* _obj1
= 0;
9377 char *_kwnames
[] = { "self","string", NULL
};
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9390 #if PYTHON_API_VERSION >= 1009
9391 char* tmpPtr
; int tmpSize
;
9392 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9396 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9398 _arg1
= new wxString(tmpPtr
, tmpSize
);
9400 if (!PyString_Check(_obj1
)) {
9401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9404 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9408 wxPy_BEGIN_ALLOW_THREADS
;
9409 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9411 wxPy_END_ALLOW_THREADS
;
9412 if (PyErr_Occurred()) return NULL
;
9413 } Py_INCREF(Py_None
);
9414 _resultobj
= Py_None
;
9422 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9423 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
* _resultobj
;
9427 PyObject
* _argo0
= 0;
9429 char *_kwnames
[] = { "self","show", NULL
};
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9441 _arg1
= (bool ) tempbool1
;
9443 wxPy_BEGIN_ALLOW_THREADS
;
9444 wxRadioBox_Show(_arg0
,_arg1
);
9446 wxPy_END_ALLOW_THREADS
;
9447 if (PyErr_Occurred()) return NULL
;
9448 } Py_INCREF(Py_None
);
9449 _resultobj
= Py_None
;
9453 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9454 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9459 PyObject
* _argo0
= 0;
9461 char *_kwnames
[] = { "self","item","show", NULL
};
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9473 _arg2
= (bool ) tempbool2
;
9475 wxPy_BEGIN_ALLOW_THREADS
;
9476 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9478 wxPy_END_ALLOW_THREADS
;
9479 if (PyErr_Occurred()) return NULL
;
9480 } Py_INCREF(Py_None
);
9481 _resultobj
= Py_None
;
9485 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9488 src
= (wxRadioButton
*) ptr
;
9489 dest
= (wxControl
*) src
;
9490 return (void *) dest
;
9493 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9496 src
= (wxRadioButton
*) ptr
;
9497 dest
= (wxWindow
*) src
;
9498 return (void *) dest
;
9501 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9504 src
= (wxRadioButton
*) ptr
;
9505 dest
= (wxEvtHandler
*) src
;
9506 return (void *) dest
;
9509 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9512 src
= (wxRadioButton
*) ptr
;
9513 dest
= (wxObject
*) src
;
9514 return (void *) dest
;
9517 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9518 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
* _resultobj
;
9520 wxRadioButton
* _result
;
9524 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9525 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9526 long _arg5
= (long ) 0;
9527 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9528 char * _arg7
= (char *) "radioButton";
9529 PyObject
* _argo0
= 0;
9530 PyObject
* _obj2
= 0;
9532 PyObject
* _obj3
= 0;
9534 PyObject
* _obj4
= 0;
9535 PyObject
* _argo6
= 0;
9536 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9550 #if PYTHON_API_VERSION >= 1009
9551 char* tmpPtr
; int tmpSize
;
9552 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9556 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9558 _arg2
= new wxString(tmpPtr
, tmpSize
);
9560 if (!PyString_Check(_obj2
)) {
9561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9564 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9570 if (! wxPoint_helper(_obj3
, &_arg3
))
9576 if (! wxSize_helper(_obj4
, &_arg4
))
9580 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9581 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9587 wxPy_BEGIN_ALLOW_THREADS
;
9588 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9590 wxPy_END_ALLOW_THREADS
;
9591 if (PyErr_Occurred()) return NULL
;
9593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9594 _resultobj
= Py_BuildValue("s",_ptemp
);
9597 _resultobj
= Py_None
;
9606 #define new_wxPreRadioButton() (new wxRadioButton())
9607 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
* _resultobj
;
9609 wxRadioButton
* _result
;
9610 char *_kwnames
[] = { NULL
};
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9617 wxPy_BEGIN_ALLOW_THREADS
;
9618 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9620 wxPy_END_ALLOW_THREADS
;
9621 if (PyErr_Occurred()) return NULL
;
9623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9624 _resultobj
= Py_BuildValue("s",_ptemp
);
9627 _resultobj
= Py_None
;
9632 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9633 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9636 wxRadioButton
* _arg0
;
9640 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9641 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9642 long _arg6
= (long ) 0;
9643 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9644 char * _arg8
= (char *) "radioButton";
9645 PyObject
* _argo0
= 0;
9646 PyObject
* _argo1
= 0;
9647 PyObject
* _obj3
= 0;
9649 PyObject
* _obj4
= 0;
9651 PyObject
* _obj5
= 0;
9652 PyObject
* _argo7
= 0;
9653 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9673 #if PYTHON_API_VERSION >= 1009
9674 char* tmpPtr
; int tmpSize
;
9675 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9679 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9681 _arg3
= new wxString(tmpPtr
, tmpSize
);
9683 if (!PyString_Check(_obj3
)) {
9684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9687 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9693 if (! wxPoint_helper(_obj4
, &_arg4
))
9699 if (! wxSize_helper(_obj5
, &_arg5
))
9703 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9704 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9710 wxPy_BEGIN_ALLOW_THREADS
;
9711 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9713 wxPy_END_ALLOW_THREADS
;
9714 if (PyErr_Occurred()) return NULL
;
9715 } _resultobj
= Py_BuildValue("i",_result
);
9723 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9724 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
* _resultobj
;
9727 wxRadioButton
* _arg0
;
9728 PyObject
* _argo0
= 0;
9729 char *_kwnames
[] = { "self", NULL
};
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9742 wxPy_BEGIN_ALLOW_THREADS
;
9743 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9745 wxPy_END_ALLOW_THREADS
;
9746 if (PyErr_Occurred()) return NULL
;
9747 } _resultobj
= Py_BuildValue("i",_result
);
9751 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9752 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
* _resultobj
;
9754 wxRadioButton
* _arg0
;
9756 PyObject
* _argo0
= 0;
9758 char *_kwnames
[] = { "self","value", NULL
};
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9770 _arg1
= (bool ) tempbool1
;
9772 wxPy_BEGIN_ALLOW_THREADS
;
9773 wxRadioButton_SetValue(_arg0
,_arg1
);
9775 wxPy_END_ALLOW_THREADS
;
9776 if (PyErr_Occurred()) return NULL
;
9777 } Py_INCREF(Py_None
);
9778 _resultobj
= Py_None
;
9782 static void *SwigwxSliderTowxControl(void *ptr
) {
9785 src
= (wxSlider
*) ptr
;
9786 dest
= (wxControl
*) src
;
9787 return (void *) dest
;
9790 static void *SwigwxSliderTowxWindow(void *ptr
) {
9793 src
= (wxSlider
*) ptr
;
9794 dest
= (wxWindow
*) src
;
9795 return (void *) dest
;
9798 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9801 src
= (wxSlider
*) ptr
;
9802 dest
= (wxEvtHandler
*) src
;
9803 return (void *) dest
;
9806 static void *SwigwxSliderTowxObject(void *ptr
) {
9809 src
= (wxSlider
*) ptr
;
9810 dest
= (wxObject
*) src
;
9811 return (void *) dest
;
9814 #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))
9815 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
* _resultobj
;
9823 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9824 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9825 long _arg7
= (long ) wxSL_HORIZONTAL
;
9826 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9827 char * _arg9
= (char *) "slider";
9828 PyObject
* _argo0
= 0;
9830 PyObject
* _obj5
= 0;
9832 PyObject
* _obj6
= 0;
9833 PyObject
* _argo8
= 0;
9834 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9850 if (! wxPoint_helper(_obj5
, &_arg5
))
9856 if (! wxSize_helper(_obj6
, &_arg6
))
9860 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9861 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9867 wxPy_BEGIN_ALLOW_THREADS
;
9868 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9870 wxPy_END_ALLOW_THREADS
;
9871 if (PyErr_Occurred()) return NULL
;
9873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9874 _resultobj
= Py_BuildValue("s",_ptemp
);
9877 _resultobj
= Py_None
;
9882 #define new_wxPreSlider() (new wxSlider())
9883 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
* _resultobj
;
9886 char *_kwnames
[] = { NULL
};
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9893 wxPy_BEGIN_ALLOW_THREADS
;
9894 _result
= (wxSlider
*)new_wxPreSlider();
9896 wxPy_END_ALLOW_THREADS
;
9897 if (PyErr_Occurred()) return NULL
;
9899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9900 _resultobj
= Py_BuildValue("s",_ptemp
);
9903 _resultobj
= Py_None
;
9908 #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))
9909 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
* _resultobj
;
9918 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9919 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9920 long _arg8
= (long ) wxSL_HORIZONTAL
;
9921 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9922 char * _arg10
= (char *) "slider";
9923 PyObject
* _argo0
= 0;
9924 PyObject
* _argo1
= 0;
9926 PyObject
* _obj6
= 0;
9928 PyObject
* _obj7
= 0;
9929 PyObject
* _argo9
= 0;
9930 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9952 if (! wxPoint_helper(_obj6
, &_arg6
))
9958 if (! wxSize_helper(_obj7
, &_arg7
))
9962 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9963 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9969 wxPy_BEGIN_ALLOW_THREADS
;
9970 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9972 wxPy_END_ALLOW_THREADS
;
9973 if (PyErr_Occurred()) return NULL
;
9974 } _resultobj
= Py_BuildValue("i",_result
);
9978 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9979 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
* _resultobj
;
9982 PyObject
* _argo0
= 0;
9983 char *_kwnames
[] = { "self", NULL
};
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9996 wxPy_BEGIN_ALLOW_THREADS
;
9997 wxSlider_ClearSel(_arg0
);
9999 wxPy_END_ALLOW_THREADS
;
10000 if (PyErr_Occurred()) return NULL
;
10001 } Py_INCREF(Py_None
);
10002 _resultobj
= Py_None
;
10006 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10007 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
* _resultobj
;
10010 PyObject
* _argo0
= 0;
10011 char *_kwnames
[] = { "self", NULL
};
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10024 wxPy_BEGIN_ALLOW_THREADS
;
10025 wxSlider_ClearTicks(_arg0
);
10027 wxPy_END_ALLOW_THREADS
;
10028 if (PyErr_Occurred()) return NULL
;
10029 } Py_INCREF(Py_None
);
10030 _resultobj
= Py_None
;
10034 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10035 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
* _resultobj
;
10039 PyObject
* _argo0
= 0;
10040 char *_kwnames
[] = { "self", NULL
};
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10053 wxPy_BEGIN_ALLOW_THREADS
;
10054 _result
= (int )wxSlider_GetLineSize(_arg0
);
10056 wxPy_END_ALLOW_THREADS
;
10057 if (PyErr_Occurred()) return NULL
;
10058 } _resultobj
= Py_BuildValue("i",_result
);
10062 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10063 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
* _resultobj
;
10067 PyObject
* _argo0
= 0;
10068 char *_kwnames
[] = { "self", NULL
};
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10081 wxPy_BEGIN_ALLOW_THREADS
;
10082 _result
= (int )wxSlider_GetMax(_arg0
);
10084 wxPy_END_ALLOW_THREADS
;
10085 if (PyErr_Occurred()) return NULL
;
10086 } _resultobj
= Py_BuildValue("i",_result
);
10090 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10091 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
* _resultobj
;
10095 PyObject
* _argo0
= 0;
10096 char *_kwnames
[] = { "self", NULL
};
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10109 wxPy_BEGIN_ALLOW_THREADS
;
10110 _result
= (int )wxSlider_GetMin(_arg0
);
10112 wxPy_END_ALLOW_THREADS
;
10113 if (PyErr_Occurred()) return NULL
;
10114 } _resultobj
= Py_BuildValue("i",_result
);
10118 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10119 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10123 PyObject
* _argo0
= 0;
10124 char *_kwnames
[] = { "self", NULL
};
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10137 wxPy_BEGIN_ALLOW_THREADS
;
10138 _result
= (int )wxSlider_GetPageSize(_arg0
);
10140 wxPy_END_ALLOW_THREADS
;
10141 if (PyErr_Occurred()) return NULL
;
10142 } _resultobj
= Py_BuildValue("i",_result
);
10146 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10147 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
* _resultobj
;
10151 PyObject
* _argo0
= 0;
10152 char *_kwnames
[] = { "self", NULL
};
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10165 wxPy_BEGIN_ALLOW_THREADS
;
10166 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10168 wxPy_END_ALLOW_THREADS
;
10169 if (PyErr_Occurred()) return NULL
;
10170 } _resultobj
= Py_BuildValue("i",_result
);
10174 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10175 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
* _resultobj
;
10179 PyObject
* _argo0
= 0;
10180 char *_kwnames
[] = { "self", NULL
};
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10193 wxPy_BEGIN_ALLOW_THREADS
;
10194 _result
= (int )wxSlider_GetSelStart(_arg0
);
10196 wxPy_END_ALLOW_THREADS
;
10197 if (PyErr_Occurred()) return NULL
;
10198 } _resultobj
= Py_BuildValue("i",_result
);
10202 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10203 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
* _resultobj
;
10207 PyObject
* _argo0
= 0;
10208 char *_kwnames
[] = { "self", NULL
};
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10221 wxPy_BEGIN_ALLOW_THREADS
;
10222 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10224 wxPy_END_ALLOW_THREADS
;
10225 if (PyErr_Occurred()) return NULL
;
10226 } _resultobj
= Py_BuildValue("i",_result
);
10230 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10231 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
* _resultobj
;
10235 PyObject
* _argo0
= 0;
10236 char *_kwnames
[] = { "self", NULL
};
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10249 wxPy_BEGIN_ALLOW_THREADS
;
10250 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10252 wxPy_END_ALLOW_THREADS
;
10253 if (PyErr_Occurred()) return NULL
;
10254 } _resultobj
= Py_BuildValue("i",_result
);
10258 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10259 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
* _resultobj
;
10263 PyObject
* _argo0
= 0;
10264 char *_kwnames
[] = { "self", NULL
};
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10277 wxPy_BEGIN_ALLOW_THREADS
;
10278 _result
= (int )wxSlider_GetValue(_arg0
);
10280 wxPy_END_ALLOW_THREADS
;
10281 if (PyErr_Occurred()) return NULL
;
10282 } _resultobj
= Py_BuildValue("i",_result
);
10286 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10287 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
* _resultobj
;
10292 PyObject
* _argo0
= 0;
10293 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10306 wxPy_BEGIN_ALLOW_THREADS
;
10307 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10309 wxPy_END_ALLOW_THREADS
;
10310 if (PyErr_Occurred()) return NULL
;
10311 } Py_INCREF(Py_None
);
10312 _resultobj
= Py_None
;
10316 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10317 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
* _resultobj
;
10322 PyObject
* _argo0
= 0;
10323 char *_kwnames
[] = { "self","n","pos", NULL
};
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10336 wxPy_BEGIN_ALLOW_THREADS
;
10337 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10339 wxPy_END_ALLOW_THREADS
;
10340 if (PyErr_Occurred()) return NULL
;
10341 } Py_INCREF(Py_None
);
10342 _resultobj
= Py_None
;
10346 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10347 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
* _resultobj
;
10351 PyObject
* _argo0
= 0;
10352 char *_kwnames
[] = { "self","lineSize", NULL
};
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10365 wxPy_BEGIN_ALLOW_THREADS
;
10366 wxSlider_SetLineSize(_arg0
,_arg1
);
10368 wxPy_END_ALLOW_THREADS
;
10369 if (PyErr_Occurred()) return NULL
;
10370 } Py_INCREF(Py_None
);
10371 _resultobj
= Py_None
;
10375 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10376 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
* _resultobj
;
10380 PyObject
* _argo0
= 0;
10381 char *_kwnames
[] = { "self","pageSize", NULL
};
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10394 wxPy_BEGIN_ALLOW_THREADS
;
10395 wxSlider_SetPageSize(_arg0
,_arg1
);
10397 wxPy_END_ALLOW_THREADS
;
10398 if (PyErr_Occurred()) return NULL
;
10399 } Py_INCREF(Py_None
);
10400 _resultobj
= Py_None
;
10404 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10405 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
* _resultobj
;
10410 PyObject
* _argo0
= 0;
10411 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10424 wxPy_BEGIN_ALLOW_THREADS
;
10425 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10427 wxPy_END_ALLOW_THREADS
;
10428 if (PyErr_Occurred()) return NULL
;
10429 } Py_INCREF(Py_None
);
10430 _resultobj
= Py_None
;
10434 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10435 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
* _resultobj
;
10439 PyObject
* _argo0
= 0;
10440 char *_kwnames
[] = { "self","len", NULL
};
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10453 wxPy_BEGIN_ALLOW_THREADS
;
10454 wxSlider_SetThumbLength(_arg0
,_arg1
);
10456 wxPy_END_ALLOW_THREADS
;
10457 if (PyErr_Occurred()) return NULL
;
10458 } Py_INCREF(Py_None
);
10459 _resultobj
= Py_None
;
10463 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10464 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
* _resultobj
;
10468 PyObject
* _argo0
= 0;
10469 char *_kwnames
[] = { "self","tickPos", NULL
};
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10482 wxPy_BEGIN_ALLOW_THREADS
;
10483 wxSlider_SetTick(_arg0
,_arg1
);
10485 wxPy_END_ALLOW_THREADS
;
10486 if (PyErr_Occurred()) return NULL
;
10487 } Py_INCREF(Py_None
);
10488 _resultobj
= Py_None
;
10492 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10493 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
* _resultobj
;
10497 PyObject
* _argo0
= 0;
10498 char *_kwnames
[] = { "self","value", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10511 wxPy_BEGIN_ALLOW_THREADS
;
10512 wxSlider_SetValue(_arg0
,_arg1
);
10514 wxPy_END_ALLOW_THREADS
;
10515 if (PyErr_Occurred()) return NULL
;
10516 } Py_INCREF(Py_None
);
10517 _resultobj
= Py_None
;
10521 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10523 wxSpinButton
*dest
;
10524 src
= (wxSpinCtrl
*) ptr
;
10525 dest
= (wxSpinButton
*) src
;
10526 return (void *) dest
;
10529 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10532 src
= (wxSpinCtrl
*) ptr
;
10533 dest
= (wxControl
*) src
;
10534 return (void *) dest
;
10537 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10540 src
= (wxSpinCtrl
*) ptr
;
10541 dest
= (wxWindow
*) src
;
10542 return (void *) dest
;
10545 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10547 wxEvtHandler
*dest
;
10548 src
= (wxSpinCtrl
*) ptr
;
10549 dest
= (wxEvtHandler
*) src
;
10550 return (void *) dest
;
10553 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10556 src
= (wxSpinCtrl
*) ptr
;
10557 dest
= (wxObject
*) src
;
10558 return (void *) dest
;
10561 #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))
10562 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
* _resultobj
;
10564 wxSpinCtrl
* _result
;
10566 wxWindowID _arg1
= (wxWindowID
) -1;
10567 char * _arg2
= (char *) "";
10568 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10569 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10570 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10571 int _arg6
= (int ) 0;
10572 int _arg7
= (int ) 100;
10573 int _arg8
= (int ) 0;
10574 char * _arg9
= (char *) "wxSpinCtrl";
10575 PyObject
* _argo0
= 0;
10577 PyObject
* _obj3
= 0;
10579 PyObject
* _obj4
= 0;
10580 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10596 if (! wxPoint_helper(_obj3
, &_arg3
))
10602 if (! wxSize_helper(_obj4
, &_arg4
))
10606 wxPy_BEGIN_ALLOW_THREADS
;
10607 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10609 wxPy_END_ALLOW_THREADS
;
10610 if (PyErr_Occurred()) return NULL
;
10612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10613 _resultobj
= Py_BuildValue("s",_ptemp
);
10615 Py_INCREF(Py_None
);
10616 _resultobj
= Py_None
;
10621 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10622 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10624 wxSpinCtrl
* _result
;
10625 char *_kwnames
[] = { NULL
};
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10632 wxPy_BEGIN_ALLOW_THREADS
;
10633 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10635 wxPy_END_ALLOW_THREADS
;
10636 if (PyErr_Occurred()) return NULL
;
10638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10639 _resultobj
= Py_BuildValue("s",_ptemp
);
10641 Py_INCREF(Py_None
);
10642 _resultobj
= Py_None
;
10647 #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))
10648 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
* _resultobj
;
10651 wxSpinCtrl
* _arg0
;
10653 wxWindowID _arg2
= (wxWindowID
) -1;
10654 char * _arg3
= (char *) "";
10655 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10656 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10657 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10658 int _arg7
= (int ) 0;
10659 int _arg8
= (int ) 100;
10660 int _arg9
= (int ) 0;
10661 char * _arg10
= (char *) "wxSpinCtrl";
10662 PyObject
* _argo0
= 0;
10663 PyObject
* _argo1
= 0;
10665 PyObject
* _obj4
= 0;
10667 PyObject
* _obj5
= 0;
10668 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10690 if (! wxPoint_helper(_obj4
, &_arg4
))
10696 if (! wxSize_helper(_obj5
, &_arg5
))
10700 wxPy_BEGIN_ALLOW_THREADS
;
10701 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10703 wxPy_END_ALLOW_THREADS
;
10704 if (PyErr_Occurred()) return NULL
;
10705 } _resultobj
= Py_BuildValue("i",_result
);
10709 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10710 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
* _resultobj
;
10713 wxSpinCtrl
* _arg0
;
10714 PyObject
* _argo0
= 0;
10715 char *_kwnames
[] = { "self", NULL
};
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10728 wxPy_BEGIN_ALLOW_THREADS
;
10729 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10731 wxPy_END_ALLOW_THREADS
;
10732 if (PyErr_Occurred()) return NULL
;
10733 } _resultobj
= Py_BuildValue("i",_result
);
10737 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10738 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
* _resultobj
;
10741 wxSpinCtrl
* _arg0
;
10742 PyObject
* _argo0
= 0;
10743 char *_kwnames
[] = { "self", NULL
};
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10756 wxPy_BEGIN_ALLOW_THREADS
;
10757 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10759 wxPy_END_ALLOW_THREADS
;
10760 if (PyErr_Occurred()) return NULL
;
10761 } _resultobj
= Py_BuildValue("i",_result
);
10765 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10766 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
* _resultobj
;
10769 wxSpinCtrl
* _arg0
;
10770 PyObject
* _argo0
= 0;
10771 char *_kwnames
[] = { "self", NULL
};
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10784 wxPy_BEGIN_ALLOW_THREADS
;
10785 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10787 wxPy_END_ALLOW_THREADS
;
10788 if (PyErr_Occurred()) return NULL
;
10789 } _resultobj
= Py_BuildValue("i",_result
);
10793 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10794 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
* _resultobj
;
10796 wxSpinCtrl
* _arg0
;
10799 PyObject
* _argo0
= 0;
10800 char *_kwnames
[] = { "self","min","max", NULL
};
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10813 wxPy_BEGIN_ALLOW_THREADS
;
10814 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10816 wxPy_END_ALLOW_THREADS
;
10817 if (PyErr_Occurred()) return NULL
;
10818 } Py_INCREF(Py_None
);
10819 _resultobj
= Py_None
;
10823 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10824 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
* _resultobj
;
10826 wxSpinCtrl
* _arg0
;
10828 PyObject
* _argo0
= 0;
10829 char *_kwnames
[] = { "self","value", NULL
};
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10842 wxPy_BEGIN_ALLOW_THREADS
;
10843 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10845 wxPy_END_ALLOW_THREADS
;
10846 if (PyErr_Occurred()) return NULL
;
10847 } Py_INCREF(Py_None
);
10848 _resultobj
= Py_None
;
10852 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10853 wxToggleButton
*src
;
10855 src
= (wxToggleButton
*) ptr
;
10856 dest
= (wxControl
*) src
;
10857 return (void *) dest
;
10860 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10861 wxToggleButton
*src
;
10863 src
= (wxToggleButton
*) ptr
;
10864 dest
= (wxWindow
*) src
;
10865 return (void *) dest
;
10868 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10869 wxToggleButton
*src
;
10870 wxEvtHandler
*dest
;
10871 src
= (wxToggleButton
*) ptr
;
10872 dest
= (wxEvtHandler
*) src
;
10873 return (void *) dest
;
10876 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10877 wxToggleButton
*src
;
10879 src
= (wxToggleButton
*) ptr
;
10880 dest
= (wxObject
*) src
;
10881 return (void *) dest
;
10884 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10885 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
* _resultobj
;
10887 wxToggleButton
* _result
;
10891 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10892 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10893 long _arg5
= (long ) 0;
10894 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10895 char * _arg7
= (char *) "toggle";
10896 PyObject
* _argo0
= 0;
10897 PyObject
* _obj2
= 0;
10899 PyObject
* _obj3
= 0;
10901 PyObject
* _obj4
= 0;
10902 PyObject
* _argo6
= 0;
10903 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10917 #if PYTHON_API_VERSION >= 1009
10918 char* tmpPtr
; int tmpSize
;
10919 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10920 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10923 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10925 _arg2
= new wxString(tmpPtr
, tmpSize
);
10927 if (!PyString_Check(_obj2
)) {
10928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10931 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10937 if (! wxPoint_helper(_obj3
, &_arg3
))
10943 if (! wxSize_helper(_obj4
, &_arg4
))
10947 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10948 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10954 wxPy_BEGIN_ALLOW_THREADS
;
10955 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
10957 wxPy_END_ALLOW_THREADS
;
10958 if (PyErr_Occurred()) return NULL
;
10960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10961 _resultobj
= Py_BuildValue("s",_ptemp
);
10963 Py_INCREF(Py_None
);
10964 _resultobj
= Py_None
;
10973 #define new_wxPreToggleButton() (new wxToggleButton())
10974 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
* _resultobj
;
10976 wxToggleButton
* _result
;
10977 char *_kwnames
[] = { NULL
};
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
10984 wxPy_BEGIN_ALLOW_THREADS
;
10985 _result
= (wxToggleButton
*)new_wxPreToggleButton();
10987 wxPy_END_ALLOW_THREADS
;
10988 if (PyErr_Occurred()) return NULL
;
10990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10991 _resultobj
= Py_BuildValue("s",_ptemp
);
10993 Py_INCREF(Py_None
);
10994 _resultobj
= Py_None
;
10999 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11000 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
* _resultobj
;
11003 wxToggleButton
* _arg0
;
11007 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11008 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11009 long _arg6
= (long ) 0;
11010 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11011 char * _arg8
= (char *) "toggle";
11012 PyObject
* _argo0
= 0;
11013 PyObject
* _argo1
= 0;
11014 PyObject
* _obj3
= 0;
11016 PyObject
* _obj4
= 0;
11018 PyObject
* _obj5
= 0;
11019 PyObject
* _argo7
= 0;
11020 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11040 #if PYTHON_API_VERSION >= 1009
11041 char* tmpPtr
; int tmpSize
;
11042 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11046 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11048 _arg3
= new wxString(tmpPtr
, tmpSize
);
11050 if (!PyString_Check(_obj3
)) {
11051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11054 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11060 if (! wxPoint_helper(_obj4
, &_arg4
))
11066 if (! wxSize_helper(_obj5
, &_arg5
))
11070 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11071 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11077 wxPy_BEGIN_ALLOW_THREADS
;
11078 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11080 wxPy_END_ALLOW_THREADS
;
11081 if (PyErr_Occurred()) return NULL
;
11082 } _resultobj
= Py_BuildValue("i",_result
);
11090 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11091 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
* _resultobj
;
11093 wxToggleButton
* _arg0
;
11095 PyObject
* _argo0
= 0;
11097 char *_kwnames
[] = { "self","value", NULL
};
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11109 _arg1
= (bool ) tempbool1
;
11111 wxPy_BEGIN_ALLOW_THREADS
;
11112 wxToggleButton_SetValue(_arg0
,_arg1
);
11114 wxPy_END_ALLOW_THREADS
;
11115 if (PyErr_Occurred()) return NULL
;
11116 } Py_INCREF(Py_None
);
11117 _resultobj
= Py_None
;
11121 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11122 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
* _resultobj
;
11125 wxToggleButton
* _arg0
;
11126 PyObject
* _argo0
= 0;
11127 char *_kwnames
[] = { "self", NULL
};
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11140 wxPy_BEGIN_ALLOW_THREADS
;
11141 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11143 wxPy_END_ALLOW_THREADS
;
11144 if (PyErr_Occurred()) return NULL
;
11145 } _resultobj
= Py_BuildValue("i",_result
);
11149 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11150 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
* _resultobj
;
11152 wxToggleButton
* _arg0
;
11154 PyObject
* _argo0
= 0;
11155 PyObject
* _obj1
= 0;
11156 char *_kwnames
[] = { "self","label", NULL
};
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11169 #if PYTHON_API_VERSION >= 1009
11170 char* tmpPtr
; int tmpSize
;
11171 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11175 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11177 _arg1
= new wxString(tmpPtr
, tmpSize
);
11179 if (!PyString_Check(_obj1
)) {
11180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11183 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11187 wxPy_BEGIN_ALLOW_THREADS
;
11188 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11190 wxPy_END_ALLOW_THREADS
;
11191 if (PyErr_Occurred()) return NULL
;
11192 } Py_INCREF(Py_None
);
11193 _resultobj
= Py_None
;
11201 static PyMethodDef controlscMethods
[] = {
11202 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxListBox_GetCount", (PyCFunction
) _wrap_wxListBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxChoice_GetCount", (PyCFunction
) _wrap_wxChoice_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxChoice_Delete", (PyCFunction
) _wrap_wxChoice_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11466 * This table is used by the pointer type-checker
11468 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11469 { "_signed_long","_long",0},
11470 { "_wxPrintQuality","_wxCoord",0},
11471 { "_wxPrintQuality","_int",0},
11472 { "_wxPrintQuality","_signed_int",0},
11473 { "_wxPrintQuality","_unsigned_int",0},
11474 { "_wxPrintQuality","_wxWindowID",0},
11475 { "_wxPrintQuality","_uint",0},
11476 { "_wxPrintQuality","_EBool",0},
11477 { "_wxPrintQuality","_size_t",0},
11478 { "_wxPrintQuality","_time_t",0},
11479 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11480 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11481 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11482 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11483 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
11484 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11485 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11486 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11487 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11488 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11489 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11490 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11491 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11492 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11493 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11494 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11495 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11496 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11497 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11498 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11499 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
11500 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11501 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11502 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11503 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11504 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11505 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11506 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11507 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
11508 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11509 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11510 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11511 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
11512 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11513 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11514 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11515 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11516 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11517 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
11518 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11519 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
11520 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11521 { "_byte","_unsigned_char",0},
11522 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
11523 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11524 { "_long","_unsigned_long",0},
11525 { "_long","_signed_long",0},
11526 { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
11527 { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11528 { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11529 { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11530 { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
11531 { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11532 { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
11533 { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11534 { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
11535 { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11536 { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11537 { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11538 { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
11539 { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11540 { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
11541 { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11542 { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11543 { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11544 { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11545 { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11546 { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
11547 { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11548 { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
11549 { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11550 { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
11551 { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11552 { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
11553 { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11554 { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
11555 { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11556 { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
11557 { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11558 { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
11559 { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11560 { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
11561 { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11562 { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11563 { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11564 { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
11565 { "_class_wxObject","_wxButton",SwigwxButtonTowxObject
},
11566 { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject
},
11567 { "_class_wxObject","_wxControl",SwigwxControlTowxObject
},
11568 { "_size_t","_wxCoord",0},
11569 { "_size_t","_wxPrintQuality",0},
11570 { "_size_t","_time_t",0},
11571 { "_size_t","_unsigned_int",0},
11572 { "_size_t","_int",0},
11573 { "_size_t","_wxWindowID",0},
11574 { "_size_t","_uint",0},
11575 { "_uint","_wxCoord",0},
11576 { "_uint","_wxPrintQuality",0},
11577 { "_uint","_time_t",0},
11578 { "_uint","_size_t",0},
11579 { "_uint","_unsigned_int",0},
11580 { "_uint","_int",0},
11581 { "_uint","_wxWindowID",0},
11582 { "_wxChar","_char",0},
11583 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11584 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11585 { "_char","_wxChar",0},
11586 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11587 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11588 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11589 { "_EBool","_wxCoord",0},
11590 { "_EBool","_wxPrintQuality",0},
11591 { "_EBool","_signed_int",0},
11592 { "_EBool","_int",0},
11593 { "_EBool","_wxWindowID",0},
11594 { "_unsigned_long","_long",0},
11595 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11596 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11597 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
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","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11604 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11605 { "_WXTYPE","_short",0},
11606 { "_WXTYPE","_signed_short",0},
11607 { "_WXTYPE","_unsigned_short",0},
11608 { "_unsigned_short","_WXTYPE",0},
11609 { "_unsigned_short","_short",0},
11610 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11611 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11612 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11613 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11614 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
11615 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11616 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11617 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11618 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11619 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11620 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11621 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11622 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11623 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11624 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
11625 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11626 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11627 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11628 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11629 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11630 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
11631 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11632 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
11633 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11634 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
11635 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11636 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11637 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11638 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
11639 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11640 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
11641 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11642 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
11643 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11644 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11645 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11646 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11647 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11648 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
11649 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11650 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
11651 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11652 { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
11653 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11654 { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11655 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11656 { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
11657 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11658 { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
11659 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11660 { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
11661 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11662 { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11663 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11664 { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
11665 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11666 { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
11667 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11668 { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11669 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11670 { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11671 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11672 { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
11673 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11674 { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
11675 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11676 { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
11677 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11678 { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
11679 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11680 { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
11681 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11682 { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
11683 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11684 { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
11685 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11686 { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
11687 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11688 { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11689 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11690 { "_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
11691 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11692 { "_wxObject","_class_wxControl",SwigwxControlTowxObject
},
11693 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11694 { "_signed_short","_WXTYPE",0},
11695 { "_signed_short","_short",0},
11696 { "_unsigned_char","_byte",0},
11697 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
11698 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11699 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11700 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11701 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
11702 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11703 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
11704 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11705 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
11706 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11707 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11708 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11709 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
11710 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11711 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
11712 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11713 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11714 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11715 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11716 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11717 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
11718 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11719 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
11720 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11721 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
11722 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11723 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
11724 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11725 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
11726 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11727 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
11728 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11729 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
11730 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11731 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
11732 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11733 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11734 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11735 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
11736 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11737 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11738 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11739 { "_unsigned_int","_wxCoord",0},
11740 { "_unsigned_int","_wxPrintQuality",0},
11741 { "_unsigned_int","_time_t",0},
11742 { "_unsigned_int","_size_t",0},
11743 { "_unsigned_int","_uint",0},
11744 { "_unsigned_int","_wxWindowID",0},
11745 { "_unsigned_int","_int",0},
11746 { "_short","_WXTYPE",0},
11747 { "_short","_unsigned_short",0},
11748 { "_short","_signed_short",0},
11749 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
11750 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11751 { "_wxWindowID","_wxCoord",0},
11752 { "_wxWindowID","_wxPrintQuality",0},
11753 { "_wxWindowID","_time_t",0},
11754 { "_wxWindowID","_size_t",0},
11755 { "_wxWindowID","_EBool",0},
11756 { "_wxWindowID","_uint",0},
11757 { "_wxWindowID","_int",0},
11758 { "_wxWindowID","_signed_int",0},
11759 { "_wxWindowID","_unsigned_int",0},
11760 { "_int","_wxCoord",0},
11761 { "_int","_wxPrintQuality",0},
11762 { "_int","_time_t",0},
11763 { "_int","_size_t",0},
11764 { "_int","_EBool",0},
11765 { "_int","_uint",0},
11766 { "_int","_wxWindowID",0},
11767 { "_int","_unsigned_int",0},
11768 { "_int","_signed_int",0},
11769 { "_time_t","_wxCoord",0},
11770 { "_time_t","_wxPrintQuality",0},
11771 { "_time_t","_unsigned_int",0},
11772 { "_time_t","_int",0},
11773 { "_time_t","_wxWindowID",0},
11774 { "_time_t","_uint",0},
11775 { "_time_t","_size_t",0},
11776 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11777 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11778 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
11779 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11780 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11781 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11782 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
11783 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11784 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
11785 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11786 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
11787 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11788 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11789 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11790 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
11791 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11792 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
11793 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11794 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11795 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11796 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11797 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11798 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
11799 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11800 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
11801 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11802 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
11803 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11804 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
11805 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11806 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
11807 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11808 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
11809 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11810 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
11811 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11812 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
11813 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11814 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11815 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11816 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
11817 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
11818 { "_wxCoord","_int",0},
11819 { "_wxCoord","_signed_int",0},
11820 { "_wxCoord","_unsigned_int",0},
11821 { "_wxCoord","_wxWindowID",0},
11822 { "_wxCoord","_uint",0},
11823 { "_wxCoord","_EBool",0},
11824 { "_wxCoord","_size_t",0},
11825 { "_wxCoord","_time_t",0},
11826 { "_wxCoord","_wxPrintQuality",0},
11827 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11828 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11829 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11830 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11831 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
11832 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11833 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11834 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11835 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11836 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11837 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11838 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11839 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11840 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11841 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11842 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11843 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11844 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11845 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11846 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11847 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
11848 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11849 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11850 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11851 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11852 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11853 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11854 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11855 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
11856 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11857 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11858 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11859 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
11860 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11861 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11862 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11863 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11864 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11865 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
11866 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11867 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
11868 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11869 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11870 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11871 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11872 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11873 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
11874 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11875 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11876 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11877 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11878 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11879 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11880 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11881 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11882 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11883 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
11884 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11885 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11886 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11887 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11888 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11889 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
11890 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11891 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
11892 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11893 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
11894 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11895 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11896 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11897 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
11898 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11899 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
11900 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11901 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
11902 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11903 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11904 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11905 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11906 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11907 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
11908 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11909 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
11910 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11913 static PyObject
*SWIG_globals
;
11917 SWIGEXPORT(void) initcontrolsc() {
11919 SWIG_globals
= SWIG_newvarlink();
11920 m
= Py_InitModule("controlsc", controlscMethods
);
11921 d
= PyModule_GetDict(m
);
11922 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11923 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11924 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11927 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11928 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);