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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrolsc
54 #define SWIG_name "controlsc"
57 #include <wx/slider.h>
58 #include <wx/spinbutt.h>
59 #include <wx/spinctrl.h>
60 #include <wx/dynarray.h>
61 #include <wx/statline.h>
62 //#include <wx/toggbutt.h>
66 #include <wx/checklst.h>
71 #include <wx/checklst.h>
75 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
79 } else if (target
== Py_None
) {
83 if (!PyList_Check(target
)) {
85 target
= PyList_New(0);
86 PyList_Append(target
, o2
);
89 PyList_Append(target
,o
);
95 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
101 } else if (target
== Py_None
) {
105 if (!PyTuple_Check(target
)) {
107 target
= PyTuple_New(1);
108 PyTuple_SetItem(target
, 0, o2
);
111 PyTuple_SetItem(o3
, 0, o
);
114 target
= PySequence_Concat(o2
, o3
);
121 static char* wxStringErrorMsg
= "string type is required for parameter";
123 wxSize
wxButton_GetDefaultSize() {
124 return wxButton::GetDefaultSize();
129 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
131 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
135 static PyObject
*_wrap_wxDefaultValidator_get() {
139 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
140 pyobj
= PyString_FromString(ptemp
);
144 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
145 PyObject
* _resultobj
;
147 char *_kwnames
[] = { NULL
};
151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
154 wxPy_BEGIN_ALLOW_THREADS
;
155 _result
= new wxSize (wxButton_GetDefaultSize());
157 wxPy_END_ALLOW_THREADS
;
158 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
159 _resultobj
= Py_BuildValue("s",_ptemp
);
163 static void *SwigwxControlTowxWindow(void *ptr
) {
166 src
= (wxControl
*) ptr
;
167 dest
= (wxWindow
*) src
;
168 return (void *) dest
;
171 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
174 src
= (wxControl
*) ptr
;
175 dest
= (wxEvtHandler
*) src
;
176 return (void *) dest
;
179 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
180 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
181 PyObject
* _resultobj
;
185 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
186 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
187 long _arg4
= (long ) 0;
188 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
189 char * _arg6
= (char *) "control";
190 PyObject
* _argo0
= 0;
192 PyObject
* _obj2
= 0;
194 PyObject
* _obj3
= 0;
195 PyObject
* _argo5
= 0;
196 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
212 if (! wxPoint_helper(_obj2
, &_arg2
))
218 if (! wxSize_helper(_obj3
, &_arg3
))
222 if (_argo5
== Py_None
) { _arg5
= NULL
; }
223 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
229 wxPy_BEGIN_ALLOW_THREADS
;
230 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
232 wxPy_END_ALLOW_THREADS
;
234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
235 _resultobj
= Py_BuildValue("s",_ptemp
);
238 _resultobj
= Py_None
;
243 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
244 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
245 PyObject
* _resultobj
;
247 wxCommandEvent
* _arg1
;
248 PyObject
* _argo0
= 0;
249 PyObject
* _argo1
= 0;
250 char *_kwnames
[] = { "self","event", NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
270 wxPy_BEGIN_ALLOW_THREADS
;
271 wxControl_Command(_arg0
,*_arg1
);
273 wxPy_END_ALLOW_THREADS
;
274 } Py_INCREF(Py_None
);
275 _resultobj
= Py_None
;
279 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
280 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
281 PyObject
* _resultobj
;
284 PyObject
* _argo0
= 0;
285 char *_kwnames
[] = { "self", NULL
};
288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
298 wxPy_BEGIN_ALLOW_THREADS
;
299 _result
= new wxString (wxControl_GetLabel(_arg0
));
301 wxPy_END_ALLOW_THREADS
;
303 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
311 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
312 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
313 PyObject
* _resultobj
;
316 PyObject
* _argo0
= 0;
317 PyObject
* _obj1
= 0;
318 char *_kwnames
[] = { "self","label", NULL
};
321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
331 #if PYTHON_API_VERSION >= 1009
332 char* tmpPtr
; int tmpSize
;
333 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
334 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
337 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
339 _arg1
= new wxString(tmpPtr
, tmpSize
);
341 if (!PyString_Check(_obj1
)) {
342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
345 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
349 wxPy_BEGIN_ALLOW_THREADS
;
350 wxControl_SetLabel(_arg0
,*_arg1
);
352 wxPy_END_ALLOW_THREADS
;
353 } Py_INCREF(Py_None
);
354 _resultobj
= Py_None
;
362 static void *SwigwxButtonTowxControl(void *ptr
) {
365 src
= (wxButton
*) ptr
;
366 dest
= (wxControl
*) src
;
367 return (void *) dest
;
370 static void *SwigwxButtonTowxWindow(void *ptr
) {
373 src
= (wxButton
*) ptr
;
374 dest
= (wxWindow
*) src
;
375 return (void *) dest
;
378 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
381 src
= (wxButton
*) ptr
;
382 dest
= (wxEvtHandler
*) src
;
383 return (void *) dest
;
386 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
387 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
393 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
394 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
395 long _arg5
= (long ) 0;
396 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
397 char * _arg7
= (char *) "button";
398 PyObject
* _argo0
= 0;
399 PyObject
* _obj2
= 0;
401 PyObject
* _obj3
= 0;
403 PyObject
* _obj4
= 0;
404 PyObject
* _argo6
= 0;
405 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
419 #if PYTHON_API_VERSION >= 1009
420 char* tmpPtr
; int tmpSize
;
421 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
422 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
425 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
427 _arg2
= new wxString(tmpPtr
, tmpSize
);
429 if (!PyString_Check(_obj2
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
439 if (! wxPoint_helper(_obj3
, &_arg3
))
445 if (! wxSize_helper(_obj4
, &_arg4
))
449 if (_argo6
== Py_None
) { _arg6
= NULL
; }
450 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
456 wxPy_BEGIN_ALLOW_THREADS
;
457 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
459 wxPy_END_ALLOW_THREADS
;
461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
462 _resultobj
= Py_BuildValue("s",_ptemp
);
465 _resultobj
= Py_None
;
474 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
475 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
476 PyObject
* _resultobj
;
478 PyObject
* _argo0
= 0;
479 char *_kwnames
[] = { "self", NULL
};
482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
492 wxPy_BEGIN_ALLOW_THREADS
;
493 wxButton_SetDefault(_arg0
);
495 wxPy_END_ALLOW_THREADS
;
496 } Py_INCREF(Py_None
);
497 _resultobj
= Py_None
;
501 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
502 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
503 PyObject
* _resultobj
;
506 PyObject
* _argo0
= 0;
508 PyObject
* _obj1
= 0;
509 char *_kwnames
[] = { "self","colour", NULL
};
512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
523 if (! wxColour_helper(_obj1
, &_arg1
))
527 wxPy_BEGIN_ALLOW_THREADS
;
528 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
530 wxPy_END_ALLOW_THREADS
;
531 } Py_INCREF(Py_None
);
532 _resultobj
= Py_None
;
536 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
537 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
538 PyObject
* _resultobj
;
541 PyObject
* _argo0
= 0;
543 PyObject
* _obj1
= 0;
544 char *_kwnames
[] = { "self","colour", NULL
};
547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
558 if (! wxColour_helper(_obj1
, &_arg1
))
562 wxPy_BEGIN_ALLOW_THREADS
;
563 wxButton_SetForegroundColour(_arg0
,*_arg1
);
565 wxPy_END_ALLOW_THREADS
;
566 } Py_INCREF(Py_None
);
567 _resultobj
= Py_None
;
571 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
574 src
= (wxBitmapButton
*) ptr
;
575 dest
= (wxButton
*) src
;
576 return (void *) dest
;
579 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
582 src
= (wxBitmapButton
*) ptr
;
583 dest
= (wxControl
*) src
;
584 return (void *) dest
;
587 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
590 src
= (wxBitmapButton
*) ptr
;
591 dest
= (wxWindow
*) src
;
592 return (void *) dest
;
595 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
598 src
= (wxBitmapButton
*) ptr
;
599 dest
= (wxEvtHandler
*) src
;
600 return (void *) dest
;
603 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
604 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
606 wxBitmapButton
* _result
;
610 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
611 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
612 long _arg5
= (long ) wxBU_AUTODRAW
;
613 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
614 char * _arg7
= (char *) "button";
615 PyObject
* _argo0
= 0;
616 PyObject
* _argo2
= 0;
618 PyObject
* _obj3
= 0;
620 PyObject
* _obj4
= 0;
621 PyObject
* _argo6
= 0;
622 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
636 if (_argo2
== Py_None
) { _arg2
= NULL
; }
637 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
645 if (! wxPoint_helper(_obj3
, &_arg3
))
651 if (! wxSize_helper(_obj4
, &_arg4
))
655 if (_argo6
== Py_None
) { _arg6
= NULL
; }
656 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
662 wxPy_BEGIN_ALLOW_THREADS
;
663 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
665 wxPy_END_ALLOW_THREADS
;
667 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
668 _resultobj
= Py_BuildValue("s",_ptemp
);
671 _resultobj
= Py_None
;
676 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
677 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
678 PyObject
* _resultobj
;
680 wxBitmapButton
* _arg0
;
681 PyObject
* _argo0
= 0;
682 char *_kwnames
[] = { "self", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
696 wxPy_BEGIN_ALLOW_THREADS
;
697 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
698 _result
= (wxBitmap
*) &_result_ref
;
700 wxPy_END_ALLOW_THREADS
;
702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
703 _resultobj
= Py_BuildValue("s",_ptemp
);
706 _resultobj
= Py_None
;
711 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
712 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 PyObject
* _resultobj
;
715 wxBitmapButton
* _arg0
;
716 PyObject
* _argo0
= 0;
717 char *_kwnames
[] = { "self", NULL
};
721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
731 wxPy_BEGIN_ALLOW_THREADS
;
732 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
733 _result
= (wxBitmap
*) &_result_ref
;
735 wxPy_END_ALLOW_THREADS
;
737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
738 _resultobj
= Py_BuildValue("s",_ptemp
);
741 _resultobj
= Py_None
;
746 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
747 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
748 PyObject
* _resultobj
;
750 wxBitmapButton
* _arg0
;
751 PyObject
* _argo0
= 0;
752 char *_kwnames
[] = { "self", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
766 wxPy_BEGIN_ALLOW_THREADS
;
767 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
768 _result
= (wxBitmap
*) &_result_ref
;
770 wxPy_END_ALLOW_THREADS
;
772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
773 _resultobj
= Py_BuildValue("s",_ptemp
);
776 _resultobj
= Py_None
;
781 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
782 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 PyObject
* _resultobj
;
785 wxBitmapButton
* _arg0
;
786 PyObject
* _argo0
= 0;
787 char *_kwnames
[] = { "self", NULL
};
791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
801 wxPy_BEGIN_ALLOW_THREADS
;
802 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
803 _result
= (wxBitmap
*) &_result_ref
;
805 wxPy_END_ALLOW_THREADS
;
807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
808 _resultobj
= Py_BuildValue("s",_ptemp
);
811 _resultobj
= Py_None
;
816 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
817 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 PyObject
* _resultobj
;
819 wxBitmapButton
* _arg0
;
821 PyObject
* _argo0
= 0;
822 PyObject
* _argo1
= 0;
823 char *_kwnames
[] = { "self","bitmap", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
836 if (_argo1
== Py_None
) { _arg1
= NULL
; }
837 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
843 wxPy_BEGIN_ALLOW_THREADS
;
844 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
846 wxPy_END_ALLOW_THREADS
;
847 } Py_INCREF(Py_None
);
848 _resultobj
= Py_None
;
852 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
853 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
855 wxBitmapButton
* _arg0
;
857 PyObject
* _argo0
= 0;
858 PyObject
* _argo1
= 0;
859 char *_kwnames
[] = { "self","bitmap", NULL
};
862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
879 wxPy_BEGIN_ALLOW_THREADS
;
880 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
882 wxPy_END_ALLOW_THREADS
;
883 } Py_INCREF(Py_None
);
884 _resultobj
= Py_None
;
888 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
889 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
890 PyObject
* _resultobj
;
891 wxBitmapButton
* _arg0
;
893 PyObject
* _argo0
= 0;
894 PyObject
* _argo1
= 0;
895 char *_kwnames
[] = { "self","bitmap", NULL
};
898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
908 if (_argo1
== Py_None
) { _arg1
= NULL
; }
909 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
915 wxPy_BEGIN_ALLOW_THREADS
;
916 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
918 wxPy_END_ALLOW_THREADS
;
919 } Py_INCREF(Py_None
);
920 _resultobj
= Py_None
;
924 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
925 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
926 PyObject
* _resultobj
;
927 wxBitmapButton
* _arg0
;
929 PyObject
* _argo0
= 0;
930 PyObject
* _argo1
= 0;
931 char *_kwnames
[] = { "self","bitmap", NULL
};
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
951 wxPy_BEGIN_ALLOW_THREADS
;
952 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
954 wxPy_END_ALLOW_THREADS
;
955 } Py_INCREF(Py_None
);
956 _resultobj
= Py_None
;
960 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
961 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
963 wxBitmapButton
* _arg0
;
966 PyObject
* _argo0
= 0;
967 char *_kwnames
[] = { "self","x","y", NULL
};
970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
980 wxPy_BEGIN_ALLOW_THREADS
;
981 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
983 wxPy_END_ALLOW_THREADS
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
990 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
993 wxBitmapButton
* _arg0
;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "self", NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1008 wxPy_BEGIN_ALLOW_THREADS
;
1009 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1011 wxPy_END_ALLOW_THREADS
;
1012 } _resultobj
= Py_BuildValue("i",_result
);
1016 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1017 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1018 PyObject
* _resultobj
;
1020 wxBitmapButton
* _arg0
;
1021 PyObject
* _argo0
= 0;
1022 char *_kwnames
[] = { "self", NULL
};
1025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1035 wxPy_BEGIN_ALLOW_THREADS
;
1036 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1038 wxPy_END_ALLOW_THREADS
;
1039 } _resultobj
= Py_BuildValue("i",_result
);
1043 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1046 src
= (wxCheckBox
*) ptr
;
1047 dest
= (wxControl
*) src
;
1048 return (void *) dest
;
1051 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1054 src
= (wxCheckBox
*) ptr
;
1055 dest
= (wxWindow
*) src
;
1056 return (void *) dest
;
1059 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1062 src
= (wxCheckBox
*) ptr
;
1063 dest
= (wxEvtHandler
*) src
;
1064 return (void *) dest
;
1067 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1068 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1069 PyObject
* _resultobj
;
1070 wxCheckBox
* _result
;
1074 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1075 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1076 long _arg5
= (long ) 0;
1077 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1078 char * _arg7
= (char *) "checkBox";
1079 PyObject
* _argo0
= 0;
1080 PyObject
* _obj2
= 0;
1082 PyObject
* _obj3
= 0;
1084 PyObject
* _obj4
= 0;
1085 PyObject
* _argo6
= 0;
1086 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1100 #if PYTHON_API_VERSION >= 1009
1101 char* tmpPtr
; int tmpSize
;
1102 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1103 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1106 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1108 _arg2
= new wxString(tmpPtr
, tmpSize
);
1110 if (!PyString_Check(_obj2
)) {
1111 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1114 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1120 if (! wxPoint_helper(_obj3
, &_arg3
))
1126 if (! wxSize_helper(_obj4
, &_arg4
))
1130 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1137 wxPy_BEGIN_ALLOW_THREADS
;
1138 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1140 wxPy_END_ALLOW_THREADS
;
1142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1143 _resultobj
= Py_BuildValue("s",_ptemp
);
1146 _resultobj
= Py_None
;
1155 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1156 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 PyObject
* _argo0
= 0;
1161 char *_kwnames
[] = { "self", NULL
};
1164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1177 wxPy_END_ALLOW_THREADS
;
1178 } _resultobj
= Py_BuildValue("i",_result
);
1182 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1183 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1187 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self","state", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1201 _arg1
= (bool ) tempbool1
;
1203 wxPy_BEGIN_ALLOW_THREADS
;
1204 wxCheckBox_SetValue(_arg0
,_arg1
);
1206 wxPy_END_ALLOW_THREADS
;
1207 } Py_INCREF(Py_None
);
1208 _resultobj
= Py_None
;
1212 static void *SwigwxChoiceTowxControl(void *ptr
) {
1215 src
= (wxChoice
*) ptr
;
1216 dest
= (wxControl
*) src
;
1217 return (void *) dest
;
1220 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1223 src
= (wxChoice
*) ptr
;
1224 dest
= (wxWindow
*) src
;
1225 return (void *) dest
;
1228 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1231 src
= (wxChoice
*) ptr
;
1232 dest
= (wxEvtHandler
*) src
;
1233 return (void *) dest
;
1236 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1237 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1238 PyObject
* _resultobj
;
1242 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1243 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1244 int _arg4
= (int ) 0;
1245 wxString
* _arg5
= (wxString
*) NULL
;
1246 long _arg6
= (long ) 0;
1247 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1248 char * _arg8
= (char *) "choice";
1249 PyObject
* _argo0
= 0;
1251 PyObject
* _obj2
= 0;
1253 PyObject
* _obj3
= 0;
1254 PyObject
* _obj5
= 0;
1255 PyObject
* _argo7
= 0;
1256 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1272 if (! wxPoint_helper(_obj2
, &_arg2
))
1278 if (! wxSize_helper(_obj3
, &_arg3
))
1283 _arg5
= wxString_LIST_helper(_obj5
);
1284 if (_arg5
== NULL
) {
1289 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1297 _arg4
= PyList_Size(_obj5
);
1304 wxPy_BEGIN_ALLOW_THREADS
;
1305 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1307 wxPy_END_ALLOW_THREADS
;
1309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1310 _resultobj
= Py_BuildValue("s",_ptemp
);
1313 _resultobj
= Py_None
;
1321 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1322 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1326 PyObject
* _argo0
= 0;
1327 PyObject
* _obj1
= 0;
1328 char *_kwnames
[] = { "self","item", NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1341 #if PYTHON_API_VERSION >= 1009
1342 char* tmpPtr
; int tmpSize
;
1343 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1344 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1347 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1349 _arg1
= new wxString(tmpPtr
, tmpSize
);
1351 if (!PyString_Check(_obj1
)) {
1352 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1355 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1359 wxPy_BEGIN_ALLOW_THREADS
;
1360 wxChoice_Append(_arg0
,*_arg1
);
1362 wxPy_END_ALLOW_THREADS
;
1363 } Py_INCREF(Py_None
);
1364 _resultobj
= Py_None
;
1372 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1373 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1374 PyObject
* _resultobj
;
1376 PyObject
* _argo0
= 0;
1377 char *_kwnames
[] = { "self", NULL
};
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1390 wxPy_BEGIN_ALLOW_THREADS
;
1391 wxChoice_Clear(_arg0
);
1393 wxPy_END_ALLOW_THREADS
;
1394 } Py_INCREF(Py_None
);
1395 _resultobj
= Py_None
;
1399 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1400 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1406 PyObject
* _obj1
= 0;
1407 char *_kwnames
[] = { "self","string", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1420 #if PYTHON_API_VERSION >= 1009
1421 char* tmpPtr
; int tmpSize
;
1422 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1423 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1426 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1428 _arg1
= new wxString(tmpPtr
, tmpSize
);
1430 if (!PyString_Check(_obj1
)) {
1431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1434 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1438 wxPy_BEGIN_ALLOW_THREADS
;
1439 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1441 wxPy_END_ALLOW_THREADS
;
1442 } _resultobj
= Py_BuildValue("i",_result
);
1450 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1451 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1455 PyObject
* _argo0
= 0;
1456 char *_kwnames
[] = { "self", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
1462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (int )wxChoice_GetColumns(_arg0
);
1472 wxPy_END_ALLOW_THREADS
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1478 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1482 PyObject
* _argo0
= 0;
1483 char *_kwnames
[] = { "self", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
1489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1496 wxPy_BEGIN_ALLOW_THREADS
;
1497 _result
= (int )wxChoice_GetSelection(_arg0
);
1499 wxPy_END_ALLOW_THREADS
;
1500 } _resultobj
= Py_BuildValue("i",_result
);
1504 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1505 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self","n", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1527 wxPy_END_ALLOW_THREADS
;
1529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1537 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1538 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
* _resultobj
;
1542 PyObject
* _argo0
= 0;
1543 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1559 wxPy_END_ALLOW_THREADS
;
1561 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1569 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1570 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Number",_kwnames
,&_argo0
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1588 wxPy_BEGIN_ALLOW_THREADS
;
1589 _result
= (int )wxChoice_Number(_arg0
);
1591 wxPy_END_ALLOW_THREADS
;
1592 } _resultobj
= Py_BuildValue("i",_result
);
1596 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1597 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1600 int _arg1
= (int ) 1;
1601 PyObject
* _argo0
= 0;
1602 char *_kwnames
[] = { "self","n", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1615 wxPy_BEGIN_ALLOW_THREADS
;
1616 wxChoice_SetColumns(_arg0
,_arg1
);
1618 wxPy_END_ALLOW_THREADS
;
1619 } Py_INCREF(Py_None
);
1620 _resultobj
= Py_None
;
1624 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1625 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1629 PyObject
* _argo0
= 0;
1630 char *_kwnames
[] = { "self","n", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1643 wxPy_BEGIN_ALLOW_THREADS
;
1644 wxChoice_SetSelection(_arg0
,_arg1
);
1646 wxPy_END_ALLOW_THREADS
;
1647 } Py_INCREF(Py_None
);
1648 _resultobj
= Py_None
;
1652 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1653 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1657 PyObject
* _argo0
= 0;
1658 PyObject
* _obj1
= 0;
1659 char *_kwnames
[] = { "self","string", NULL
};
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1672 #if PYTHON_API_VERSION >= 1009
1673 char* tmpPtr
; int tmpSize
;
1674 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1675 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1678 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1680 _arg1
= new wxString(tmpPtr
, tmpSize
);
1682 if (!PyString_Check(_obj1
)) {
1683 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1686 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1690 wxPy_BEGIN_ALLOW_THREADS
;
1691 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1693 wxPy_END_ALLOW_THREADS
;
1694 } Py_INCREF(Py_None
);
1695 _resultobj
= Py_None
;
1703 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1706 src
= (wxComboBox
*) ptr
;
1707 dest
= (wxChoice
*) src
;
1708 return (void *) dest
;
1711 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1714 src
= (wxComboBox
*) ptr
;
1715 dest
= (wxControl
*) src
;
1716 return (void *) dest
;
1719 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1722 src
= (wxComboBox
*) ptr
;
1723 dest
= (wxWindow
*) src
;
1724 return (void *) dest
;
1727 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1730 src
= (wxComboBox
*) ptr
;
1731 dest
= (wxEvtHandler
*) src
;
1732 return (void *) dest
;
1735 #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))
1736 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1738 wxComboBox
* _result
;
1741 char * _arg2
= (char *) "";
1742 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1743 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1744 int _arg5
= (int ) 0;
1745 wxString
* _arg6
= (wxString
*) NULL
;
1746 long _arg7
= (long ) 0;
1747 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1748 char * _arg9
= (char *) "comboBox";
1749 PyObject
* _argo0
= 0;
1751 PyObject
* _obj3
= 0;
1753 PyObject
* _obj4
= 0;
1754 PyObject
* _obj6
= 0;
1755 PyObject
* _argo8
= 0;
1756 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1772 if (! wxPoint_helper(_obj3
, &_arg3
))
1778 if (! wxSize_helper(_obj4
, &_arg4
))
1783 _arg6
= wxString_LIST_helper(_obj6
);
1784 if (_arg6
== NULL
) {
1789 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1790 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1797 _arg5
= PyList_Size(_obj6
);
1804 wxPy_BEGIN_ALLOW_THREADS
;
1805 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1807 wxPy_END_ALLOW_THREADS
;
1809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1810 _resultobj
= Py_BuildValue("s",_ptemp
);
1813 _resultobj
= Py_None
;
1821 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1822 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
* _resultobj
;
1826 PyObject
* _argo0
= 0;
1827 PyObject
* _obj1
= 0;
1828 char *_kwnames
[] = { "self","item", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1841 #if PYTHON_API_VERSION >= 1009
1842 char* tmpPtr
; int tmpSize
;
1843 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1844 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1847 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1849 _arg1
= new wxString(tmpPtr
, tmpSize
);
1851 if (!PyString_Check(_obj1
)) {
1852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1855 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 wxComboBox_Append(_arg0
,*_arg1
);
1862 wxPy_END_ALLOW_THREADS
;
1863 } Py_INCREF(Py_None
);
1864 _resultobj
= Py_None
;
1872 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1873 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1876 PyObject
* _argo0
= 0;
1877 char *_kwnames
[] = { "self", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
1883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1890 wxPy_BEGIN_ALLOW_THREADS
;
1891 wxComboBox_Clear(_arg0
);
1893 wxPy_END_ALLOW_THREADS
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1899 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1900 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
* _resultobj
;
1903 PyObject
* _argo0
= 0;
1904 char *_kwnames
[] = { "self", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 wxComboBox_Copy(_arg0
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } Py_INCREF(Py_None
);
1922 _resultobj
= Py_None
;
1926 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1927 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 wxComboBox_Cut(_arg0
);
1947 wxPy_END_ALLOW_THREADS
;
1948 } Py_INCREF(Py_None
);
1949 _resultobj
= Py_None
;
1953 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1954 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1958 PyObject
* _argo0
= 0;
1959 char *_kwnames
[] = { "self","n", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
1965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1972 wxPy_BEGIN_ALLOW_THREADS
;
1973 wxComboBox_Delete(_arg0
,_arg1
);
1975 wxPy_END_ALLOW_THREADS
;
1976 } Py_INCREF(Py_None
);
1977 _resultobj
= Py_None
;
1981 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1982 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1987 PyObject
* _argo0
= 0;
1988 PyObject
* _obj1
= 0;
1989 char *_kwnames
[] = { "self","string", NULL
};
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
1995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2002 #if PYTHON_API_VERSION >= 1009
2003 char* tmpPtr
; int tmpSize
;
2004 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2005 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2008 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2010 _arg1
= new wxString(tmpPtr
, tmpSize
);
2012 if (!PyString_Check(_obj1
)) {
2013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2016 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2020 wxPy_BEGIN_ALLOW_THREADS
;
2021 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2023 wxPy_END_ALLOW_THREADS
;
2024 } _resultobj
= Py_BuildValue("i",_result
);
2032 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2033 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2037 PyObject
* _argo0
= 0;
2038 char *_kwnames
[] = { "self", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2051 wxPy_BEGIN_ALLOW_THREADS
;
2052 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2054 wxPy_END_ALLOW_THREADS
;
2055 } _resultobj
= Py_BuildValue("l",_result
);
2059 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2060 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2064 PyObject
* _argo0
= 0;
2065 char *_kwnames
[] = { "self", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } _resultobj
= Py_BuildValue("l",_result
);
2086 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2087 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2091 PyObject
* _argo0
= 0;
2092 char *_kwnames
[] = { "self", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= (int )wxComboBox_GetSelection(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } _resultobj
= Py_BuildValue("i",_result
);
2113 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2114 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2119 PyObject
* _argo0
= 0;
2120 char *_kwnames
[] = { "self","n", NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
2126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2133 wxPy_BEGIN_ALLOW_THREADS
;
2134 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2136 wxPy_END_ALLOW_THREADS
;
2138 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2146 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2147 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
* _resultobj
;
2151 PyObject
* _argo0
= 0;
2152 char *_kwnames
[] = { "self", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2165 wxPy_BEGIN_ALLOW_THREADS
;
2166 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2168 wxPy_END_ALLOW_THREADS
;
2170 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2178 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2179 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2183 PyObject
* _argo0
= 0;
2184 char *_kwnames
[] = { "self", NULL
};
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2200 wxPy_END_ALLOW_THREADS
;
2202 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2210 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
2211 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
* _resultobj
;
2215 PyObject
* _argo0
= 0;
2216 char *_kwnames
[] = { "self", NULL
};
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Number",_kwnames
,&_argo0
))
2222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
2229 wxPy_BEGIN_ALLOW_THREADS
;
2230 _result
= (int )wxComboBox_Number(_arg0
);
2232 wxPy_END_ALLOW_THREADS
;
2233 } _resultobj
= Py_BuildValue("i",_result
);
2237 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2238 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2241 PyObject
* _argo0
= 0;
2242 char *_kwnames
[] = { "self", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2255 wxPy_BEGIN_ALLOW_THREADS
;
2256 wxComboBox_Paste(_arg0
);
2258 wxPy_END_ALLOW_THREADS
;
2259 } Py_INCREF(Py_None
);
2260 _resultobj
= Py_None
;
2264 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2265 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2271 PyObject
* _argo0
= 0;
2272 PyObject
* _obj3
= 0;
2273 char *_kwnames
[] = { "self","from","to","text", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2286 #if PYTHON_API_VERSION >= 1009
2287 char* tmpPtr
; int tmpSize
;
2288 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2289 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2292 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2294 _arg3
= new wxString(tmpPtr
, tmpSize
);
2296 if (!PyString_Check(_obj3
)) {
2297 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2300 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2304 wxPy_BEGIN_ALLOW_THREADS
;
2305 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2307 wxPy_END_ALLOW_THREADS
;
2308 } Py_INCREF(Py_None
);
2309 _resultobj
= Py_None
;
2317 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2318 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2323 PyObject
* _argo0
= 0;
2324 char *_kwnames
[] = { "self","from","to", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2337 wxPy_BEGIN_ALLOW_THREADS
;
2338 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2340 wxPy_END_ALLOW_THREADS
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2346 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2347 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2351 PyObject
* _argo0
= 0;
2352 char *_kwnames
[] = { "self","pos", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2368 wxPy_END_ALLOW_THREADS
;
2369 } Py_INCREF(Py_None
);
2370 _resultobj
= Py_None
;
2374 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2375 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
* _resultobj
;
2378 PyObject
* _argo0
= 0;
2379 char *_kwnames
[] = { "self", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2392 wxPy_BEGIN_ALLOW_THREADS
;
2393 wxComboBox_SetInsertionPointEnd(_arg0
);
2395 wxPy_END_ALLOW_THREADS
;
2396 } Py_INCREF(Py_None
);
2397 _resultobj
= Py_None
;
2401 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2402 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
* _resultobj
;
2406 PyObject
* _argo0
= 0;
2407 char *_kwnames
[] = { "self","n", NULL
};
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxComboBox_SetSelection(_arg0
,_arg1
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } Py_INCREF(Py_None
);
2425 _resultobj
= Py_None
;
2429 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2430 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2435 PyObject
* _argo0
= 0;
2436 char *_kwnames
[] = { "self","from","to", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2449 wxPy_BEGIN_ALLOW_THREADS
;
2450 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2452 wxPy_END_ALLOW_THREADS
;
2453 } Py_INCREF(Py_None
);
2454 _resultobj
= Py_None
;
2458 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2459 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2463 PyObject
* _argo0
= 0;
2464 PyObject
* _obj1
= 0;
2465 char *_kwnames
[] = { "self","text", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2478 #if PYTHON_API_VERSION >= 1009
2479 char* tmpPtr
; int tmpSize
;
2480 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2481 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2484 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2486 _arg1
= new wxString(tmpPtr
, tmpSize
);
2488 if (!PyString_Check(_obj1
)) {
2489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2492 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2496 wxPy_BEGIN_ALLOW_THREADS
;
2497 wxComboBox_SetValue(_arg0
,*_arg1
);
2499 wxPy_END_ALLOW_THREADS
;
2500 } Py_INCREF(Py_None
);
2501 _resultobj
= Py_None
;
2509 static void *SwigwxGaugeTowxControl(void *ptr
) {
2512 src
= (wxGauge
*) ptr
;
2513 dest
= (wxControl
*) src
;
2514 return (void *) dest
;
2517 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2520 src
= (wxGauge
*) ptr
;
2521 dest
= (wxWindow
*) src
;
2522 return (void *) dest
;
2525 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2528 src
= (wxGauge
*) ptr
;
2529 dest
= (wxEvtHandler
*) src
;
2530 return (void *) dest
;
2533 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2534 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
* _resultobj
;
2540 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2541 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2542 long _arg5
= (long ) wxGA_HORIZONTAL
;
2543 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2544 char * _arg7
= (char *) "gauge";
2545 PyObject
* _argo0
= 0;
2547 PyObject
* _obj3
= 0;
2549 PyObject
* _obj4
= 0;
2550 PyObject
* _argo6
= 0;
2551 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2567 if (! wxPoint_helper(_obj3
, &_arg3
))
2573 if (! wxSize_helper(_obj4
, &_arg4
))
2577 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2578 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2587 wxPy_END_ALLOW_THREADS
;
2589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2590 _resultobj
= Py_BuildValue("s",_ptemp
);
2593 _resultobj
= Py_None
;
2598 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2599 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2603 PyObject
* _argo0
= 0;
2604 char *_kwnames
[] = { "self", NULL
};
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2620 wxPy_END_ALLOW_THREADS
;
2621 } _resultobj
= Py_BuildValue("i",_result
);
2625 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2626 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2630 PyObject
* _argo0
= 0;
2631 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2644 wxPy_BEGIN_ALLOW_THREADS
;
2645 _result
= (int )wxGauge_GetRange(_arg0
);
2647 wxPy_END_ALLOW_THREADS
;
2648 } _resultobj
= Py_BuildValue("i",_result
);
2652 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2653 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2657 PyObject
* _argo0
= 0;
2658 char *_kwnames
[] = { "self", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2671 wxPy_BEGIN_ALLOW_THREADS
;
2672 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2674 wxPy_END_ALLOW_THREADS
;
2675 } _resultobj
= Py_BuildValue("i",_result
);
2679 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2680 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
* _resultobj
;
2684 PyObject
* _argo0
= 0;
2685 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (int )wxGauge_GetValue(_arg0
);
2701 wxPy_END_ALLOW_THREADS
;
2702 } _resultobj
= Py_BuildValue("i",_result
);
2706 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2707 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2708 PyObject
* _resultobj
;
2711 PyObject
* _argo0
= 0;
2712 char *_kwnames
[] = { "self","width", NULL
};
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2725 wxPy_BEGIN_ALLOW_THREADS
;
2726 wxGauge_SetBezelFace(_arg0
,_arg1
);
2728 wxPy_END_ALLOW_THREADS
;
2729 } Py_INCREF(Py_None
);
2730 _resultobj
= Py_None
;
2734 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2735 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self","range", NULL
};
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
2746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2753 wxPy_BEGIN_ALLOW_THREADS
;
2754 wxGauge_SetRange(_arg0
,_arg1
);
2756 wxPy_END_ALLOW_THREADS
;
2757 } Py_INCREF(Py_None
);
2758 _resultobj
= Py_None
;
2762 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2763 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
* _resultobj
;
2767 PyObject
* _argo0
= 0;
2768 char *_kwnames
[] = { "self","width", NULL
};
2771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2781 wxPy_BEGIN_ALLOW_THREADS
;
2782 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2784 wxPy_END_ALLOW_THREADS
;
2785 } Py_INCREF(Py_None
);
2786 _resultobj
= Py_None
;
2790 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2791 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
* _resultobj
;
2795 PyObject
* _argo0
= 0;
2796 char *_kwnames
[] = { "self","pos", NULL
};
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2809 wxPy_BEGIN_ALLOW_THREADS
;
2810 wxGauge_SetValue(_arg0
,_arg1
);
2812 wxPy_END_ALLOW_THREADS
;
2813 } Py_INCREF(Py_None
);
2814 _resultobj
= Py_None
;
2818 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2821 src
= (wxStaticBox
*) ptr
;
2822 dest
= (wxControl
*) src
;
2823 return (void *) dest
;
2826 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2829 src
= (wxStaticBox
*) ptr
;
2830 dest
= (wxWindow
*) src
;
2831 return (void *) dest
;
2834 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2837 src
= (wxStaticBox
*) ptr
;
2838 dest
= (wxEvtHandler
*) src
;
2839 return (void *) dest
;
2842 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2843 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2845 wxStaticBox
* _result
;
2849 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2850 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2851 long _arg5
= (long ) 0;
2852 char * _arg6
= (char *) "staticBox";
2853 PyObject
* _argo0
= 0;
2854 PyObject
* _obj2
= 0;
2856 PyObject
* _obj3
= 0;
2858 PyObject
* _obj4
= 0;
2859 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2873 #if PYTHON_API_VERSION >= 1009
2874 char* tmpPtr
; int tmpSize
;
2875 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2876 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2879 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2881 _arg2
= new wxString(tmpPtr
, tmpSize
);
2883 if (!PyString_Check(_obj2
)) {
2884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2887 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2893 if (! wxPoint_helper(_obj3
, &_arg3
))
2899 if (! wxSize_helper(_obj4
, &_arg4
))
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2906 wxPy_END_ALLOW_THREADS
;
2908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2909 _resultobj
= Py_BuildValue("s",_ptemp
);
2912 _resultobj
= Py_None
;
2921 static void *SwigwxStaticLineTowxControl(void *ptr
) {
2924 src
= (wxStaticLine
*) ptr
;
2925 dest
= (wxControl
*) src
;
2926 return (void *) dest
;
2929 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
2932 src
= (wxStaticLine
*) ptr
;
2933 dest
= (wxWindow
*) src
;
2934 return (void *) dest
;
2937 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
2940 src
= (wxStaticLine
*) ptr
;
2941 dest
= (wxEvtHandler
*) src
;
2942 return (void *) dest
;
2945 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2946 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
* _resultobj
;
2948 wxStaticLine
* _result
;
2951 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2952 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2953 long _arg4
= (long ) wxLI_HORIZONTAL
;
2954 char * _arg5
= (char *) "staticLine";
2955 PyObject
* _argo0
= 0;
2957 PyObject
* _obj2
= 0;
2959 PyObject
* _obj3
= 0;
2960 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2976 if (! wxPoint_helper(_obj2
, &_arg2
))
2982 if (! wxSize_helper(_obj3
, &_arg3
))
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2989 wxPy_END_ALLOW_THREADS
;
2991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
2992 _resultobj
= Py_BuildValue("s",_ptemp
);
2995 _resultobj
= Py_None
;
3000 static void *SwigwxStaticTextTowxControl(void *ptr
) {
3003 src
= (wxStaticText
*) ptr
;
3004 dest
= (wxControl
*) src
;
3005 return (void *) dest
;
3008 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
3011 src
= (wxStaticText
*) ptr
;
3012 dest
= (wxWindow
*) src
;
3013 return (void *) dest
;
3016 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
3019 src
= (wxStaticText
*) ptr
;
3020 dest
= (wxEvtHandler
*) src
;
3021 return (void *) dest
;
3024 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3025 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
* _resultobj
;
3027 wxStaticText
* _result
;
3031 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3032 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3033 long _arg5
= (long ) 0;
3034 char * _arg6
= (char *) "staticText";
3035 PyObject
* _argo0
= 0;
3036 PyObject
* _obj2
= 0;
3038 PyObject
* _obj3
= 0;
3040 PyObject
* _obj4
= 0;
3041 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
3055 #if PYTHON_API_VERSION >= 1009
3056 char* tmpPtr
; int tmpSize
;
3057 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3058 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3061 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3063 _arg2
= new wxString(tmpPtr
, tmpSize
);
3065 if (!PyString_Check(_obj2
)) {
3066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3069 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3075 if (! wxPoint_helper(_obj3
, &_arg3
))
3081 if (! wxSize_helper(_obj4
, &_arg4
))
3085 wxPy_BEGIN_ALLOW_THREADS
;
3086 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3088 wxPy_END_ALLOW_THREADS
;
3090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
3091 _resultobj
= Py_BuildValue("s",_ptemp
);
3094 _resultobj
= Py_None
;
3103 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
3104 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
* _resultobj
;
3107 wxStaticText
* _arg0
;
3108 PyObject
* _argo0
= 0;
3109 char *_kwnames
[] = { "self", NULL
};
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
3115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
3122 wxPy_BEGIN_ALLOW_THREADS
;
3123 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
3125 wxPy_END_ALLOW_THREADS
;
3127 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3135 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3136 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
* _resultobj
;
3138 wxStaticText
* _arg0
;
3140 PyObject
* _argo0
= 0;
3141 PyObject
* _obj1
= 0;
3142 char *_kwnames
[] = { "self","label", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3155 #if PYTHON_API_VERSION >= 1009
3156 char* tmpPtr
; int tmpSize
;
3157 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3158 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3161 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3163 _arg1
= new wxString(tmpPtr
, tmpSize
);
3165 if (!PyString_Check(_obj1
)) {
3166 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3169 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3173 wxPy_BEGIN_ALLOW_THREADS
;
3174 wxStaticText_SetLabel(_arg0
,*_arg1
);
3176 wxPy_END_ALLOW_THREADS
;
3177 } Py_INCREF(Py_None
);
3178 _resultobj
= Py_None
;
3186 static void *SwigwxListBoxTowxControl(void *ptr
) {
3189 src
= (wxListBox
*) ptr
;
3190 dest
= (wxControl
*) src
;
3191 return (void *) dest
;
3194 static void *SwigwxListBoxTowxWindow(void *ptr
) {
3197 src
= (wxListBox
*) ptr
;
3198 dest
= (wxWindow
*) src
;
3199 return (void *) dest
;
3202 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
3205 src
= (wxListBox
*) ptr
;
3206 dest
= (wxEvtHandler
*) src
;
3207 return (void *) dest
;
3210 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3211 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3213 wxListBox
* _result
;
3216 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3217 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3219 wxString
* _arg5
= (wxString
*) NULL
;
3220 long _arg6
= (long ) 0;
3221 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3222 char * _arg8
= (char *) "listBox";
3223 PyObject
* _argo0
= 0;
3225 PyObject
* _obj2
= 0;
3227 PyObject
* _obj3
= 0;
3228 PyObject
* _obj5
= 0;
3229 PyObject
* _argo7
= 0;
3230 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3246 if (! wxPoint_helper(_obj2
, &_arg2
))
3252 if (! wxSize_helper(_obj3
, &_arg3
))
3257 _arg5
= wxString_LIST_helper(_obj5
);
3258 if (_arg5
== NULL
) {
3263 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3271 _arg4
= PyList_Size(_obj5
);
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3281 wxPy_END_ALLOW_THREADS
;
3283 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
3284 _resultobj
= Py_BuildValue("s",_ptemp
);
3287 _resultobj
= Py_None
;
3295 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3296 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
* _resultobj
;
3300 PyObject
* _argo0
= 0;
3301 PyObject
* _obj1
= 0;
3302 char *_kwnames
[] = { "self","item", NULL
};
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
3308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3315 #if PYTHON_API_VERSION >= 1009
3316 char* tmpPtr
; int tmpSize
;
3317 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3318 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3321 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3323 _arg1
= new wxString(tmpPtr
, tmpSize
);
3325 if (!PyString_Check(_obj1
)) {
3326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3329 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 wxListBox_Append(_arg0
,*_arg1
);
3336 wxPy_END_ALLOW_THREADS
;
3337 } Py_INCREF(Py_None
);
3338 _resultobj
= Py_None
;
3346 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3347 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "self", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 wxListBox_Clear(_arg0
);
3367 wxPy_END_ALLOW_THREADS
;
3368 } Py_INCREF(Py_None
);
3369 _resultobj
= Py_None
;
3373 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3374 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3378 PyObject
* _argo0
= 0;
3379 char *_kwnames
[] = { "self","n", NULL
};
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3392 wxPy_BEGIN_ALLOW_THREADS
;
3393 wxListBox_Delete(_arg0
,_arg1
);
3395 wxPy_END_ALLOW_THREADS
;
3396 } Py_INCREF(Py_None
);
3397 _resultobj
= Py_None
;
3401 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3402 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
* _resultobj
;
3406 PyObject
* _argo0
= 0;
3407 char *_kwnames
[] = { "self","n", NULL
};
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3420 wxPy_BEGIN_ALLOW_THREADS
;
3421 wxListBox_Deselect(_arg0
,_arg1
);
3423 wxPy_END_ALLOW_THREADS
;
3424 } Py_INCREF(Py_None
);
3425 _resultobj
= Py_None
;
3429 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3430 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3435 PyObject
* _argo0
= 0;
3436 PyObject
* _obj1
= 0;
3437 char *_kwnames
[] = { "self","string", NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3450 #if PYTHON_API_VERSION >= 1009
3451 char* tmpPtr
; int tmpSize
;
3452 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3453 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3456 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3458 _arg1
= new wxString(tmpPtr
, tmpSize
);
3460 if (!PyString_Check(_obj1
)) {
3461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3464 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3468 wxPy_BEGIN_ALLOW_THREADS
;
3469 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3471 wxPy_END_ALLOW_THREADS
;
3472 } _resultobj
= Py_BuildValue("i",_result
);
3480 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3481 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3485 PyObject
* _argo0
= 0;
3486 char *_kwnames
[] = { "self", NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3499 wxPy_BEGIN_ALLOW_THREADS
;
3500 _result
= (int )wxListBox_GetSelection(_arg0
);
3502 wxPy_END_ALLOW_THREADS
;
3503 } _resultobj
= Py_BuildValue("i",_result
);
3507 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3509 self
->GetSelections(lst
);
3510 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3511 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
3512 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3516 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3520 PyObject
* _argo0
= 0;
3521 char *_kwnames
[] = { "self", NULL
};
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3537 wxPy_END_ALLOW_THREADS
;
3539 _resultobj
= _result
;
3544 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3545 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3551 PyObject
* _argo0
= 0;
3552 PyObject
* _obj2
= 0;
3553 char *_kwnames
[] = { "self","choices","pos", NULL
};
3556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3566 _arg2
= wxString_LIST_helper(_obj2
);
3567 if (_arg2
== NULL
) {
3573 _arg1
= PyList_Size(_obj2
);
3580 wxPy_BEGIN_ALLOW_THREADS
;
3581 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3583 wxPy_END_ALLOW_THREADS
;
3584 } Py_INCREF(Py_None
);
3585 _resultobj
= Py_None
;
3592 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3593 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
* _resultobj
;
3598 PyObject
* _argo0
= 0;
3599 char *_kwnames
[] = { "self","n", NULL
};
3602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3612 wxPy_BEGIN_ALLOW_THREADS
;
3613 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3615 wxPy_END_ALLOW_THREADS
;
3617 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3625 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3626 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3644 wxPy_BEGIN_ALLOW_THREADS
;
3645 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3647 wxPy_END_ALLOW_THREADS
;
3649 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3657 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3658 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Number",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3676 wxPy_BEGIN_ALLOW_THREADS
;
3677 _result
= (int )wxListBox_Number(_arg0
);
3679 wxPy_END_ALLOW_THREADS
;
3680 } _resultobj
= Py_BuildValue("i",_result
);
3684 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3685 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3690 PyObject
* _argo0
= 0;
3691 char *_kwnames
[] = { "self","n", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3704 wxPy_BEGIN_ALLOW_THREADS
;
3705 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3707 wxPy_END_ALLOW_THREADS
;
3708 } _resultobj
= Py_BuildValue("i",_result
);
3712 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3713 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
* _resultobj
;
3718 PyObject
* _argo0
= 0;
3719 PyObject
* _obj2
= 0;
3720 char *_kwnames
[] = { "self","choices", NULL
};
3723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
3726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3734 _arg2
= wxString_LIST_helper(_obj2
);
3735 if (_arg2
== NULL
) {
3741 _arg1
= PyList_Size(_obj2
);
3748 wxPy_BEGIN_ALLOW_THREADS
;
3749 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3751 wxPy_END_ALLOW_THREADS
;
3752 } Py_INCREF(Py_None
);
3753 _resultobj
= Py_None
;
3760 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3761 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3765 PyObject
* _argo0
= 0;
3766 char *_kwnames
[] = { "self","n", NULL
};
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
3772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3779 wxPy_BEGIN_ALLOW_THREADS
;
3780 wxListBox_SetFirstItem(_arg0
,_arg1
);
3782 wxPy_END_ALLOW_THREADS
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3789 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3793 PyObject
* _argo0
= 0;
3794 PyObject
* _obj1
= 0;
3795 char *_kwnames
[] = { "self","string", NULL
};
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
3801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3808 #if PYTHON_API_VERSION >= 1009
3809 char* tmpPtr
; int tmpSize
;
3810 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3811 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3814 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3816 _arg1
= new wxString(tmpPtr
, tmpSize
);
3818 if (!PyString_Check(_obj1
)) {
3819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3822 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3826 wxPy_BEGIN_ALLOW_THREADS
;
3827 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3829 wxPy_END_ALLOW_THREADS
;
3830 } Py_INCREF(Py_None
);
3831 _resultobj
= Py_None
;
3839 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3840 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
* _resultobj
;
3844 bool _arg2
= (bool ) TRUE
;
3845 PyObject
* _argo0
= 0;
3846 int tempbool2
= (int) TRUE
;
3847 char *_kwnames
[] = { "self","n","select", NULL
};
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3859 _arg2
= (bool ) tempbool2
;
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
3864 wxPy_END_ALLOW_THREADS
;
3865 } Py_INCREF(Py_None
);
3866 _resultobj
= Py_None
;
3870 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3871 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
* _resultobj
;
3876 PyObject
* _argo0
= 0;
3877 PyObject
* _obj2
= 0;
3878 char *_kwnames
[] = { "self","n","string", NULL
};
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3891 #if PYTHON_API_VERSION >= 1009
3892 char* tmpPtr
; int tmpSize
;
3893 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3894 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3897 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3899 _arg2
= new wxString(tmpPtr
, tmpSize
);
3901 if (!PyString_Check(_obj2
)) {
3902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3905 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } Py_INCREF(Py_None
);
3914 _resultobj
= Py_None
;
3922 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3923 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3927 bool _arg2
= (bool ) TRUE
;
3928 PyObject
* _argo0
= 0;
3929 PyObject
* _obj1
= 0;
3930 int tempbool2
= (int) TRUE
;
3931 char *_kwnames
[] = { "self","string","select", NULL
};
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3944 #if PYTHON_API_VERSION >= 1009
3945 char* tmpPtr
; int tmpSize
;
3946 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3947 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3950 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3952 _arg1
= new wxString(tmpPtr
, tmpSize
);
3954 if (!PyString_Check(_obj1
)) {
3955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3958 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3961 _arg2
= (bool ) tempbool2
;
3963 wxPy_BEGIN_ALLOW_THREADS
;
3964 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
3966 wxPy_END_ALLOW_THREADS
;
3967 } Py_INCREF(Py_None
);
3968 _resultobj
= Py_None
;
3976 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
3977 wxCheckListBox
*src
;
3979 src
= (wxCheckListBox
*) ptr
;
3980 dest
= (wxListBox
*) src
;
3981 return (void *) dest
;
3984 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
3985 wxCheckListBox
*src
;
3987 src
= (wxCheckListBox
*) ptr
;
3988 dest
= (wxControl
*) src
;
3989 return (void *) dest
;
3992 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
3993 wxCheckListBox
*src
;
3995 src
= (wxCheckListBox
*) ptr
;
3996 dest
= (wxWindow
*) src
;
3997 return (void *) dest
;
4000 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
4001 wxCheckListBox
*src
;
4003 src
= (wxCheckListBox
*) ptr
;
4004 dest
= (wxEvtHandler
*) src
;
4005 return (void *) dest
;
4008 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4009 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4011 wxCheckListBox
* _result
;
4014 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4015 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4016 int _arg4
= (int ) 0;
4017 wxString
* _arg5
= (wxString
*) NULL
;
4018 long _arg6
= (long ) 0;
4019 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4020 char * _arg8
= (char *) "listBox";
4021 PyObject
* _argo0
= 0;
4023 PyObject
* _obj2
= 0;
4025 PyObject
* _obj3
= 0;
4026 PyObject
* _obj5
= 0;
4027 PyObject
* _argo7
= 0;
4028 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
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_wxCheckListBox. Expected _wxWindow_p.");
4044 if (! wxPoint_helper(_obj2
, &_arg2
))
4050 if (! wxSize_helper(_obj3
, &_arg3
))
4055 _arg5
= wxString_LIST_helper(_obj5
);
4056 if (_arg5
== NULL
) {
4061 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4062 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
4069 _arg4
= PyList_Size(_obj5
);
4076 wxPy_BEGIN_ALLOW_THREADS
;
4077 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4079 wxPy_END_ALLOW_THREADS
;
4081 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
4082 _resultobj
= Py_BuildValue("s",_ptemp
);
4085 _resultobj
= Py_None
;
4093 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4094 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
* _resultobj
;
4097 wxCheckListBox
* _arg0
;
4099 PyObject
* _argo0
= 0;
4100 char *_kwnames
[] = { "self","uiIndex", NULL
};
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
4106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
4113 wxPy_BEGIN_ALLOW_THREADS
;
4114 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
4116 wxPy_END_ALLOW_THREADS
;
4117 } _resultobj
= Py_BuildValue("i",_result
);
4121 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4122 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4124 wxCheckListBox
* _arg0
;
4126 int _arg2
= (int ) TRUE
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
4141 wxPy_BEGIN_ALLOW_THREADS
;
4142 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
4144 wxPy_END_ALLOW_THREADS
;
4145 } Py_INCREF(Py_None
);
4146 _resultobj
= Py_None
;
4150 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4151 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4152 PyObject
* _resultobj
;
4153 wxCheckListBox
* _arg0
;
4157 PyObject
* _argo0
= 0;
4158 PyObject
* _obj2
= 0;
4159 char *_kwnames
[] = { "self","choices","pos", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
4172 _arg2
= wxString_LIST_helper(_obj2
);
4173 if (_arg2
== NULL
) {
4179 _arg1
= PyList_Size(_obj2
);
4186 wxPy_BEGIN_ALLOW_THREADS
;
4187 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4189 wxPy_END_ALLOW_THREADS
;
4190 } Py_INCREF(Py_None
);
4191 _resultobj
= Py_None
;
4198 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4199 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
* _resultobj
;
4202 wxCheckListBox
* _arg0
;
4203 PyObject
* _argo0
= 0;
4204 char *_kwnames
[] = { "self", NULL
};
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
4210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4217 wxPy_BEGIN_ALLOW_THREADS
;
4218 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
4220 wxPy_END_ALLOW_THREADS
;
4221 } _resultobj
= Py_BuildValue("i",_result
);
4225 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4228 src
= (wxTextCtrl
*) ptr
;
4229 dest
= (wxControl
*) src
;
4230 return (void *) dest
;
4233 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4236 src
= (wxTextCtrl
*) ptr
;
4237 dest
= (wxWindow
*) src
;
4238 return (void *) dest
;
4241 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4244 src
= (wxTextCtrl
*) ptr
;
4245 dest
= (wxEvtHandler
*) src
;
4246 return (void *) dest
;
4249 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4250 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
* _resultobj
;
4252 wxTextCtrl
* _result
;
4255 char * _arg2
= (char *) "";
4256 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4257 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4258 long _arg5
= (long ) 0;
4259 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
4260 char * _arg7
= (char *) "text";
4261 PyObject
* _argo0
= 0;
4263 PyObject
* _obj3
= 0;
4265 PyObject
* _obj4
= 0;
4266 PyObject
* _argo6
= 0;
4267 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4283 if (! wxPoint_helper(_obj3
, &_arg3
))
4289 if (! wxSize_helper(_obj4
, &_arg4
))
4293 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4294 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4300 wxPy_BEGIN_ALLOW_THREADS
;
4301 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4303 wxPy_END_ALLOW_THREADS
;
4305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4306 _resultobj
= Py_BuildValue("s",_ptemp
);
4309 _resultobj
= Py_None
;
4314 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4315 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
* _resultobj
;
4318 PyObject
* _argo0
= 0;
4319 char *_kwnames
[] = { "self", NULL
};
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
4325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4332 wxPy_BEGIN_ALLOW_THREADS
;
4333 wxTextCtrl_Clear(_arg0
);
4335 wxPy_END_ALLOW_THREADS
;
4336 } Py_INCREF(Py_None
);
4337 _resultobj
= Py_None
;
4341 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4342 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
* _resultobj
;
4345 PyObject
* _argo0
= 0;
4346 char *_kwnames
[] = { "self", NULL
};
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
4352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4359 wxPy_BEGIN_ALLOW_THREADS
;
4360 wxTextCtrl_Copy(_arg0
);
4362 wxPy_END_ALLOW_THREADS
;
4363 } Py_INCREF(Py_None
);
4364 _resultobj
= Py_None
;
4368 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4369 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4372 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 wxTextCtrl_Cut(_arg0
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } Py_INCREF(Py_None
);
4391 _resultobj
= Py_None
;
4395 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4396 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4399 PyObject
* _argo0
= 0;
4400 char *_kwnames
[] = { "self", NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
4406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 wxTextCtrl_DiscardEdits(_arg0
);
4416 wxPy_END_ALLOW_THREADS
;
4417 } Py_INCREF(Py_None
);
4418 _resultobj
= Py_None
;
4422 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4423 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
* _resultobj
;
4427 PyObject
* _argo0
= 0;
4428 char *_kwnames
[] = { "self", NULL
};
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
4434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
4441 wxPy_BEGIN_ALLOW_THREADS
;
4442 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
4444 wxPy_END_ALLOW_THREADS
;
4445 } _resultobj
= Py_BuildValue("l",_result
);
4449 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
4450 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
* _resultobj
;
4454 PyObject
* _argo0
= 0;
4455 char *_kwnames
[] = { "self", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
4468 wxPy_BEGIN_ALLOW_THREADS
;
4469 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
4471 wxPy_END_ALLOW_THREADS
;
4472 } _resultobj
= Py_BuildValue("l",_result
);
4476 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
4477 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
* _resultobj
;
4482 PyObject
* _argo0
= 0;
4483 char *_kwnames
[] = { "self","lineNo", NULL
};
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
4489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4496 wxPy_BEGIN_ALLOW_THREADS
;
4497 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
4499 wxPy_END_ALLOW_THREADS
;
4500 } _resultobj
= Py_BuildValue("i",_result
);
4504 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4505 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4510 PyObject
* _argo0
= 0;
4511 char *_kwnames
[] = { "self","lineNo", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
4527 wxPy_END_ALLOW_THREADS
;
4529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4537 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4538 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
* _resultobj
;
4542 PyObject
* _argo0
= 0;
4543 char *_kwnames
[] = { "self", NULL
};
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
4549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
4559 wxPy_END_ALLOW_THREADS
;
4560 } _resultobj
= Py_BuildValue("i",_result
);
4564 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4565 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
* _resultobj
;
4569 PyObject
* _argo0
= 0;
4570 char *_kwnames
[] = { "self", NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
4576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
4586 wxPy_END_ALLOW_THREADS
;
4588 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4596 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4597 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4601 PyObject
* _argo0
= 0;
4602 char *_kwnames
[] = { "self", NULL
};
4605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
4608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4615 wxPy_BEGIN_ALLOW_THREADS
;
4616 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
4618 wxPy_END_ALLOW_THREADS
;
4619 } _resultobj
= Py_BuildValue("i",_result
);
4623 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4624 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
* _resultobj
;
4629 PyObject
* _argo0
= 0;
4630 PyObject
* _obj1
= 0;
4631 char *_kwnames
[] = { "self","filename", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4644 #if PYTHON_API_VERSION >= 1009
4645 char* tmpPtr
; int tmpSize
;
4646 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4647 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4650 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4652 _arg1
= new wxString(tmpPtr
, tmpSize
);
4654 if (!PyString_Check(_obj1
)) {
4655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4658 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4662 wxPy_BEGIN_ALLOW_THREADS
;
4663 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4665 wxPy_END_ALLOW_THREADS
;
4666 } _resultobj
= Py_BuildValue("i",_result
);
4674 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4675 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4678 PyObject
* _argo0
= 0;
4679 char *_kwnames
[] = { "self", NULL
};
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
4685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4692 wxPy_BEGIN_ALLOW_THREADS
;
4693 wxTextCtrl_Paste(_arg0
);
4695 wxPy_END_ALLOW_THREADS
;
4696 } Py_INCREF(Py_None
);
4697 _resultobj
= Py_None
;
4701 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4702 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4710 PyObject
* _argo0
= 0;
4711 char *_kwnames
[] = { "self","pos", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4738 o
= PyInt_FromLong((long) (*_arg2
));
4739 _resultobj
= t_output_helper(_resultobj
, o
);
4743 o
= PyInt_FromLong((long) (*_arg3
));
4744 _resultobj
= t_output_helper(_resultobj
, o
);
4749 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4750 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
* _resultobj
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self","from","to", NULL
};
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4769 wxPy_BEGIN_ALLOW_THREADS
;
4770 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4772 wxPy_END_ALLOW_THREADS
;
4773 } Py_INCREF(Py_None
);
4774 _resultobj
= Py_None
;
4778 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4779 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
* _resultobj
;
4785 PyObject
* _argo0
= 0;
4786 PyObject
* _obj3
= 0;
4787 char *_kwnames
[] = { "self","from","to","value", NULL
};
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4800 #if PYTHON_API_VERSION >= 1009
4801 char* tmpPtr
; int tmpSize
;
4802 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4803 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4806 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4808 _arg3
= new wxString(tmpPtr
, tmpSize
);
4810 if (!PyString_Check(_obj3
)) {
4811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4814 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
4821 wxPy_END_ALLOW_THREADS
;
4822 } Py_INCREF(Py_None
);
4823 _resultobj
= Py_None
;
4831 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4832 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4837 PyObject
* _argo0
= 0;
4838 PyObject
* _obj1
= 0;
4839 char *_kwnames
[] = { "self","filename", NULL
};
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
4845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4852 #if PYTHON_API_VERSION >= 1009
4853 char* tmpPtr
; int tmpSize
;
4854 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4855 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4858 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4860 _arg1
= new wxString(tmpPtr
, tmpSize
);
4862 if (!PyString_Check(_obj1
)) {
4863 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4866 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4870 wxPy_BEGIN_ALLOW_THREADS
;
4871 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
4873 wxPy_END_ALLOW_THREADS
;
4874 } _resultobj
= Py_BuildValue("i",_result
);
4882 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4883 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4887 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self","editable", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4901 _arg1
= (bool ) tempbool1
;
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 wxTextCtrl_SetEditable(_arg0
,_arg1
);
4906 wxPy_END_ALLOW_THREADS
;
4907 } Py_INCREF(Py_None
);
4908 _resultobj
= Py_None
;
4912 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4913 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self","pos", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
4934 wxPy_END_ALLOW_THREADS
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4940 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4941 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4944 PyObject
* _argo0
= 0;
4945 char *_kwnames
[] = { "self", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4958 wxPy_BEGIN_ALLOW_THREADS
;
4959 wxTextCtrl_SetInsertionPointEnd(_arg0
);
4961 wxPy_END_ALLOW_THREADS
;
4962 } Py_INCREF(Py_None
);
4963 _resultobj
= Py_None
;
4967 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4968 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
* _resultobj
;
4973 PyObject
* _argo0
= 0;
4974 char *_kwnames
[] = { "self","from","to", NULL
};
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4987 wxPy_BEGIN_ALLOW_THREADS
;
4988 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
4990 wxPy_END_ALLOW_THREADS
;
4991 } Py_INCREF(Py_None
);
4992 _resultobj
= Py_None
;
4996 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4997 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
5001 PyObject
* _argo0
= 0;
5002 PyObject
* _obj1
= 0;
5003 char *_kwnames
[] = { "self","value", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5016 #if PYTHON_API_VERSION >= 1009
5017 char* tmpPtr
; int tmpSize
;
5018 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5019 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5022 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5024 _arg1
= new wxString(tmpPtr
, tmpSize
);
5026 if (!PyString_Check(_obj1
)) {
5027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5030 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5034 wxPy_BEGIN_ALLOW_THREADS
;
5035 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5037 wxPy_END_ALLOW_THREADS
;
5038 } Py_INCREF(Py_None
);
5039 _resultobj
= Py_None
;
5047 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5048 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
* _resultobj
;
5052 PyObject
* _argo0
= 0;
5053 char *_kwnames
[] = { "self","pos", NULL
};
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
5059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
5066 wxPy_BEGIN_ALLOW_THREADS
;
5067 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
5069 wxPy_END_ALLOW_THREADS
;
5070 } Py_INCREF(Py_None
);
5071 _resultobj
= Py_None
;
5075 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5076 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5080 PyObject
* _argo0
= 0;
5081 PyObject
* _obj1
= 0;
5082 char *_kwnames
[] = { "self","text", NULL
};
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
5088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5095 #if PYTHON_API_VERSION >= 1009
5096 char* tmpPtr
; int tmpSize
;
5097 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5098 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5101 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5103 _arg1
= new wxString(tmpPtr
, tmpSize
);
5105 if (!PyString_Check(_obj1
)) {
5106 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5109 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5113 wxPy_BEGIN_ALLOW_THREADS
;
5114 wxTextCtrl_WriteText(_arg0
,*_arg1
);
5116 wxPy_END_ALLOW_THREADS
;
5117 } Py_INCREF(Py_None
);
5118 _resultobj
= Py_None
;
5126 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5127 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5131 PyObject
* _argo0
= 0;
5132 PyObject
* _obj1
= 0;
5133 char *_kwnames
[] = { "self","text", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5146 #if PYTHON_API_VERSION >= 1009
5147 char* tmpPtr
; int tmpSize
;
5148 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5149 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5152 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5154 _arg1
= new wxString(tmpPtr
, tmpSize
);
5156 if (!PyString_Check(_obj1
)) {
5157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5160 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5164 wxPy_BEGIN_ALLOW_THREADS
;
5165 wxTextCtrl_AppendText(_arg0
,*_arg1
);
5167 wxPy_END_ALLOW_THREADS
;
5168 } Py_INCREF(Py_None
);
5169 _resultobj
= Py_None
;
5177 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5178 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
* _resultobj
;
5184 PyObject
* _argo0
= 0;
5185 char *_kwnames
[] = { "self","x","y", NULL
};
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
5198 wxPy_BEGIN_ALLOW_THREADS
;
5199 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
5201 wxPy_END_ALLOW_THREADS
;
5202 } _resultobj
= Py_BuildValue("l",_result
);
5206 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5207 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5211 PyObject
* _argo0
= 0;
5212 char *_kwnames
[] = { "self", NULL
};
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
5218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
5225 wxPy_BEGIN_ALLOW_THREADS
;
5226 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
5228 wxPy_END_ALLOW_THREADS
;
5229 } _resultobj
= Py_BuildValue("i",_result
);
5233 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5234 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5235 PyObject
* _resultobj
;
5238 PyObject
* _argo0
= 0;
5239 char *_kwnames
[] = { "self", NULL
};
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
5245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
5252 wxPy_BEGIN_ALLOW_THREADS
;
5253 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
5255 wxPy_END_ALLOW_THREADS
;
5256 } _resultobj
= Py_BuildValue("i",_result
);
5260 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5261 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
* _resultobj
;
5265 PyObject
* _argo0
= 0;
5266 char *_kwnames
[] = { "self", NULL
};
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5279 wxPy_BEGIN_ALLOW_THREADS
;
5280 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5282 wxPy_END_ALLOW_THREADS
;
5283 } _resultobj
= Py_BuildValue("i",_result
);
5287 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5288 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
* _resultobj
;
5292 PyObject
* _argo0
= 0;
5293 char *_kwnames
[] = { "self", NULL
};
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
5299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5306 wxPy_BEGIN_ALLOW_THREADS
;
5307 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
5309 wxPy_END_ALLOW_THREADS
;
5310 } _resultobj
= Py_BuildValue("i",_result
);
5314 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5315 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5319 PyObject
* _argo0
= 0;
5320 char *_kwnames
[] = { "self", NULL
};
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
5326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5333 wxPy_BEGIN_ALLOW_THREADS
;
5334 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
5336 wxPy_END_ALLOW_THREADS
;
5337 } _resultobj
= Py_BuildValue("i",_result
);
5341 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5342 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5349 PyObject
* _argo0
= 0;
5350 char *_kwnames
[] = { "self", NULL
};
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
5362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5369 wxPy_BEGIN_ALLOW_THREADS
;
5370 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
5372 wxPy_END_ALLOW_THREADS
;
5373 } Py_INCREF(Py_None
);
5374 _resultobj
= Py_None
;
5377 o
= PyInt_FromLong((long) (*_arg1
));
5378 _resultobj
= t_output_helper(_resultobj
, o
);
5382 o
= PyInt_FromLong((long) (*_arg2
));
5383 _resultobj
= t_output_helper(_resultobj
, o
);
5388 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5389 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
* _resultobj
;
5393 PyObject
* _argo0
= 0;
5394 char *_kwnames
[] = { "self", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } _resultobj
= Py_BuildValue("i",_result
);
5415 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5416 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
* _resultobj
;
5419 PyObject
* _argo0
= 0;
5420 char *_kwnames
[] = { "self", NULL
};
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
5426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
5433 wxPy_BEGIN_ALLOW_THREADS
;
5434 wxTextCtrl_Undo(_arg0
);
5436 wxPy_END_ALLOW_THREADS
;
5437 } Py_INCREF(Py_None
);
5438 _resultobj
= Py_None
;
5442 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
5443 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
* _resultobj
;
5446 PyObject
* _argo0
= 0;
5447 char *_kwnames
[] = { "self", NULL
};
5450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
5453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
5460 wxPy_BEGIN_ALLOW_THREADS
;
5461 wxTextCtrl_Redo(_arg0
);
5463 wxPy_END_ALLOW_THREADS
;
5464 } Py_INCREF(Py_None
);
5465 _resultobj
= Py_None
;
5469 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
5470 self
->AppendText(text
+ '\n');
5472 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5476 PyObject
* _argo0
= 0;
5477 PyObject
* _obj1
= 0;
5478 char *_kwnames
[] = { "self","text", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
5491 #if PYTHON_API_VERSION >= 1009
5492 char* tmpPtr
; int tmpSize
;
5493 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5494 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5497 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5499 _arg1
= new wxString(tmpPtr
, tmpSize
);
5501 if (!PyString_Check(_obj1
)) {
5502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5505 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5509 wxPy_BEGIN_ALLOW_THREADS
;
5510 wxTextCtrl_write(_arg0
,*_arg1
);
5512 wxPy_END_ALLOW_THREADS
;
5513 } Py_INCREF(Py_None
);
5514 _resultobj
= Py_None
;
5522 static void *SwigwxScrollBarTowxControl(void *ptr
) {
5525 src
= (wxScrollBar
*) ptr
;
5526 dest
= (wxControl
*) src
;
5527 return (void *) dest
;
5530 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
5533 src
= (wxScrollBar
*) ptr
;
5534 dest
= (wxWindow
*) src
;
5535 return (void *) dest
;
5538 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
5541 src
= (wxScrollBar
*) ptr
;
5542 dest
= (wxEvtHandler
*) src
;
5543 return (void *) dest
;
5546 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5547 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5549 wxScrollBar
* _result
;
5551 wxWindowID _arg1
= (wxWindowID
) -1;
5552 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5553 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5554 long _arg4
= (long ) wxSB_HORIZONTAL
;
5555 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5556 char * _arg6
= (char *) "scrollBar";
5557 PyObject
* _argo0
= 0;
5559 PyObject
* _obj2
= 0;
5561 PyObject
* _obj3
= 0;
5562 PyObject
* _argo5
= 0;
5563 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
5579 if (! wxPoint_helper(_obj2
, &_arg2
))
5585 if (! wxSize_helper(_obj3
, &_arg3
))
5589 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5599 wxPy_END_ALLOW_THREADS
;
5601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
5602 _resultobj
= Py_BuildValue("s",_ptemp
);
5605 _resultobj
= Py_None
;
5610 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5611 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
* _resultobj
;
5614 wxScrollBar
* _arg0
;
5615 PyObject
* _argo0
= 0;
5616 char *_kwnames
[] = { "self", NULL
};
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
5622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5629 wxPy_BEGIN_ALLOW_THREADS
;
5630 _result
= (int )wxScrollBar_GetRange(_arg0
);
5632 wxPy_END_ALLOW_THREADS
;
5633 } _resultobj
= Py_BuildValue("i",_result
);
5637 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5638 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5641 wxScrollBar
* _arg0
;
5642 PyObject
* _argo0
= 0;
5643 char *_kwnames
[] = { "self", NULL
};
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
5649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5656 wxPy_BEGIN_ALLOW_THREADS
;
5657 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
5659 wxPy_END_ALLOW_THREADS
;
5660 } _resultobj
= Py_BuildValue("i",_result
);
5664 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5665 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5668 wxScrollBar
* _arg0
;
5669 PyObject
* _argo0
= 0;
5670 char *_kwnames
[] = { "self", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5683 wxPy_BEGIN_ALLOW_THREADS
;
5684 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
5686 wxPy_END_ALLOW_THREADS
;
5687 } _resultobj
= Py_BuildValue("i",_result
);
5691 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5692 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
* _resultobj
;
5695 wxScrollBar
* _arg0
;
5696 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5710 wxPy_BEGIN_ALLOW_THREADS
;
5711 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
5713 wxPy_END_ALLOW_THREADS
;
5714 } _resultobj
= Py_BuildValue("i",_result
);
5718 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5719 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
* _resultobj
;
5721 wxScrollBar
* _arg0
;
5723 PyObject
* _argo0
= 0;
5724 char *_kwnames
[] = { "self","viewStart", NULL
};
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
5730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5737 wxPy_BEGIN_ALLOW_THREADS
;
5738 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
5740 wxPy_END_ALLOW_THREADS
;
5741 } Py_INCREF(Py_None
);
5742 _resultobj
= Py_None
;
5746 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5747 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
* _resultobj
;
5749 wxScrollBar
* _arg0
;
5754 bool _arg5
= (bool ) TRUE
;
5755 PyObject
* _argo0
= 0;
5756 int tempbool5
= (int) TRUE
;
5757 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
5763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5769 _arg5
= (bool ) tempbool5
;
5771 wxPy_BEGIN_ALLOW_THREADS
;
5772 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5774 wxPy_END_ALLOW_THREADS
;
5775 } Py_INCREF(Py_None
);
5776 _resultobj
= Py_None
;
5780 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
5783 src
= (wxSpinButton
*) ptr
;
5784 dest
= (wxControl
*) src
;
5785 return (void *) dest
;
5788 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
5791 src
= (wxSpinButton
*) ptr
;
5792 dest
= (wxWindow
*) src
;
5793 return (void *) dest
;
5796 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
5799 src
= (wxSpinButton
*) ptr
;
5800 dest
= (wxEvtHandler
*) src
;
5801 return (void *) dest
;
5804 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5805 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5807 wxSpinButton
* _result
;
5809 wxWindowID _arg1
= (wxWindowID
) -1;
5810 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5811 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5812 long _arg4
= (long ) wxSP_HORIZONTAL
;
5813 char * _arg5
= (char *) "spinButton";
5814 PyObject
* _argo0
= 0;
5816 PyObject
* _obj2
= 0;
5818 PyObject
* _obj3
= 0;
5819 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5835 if (! wxPoint_helper(_obj2
, &_arg2
))
5841 if (! wxSize_helper(_obj3
, &_arg3
))
5845 wxPy_BEGIN_ALLOW_THREADS
;
5846 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5848 wxPy_END_ALLOW_THREADS
;
5850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
5851 _resultobj
= Py_BuildValue("s",_ptemp
);
5854 _resultobj
= Py_None
;
5859 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5860 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5863 wxSpinButton
* _arg0
;
5864 PyObject
* _argo0
= 0;
5865 char *_kwnames
[] = { "self", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5878 wxPy_BEGIN_ALLOW_THREADS
;
5879 _result
= (int )wxSpinButton_GetMax(_arg0
);
5881 wxPy_END_ALLOW_THREADS
;
5882 } _resultobj
= Py_BuildValue("i",_result
);
5886 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5887 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5890 wxSpinButton
* _arg0
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 _result
= (int )wxSpinButton_GetMin(_arg0
);
5908 wxPy_END_ALLOW_THREADS
;
5909 } _resultobj
= Py_BuildValue("i",_result
);
5913 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5914 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5917 wxSpinButton
* _arg0
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5932 wxPy_BEGIN_ALLOW_THREADS
;
5933 _result
= (int )wxSpinButton_GetValue(_arg0
);
5935 wxPy_END_ALLOW_THREADS
;
5936 } _resultobj
= Py_BuildValue("i",_result
);
5940 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5941 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
* _resultobj
;
5943 wxSpinButton
* _arg0
;
5946 PyObject
* _argo0
= 0;
5947 char *_kwnames
[] = { "self","min","max", NULL
};
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5960 wxPy_BEGIN_ALLOW_THREADS
;
5961 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
5963 wxPy_END_ALLOW_THREADS
;
5964 } Py_INCREF(Py_None
);
5965 _resultobj
= Py_None
;
5969 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5970 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
* _resultobj
;
5972 wxSpinButton
* _arg0
;
5974 PyObject
* _argo0
= 0;
5975 char *_kwnames
[] = { "self","value", NULL
};
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
5981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5988 wxPy_BEGIN_ALLOW_THREADS
;
5989 wxSpinButton_SetValue(_arg0
,_arg1
);
5991 wxPy_END_ALLOW_THREADS
;
5992 } Py_INCREF(Py_None
);
5993 _resultobj
= Py_None
;
5997 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
5998 wxStaticBitmap
*src
;
6000 src
= (wxStaticBitmap
*) ptr
;
6001 dest
= (wxControl
*) src
;
6002 return (void *) dest
;
6005 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
6006 wxStaticBitmap
*src
;
6008 src
= (wxStaticBitmap
*) ptr
;
6009 dest
= (wxWindow
*) src
;
6010 return (void *) dest
;
6013 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
6014 wxStaticBitmap
*src
;
6016 src
= (wxStaticBitmap
*) ptr
;
6017 dest
= (wxEvtHandler
*) src
;
6018 return (void *) dest
;
6021 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6022 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6024 wxStaticBitmap
* _result
;
6028 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6029 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6030 long _arg5
= (long ) 0;
6031 char * _arg6
= (char *) "staticBitmap";
6032 PyObject
* _argo0
= 0;
6033 PyObject
* _argo2
= 0;
6035 PyObject
* _obj3
= 0;
6037 PyObject
* _obj4
= 0;
6038 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6052 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6061 if (! wxPoint_helper(_obj3
, &_arg3
))
6067 if (! wxSize_helper(_obj4
, &_arg4
))
6071 wxPy_BEGIN_ALLOW_THREADS
;
6072 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6074 wxPy_END_ALLOW_THREADS
;
6076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
6077 _resultobj
= Py_BuildValue("s",_ptemp
);
6080 _resultobj
= Py_None
;
6085 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6086 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6089 wxStaticBitmap
* _arg0
;
6090 PyObject
* _argo0
= 0;
6091 char *_kwnames
[] = { "self", NULL
};
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
6098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6105 wxPy_BEGIN_ALLOW_THREADS
;
6106 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
6107 _result
= (wxBitmap
*) &_result_ref
;
6109 wxPy_END_ALLOW_THREADS
;
6111 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6112 _resultobj
= Py_BuildValue("s",_ptemp
);
6115 _resultobj
= Py_None
;
6120 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6121 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6123 wxStaticBitmap
* _arg0
;
6125 PyObject
* _argo0
= 0;
6126 PyObject
* _argo1
= 0;
6127 char *_kwnames
[] = { "self","bitmap", NULL
};
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
6133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
6140 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
6147 wxPy_BEGIN_ALLOW_THREADS
;
6148 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
6150 wxPy_END_ALLOW_THREADS
;
6151 } Py_INCREF(Py_None
);
6152 _resultobj
= Py_None
;
6156 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
6157 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
* _resultobj
;
6159 wxStaticBitmap
* _arg0
;
6161 PyObject
* _argo0
= 0;
6162 PyObject
* _argo1
= 0;
6163 char *_kwnames
[] = { "self","icon", NULL
};
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
6169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
6176 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
6183 wxPy_BEGIN_ALLOW_THREADS
;
6184 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
6186 wxPy_END_ALLOW_THREADS
;
6187 } Py_INCREF(Py_None
);
6188 _resultobj
= Py_None
;
6192 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
6195 src
= (wxRadioBox
*) ptr
;
6196 dest
= (wxControl
*) src
;
6197 return (void *) dest
;
6200 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
6203 src
= (wxRadioBox
*) ptr
;
6204 dest
= (wxWindow
*) src
;
6205 return (void *) dest
;
6208 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
6211 src
= (wxRadioBox
*) ptr
;
6212 dest
= (wxEvtHandler
*) src
;
6213 return (void *) dest
;
6216 #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))
6217 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
* _resultobj
;
6219 wxRadioBox
* _result
;
6223 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6224 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6225 int _arg5
= (int ) 0;
6226 wxString
* _arg6
= (wxString
*) NULL
;
6227 int _arg7
= (int ) 0;
6228 long _arg8
= (long ) wxRA_HORIZONTAL
;
6229 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
6230 char * _arg10
= (char *) "radioBox";
6231 PyObject
* _argo0
= 0;
6232 PyObject
* _obj2
= 0;
6234 PyObject
* _obj3
= 0;
6236 PyObject
* _obj4
= 0;
6237 PyObject
* _obj6
= 0;
6238 PyObject
* _argo9
= 0;
6239 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
6246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
6253 #if PYTHON_API_VERSION >= 1009
6254 char* tmpPtr
; int tmpSize
;
6255 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6256 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6259 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6261 _arg2
= new wxString(tmpPtr
, tmpSize
);
6263 if (!PyString_Check(_obj2
)) {
6264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6267 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6273 if (! wxPoint_helper(_obj3
, &_arg3
))
6279 if (! wxSize_helper(_obj4
, &_arg4
))
6284 _arg6
= wxString_LIST_helper(_obj6
);
6285 if (_arg6
== NULL
) {
6290 if (_argo9
== Py_None
) { _arg9
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
6298 _arg5
= PyList_Size(_obj6
);
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
6308 wxPy_END_ALLOW_THREADS
;
6310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
6311 _resultobj
= Py_BuildValue("s",_ptemp
);
6314 _resultobj
= Py_None
;
6326 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6327 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
* _resultobj
;
6331 PyObject
* _argo0
= 0;
6333 char *_kwnames
[] = { "self","enable", NULL
};
6336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
6339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
6345 _arg1
= (bool ) tempbool1
;
6347 wxPy_BEGIN_ALLOW_THREADS
;
6348 wxRadioBox_Enable(_arg0
,_arg1
);
6350 wxPy_END_ALLOW_THREADS
;
6351 } Py_INCREF(Py_None
);
6352 _resultobj
= Py_None
;
6356 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6357 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
* _resultobj
;
6362 PyObject
* _argo0
= 0;
6364 char *_kwnames
[] = { "self","n","enable", NULL
};
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
6376 _arg2
= (bool ) tempbool2
;
6378 wxPy_BEGIN_ALLOW_THREADS
;
6379 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
6381 wxPy_END_ALLOW_THREADS
;
6382 } Py_INCREF(Py_None
);
6383 _resultobj
= Py_None
;
6387 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
6388 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
* _resultobj
;
6393 PyObject
* _argo0
= 0;
6394 PyObject
* _obj1
= 0;
6395 char *_kwnames
[] = { "self","string", NULL
};
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
6401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
6408 #if PYTHON_API_VERSION >= 1009
6409 char* tmpPtr
; int tmpSize
;
6410 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6411 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6414 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6416 _arg1
= new wxString(tmpPtr
, tmpSize
);
6418 if (!PyString_Check(_obj1
)) {
6419 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6422 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
6429 wxPy_END_ALLOW_THREADS
;
6430 } _resultobj
= Py_BuildValue("i",_result
);
6438 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6439 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self","n", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
6458 wxPy_BEGIN_ALLOW_THREADS
;
6459 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
6461 wxPy_END_ALLOW_THREADS
;
6463 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6471 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
6472 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6476 PyObject
* _argo0
= 0;
6477 char *_kwnames
[] = { "self", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
6490 wxPy_BEGIN_ALLOW_THREADS
;
6491 _result
= (int )wxRadioBox_GetSelection(_arg0
);
6493 wxPy_END_ALLOW_THREADS
;
6494 } _resultobj
= Py_BuildValue("i",_result
);
6498 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
6499 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6504 PyObject
* _argo0
= 0;
6505 char *_kwnames
[] = { "self","n", NULL
};
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
6511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
6518 wxPy_BEGIN_ALLOW_THREADS
;
6519 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
6521 wxPy_END_ALLOW_THREADS
;
6523 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6531 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6532 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6536 PyObject
* _argo0
= 0;
6537 char *_kwnames
[] = { "self", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
6550 wxPy_BEGIN_ALLOW_THREADS
;
6551 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
6553 wxPy_END_ALLOW_THREADS
;
6555 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6563 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
6564 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
6582 wxPy_BEGIN_ALLOW_THREADS
;
6583 _result
= (int )wxRadioBox_Number(_arg0
);
6585 wxPy_END_ALLOW_THREADS
;
6586 } _resultobj
= Py_BuildValue("i",_result
);
6590 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6591 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
* _resultobj
;
6596 PyObject
* _argo0
= 0;
6597 PyObject
* _obj2
= 0;
6598 char *_kwnames
[] = { "self","n","label", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
6611 #if PYTHON_API_VERSION >= 1009
6612 char* tmpPtr
; int tmpSize
;
6613 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6614 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6617 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6619 _arg2
= new wxString(tmpPtr
, tmpSize
);
6621 if (!PyString_Check(_obj2
)) {
6622 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6625 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6629 wxPy_BEGIN_ALLOW_THREADS
;
6630 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
6632 wxPy_END_ALLOW_THREADS
;
6633 } Py_INCREF(Py_None
);
6634 _resultobj
= Py_None
;
6642 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6643 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
* _resultobj
;
6647 PyObject
* _argo0
= 0;
6648 char *_kwnames
[] = { "self","n", NULL
};
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
6654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6661 wxPy_BEGIN_ALLOW_THREADS
;
6662 wxRadioBox_SetSelection(_arg0
,_arg1
);
6664 wxPy_END_ALLOW_THREADS
;
6665 } Py_INCREF(Py_None
);
6666 _resultobj
= Py_None
;
6670 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6671 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6675 PyObject
* _argo0
= 0;
6676 PyObject
* _obj1
= 0;
6677 char *_kwnames
[] = { "self","string", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6690 #if PYTHON_API_VERSION >= 1009
6691 char* tmpPtr
; int tmpSize
;
6692 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6693 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6696 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6698 _arg1
= new wxString(tmpPtr
, tmpSize
);
6700 if (!PyString_Check(_obj1
)) {
6701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6704 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6708 wxPy_BEGIN_ALLOW_THREADS
;
6709 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
6711 wxPy_END_ALLOW_THREADS
;
6712 } Py_INCREF(Py_None
);
6713 _resultobj
= Py_None
;
6721 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6722 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6726 PyObject
* _argo0
= 0;
6728 char *_kwnames
[] = { "self","show", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6740 _arg1
= (bool ) tempbool1
;
6742 wxPy_BEGIN_ALLOW_THREADS
;
6743 wxRadioBox_Show(_arg0
,_arg1
);
6745 wxPy_END_ALLOW_THREADS
;
6746 } Py_INCREF(Py_None
);
6747 _resultobj
= Py_None
;
6751 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6752 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6757 PyObject
* _argo0
= 0;
6759 char *_kwnames
[] = { "self","item","show", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6771 _arg2
= (bool ) tempbool2
;
6773 wxPy_BEGIN_ALLOW_THREADS
;
6774 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
6776 wxPy_END_ALLOW_THREADS
;
6777 } Py_INCREF(Py_None
);
6778 _resultobj
= Py_None
;
6782 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
6785 src
= (wxRadioButton
*) ptr
;
6786 dest
= (wxControl
*) src
;
6787 return (void *) dest
;
6790 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
6793 src
= (wxRadioButton
*) ptr
;
6794 dest
= (wxWindow
*) src
;
6795 return (void *) dest
;
6798 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
6801 src
= (wxRadioButton
*) ptr
;
6802 dest
= (wxEvtHandler
*) src
;
6803 return (void *) dest
;
6806 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6807 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
* _resultobj
;
6809 wxRadioButton
* _result
;
6813 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6814 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6815 long _arg5
= (long ) 0;
6816 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6817 char * _arg7
= (char *) "radioButton";
6818 PyObject
* _argo0
= 0;
6819 PyObject
* _obj2
= 0;
6821 PyObject
* _obj3
= 0;
6823 PyObject
* _obj4
= 0;
6824 PyObject
* _argo6
= 0;
6825 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6839 #if PYTHON_API_VERSION >= 1009
6840 char* tmpPtr
; int tmpSize
;
6841 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6842 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6845 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6847 _arg2
= new wxString(tmpPtr
, tmpSize
);
6849 if (!PyString_Check(_obj2
)) {
6850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6853 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6859 if (! wxPoint_helper(_obj3
, &_arg3
))
6865 if (! wxSize_helper(_obj4
, &_arg4
))
6869 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
6876 wxPy_BEGIN_ALLOW_THREADS
;
6877 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6879 wxPy_END_ALLOW_THREADS
;
6881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
6882 _resultobj
= Py_BuildValue("s",_ptemp
);
6885 _resultobj
= Py_None
;
6894 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
6895 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
* _resultobj
;
6898 wxRadioButton
* _arg0
;
6899 PyObject
* _argo0
= 0;
6900 char *_kwnames
[] = { "self", NULL
};
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
6906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
6913 wxPy_BEGIN_ALLOW_THREADS
;
6914 _result
= (bool )wxRadioButton_GetValue(_arg0
);
6916 wxPy_END_ALLOW_THREADS
;
6917 } _resultobj
= Py_BuildValue("i",_result
);
6921 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6922 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6924 wxRadioButton
* _arg0
;
6926 PyObject
* _argo0
= 0;
6928 char *_kwnames
[] = { "self","value", NULL
};
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
6934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6940 _arg1
= (bool ) tempbool1
;
6942 wxPy_BEGIN_ALLOW_THREADS
;
6943 wxRadioButton_SetValue(_arg0
,_arg1
);
6945 wxPy_END_ALLOW_THREADS
;
6946 } Py_INCREF(Py_None
);
6947 _resultobj
= Py_None
;
6951 static void *SwigwxSliderTowxControl(void *ptr
) {
6954 src
= (wxSlider
*) ptr
;
6955 dest
= (wxControl
*) src
;
6956 return (void *) dest
;
6959 static void *SwigwxSliderTowxWindow(void *ptr
) {
6962 src
= (wxSlider
*) ptr
;
6963 dest
= (wxWindow
*) src
;
6964 return (void *) dest
;
6967 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
6970 src
= (wxSlider
*) ptr
;
6971 dest
= (wxEvtHandler
*) src
;
6972 return (void *) dest
;
6975 #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))
6976 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
* _resultobj
;
6984 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
6985 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
6986 long _arg7
= (long ) wxSL_HORIZONTAL
;
6987 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
6988 char * _arg9
= (char *) "slider";
6989 PyObject
* _argo0
= 0;
6991 PyObject
* _obj5
= 0;
6993 PyObject
* _obj6
= 0;
6994 PyObject
* _argo8
= 0;
6995 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
7002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7011 if (! wxPoint_helper(_obj5
, &_arg5
))
7017 if (! wxSize_helper(_obj6
, &_arg6
))
7021 if (_argo8
== Py_None
) { _arg8
= NULL
; }
7022 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
7023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7028 wxPy_BEGIN_ALLOW_THREADS
;
7029 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
7031 wxPy_END_ALLOW_THREADS
;
7033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
7034 _resultobj
= Py_BuildValue("s",_ptemp
);
7037 _resultobj
= Py_None
;
7042 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7043 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
* _resultobj
;
7046 PyObject
* _argo0
= 0;
7047 char *_kwnames
[] = { "self", NULL
};
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
7053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7060 wxPy_BEGIN_ALLOW_THREADS
;
7061 wxSlider_ClearSel(_arg0
);
7063 wxPy_END_ALLOW_THREADS
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7069 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7070 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self", NULL
};
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
7080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
7087 wxPy_BEGIN_ALLOW_THREADS
;
7088 wxSlider_ClearTicks(_arg0
);
7090 wxPy_END_ALLOW_THREADS
;
7091 } Py_INCREF(Py_None
);
7092 _resultobj
= Py_None
;
7096 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
7097 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7101 PyObject
* _argo0
= 0;
7102 char *_kwnames
[] = { "self", NULL
};
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
7108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
7115 wxPy_BEGIN_ALLOW_THREADS
;
7116 _result
= (int )wxSlider_GetLineSize(_arg0
);
7118 wxPy_END_ALLOW_THREADS
;
7119 } _resultobj
= Py_BuildValue("i",_result
);
7123 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
7124 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 char *_kwnames
[] = { "self", NULL
};
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
7135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
7142 wxPy_BEGIN_ALLOW_THREADS
;
7143 _result
= (int )wxSlider_GetMax(_arg0
);
7145 wxPy_END_ALLOW_THREADS
;
7146 } _resultobj
= Py_BuildValue("i",_result
);
7150 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
7151 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
* _resultobj
;
7155 PyObject
* _argo0
= 0;
7156 char *_kwnames
[] = { "self", NULL
};
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
7162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
7169 wxPy_BEGIN_ALLOW_THREADS
;
7170 _result
= (int )wxSlider_GetMin(_arg0
);
7172 wxPy_END_ALLOW_THREADS
;
7173 } _resultobj
= Py_BuildValue("i",_result
);
7177 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7178 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
* _resultobj
;
7182 PyObject
* _argo0
= 0;
7183 char *_kwnames
[] = { "self", NULL
};
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
7189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
7196 wxPy_BEGIN_ALLOW_THREADS
;
7197 _result
= (int )wxSlider_GetPageSize(_arg0
);
7199 wxPy_END_ALLOW_THREADS
;
7200 } _resultobj
= Py_BuildValue("i",_result
);
7204 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
7205 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7209 PyObject
* _argo0
= 0;
7210 char *_kwnames
[] = { "self", NULL
};
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
7216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
7223 wxPy_BEGIN_ALLOW_THREADS
;
7224 _result
= (int )wxSlider_GetSelEnd(_arg0
);
7226 wxPy_END_ALLOW_THREADS
;
7227 } _resultobj
= Py_BuildValue("i",_result
);
7231 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
7232 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 char *_kwnames
[] = { "self", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
7250 wxPy_BEGIN_ALLOW_THREADS
;
7251 _result
= (int )wxSlider_GetSelStart(_arg0
);
7253 wxPy_END_ALLOW_THREADS
;
7254 } _resultobj
= Py_BuildValue("i",_result
);
7258 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
7259 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
* _resultobj
;
7263 PyObject
* _argo0
= 0;
7264 char *_kwnames
[] = { "self", NULL
};
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
7270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
7277 wxPy_BEGIN_ALLOW_THREADS
;
7278 _result
= (int )wxSlider_GetThumbLength(_arg0
);
7280 wxPy_END_ALLOW_THREADS
;
7281 } _resultobj
= Py_BuildValue("i",_result
);
7285 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
7286 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
* _resultobj
;
7290 PyObject
* _argo0
= 0;
7291 char *_kwnames
[] = { "self", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
7304 wxPy_BEGIN_ALLOW_THREADS
;
7305 _result
= (int )wxSlider_GetTickFreq(_arg0
);
7307 wxPy_END_ALLOW_THREADS
;
7308 } _resultobj
= Py_BuildValue("i",_result
);
7312 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
7313 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7317 PyObject
* _argo0
= 0;
7318 char *_kwnames
[] = { "self", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
7331 wxPy_BEGIN_ALLOW_THREADS
;
7332 _result
= (int )wxSlider_GetValue(_arg0
);
7334 wxPy_END_ALLOW_THREADS
;
7335 } _resultobj
= Py_BuildValue("i",_result
);
7339 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7340 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
* _resultobj
;
7345 PyObject
* _argo0
= 0;
7346 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
7359 wxPy_BEGIN_ALLOW_THREADS
;
7360 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
7362 wxPy_END_ALLOW_THREADS
;
7363 } Py_INCREF(Py_None
);
7364 _resultobj
= Py_None
;
7368 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
7369 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
* _resultobj
;
7374 PyObject
* _argo0
= 0;
7375 char *_kwnames
[] = { "self","n","pos", NULL
};
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
7388 wxPy_BEGIN_ALLOW_THREADS
;
7389 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
7391 wxPy_END_ALLOW_THREADS
;
7392 } Py_INCREF(Py_None
);
7393 _resultobj
= Py_None
;
7397 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
7398 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7402 PyObject
* _argo0
= 0;
7403 char *_kwnames
[] = { "self","lineSize", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
7416 wxPy_BEGIN_ALLOW_THREADS
;
7417 wxSlider_SetLineSize(_arg0
,_arg1
);
7419 wxPy_END_ALLOW_THREADS
;
7420 } Py_INCREF(Py_None
);
7421 _resultobj
= Py_None
;
7425 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
7426 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
* _resultobj
;
7430 PyObject
* _argo0
= 0;
7431 char *_kwnames
[] = { "self","pageSize", NULL
};
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
7437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
7444 wxPy_BEGIN_ALLOW_THREADS
;
7445 wxSlider_SetPageSize(_arg0
,_arg1
);
7447 wxPy_END_ALLOW_THREADS
;
7448 } Py_INCREF(Py_None
);
7449 _resultobj
= Py_None
;
7453 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7454 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
* _resultobj
;
7459 PyObject
* _argo0
= 0;
7460 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
7473 wxPy_BEGIN_ALLOW_THREADS
;
7474 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
7476 wxPy_END_ALLOW_THREADS
;
7477 } Py_INCREF(Py_None
);
7478 _resultobj
= Py_None
;
7482 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
7483 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7487 PyObject
* _argo0
= 0;
7488 char *_kwnames
[] = { "self","len", NULL
};
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
7494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
7501 wxPy_BEGIN_ALLOW_THREADS
;
7502 wxSlider_SetThumbLength(_arg0
,_arg1
);
7504 wxPy_END_ALLOW_THREADS
;
7505 } Py_INCREF(Py_None
);
7506 _resultobj
= Py_None
;
7510 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
7511 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self","tickPos", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
7529 wxPy_BEGIN_ALLOW_THREADS
;
7530 wxSlider_SetTick(_arg0
,_arg1
);
7532 wxPy_END_ALLOW_THREADS
;
7533 } Py_INCREF(Py_None
);
7534 _resultobj
= Py_None
;
7538 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7539 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7543 PyObject
* _argo0
= 0;
7544 char *_kwnames
[] = { "self","value", NULL
};
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
7550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
7557 wxPy_BEGIN_ALLOW_THREADS
;
7558 wxSlider_SetValue(_arg0
,_arg1
);
7560 wxPy_END_ALLOW_THREADS
;
7561 } Py_INCREF(Py_None
);
7562 _resultobj
= Py_None
;
7566 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
7569 src
= (wxSpinCtrl
*) ptr
;
7570 dest
= (wxSpinButton
*) src
;
7571 return (void *) dest
;
7574 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
7577 src
= (wxSpinCtrl
*) ptr
;
7578 dest
= (wxControl
*) src
;
7579 return (void *) dest
;
7582 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
7585 src
= (wxSpinCtrl
*) ptr
;
7586 dest
= (wxWindow
*) src
;
7587 return (void *) dest
;
7590 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
7593 src
= (wxSpinCtrl
*) ptr
;
7594 dest
= (wxEvtHandler
*) src
;
7595 return (void *) dest
;
7598 #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))
7599 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
* _resultobj
;
7601 wxSpinCtrl
* _result
;
7603 wxWindowID _arg1
= (wxWindowID
) -1;
7604 char * _arg2
= (char *) "";
7605 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7606 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7607 long _arg5
= (long ) wxSP_ARROW_KEYS
;
7608 int _arg6
= (int ) 0;
7609 int _arg7
= (int ) 100;
7610 int _arg8
= (int ) 0;
7611 char * _arg9
= (char *) "wxSpinCtrl";
7612 PyObject
* _argo0
= 0;
7614 PyObject
* _obj3
= 0;
7616 PyObject
* _obj4
= 0;
7617 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
7633 if (! wxPoint_helper(_obj3
, &_arg3
))
7639 if (! wxSize_helper(_obj4
, &_arg4
))
7643 wxPy_BEGIN_ALLOW_THREADS
;
7644 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7646 wxPy_END_ALLOW_THREADS
;
7648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
7649 _resultobj
= Py_BuildValue("s",_ptemp
);
7652 _resultobj
= Py_None
;
7657 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
7658 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
* _resultobj
;
7662 PyObject
* _argo0
= 0;
7663 char *_kwnames
[] = { "self", NULL
};
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
7669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
7676 wxPy_BEGIN_ALLOW_THREADS
;
7677 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
7679 wxPy_END_ALLOW_THREADS
;
7680 } _resultobj
= Py_BuildValue("i",_result
);
7684 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
7685 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
* _resultobj
;
7689 PyObject
* _argo0
= 0;
7690 char *_kwnames
[] = { "self", NULL
};
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
7696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
7703 wxPy_BEGIN_ALLOW_THREADS
;
7704 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
7706 wxPy_END_ALLOW_THREADS
;
7707 } _resultobj
= Py_BuildValue("i",_result
);
7711 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7712 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
* _resultobj
;
7716 PyObject
* _argo0
= 0;
7717 char *_kwnames
[] = { "self", NULL
};
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
7723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
7730 wxPy_BEGIN_ALLOW_THREADS
;
7731 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
7733 wxPy_END_ALLOW_THREADS
;
7734 } _resultobj
= Py_BuildValue("i",_result
);
7738 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7739 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7744 PyObject
* _argo0
= 0;
7745 char *_kwnames
[] = { "self","min","max", NULL
};
7748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
7758 wxPy_BEGIN_ALLOW_THREADS
;
7759 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
7761 wxPy_END_ALLOW_THREADS
;
7762 } Py_INCREF(Py_None
);
7763 _resultobj
= Py_None
;
7767 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7768 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
* _resultobj
;
7772 PyObject
* _argo0
= 0;
7773 char *_kwnames
[] = { "self","value", NULL
};
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
7779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
7786 wxPy_BEGIN_ALLOW_THREADS
;
7787 wxSpinCtrl_SetValue(_arg0
,_arg1
);
7789 wxPy_END_ALLOW_THREADS
;
7790 } Py_INCREF(Py_None
);
7791 _resultobj
= Py_None
;
7795 static PyMethodDef controlscMethods
[] = {
7796 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7797 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7798 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
7996 * This table is used by the pointer type-checker
7998 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7999 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8000 { "_wxEvent","_class_wxEvent",0},
8001 { "_class_wxActivateEvent","_wxActivateEvent",0},
8002 { "_signed_long","_long",0},
8003 { "_wxMenuEvent","_class_wxMenuEvent",0},
8004 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8005 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8006 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8007 { "_wxPrintQuality","_wxCoord",0},
8008 { "_wxPrintQuality","_int",0},
8009 { "_wxPrintQuality","_signed_int",0},
8010 { "_wxPrintQuality","_unsigned_int",0},
8011 { "_wxPrintQuality","_wxWindowID",0},
8012 { "_wxPrintQuality","_uint",0},
8013 { "_wxPrintQuality","_EBool",0},
8014 { "_wxPrintQuality","_size_t",0},
8015 { "_wxPrintQuality","_time_t",0},
8016 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8017 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8018 { "_class_wxRegionIterator","_wxRegionIterator",0},
8019 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8020 { "_class_wxMenuBar","_wxMenuBar",0},
8021 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8022 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8023 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8024 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8025 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8026 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8027 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8028 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8029 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8030 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8031 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8032 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8033 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8034 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8035 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8036 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8037 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8038 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8039 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8040 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8041 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8042 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8043 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8044 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8045 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8046 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8047 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8048 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8049 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8050 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8051 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8052 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8053 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8054 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8055 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8056 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8057 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8058 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8059 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8060 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8061 { "_class_wxEvtHandler","_wxEvtHandler",0},
8062 { "_wxPaintEvent","_class_wxPaintEvent",0},
8063 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8064 { "_wxCursor","_class_wxCursor",0},
8065 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8066 { "_wxMask","_class_wxMask",0},
8067 { "_wxPen","_class_wxPen",0},
8068 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8069 { "_byte","_unsigned_char",0},
8070 { "_wxDataObject","_class_wxDataObject",0},
8071 { "_wxStaticBox","_class_wxStaticBox",0},
8072 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8073 { "_wxPyDropSource","_class_wxPyDropSource",0},
8074 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8075 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8076 { "_wxChoice","_class_wxChoice",0},
8077 { "_wxSlider","_class_wxSlider",0},
8078 { "_long","_unsigned_long",0},
8079 { "_long","_signed_long",0},
8080 { "_wxImageList","_class_wxImageList",0},
8081 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8082 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8083 { "_wxBitmapButton","_class_wxBitmapButton",0},
8084 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8085 { "_class_wxClipboard","_wxClipboard",0},
8086 { "_class_wxGauge","_wxGauge",0},
8087 { "_wxDC","_class_wxDC",0},
8088 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8089 { "_wxSpinEvent","_class_wxSpinEvent",0},
8090 { "_size_t","_wxCoord",0},
8091 { "_size_t","_wxPrintQuality",0},
8092 { "_size_t","_time_t",0},
8093 { "_size_t","_unsigned_int",0},
8094 { "_size_t","_int",0},
8095 { "_size_t","_wxWindowID",0},
8096 { "_size_t","_uint",0},
8097 { "_class_wxRealPoint","_wxRealPoint",0},
8098 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8099 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8100 { "_class_wxMenuItem","_wxMenuItem",0},
8101 { "_class_wxPaintEvent","_wxPaintEvent",0},
8102 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8103 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
8104 { "_wxPanel","_class_wxPanel",0},
8105 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8106 { "_wxCheckBox","_class_wxCheckBox",0},
8107 { "_wxPyEvent","_class_wxPyEvent",0},
8108 { "_wxTextCtrl","_class_wxTextCtrl",0},
8109 { "_class_wxMask","_wxMask",0},
8110 { "_wxTextDataObject","_class_wxTextDataObject",0},
8111 { "_class_wxKeyEvent","_wxKeyEvent",0},
8112 { "_wxColour","_class_wxColour",0},
8113 { "_class_wxDialog","_wxDialog",0},
8114 { "_class_wxFileDataObject","_wxFileDataObject",0},
8115 { "_wxIdleEvent","_class_wxIdleEvent",0},
8116 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8117 { "_class_wxDataObject","_wxDataObject",0},
8118 { "_wxStaticLine","_class_wxStaticLine",0},
8119 { "_wxBrush","_class_wxBrush",0},
8120 { "_wxDataFormat","_class_wxDataFormat",0},
8121 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8122 { "_wxShowEvent","_class_wxShowEvent",0},
8123 { "_uint","_wxCoord",0},
8124 { "_uint","_wxPrintQuality",0},
8125 { "_uint","_time_t",0},
8126 { "_uint","_size_t",0},
8127 { "_uint","_unsigned_int",0},
8128 { "_uint","_int",0},
8129 { "_uint","_wxWindowID",0},
8130 { "_wxChar","_char",0},
8131 { "_wxPyValidator","_class_wxPyValidator",0},
8132 { "_class_wxEvent","_wxEvent",0},
8133 { "_wxCheckListBox","_class_wxCheckListBox",0},
8134 { "_wxRect","_class_wxRect",0},
8135 { "_wxCommandEvent","_class_wxCommandEvent",0},
8136 { "_wxSizeEvent","_class_wxSizeEvent",0},
8137 { "_wxPoint","_class_wxPoint",0},
8138 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8139 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8140 { "_class_wxButton","_wxButton",0},
8141 { "_wxRadioBox","_class_wxRadioBox",0},
8142 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8143 { "_char","_wxChar",0},
8144 { "_wxBitmap","_class_wxBitmap",0},
8145 { "_wxWindowDC","_class_wxWindowDC",0},
8146 { "_wxTimerEvent","_class_wxTimerEvent",0},
8147 { "_wxScrollBar","_class_wxScrollBar",0},
8148 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8149 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8150 { "_wxSpinButton","_class_wxSpinButton",0},
8151 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8152 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8153 { "_class_wxValidator","_wxValidator",0},
8154 { "_class_wxPyEvent","_wxPyEvent",0},
8155 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8156 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8157 { "_wxDropTarget","_class_wxDropTarget",0},
8158 { "_class_wxStaticLine","_wxStaticLine",0},
8159 { "_wxScrollEvent","_class_wxScrollEvent",0},
8160 { "_EBool","_wxCoord",0},
8161 { "_EBool","_wxPrintQuality",0},
8162 { "_EBool","_signed_int",0},
8163 { "_EBool","_int",0},
8164 { "_EBool","_wxWindowID",0},
8165 { "_class_wxRegion","_wxRegion",0},
8166 { "_class_wxDataFormat","_wxDataFormat",0},
8167 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8168 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8169 { "_wxStaticText","_class_wxStaticText",0},
8170 { "_wxFont","_class_wxFont",0},
8171 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8172 { "_wxCloseEvent","_class_wxCloseEvent",0},
8173 { "_unsigned_long","_long",0},
8174 { "_class_wxRect","_wxRect",0},
8175 { "_class_wxDC","_wxDC",0},
8176 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8177 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8178 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8179 { "_wxFocusEvent","_class_wxFocusEvent",0},
8180 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8181 { "_class_wxTimerEvent","_wxTimerEvent",0},
8182 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8183 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8184 { "_class_wxSpinButton","_wxSpinButton",0},
8185 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8186 { "_class_wxPanel","_wxPanel",0},
8187 { "_class_wxCheckBox","_wxCheckBox",0},
8188 { "_wxComboBox","_class_wxComboBox",0},
8189 { "_wxRadioButton","_class_wxRadioButton",0},
8190 { "_signed_int","_wxCoord",0},
8191 { "_signed_int","_wxPrintQuality",0},
8192 { "_signed_int","_EBool",0},
8193 { "_signed_int","_wxWindowID",0},
8194 { "_signed_int","_int",0},
8195 { "_class_wxTextCtrl","_wxTextCtrl",0},
8196 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8197 { "_class_wxTextDataObject","_wxTextDataObject",0},
8198 { "_wxMenu","_class_wxMenu",0},
8199 { "_class_wxMoveEvent","_wxMoveEvent",0},
8200 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8201 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8202 { "_wxListBox","_class_wxListBox",0},
8203 { "_wxScreenDC","_class_wxScreenDC",0},
8204 { "_WXTYPE","_short",0},
8205 { "_WXTYPE","_signed_short",0},
8206 { "_WXTYPE","_unsigned_short",0},
8207 { "_class_wxDropTarget","_wxDropTarget",0},
8208 { "_class_wxBrush","_wxBrush",0},
8209 { "_unsigned_short","_WXTYPE",0},
8210 { "_unsigned_short","_short",0},
8211 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8212 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8213 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8214 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8215 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8216 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8217 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8218 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8219 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8220 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8221 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8222 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8223 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8224 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8225 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8226 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8227 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8228 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8229 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8230 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8231 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8232 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8233 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8234 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8235 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8236 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8237 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8238 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8239 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8240 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8241 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8242 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8243 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8244 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8245 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8246 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8247 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8248 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8249 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8250 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8251 { "_class_wxWindow","_wxWindow",0},
8252 { "_class_wxStaticText","_wxStaticText",0},
8253 { "_class_wxFont","_wxFont",0},
8254 { "_wxClipboard","_class_wxClipboard",0},
8255 { "_class_wxPyValidator","_wxPyValidator",0},
8256 { "_class_wxCloseEvent","_wxCloseEvent",0},
8257 { "_wxBusyInfo","_class_wxBusyInfo",0},
8258 { "_class_wxMenuEvent","_wxMenuEvent",0},
8259 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8260 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8261 { "_wxClientDC","_class_wxClientDC",0},
8262 { "_wxMouseEvent","_class_wxMouseEvent",0},
8263 { "_class_wxPoint","_wxPoint",0},
8264 { "_wxRealPoint","_class_wxRealPoint",0},
8265 { "_class_wxRadioBox","_wxRadioBox",0},
8266 { "_signed_short","_WXTYPE",0},
8267 { "_signed_short","_short",0},
8268 { "_wxMemoryDC","_class_wxMemoryDC",0},
8269 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8270 { "_wxPaintDC","_class_wxPaintDC",0},
8271 { "_class_wxWindowDC","_wxWindowDC",0},
8272 { "_class_wxFocusEvent","_wxFocusEvent",0},
8273 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8274 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8275 { "_class_wxCursor","_wxCursor",0},
8276 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
8277 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8278 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8279 { "_unsigned_char","_byte",0},
8280 { "_class_wxMenu","_wxMenu",0},
8281 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8282 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8283 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8284 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8285 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8286 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8287 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8288 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8289 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8290 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8291 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8292 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8293 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8294 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8295 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8296 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8297 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8298 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8299 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8300 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8301 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8302 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8303 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8304 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8305 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8306 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8307 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8308 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8309 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8310 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8311 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8312 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8313 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8314 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8315 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8316 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8317 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8318 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
8319 { "_wxControl","_class_wxControl",0},
8320 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8321 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8322 { "_class_wxListBox","_wxListBox",0},
8323 { "_unsigned_int","_wxCoord",0},
8324 { "_unsigned_int","_wxPrintQuality",0},
8325 { "_unsigned_int","_time_t",0},
8326 { "_unsigned_int","_size_t",0},
8327 { "_unsigned_int","_uint",0},
8328 { "_unsigned_int","_wxWindowID",0},
8329 { "_unsigned_int","_int",0},
8330 { "_wxIcon","_class_wxIcon",0},
8331 { "_wxDialog","_class_wxDialog",0},
8332 { "_class_wxPen","_wxPen",0},
8333 { "_short","_WXTYPE",0},
8334 { "_short","_unsigned_short",0},
8335 { "_short","_signed_short",0},
8336 { "_class_wxStaticBox","_wxStaticBox",0},
8337 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8338 { "_class_wxPyDropSource","_wxPyDropSource",0},
8339 { "_class_wxScrollEvent","_wxScrollEvent",0},
8340 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8341 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8342 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8343 { "_class_wxChoice","_wxChoice",0},
8344 { "_class_wxSlider","_wxSlider",0},
8345 { "_class_wxImageList","_wxImageList",0},
8346 { "_class_wxBitmapButton","_wxBitmapButton",0},
8347 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8348 { "_wxWindowID","_wxCoord",0},
8349 { "_wxWindowID","_wxPrintQuality",0},
8350 { "_wxWindowID","_time_t",0},
8351 { "_wxWindowID","_size_t",0},
8352 { "_wxWindowID","_EBool",0},
8353 { "_wxWindowID","_uint",0},
8354 { "_wxWindowID","_int",0},
8355 { "_wxWindowID","_signed_int",0},
8356 { "_wxWindowID","_unsigned_int",0},
8357 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8358 { "_int","_wxCoord",0},
8359 { "_int","_wxPrintQuality",0},
8360 { "_int","_time_t",0},
8361 { "_int","_size_t",0},
8362 { "_int","_EBool",0},
8363 { "_int","_uint",0},
8364 { "_int","_wxWindowID",0},
8365 { "_int","_unsigned_int",0},
8366 { "_int","_signed_int",0},
8367 { "_class_wxMouseEvent","_wxMouseEvent",0},
8368 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8369 { "_class_wxSpinEvent","_wxSpinEvent",0},
8370 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8371 { "_time_t","_wxCoord",0},
8372 { "_time_t","_wxPrintQuality",0},
8373 { "_time_t","_unsigned_int",0},
8374 { "_time_t","_int",0},
8375 { "_time_t","_wxWindowID",0},
8376 { "_time_t","_uint",0},
8377 { "_time_t","_size_t",0},
8378 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8379 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8380 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8381 { "_wxButton","_class_wxButton",0},
8382 { "_wxSize","_class_wxSize",0},
8383 { "_wxRegionIterator","_class_wxRegionIterator",0},
8384 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8385 { "_class_wxPaintDC","_wxPaintDC",0},
8386 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8387 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8388 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8389 { "_class_wxComboBox","_wxComboBox",0},
8390 { "_class_wxRadioButton","_wxRadioButton",0},
8391 { "_wxValidator","_class_wxValidator",0},
8392 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8393 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8394 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8395 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8396 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8397 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8398 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8399 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8400 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8401 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8402 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8403 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8404 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8405 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8406 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8407 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8408 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8409 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8410 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8411 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8412 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8413 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8414 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8415 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8416 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8417 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8418 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8419 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8420 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8421 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8422 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8423 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8424 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8425 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8426 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8427 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8428 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8429 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8430 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8431 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
8432 { "_class_wxControl","_wxControl",0},
8433 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8434 { "_class_wxIcon","_wxIcon",0},
8435 { "_class_wxColour","_wxColour",0},
8436 { "_class_wxScreenDC","_wxScreenDC",0},
8437 { "_wxPalette","_class_wxPalette",0},
8438 { "_class_wxIdleEvent","_wxIdleEvent",0},
8439 { "_wxCoord","_int",0},
8440 { "_wxCoord","_signed_int",0},
8441 { "_wxCoord","_unsigned_int",0},
8442 { "_wxCoord","_wxWindowID",0},
8443 { "_wxCoord","_uint",0},
8444 { "_wxCoord","_EBool",0},
8445 { "_wxCoord","_size_t",0},
8446 { "_wxCoord","_time_t",0},
8447 { "_wxCoord","_wxPrintQuality",0},
8448 { "_wxEraseEvent","_class_wxEraseEvent",0},
8449 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8450 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8451 { "_wxRegion","_class_wxRegion",0},
8452 { "_class_wxShowEvent","_wxShowEvent",0},
8453 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8454 { "_wxActivateEvent","_class_wxActivateEvent",0},
8455 { "_wxGauge","_class_wxGauge",0},
8456 { "_class_wxCheckListBox","_wxCheckListBox",0},
8457 { "_class_wxBusyInfo","_wxBusyInfo",0},
8458 { "_class_wxCommandEvent","_wxCommandEvent",0},
8459 { "_class_wxClientDC","_wxClientDC",0},
8460 { "_class_wxSizeEvent","_wxSizeEvent",0},
8461 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8462 { "_class_wxSize","_wxSize",0},
8463 { "_class_wxBitmap","_wxBitmap",0},
8464 { "_class_wxMemoryDC","_wxMemoryDC",0},
8465 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8466 { "_wxMenuBar","_class_wxMenuBar",0},
8467 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8468 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8469 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8470 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8471 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8472 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8473 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8474 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8475 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8476 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8477 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8478 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8479 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8480 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8481 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8482 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8483 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8484 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8485 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8486 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8487 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8488 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8489 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8490 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8491 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8492 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8493 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8494 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8495 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8496 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8497 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8498 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8499 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8500 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8501 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8502 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8503 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8504 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8505 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8506 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8507 { "_wxEvtHandler","_class_wxEvtHandler",0},
8508 { "_wxMenuItem","_class_wxMenuItem",0},
8509 { "_class_wxScrollBar","_wxScrollBar",0},
8510 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8511 { "_wxKeyEvent","_class_wxKeyEvent",0},
8512 { "_wxMoveEvent","_class_wxMoveEvent",0},
8513 { "_class_wxPalette","_wxPalette",0},
8514 { "_wxFileDataObject","_class_wxFileDataObject",0},
8515 { "_class_wxEraseEvent","_wxEraseEvent",0},
8516 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8517 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8518 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8519 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8520 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8521 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8522 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8523 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8524 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8525 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8526 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8527 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8528 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8529 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8530 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8531 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8532 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8533 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8534 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8535 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8536 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8537 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8538 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8539 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8540 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8541 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8542 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8543 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8544 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8545 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8546 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8547 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8548 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8549 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8550 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8551 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8552 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8553 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8554 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8555 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8556 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8557 { "_wxWindow","_class_wxWindow",0},
8558 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8561 static PyObject
*SWIG_globals
;
8565 SWIGEXPORT(void) initcontrolsc() {
8567 SWIG_globals
= SWIG_newvarlink();
8568 m
= Py_InitModule("controlsc", controlscMethods
);
8569 d
= PyModule_GetDict(m
);
8570 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8571 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
8574 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8575 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);