2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 //#include <wx/toggbutt.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyList_Check(target
)) {
87 target
= PyList_New(0);
88 PyList_Append(target
, o2
);
91 PyList_Append(target
,o
);
97 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
103 } else if (target
== Py_None
) {
107 if (!PyTuple_Check(target
)) {
109 target
= PyTuple_New(1);
110 PyTuple_SetItem(target
, 0, o2
);
113 PyTuple_SetItem(o3
, 0, o
);
116 target
= PySequence_Concat(o2
, o3
);
123 static char* wxStringErrorMsg
= "string type is required for parameter";
125 wxSize
wxButton_GetDefaultSize() {
126 return wxButton::GetDefaultSize();
131 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
133 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
137 static PyObject
*_wrap_wxDefaultValidator_get() {
141 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
142 pyobj
= PyString_FromString(ptemp
);
146 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
147 PyObject
* _resultobj
;
149 char *_kwnames
[] = { NULL
};
153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
156 wxPy_BEGIN_ALLOW_THREADS
;
157 _result
= new wxSize (wxButton_GetDefaultSize());
159 wxPy_END_ALLOW_THREADS
;
160 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
161 _resultobj
= Py_BuildValue("s",_ptemp
);
165 static void *SwigwxControlTowxWindow(void *ptr
) {
168 src
= (wxControl
*) ptr
;
169 dest
= (wxWindow
*) src
;
170 return (void *) dest
;
173 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
176 src
= (wxControl
*) ptr
;
177 dest
= (wxEvtHandler
*) src
;
178 return (void *) dest
;
181 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
182 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
183 PyObject
* _resultobj
;
187 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
188 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
189 long _arg4
= (long ) 0;
190 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
191 char * _arg6
= (char *) "control";
192 PyObject
* _argo0
= 0;
194 PyObject
* _obj2
= 0;
196 PyObject
* _obj3
= 0;
197 PyObject
* _argo5
= 0;
198 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
214 if (! wxPoint_helper(_obj2
, &_arg2
))
220 if (! wxSize_helper(_obj3
, &_arg3
))
224 if (_argo5
== Py_None
) { _arg5
= NULL
; }
225 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
231 wxPy_BEGIN_ALLOW_THREADS
;
232 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
234 wxPy_END_ALLOW_THREADS
;
236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
237 _resultobj
= Py_BuildValue("s",_ptemp
);
240 _resultobj
= Py_None
;
245 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
246 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
249 wxCommandEvent
* _arg1
;
250 PyObject
* _argo0
= 0;
251 PyObject
* _argo1
= 0;
252 char *_kwnames
[] = { "self","event", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
272 wxPy_BEGIN_ALLOW_THREADS
;
273 wxControl_Command(_arg0
,*_arg1
);
275 wxPy_END_ALLOW_THREADS
;
276 } Py_INCREF(Py_None
);
277 _resultobj
= Py_None
;
281 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
282 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
283 PyObject
* _resultobj
;
286 PyObject
* _argo0
= 0;
287 char *_kwnames
[] = { "self", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
300 wxPy_BEGIN_ALLOW_THREADS
;
301 _result
= new wxString (wxControl_GetLabel(_arg0
));
303 wxPy_END_ALLOW_THREADS
;
305 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
313 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
314 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
315 PyObject
* _resultobj
;
318 PyObject
* _argo0
= 0;
319 PyObject
* _obj1
= 0;
320 char *_kwnames
[] = { "self","label", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
333 #if PYTHON_API_VERSION >= 1009
334 char* tmpPtr
; int tmpSize
;
335 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
336 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
339 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
341 _arg1
= new wxString(tmpPtr
, tmpSize
);
343 if (!PyString_Check(_obj1
)) {
344 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
347 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
351 wxPy_BEGIN_ALLOW_THREADS
;
352 wxControl_SetLabel(_arg0
,*_arg1
);
354 wxPy_END_ALLOW_THREADS
;
355 } Py_INCREF(Py_None
);
356 _resultobj
= Py_None
;
364 static void *SwigwxButtonTowxControl(void *ptr
) {
367 src
= (wxButton
*) ptr
;
368 dest
= (wxControl
*) src
;
369 return (void *) dest
;
372 static void *SwigwxButtonTowxWindow(void *ptr
) {
375 src
= (wxButton
*) ptr
;
376 dest
= (wxWindow
*) src
;
377 return (void *) dest
;
380 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
383 src
= (wxButton
*) ptr
;
384 dest
= (wxEvtHandler
*) src
;
385 return (void *) dest
;
388 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
389 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
390 PyObject
* _resultobj
;
395 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
396 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
397 long _arg5
= (long ) 0;
398 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
399 char * _arg7
= (char *) "button";
400 PyObject
* _argo0
= 0;
401 PyObject
* _obj2
= 0;
403 PyObject
* _obj3
= 0;
405 PyObject
* _obj4
= 0;
406 PyObject
* _argo6
= 0;
407 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
421 #if PYTHON_API_VERSION >= 1009
422 char* tmpPtr
; int tmpSize
;
423 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
424 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
427 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
429 _arg2
= new wxString(tmpPtr
, tmpSize
);
431 if (!PyString_Check(_obj2
)) {
432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
435 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
441 if (! wxPoint_helper(_obj3
, &_arg3
))
447 if (! wxSize_helper(_obj4
, &_arg4
))
451 if (_argo6
== Py_None
) { _arg6
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
458 wxPy_BEGIN_ALLOW_THREADS
;
459 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
461 wxPy_END_ALLOW_THREADS
;
463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
464 _resultobj
= Py_BuildValue("s",_ptemp
);
467 _resultobj
= Py_None
;
476 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
477 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 PyObject
* _argo0
= 0;
481 char *_kwnames
[] = { "self", NULL
};
484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
494 wxPy_BEGIN_ALLOW_THREADS
;
495 wxButton_SetDefault(_arg0
);
497 wxPy_END_ALLOW_THREADS
;
498 } Py_INCREF(Py_None
);
499 _resultobj
= Py_None
;
503 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
504 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
505 PyObject
* _resultobj
;
508 PyObject
* _argo0
= 0;
510 PyObject
* _obj1
= 0;
511 char *_kwnames
[] = { "self","colour", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
525 if (! wxColour_helper(_obj1
, &_arg1
))
529 wxPy_BEGIN_ALLOW_THREADS
;
530 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
532 wxPy_END_ALLOW_THREADS
;
533 } Py_INCREF(Py_None
);
534 _resultobj
= Py_None
;
538 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
539 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
543 PyObject
* _argo0
= 0;
545 PyObject
* _obj1
= 0;
546 char *_kwnames
[] = { "self","colour", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
560 if (! wxColour_helper(_obj1
, &_arg1
))
564 wxPy_BEGIN_ALLOW_THREADS
;
565 wxButton_SetForegroundColour(_arg0
,*_arg1
);
567 wxPy_END_ALLOW_THREADS
;
568 } Py_INCREF(Py_None
);
569 _resultobj
= Py_None
;
573 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
576 src
= (wxBitmapButton
*) ptr
;
577 dest
= (wxButton
*) src
;
578 return (void *) dest
;
581 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
584 src
= (wxBitmapButton
*) ptr
;
585 dest
= (wxControl
*) src
;
586 return (void *) dest
;
589 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
592 src
= (wxBitmapButton
*) ptr
;
593 dest
= (wxWindow
*) src
;
594 return (void *) dest
;
597 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
600 src
= (wxBitmapButton
*) ptr
;
601 dest
= (wxEvtHandler
*) src
;
602 return (void *) dest
;
605 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
606 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
607 PyObject
* _resultobj
;
608 wxBitmapButton
* _result
;
612 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
613 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
614 long _arg5
= (long ) wxBU_AUTODRAW
;
615 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
616 char * _arg7
= (char *) "button";
617 PyObject
* _argo0
= 0;
618 PyObject
* _argo2
= 0;
620 PyObject
* _obj3
= 0;
622 PyObject
* _obj4
= 0;
623 PyObject
* _argo6
= 0;
624 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
638 if (_argo2
== Py_None
) { _arg2
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
647 if (! wxPoint_helper(_obj3
, &_arg3
))
653 if (! wxSize_helper(_obj4
, &_arg4
))
657 if (_argo6
== Py_None
) { _arg6
= NULL
; }
658 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
664 wxPy_BEGIN_ALLOW_THREADS
;
665 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
667 wxPy_END_ALLOW_THREADS
;
669 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
670 _resultobj
= Py_BuildValue("s",_ptemp
);
673 _resultobj
= Py_None
;
678 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
679 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
682 wxBitmapButton
* _arg0
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
698 wxPy_BEGIN_ALLOW_THREADS
;
699 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
700 _result
= (wxBitmap
*) &_result_ref
;
702 wxPy_END_ALLOW_THREADS
;
704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
705 _resultobj
= Py_BuildValue("s",_ptemp
);
708 _resultobj
= Py_None
;
713 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
714 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
715 PyObject
* _resultobj
;
717 wxBitmapButton
* _arg0
;
718 PyObject
* _argo0
= 0;
719 char *_kwnames
[] = { "self", NULL
};
723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
733 wxPy_BEGIN_ALLOW_THREADS
;
734 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
735 _result
= (wxBitmap
*) &_result_ref
;
737 wxPy_END_ALLOW_THREADS
;
739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
740 _resultobj
= Py_BuildValue("s",_ptemp
);
743 _resultobj
= Py_None
;
748 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
749 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
752 wxBitmapButton
* _arg0
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self", NULL
};
758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
768 wxPy_BEGIN_ALLOW_THREADS
;
769 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
770 _result
= (wxBitmap
*) &_result_ref
;
772 wxPy_END_ALLOW_THREADS
;
774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
775 _resultobj
= Py_BuildValue("s",_ptemp
);
778 _resultobj
= Py_None
;
783 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
784 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 wxBitmapButton
* _arg0
;
788 PyObject
* _argo0
= 0;
789 char *_kwnames
[] = { "self", NULL
};
793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
803 wxPy_BEGIN_ALLOW_THREADS
;
804 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
805 _result
= (wxBitmap
*) &_result_ref
;
807 wxPy_END_ALLOW_THREADS
;
809 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
810 _resultobj
= Py_BuildValue("s",_ptemp
);
813 _resultobj
= Py_None
;
818 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
819 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
821 wxBitmapButton
* _arg0
;
823 PyObject
* _argo0
= 0;
824 PyObject
* _argo1
= 0;
825 char *_kwnames
[] = { "self","bitmap", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
845 wxPy_BEGIN_ALLOW_THREADS
;
846 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
848 wxPy_END_ALLOW_THREADS
;
849 } Py_INCREF(Py_None
);
850 _resultobj
= Py_None
;
854 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
855 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
856 PyObject
* _resultobj
;
857 wxBitmapButton
* _arg0
;
859 PyObject
* _argo0
= 0;
860 PyObject
* _argo1
= 0;
861 char *_kwnames
[] = { "self","bitmap", NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
881 wxPy_BEGIN_ALLOW_THREADS
;
882 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
884 wxPy_END_ALLOW_THREADS
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
891 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
893 wxBitmapButton
* _arg0
;
895 PyObject
* _argo0
= 0;
896 PyObject
* _argo1
= 0;
897 char *_kwnames
[] = { "self","bitmap", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
910 if (_argo1
== Py_None
) { _arg1
= NULL
; }
911 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
917 wxPy_BEGIN_ALLOW_THREADS
;
918 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
920 wxPy_END_ALLOW_THREADS
;
921 } Py_INCREF(Py_None
);
922 _resultobj
= Py_None
;
926 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
927 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
929 wxBitmapButton
* _arg0
;
931 PyObject
* _argo0
= 0;
932 PyObject
* _argo1
= 0;
933 char *_kwnames
[] = { "self","bitmap", NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
953 wxPy_BEGIN_ALLOW_THREADS
;
954 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
956 wxPy_END_ALLOW_THREADS
;
957 } Py_INCREF(Py_None
);
958 _resultobj
= Py_None
;
962 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
963 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
964 PyObject
* _resultobj
;
965 wxBitmapButton
* _arg0
;
968 PyObject
* _argo0
= 0;
969 char *_kwnames
[] = { "self","x","y", NULL
};
972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
982 wxPy_BEGIN_ALLOW_THREADS
;
983 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
985 wxPy_END_ALLOW_THREADS
;
986 } Py_INCREF(Py_None
);
987 _resultobj
= Py_None
;
991 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
992 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
993 PyObject
* _resultobj
;
995 wxBitmapButton
* _arg0
;
996 PyObject
* _argo0
= 0;
997 char *_kwnames
[] = { "self", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1013 wxPy_END_ALLOW_THREADS
;
1014 } _resultobj
= Py_BuildValue("i",_result
);
1018 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1019 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1020 PyObject
* _resultobj
;
1022 wxBitmapButton
* _arg0
;
1023 PyObject
* _argo0
= 0;
1024 char *_kwnames
[] = { "self", NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1037 wxPy_BEGIN_ALLOW_THREADS
;
1038 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1040 wxPy_END_ALLOW_THREADS
;
1041 } _resultobj
= Py_BuildValue("i",_result
);
1045 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1048 src
= (wxCheckBox
*) ptr
;
1049 dest
= (wxControl
*) src
;
1050 return (void *) dest
;
1053 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1056 src
= (wxCheckBox
*) ptr
;
1057 dest
= (wxWindow
*) src
;
1058 return (void *) dest
;
1061 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1064 src
= (wxCheckBox
*) ptr
;
1065 dest
= (wxEvtHandler
*) src
;
1066 return (void *) dest
;
1069 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1070 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1071 PyObject
* _resultobj
;
1072 wxCheckBox
* _result
;
1076 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1077 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1078 long _arg5
= (long ) 0;
1079 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1080 char * _arg7
= (char *) "checkBox";
1081 PyObject
* _argo0
= 0;
1082 PyObject
* _obj2
= 0;
1084 PyObject
* _obj3
= 0;
1086 PyObject
* _obj4
= 0;
1087 PyObject
* _argo6
= 0;
1088 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1102 #if PYTHON_API_VERSION >= 1009
1103 char* tmpPtr
; int tmpSize
;
1104 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1105 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1108 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1110 _arg2
= new wxString(tmpPtr
, tmpSize
);
1112 if (!PyString_Check(_obj2
)) {
1113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1116 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1122 if (! wxPoint_helper(_obj3
, &_arg3
))
1128 if (! wxSize_helper(_obj4
, &_arg4
))
1132 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1133 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1139 wxPy_BEGIN_ALLOW_THREADS
;
1140 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1142 wxPy_END_ALLOW_THREADS
;
1144 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1145 _resultobj
= Py_BuildValue("s",_ptemp
);
1148 _resultobj
= Py_None
;
1157 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1158 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1159 PyObject
* _resultobj
;
1162 PyObject
* _argo0
= 0;
1163 char *_kwnames
[] = { "self", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1176 wxPy_BEGIN_ALLOW_THREADS
;
1177 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1179 wxPy_END_ALLOW_THREADS
;
1180 } _resultobj
= Py_BuildValue("i",_result
);
1184 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1185 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1189 PyObject
* _argo0
= 0;
1191 char *_kwnames
[] = { "self","state", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1203 _arg1
= (bool ) tempbool1
;
1205 wxPy_BEGIN_ALLOW_THREADS
;
1206 wxCheckBox_SetValue(_arg0
,_arg1
);
1208 wxPy_END_ALLOW_THREADS
;
1209 } Py_INCREF(Py_None
);
1210 _resultobj
= Py_None
;
1214 static void *SwigwxChoiceTowxControl(void *ptr
) {
1217 src
= (wxChoice
*) ptr
;
1218 dest
= (wxControl
*) src
;
1219 return (void *) dest
;
1222 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1225 src
= (wxChoice
*) ptr
;
1226 dest
= (wxWindow
*) src
;
1227 return (void *) dest
;
1230 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1233 src
= (wxChoice
*) ptr
;
1234 dest
= (wxEvtHandler
*) src
;
1235 return (void *) dest
;
1238 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1239 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1240 PyObject
* _resultobj
;
1244 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1245 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1246 int _arg4
= (int ) 0;
1247 wxString
* _arg5
= (wxString
*) NULL
;
1248 long _arg6
= (long ) 0;
1249 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1250 char * _arg8
= (char *) "choice";
1251 PyObject
* _argo0
= 0;
1253 PyObject
* _obj2
= 0;
1255 PyObject
* _obj3
= 0;
1256 PyObject
* _obj5
= 0;
1257 PyObject
* _argo7
= 0;
1258 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1274 if (! wxPoint_helper(_obj2
, &_arg2
))
1280 if (! wxSize_helper(_obj3
, &_arg3
))
1285 _arg5
= wxString_LIST_helper(_obj5
);
1286 if (_arg5
== NULL
) {
1291 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1299 _arg4
= PyList_Size(_obj5
);
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1309 wxPy_END_ALLOW_THREADS
;
1311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1312 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 _resultobj
= Py_None
;
1323 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1324 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1328 PyObject
* _argo0
= 0;
1329 PyObject
* _obj1
= 0;
1330 char *_kwnames
[] = { "self","item", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1343 #if PYTHON_API_VERSION >= 1009
1344 char* tmpPtr
; int tmpSize
;
1345 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1346 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1349 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1351 _arg1
= new wxString(tmpPtr
, tmpSize
);
1353 if (!PyString_Check(_obj1
)) {
1354 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1357 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 wxChoice_Append(_arg0
,*_arg1
);
1364 wxPy_END_ALLOW_THREADS
;
1365 } Py_INCREF(Py_None
);
1366 _resultobj
= Py_None
;
1374 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1375 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "self", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 wxChoice_Clear(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1402 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1407 PyObject
* _argo0
= 0;
1408 PyObject
* _obj1
= 0;
1409 char *_kwnames
[] = { "self","string", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1422 #if PYTHON_API_VERSION >= 1009
1423 char* tmpPtr
; int tmpSize
;
1424 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1425 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1428 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1430 _arg1
= new wxString(tmpPtr
, tmpSize
);
1432 if (!PyString_Check(_obj1
)) {
1433 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1436 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1443 wxPy_END_ALLOW_THREADS
;
1444 } _resultobj
= Py_BuildValue("i",_result
);
1452 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1453 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1457 PyObject
* _argo0
= 0;
1458 char *_kwnames
[] = { "self", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
1464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1471 wxPy_BEGIN_ALLOW_THREADS
;
1472 _result
= (int )wxChoice_GetColumns(_arg0
);
1474 wxPy_END_ALLOW_THREADS
;
1475 } _resultobj
= Py_BuildValue("i",_result
);
1479 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1480 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1484 PyObject
* _argo0
= 0;
1485 char *_kwnames
[] = { "self", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
1491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (int )wxChoice_GetSelection(_arg0
);
1501 wxPy_END_ALLOW_THREADS
;
1502 } _resultobj
= Py_BuildValue("i",_result
);
1506 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1507 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1512 PyObject
* _argo0
= 0;
1513 char *_kwnames
[] = { "self","n", NULL
};
1516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
1519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1526 wxPy_BEGIN_ALLOW_THREADS
;
1527 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1529 wxPy_END_ALLOW_THREADS
;
1531 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1539 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1540 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1544 PyObject
* _argo0
= 0;
1545 char *_kwnames
[] = { "self", NULL
};
1548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1558 wxPy_BEGIN_ALLOW_THREADS
;
1559 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1561 wxPy_END_ALLOW_THREADS
;
1563 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1571 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1572 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
* _resultobj
;
1576 PyObject
* _argo0
= 0;
1577 char *_kwnames
[] = { "self", NULL
};
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Number",_kwnames
,&_argo0
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 _result
= (int )wxChoice_Number(_arg0
);
1593 wxPy_END_ALLOW_THREADS
;
1594 } _resultobj
= Py_BuildValue("i",_result
);
1598 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1599 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
* _resultobj
;
1602 int _arg1
= (int ) 1;
1603 PyObject
* _argo0
= 0;
1604 char *_kwnames
[] = { "self","n", NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 wxChoice_SetColumns(_arg0
,_arg1
);
1620 wxPy_END_ALLOW_THREADS
;
1621 } Py_INCREF(Py_None
);
1622 _resultobj
= Py_None
;
1626 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1627 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1631 PyObject
* _argo0
= 0;
1632 char *_kwnames
[] = { "self","n", NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1645 wxPy_BEGIN_ALLOW_THREADS
;
1646 wxChoice_SetSelection(_arg0
,_arg1
);
1648 wxPy_END_ALLOW_THREADS
;
1649 } Py_INCREF(Py_None
);
1650 _resultobj
= Py_None
;
1654 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1655 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
* _resultobj
;
1659 PyObject
* _argo0
= 0;
1660 PyObject
* _obj1
= 0;
1661 char *_kwnames
[] = { "self","string", NULL
};
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1674 #if PYTHON_API_VERSION >= 1009
1675 char* tmpPtr
; int tmpSize
;
1676 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1677 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1680 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1682 _arg1
= new wxString(tmpPtr
, tmpSize
);
1684 if (!PyString_Check(_obj1
)) {
1685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1688 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1692 wxPy_BEGIN_ALLOW_THREADS
;
1693 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1695 wxPy_END_ALLOW_THREADS
;
1696 } Py_INCREF(Py_None
);
1697 _resultobj
= Py_None
;
1705 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1708 src
= (wxComboBox
*) ptr
;
1709 dest
= (wxChoice
*) src
;
1710 return (void *) dest
;
1713 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1716 src
= (wxComboBox
*) ptr
;
1717 dest
= (wxControl
*) src
;
1718 return (void *) dest
;
1721 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1724 src
= (wxComboBox
*) ptr
;
1725 dest
= (wxWindow
*) src
;
1726 return (void *) dest
;
1729 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1732 src
= (wxComboBox
*) ptr
;
1733 dest
= (wxEvtHandler
*) src
;
1734 return (void *) dest
;
1737 #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))
1738 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxComboBox
* _result
;
1743 char * _arg2
= (char *) "";
1744 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1745 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1746 int _arg5
= (int ) 0;
1747 wxString
* _arg6
= (wxString
*) NULL
;
1748 long _arg7
= (long ) 0;
1749 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1750 char * _arg9
= (char *) "comboBox";
1751 PyObject
* _argo0
= 0;
1753 PyObject
* _obj3
= 0;
1755 PyObject
* _obj4
= 0;
1756 PyObject
* _obj6
= 0;
1757 PyObject
* _argo8
= 0;
1758 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
1762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1774 if (! wxPoint_helper(_obj3
, &_arg3
))
1780 if (! wxSize_helper(_obj4
, &_arg4
))
1785 _arg6
= wxString_LIST_helper(_obj6
);
1786 if (_arg6
== NULL
) {
1791 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1799 _arg5
= PyList_Size(_obj6
);
1806 wxPy_BEGIN_ALLOW_THREADS
;
1807 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1809 wxPy_END_ALLOW_THREADS
;
1811 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1812 _resultobj
= Py_BuildValue("s",_ptemp
);
1815 _resultobj
= Py_None
;
1823 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1824 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1828 PyObject
* _argo0
= 0;
1829 PyObject
* _obj1
= 0;
1830 char *_kwnames
[] = { "self","item", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1843 #if PYTHON_API_VERSION >= 1009
1844 char* tmpPtr
; int tmpSize
;
1845 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1846 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1849 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1851 _arg1
= new wxString(tmpPtr
, tmpSize
);
1853 if (!PyString_Check(_obj1
)) {
1854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1857 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 wxComboBox_Append(_arg0
,*_arg1
);
1864 wxPy_END_ALLOW_THREADS
;
1865 } Py_INCREF(Py_None
);
1866 _resultobj
= Py_None
;
1874 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1875 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1878 PyObject
* _argo0
= 0;
1879 char *_kwnames
[] = { "self", NULL
};
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
1885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1892 wxPy_BEGIN_ALLOW_THREADS
;
1893 wxComboBox_Clear(_arg0
);
1895 wxPy_END_ALLOW_THREADS
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1902 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1905 PyObject
* _argo0
= 0;
1906 char *_kwnames
[] = { "self", NULL
};
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
1912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1919 wxPy_BEGIN_ALLOW_THREADS
;
1920 wxComboBox_Copy(_arg0
);
1922 wxPy_END_ALLOW_THREADS
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1928 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1929 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
* _resultobj
;
1932 PyObject
* _argo0
= 0;
1933 char *_kwnames
[] = { "self", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
1939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 wxComboBox_Cut(_arg0
);
1949 wxPy_END_ALLOW_THREADS
;
1950 } Py_INCREF(Py_None
);
1951 _resultobj
= Py_None
;
1955 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1956 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1960 PyObject
* _argo0
= 0;
1961 char *_kwnames
[] = { "self","n", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 wxComboBox_Delete(_arg0
,_arg1
);
1977 wxPy_END_ALLOW_THREADS
;
1978 } Py_INCREF(Py_None
);
1979 _resultobj
= Py_None
;
1983 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1984 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1990 PyObject
* _obj1
= 0;
1991 char *_kwnames
[] = { "self","string", NULL
};
1994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
1997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2004 #if PYTHON_API_VERSION >= 1009
2005 char* tmpPtr
; int tmpSize
;
2006 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2007 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2010 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2012 _arg1
= new wxString(tmpPtr
, tmpSize
);
2014 if (!PyString_Check(_obj1
)) {
2015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2018 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2022 wxPy_BEGIN_ALLOW_THREADS
;
2023 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2025 wxPy_END_ALLOW_THREADS
;
2026 } _resultobj
= Py_BuildValue("i",_result
);
2034 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2035 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
* _resultobj
;
2039 PyObject
* _argo0
= 0;
2040 char *_kwnames
[] = { "self", NULL
};
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2053 wxPy_BEGIN_ALLOW_THREADS
;
2054 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2056 wxPy_END_ALLOW_THREADS
;
2057 } _resultobj
= Py_BuildValue("l",_result
);
2061 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2062 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2083 wxPy_END_ALLOW_THREADS
;
2084 } _resultobj
= Py_BuildValue("l",_result
);
2088 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2089 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
* _resultobj
;
2093 PyObject
* _argo0
= 0;
2094 char *_kwnames
[] = { "self", NULL
};
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2107 wxPy_BEGIN_ALLOW_THREADS
;
2108 _result
= (int )wxComboBox_GetSelection(_arg0
);
2110 wxPy_END_ALLOW_THREADS
;
2111 } _resultobj
= Py_BuildValue("i",_result
);
2115 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2116 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2117 PyObject
* _resultobj
;
2121 PyObject
* _argo0
= 0;
2122 char *_kwnames
[] = { "self","n", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
2128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2135 wxPy_BEGIN_ALLOW_THREADS
;
2136 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2138 wxPy_END_ALLOW_THREADS
;
2140 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2148 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2149 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
* _resultobj
;
2153 PyObject
* _argo0
= 0;
2154 char *_kwnames
[] = { "self", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2170 wxPy_END_ALLOW_THREADS
;
2172 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2180 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2181 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
* _resultobj
;
2185 PyObject
* _argo0
= 0;
2186 char *_kwnames
[] = { "self", NULL
};
2189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2199 wxPy_BEGIN_ALLOW_THREADS
;
2200 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2202 wxPy_END_ALLOW_THREADS
;
2204 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2212 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
2213 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2214 PyObject
* _resultobj
;
2217 PyObject
* _argo0
= 0;
2218 char *_kwnames
[] = { "self", NULL
};
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Number",_kwnames
,&_argo0
))
2224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 _result
= (int )wxComboBox_Number(_arg0
);
2234 wxPy_END_ALLOW_THREADS
;
2235 } _resultobj
= Py_BuildValue("i",_result
);
2239 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2240 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2243 PyObject
* _argo0
= 0;
2244 char *_kwnames
[] = { "self", NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 wxComboBox_Paste(_arg0
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2267 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2273 PyObject
* _argo0
= 0;
2274 PyObject
* _obj3
= 0;
2275 char *_kwnames
[] = { "self","from","to","text", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2288 #if PYTHON_API_VERSION >= 1009
2289 char* tmpPtr
; int tmpSize
;
2290 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2291 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2294 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2296 _arg3
= new wxString(tmpPtr
, tmpSize
);
2298 if (!PyString_Check(_obj3
)) {
2299 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2302 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2306 wxPy_BEGIN_ALLOW_THREADS
;
2307 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2309 wxPy_END_ALLOW_THREADS
;
2310 } Py_INCREF(Py_None
);
2311 _resultobj
= Py_None
;
2319 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2320 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2325 PyObject
* _argo0
= 0;
2326 char *_kwnames
[] = { "self","from","to", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2339 wxPy_BEGIN_ALLOW_THREADS
;
2340 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2342 wxPy_END_ALLOW_THREADS
;
2343 } Py_INCREF(Py_None
);
2344 _resultobj
= Py_None
;
2348 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2349 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2353 PyObject
* _argo0
= 0;
2354 char *_kwnames
[] = { "self","pos", NULL
};
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2370 wxPy_END_ALLOW_THREADS
;
2371 } Py_INCREF(Py_None
);
2372 _resultobj
= Py_None
;
2376 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2377 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2380 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 wxComboBox_SetInsertionPointEnd(_arg0
);
2397 wxPy_END_ALLOW_THREADS
;
2398 } Py_INCREF(Py_None
);
2399 _resultobj
= Py_None
;
2403 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2404 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2408 PyObject
* _argo0
= 0;
2409 char *_kwnames
[] = { "self","n", NULL
};
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 wxComboBox_SetSelection(_arg0
,_arg1
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } Py_INCREF(Py_None
);
2427 _resultobj
= Py_None
;
2431 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2432 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2437 PyObject
* _argo0
= 0;
2438 char *_kwnames
[] = { "self","from","to", NULL
};
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2451 wxPy_BEGIN_ALLOW_THREADS
;
2452 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2454 wxPy_END_ALLOW_THREADS
;
2455 } Py_INCREF(Py_None
);
2456 _resultobj
= Py_None
;
2460 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2461 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
* _resultobj
;
2465 PyObject
* _argo0
= 0;
2466 PyObject
* _obj1
= 0;
2467 char *_kwnames
[] = { "self","text", NULL
};
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2480 #if PYTHON_API_VERSION >= 1009
2481 char* tmpPtr
; int tmpSize
;
2482 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2483 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2486 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2488 _arg1
= new wxString(tmpPtr
, tmpSize
);
2490 if (!PyString_Check(_obj1
)) {
2491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2494 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2498 wxPy_BEGIN_ALLOW_THREADS
;
2499 wxComboBox_SetValue(_arg0
,*_arg1
);
2501 wxPy_END_ALLOW_THREADS
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2511 static void *SwigwxGaugeTowxControl(void *ptr
) {
2514 src
= (wxGauge
*) ptr
;
2515 dest
= (wxControl
*) src
;
2516 return (void *) dest
;
2519 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2522 src
= (wxGauge
*) ptr
;
2523 dest
= (wxWindow
*) src
;
2524 return (void *) dest
;
2527 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2530 src
= (wxGauge
*) ptr
;
2531 dest
= (wxEvtHandler
*) src
;
2532 return (void *) dest
;
2535 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2536 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2542 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2543 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2544 long _arg5
= (long ) wxGA_HORIZONTAL
;
2545 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2546 char * _arg7
= (char *) "gauge";
2547 PyObject
* _argo0
= 0;
2549 PyObject
* _obj3
= 0;
2551 PyObject
* _obj4
= 0;
2552 PyObject
* _argo6
= 0;
2553 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2569 if (! wxPoint_helper(_obj3
, &_arg3
))
2575 if (! wxSize_helper(_obj4
, &_arg4
))
2579 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2586 wxPy_BEGIN_ALLOW_THREADS
;
2587 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2589 wxPy_END_ALLOW_THREADS
;
2591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2592 _resultobj
= Py_BuildValue("s",_ptemp
);
2595 _resultobj
= Py_None
;
2600 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2601 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
* _resultobj
;
2605 PyObject
* _argo0
= 0;
2606 char *_kwnames
[] = { "self", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2622 wxPy_END_ALLOW_THREADS
;
2623 } _resultobj
= Py_BuildValue("i",_result
);
2627 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2628 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2632 PyObject
* _argo0
= 0;
2633 char *_kwnames
[] = { "self", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (int )wxGauge_GetRange(_arg0
);
2649 wxPy_END_ALLOW_THREADS
;
2650 } _resultobj
= Py_BuildValue("i",_result
);
2654 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2655 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2656 PyObject
* _resultobj
;
2659 PyObject
* _argo0
= 0;
2660 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2673 wxPy_BEGIN_ALLOW_THREADS
;
2674 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2676 wxPy_END_ALLOW_THREADS
;
2677 } _resultobj
= Py_BuildValue("i",_result
);
2681 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2682 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2686 PyObject
* _argo0
= 0;
2687 char *_kwnames
[] = { "self", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2700 wxPy_BEGIN_ALLOW_THREADS
;
2701 _result
= (int )wxGauge_GetValue(_arg0
);
2703 wxPy_END_ALLOW_THREADS
;
2704 } _resultobj
= Py_BuildValue("i",_result
);
2708 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2709 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
* _resultobj
;
2713 PyObject
* _argo0
= 0;
2714 char *_kwnames
[] = { "self","width", NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2727 wxPy_BEGIN_ALLOW_THREADS
;
2728 wxGauge_SetBezelFace(_arg0
,_arg1
);
2730 wxPy_END_ALLOW_THREADS
;
2731 } Py_INCREF(Py_None
);
2732 _resultobj
= Py_None
;
2736 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2737 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
* _resultobj
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self","range", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2755 wxPy_BEGIN_ALLOW_THREADS
;
2756 wxGauge_SetRange(_arg0
,_arg1
);
2758 wxPy_END_ALLOW_THREADS
;
2759 } Py_INCREF(Py_None
);
2760 _resultobj
= Py_None
;
2764 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2765 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2769 PyObject
* _argo0
= 0;
2770 char *_kwnames
[] = { "self","width", NULL
};
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2783 wxPy_BEGIN_ALLOW_THREADS
;
2784 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2786 wxPy_END_ALLOW_THREADS
;
2787 } Py_INCREF(Py_None
);
2788 _resultobj
= Py_None
;
2792 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2793 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2797 PyObject
* _argo0
= 0;
2798 char *_kwnames
[] = { "self","pos", NULL
};
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2811 wxPy_BEGIN_ALLOW_THREADS
;
2812 wxGauge_SetValue(_arg0
,_arg1
);
2814 wxPy_END_ALLOW_THREADS
;
2815 } Py_INCREF(Py_None
);
2816 _resultobj
= Py_None
;
2820 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2823 src
= (wxStaticBox
*) ptr
;
2824 dest
= (wxControl
*) src
;
2825 return (void *) dest
;
2828 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2831 src
= (wxStaticBox
*) ptr
;
2832 dest
= (wxWindow
*) src
;
2833 return (void *) dest
;
2836 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2839 src
= (wxStaticBox
*) ptr
;
2840 dest
= (wxEvtHandler
*) src
;
2841 return (void *) dest
;
2844 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2845 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2846 PyObject
* _resultobj
;
2847 wxStaticBox
* _result
;
2851 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2852 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2853 long _arg5
= (long ) 0;
2854 char * _arg6
= (char *) "staticBox";
2855 PyObject
* _argo0
= 0;
2856 PyObject
* _obj2
= 0;
2858 PyObject
* _obj3
= 0;
2860 PyObject
* _obj4
= 0;
2861 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2875 #if PYTHON_API_VERSION >= 1009
2876 char* tmpPtr
; int tmpSize
;
2877 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2878 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2881 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2883 _arg2
= new wxString(tmpPtr
, tmpSize
);
2885 if (!PyString_Check(_obj2
)) {
2886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2889 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2895 if (! wxPoint_helper(_obj3
, &_arg3
))
2901 if (! wxSize_helper(_obj4
, &_arg4
))
2905 wxPy_BEGIN_ALLOW_THREADS
;
2906 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2908 wxPy_END_ALLOW_THREADS
;
2910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2911 _resultobj
= Py_BuildValue("s",_ptemp
);
2914 _resultobj
= Py_None
;
2923 static void *SwigwxStaticLineTowxControl(void *ptr
) {
2926 src
= (wxStaticLine
*) ptr
;
2927 dest
= (wxControl
*) src
;
2928 return (void *) dest
;
2931 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
2934 src
= (wxStaticLine
*) ptr
;
2935 dest
= (wxWindow
*) src
;
2936 return (void *) dest
;
2939 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
2942 src
= (wxStaticLine
*) ptr
;
2943 dest
= (wxEvtHandler
*) src
;
2944 return (void *) dest
;
2947 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2948 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2950 wxStaticLine
* _result
;
2953 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2954 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2955 long _arg4
= (long ) wxLI_HORIZONTAL
;
2956 char * _arg5
= (char *) "staticLine";
2957 PyObject
* _argo0
= 0;
2959 PyObject
* _obj2
= 0;
2961 PyObject
* _obj3
= 0;
2962 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2978 if (! wxPoint_helper(_obj2
, &_arg2
))
2984 if (! wxSize_helper(_obj3
, &_arg3
))
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2991 wxPy_END_ALLOW_THREADS
;
2993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
2994 _resultobj
= Py_BuildValue("s",_ptemp
);
2997 _resultobj
= Py_None
;
3002 static void *SwigwxStaticTextTowxControl(void *ptr
) {
3005 src
= (wxStaticText
*) ptr
;
3006 dest
= (wxControl
*) src
;
3007 return (void *) dest
;
3010 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
3013 src
= (wxStaticText
*) ptr
;
3014 dest
= (wxWindow
*) src
;
3015 return (void *) dest
;
3018 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
3021 src
= (wxStaticText
*) ptr
;
3022 dest
= (wxEvtHandler
*) src
;
3023 return (void *) dest
;
3026 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3027 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3029 wxStaticText
* _result
;
3033 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3034 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3035 long _arg5
= (long ) 0;
3036 char * _arg6
= (char *) "staticText";
3037 PyObject
* _argo0
= 0;
3038 PyObject
* _obj2
= 0;
3040 PyObject
* _obj3
= 0;
3042 PyObject
* _obj4
= 0;
3043 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
3057 #if PYTHON_API_VERSION >= 1009
3058 char* tmpPtr
; int tmpSize
;
3059 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3060 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3063 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3065 _arg2
= new wxString(tmpPtr
, tmpSize
);
3067 if (!PyString_Check(_obj2
)) {
3068 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3071 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3077 if (! wxPoint_helper(_obj3
, &_arg3
))
3083 if (! wxSize_helper(_obj4
, &_arg4
))
3087 wxPy_BEGIN_ALLOW_THREADS
;
3088 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3090 wxPy_END_ALLOW_THREADS
;
3092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
3093 _resultobj
= Py_BuildValue("s",_ptemp
);
3096 _resultobj
= Py_None
;
3105 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
3106 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3109 wxStaticText
* _arg0
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
3127 wxPy_END_ALLOW_THREADS
;
3129 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3137 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3138 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
* _resultobj
;
3140 wxStaticText
* _arg0
;
3142 PyObject
* _argo0
= 0;
3143 PyObject
* _obj1
= 0;
3144 char *_kwnames
[] = { "self","label", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3157 #if PYTHON_API_VERSION >= 1009
3158 char* tmpPtr
; int tmpSize
;
3159 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3160 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3163 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3165 _arg1
= new wxString(tmpPtr
, tmpSize
);
3167 if (!PyString_Check(_obj1
)) {
3168 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3171 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3175 wxPy_BEGIN_ALLOW_THREADS
;
3176 wxStaticText_SetLabel(_arg0
,*_arg1
);
3178 wxPy_END_ALLOW_THREADS
;
3179 } Py_INCREF(Py_None
);
3180 _resultobj
= Py_None
;
3188 static void *SwigwxListBoxTowxControl(void *ptr
) {
3191 src
= (wxListBox
*) ptr
;
3192 dest
= (wxControl
*) src
;
3193 return (void *) dest
;
3196 static void *SwigwxListBoxTowxWindow(void *ptr
) {
3199 src
= (wxListBox
*) ptr
;
3200 dest
= (wxWindow
*) src
;
3201 return (void *) dest
;
3204 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
3207 src
= (wxListBox
*) ptr
;
3208 dest
= (wxEvtHandler
*) src
;
3209 return (void *) dest
;
3212 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3213 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3215 wxListBox
* _result
;
3218 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3219 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3221 wxString
* _arg5
= (wxString
*) NULL
;
3222 long _arg6
= (long ) 0;
3223 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3224 char * _arg8
= (char *) "listBox";
3225 PyObject
* _argo0
= 0;
3227 PyObject
* _obj2
= 0;
3229 PyObject
* _obj3
= 0;
3230 PyObject
* _obj5
= 0;
3231 PyObject
* _argo7
= 0;
3232 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3248 if (! wxPoint_helper(_obj2
, &_arg2
))
3254 if (! wxSize_helper(_obj3
, &_arg3
))
3259 _arg5
= wxString_LIST_helper(_obj5
);
3260 if (_arg5
== NULL
) {
3265 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3273 _arg4
= PyList_Size(_obj5
);
3280 wxPy_BEGIN_ALLOW_THREADS
;
3281 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3283 wxPy_END_ALLOW_THREADS
;
3285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
3286 _resultobj
= Py_BuildValue("s",_ptemp
);
3289 _resultobj
= Py_None
;
3297 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3298 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3302 PyObject
* _argo0
= 0;
3303 PyObject
* _obj1
= 0;
3304 char *_kwnames
[] = { "self","item", NULL
};
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
3310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3317 #if PYTHON_API_VERSION >= 1009
3318 char* tmpPtr
; int tmpSize
;
3319 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3320 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3323 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3325 _arg1
= new wxString(tmpPtr
, tmpSize
);
3327 if (!PyString_Check(_obj1
)) {
3328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3331 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 wxListBox_Append(_arg0
,*_arg1
);
3338 wxPy_END_ALLOW_THREADS
;
3339 } Py_INCREF(Py_None
);
3340 _resultobj
= Py_None
;
3348 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3349 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3352 PyObject
* _argo0
= 0;
3353 char *_kwnames
[] = { "self", NULL
};
3356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
3359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3366 wxPy_BEGIN_ALLOW_THREADS
;
3367 wxListBox_Clear(_arg0
);
3369 wxPy_END_ALLOW_THREADS
;
3370 } Py_INCREF(Py_None
);
3371 _resultobj
= Py_None
;
3375 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3376 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
* _resultobj
;
3380 PyObject
* _argo0
= 0;
3381 char *_kwnames
[] = { "self","n", NULL
};
3384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3394 wxPy_BEGIN_ALLOW_THREADS
;
3395 wxListBox_Delete(_arg0
,_arg1
);
3397 wxPy_END_ALLOW_THREADS
;
3398 } Py_INCREF(Py_None
);
3399 _resultobj
= Py_None
;
3403 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3404 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3408 PyObject
* _argo0
= 0;
3409 char *_kwnames
[] = { "self","n", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3422 wxPy_BEGIN_ALLOW_THREADS
;
3423 wxListBox_Deselect(_arg0
,_arg1
);
3425 wxPy_END_ALLOW_THREADS
;
3426 } Py_INCREF(Py_None
);
3427 _resultobj
= Py_None
;
3431 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3432 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3437 PyObject
* _argo0
= 0;
3438 PyObject
* _obj1
= 0;
3439 char *_kwnames
[] = { "self","string", NULL
};
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3452 #if PYTHON_API_VERSION >= 1009
3453 char* tmpPtr
; int tmpSize
;
3454 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3455 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3458 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3460 _arg1
= new wxString(tmpPtr
, tmpSize
);
3462 if (!PyString_Check(_obj1
)) {
3463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3466 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3470 wxPy_BEGIN_ALLOW_THREADS
;
3471 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3473 wxPy_END_ALLOW_THREADS
;
3474 } _resultobj
= Py_BuildValue("i",_result
);
3482 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3483 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3487 PyObject
* _argo0
= 0;
3488 char *_kwnames
[] = { "self", NULL
};
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3501 wxPy_BEGIN_ALLOW_THREADS
;
3502 _result
= (int )wxListBox_GetSelection(_arg0
);
3504 wxPy_END_ALLOW_THREADS
;
3505 } _resultobj
= Py_BuildValue("i",_result
);
3509 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3511 self
->GetSelections(lst
);
3512 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3513 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
3514 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3518 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3539 wxPy_END_ALLOW_THREADS
;
3541 _resultobj
= _result
;
3546 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3547 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
* _resultobj
;
3553 PyObject
* _argo0
= 0;
3554 PyObject
* _obj2
= 0;
3555 char *_kwnames
[] = { "self","choices","pos", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3568 _arg2
= wxString_LIST_helper(_obj2
);
3569 if (_arg2
== NULL
) {
3575 _arg1
= PyList_Size(_obj2
);
3582 wxPy_BEGIN_ALLOW_THREADS
;
3583 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3585 wxPy_END_ALLOW_THREADS
;
3586 } Py_INCREF(Py_None
);
3587 _resultobj
= Py_None
;
3594 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3595 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3600 PyObject
* _argo0
= 0;
3601 char *_kwnames
[] = { "self","n", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3614 wxPy_BEGIN_ALLOW_THREADS
;
3615 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3617 wxPy_END_ALLOW_THREADS
;
3619 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3627 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3628 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3632 PyObject
* _argo0
= 0;
3633 char *_kwnames
[] = { "self", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3646 wxPy_BEGIN_ALLOW_THREADS
;
3647 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3649 wxPy_END_ALLOW_THREADS
;
3651 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3659 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3660 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3664 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Number",_kwnames
,&_argo0
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 _result
= (int )wxListBox_Number(_arg0
);
3681 wxPy_END_ALLOW_THREADS
;
3682 } _resultobj
= Py_BuildValue("i",_result
);
3686 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3687 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3692 PyObject
* _argo0
= 0;
3693 char *_kwnames
[] = { "self","n", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3709 wxPy_END_ALLOW_THREADS
;
3710 } _resultobj
= Py_BuildValue("i",_result
);
3714 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3715 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
* _resultobj
;
3720 PyObject
* _argo0
= 0;
3721 PyObject
* _obj2
= 0;
3722 char *_kwnames
[] = { "self","choices", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3736 _arg2
= wxString_LIST_helper(_obj2
);
3737 if (_arg2
== NULL
) {
3743 _arg1
= PyList_Size(_obj2
);
3750 wxPy_BEGIN_ALLOW_THREADS
;
3751 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3753 wxPy_END_ALLOW_THREADS
;
3754 } Py_INCREF(Py_None
);
3755 _resultobj
= Py_None
;
3762 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3763 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
* _resultobj
;
3767 PyObject
* _argo0
= 0;
3768 char *_kwnames
[] = { "self","n", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3781 wxPy_BEGIN_ALLOW_THREADS
;
3782 wxListBox_SetFirstItem(_arg0
,_arg1
);
3784 wxPy_END_ALLOW_THREADS
;
3785 } Py_INCREF(Py_None
);
3786 _resultobj
= Py_None
;
3790 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3791 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3792 PyObject
* _resultobj
;
3795 PyObject
* _argo0
= 0;
3796 PyObject
* _obj1
= 0;
3797 char *_kwnames
[] = { "self","string", NULL
};
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
3803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3810 #if PYTHON_API_VERSION >= 1009
3811 char* tmpPtr
; int tmpSize
;
3812 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3813 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3816 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3818 _arg1
= new wxString(tmpPtr
, tmpSize
);
3820 if (!PyString_Check(_obj1
)) {
3821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3824 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } Py_INCREF(Py_None
);
3833 _resultobj
= Py_None
;
3841 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3842 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3846 bool _arg2
= (bool ) TRUE
;
3847 PyObject
* _argo0
= 0;
3848 int tempbool2
= (int) TRUE
;
3849 char *_kwnames
[] = { "self","n","select", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3861 _arg2
= (bool ) tempbool2
;
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } Py_INCREF(Py_None
);
3868 _resultobj
= Py_None
;
3872 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3873 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3878 PyObject
* _argo0
= 0;
3879 PyObject
* _obj2
= 0;
3880 char *_kwnames
[] = { "self","n","string", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3893 #if PYTHON_API_VERSION >= 1009
3894 char* tmpPtr
; int tmpSize
;
3895 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3896 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3899 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3901 _arg2
= new wxString(tmpPtr
, tmpSize
);
3903 if (!PyString_Check(_obj2
)) {
3904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3907 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3911 wxPy_BEGIN_ALLOW_THREADS
;
3912 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
3914 wxPy_END_ALLOW_THREADS
;
3915 } Py_INCREF(Py_None
);
3916 _resultobj
= Py_None
;
3924 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3925 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
* _resultobj
;
3929 bool _arg2
= (bool ) TRUE
;
3930 PyObject
* _argo0
= 0;
3931 PyObject
* _obj1
= 0;
3932 int tempbool2
= (int) TRUE
;
3933 char *_kwnames
[] = { "self","string","select", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3946 #if PYTHON_API_VERSION >= 1009
3947 char* tmpPtr
; int tmpSize
;
3948 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3949 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
3952 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3954 _arg1
= new wxString(tmpPtr
, tmpSize
);
3956 if (!PyString_Check(_obj1
)) {
3957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3960 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3963 _arg2
= (bool ) tempbool2
;
3965 wxPy_BEGIN_ALLOW_THREADS
;
3966 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
3968 wxPy_END_ALLOW_THREADS
;
3969 } Py_INCREF(Py_None
);
3970 _resultobj
= Py_None
;
3978 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
3979 wxCheckListBox
*src
;
3981 src
= (wxCheckListBox
*) ptr
;
3982 dest
= (wxListBox
*) src
;
3983 return (void *) dest
;
3986 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
3987 wxCheckListBox
*src
;
3989 src
= (wxCheckListBox
*) ptr
;
3990 dest
= (wxControl
*) src
;
3991 return (void *) dest
;
3994 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
3995 wxCheckListBox
*src
;
3997 src
= (wxCheckListBox
*) ptr
;
3998 dest
= (wxWindow
*) src
;
3999 return (void *) dest
;
4002 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
4003 wxCheckListBox
*src
;
4005 src
= (wxCheckListBox
*) ptr
;
4006 dest
= (wxEvtHandler
*) src
;
4007 return (void *) dest
;
4010 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4011 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
* _resultobj
;
4013 wxCheckListBox
* _result
;
4016 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4017 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4018 int _arg4
= (int ) 0;
4019 wxString
* _arg5
= (wxString
*) NULL
;
4020 long _arg6
= (long ) 0;
4021 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4022 char * _arg8
= (char *) "listBox";
4023 PyObject
* _argo0
= 0;
4025 PyObject
* _obj2
= 0;
4027 PyObject
* _obj3
= 0;
4028 PyObject
* _obj5
= 0;
4029 PyObject
* _argo7
= 0;
4030 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
4046 if (! wxPoint_helper(_obj2
, &_arg2
))
4052 if (! wxSize_helper(_obj3
, &_arg3
))
4057 _arg5
= wxString_LIST_helper(_obj5
);
4058 if (_arg5
== NULL
) {
4063 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4064 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
4071 _arg4
= PyList_Size(_obj5
);
4078 wxPy_BEGIN_ALLOW_THREADS
;
4079 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4081 wxPy_END_ALLOW_THREADS
;
4083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
4084 _resultobj
= Py_BuildValue("s",_ptemp
);
4087 _resultobj
= Py_None
;
4095 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4096 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4099 wxCheckListBox
* _arg0
;
4101 PyObject
* _argo0
= 0;
4102 char *_kwnames
[] = { "self","uiIndex", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } _resultobj
= Py_BuildValue("i",_result
);
4123 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4124 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxCheckListBox
* _arg0
;
4128 int _arg2
= (int ) TRUE
;
4129 PyObject
* _argo0
= 0;
4130 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
4143 wxPy_BEGIN_ALLOW_THREADS
;
4144 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
4146 wxPy_END_ALLOW_THREADS
;
4147 } Py_INCREF(Py_None
);
4148 _resultobj
= Py_None
;
4152 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4153 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4155 wxCheckListBox
* _arg0
;
4159 PyObject
* _argo0
= 0;
4160 PyObject
* _obj2
= 0;
4161 char *_kwnames
[] = { "self","choices","pos", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
4174 _arg2
= wxString_LIST_helper(_obj2
);
4175 if (_arg2
== NULL
) {
4181 _arg1
= PyList_Size(_obj2
);
4188 wxPy_BEGIN_ALLOW_THREADS
;
4189 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4191 wxPy_END_ALLOW_THREADS
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4200 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4201 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4204 wxCheckListBox
* _arg0
;
4205 PyObject
* _argo0
= 0;
4206 char *_kwnames
[] = { "self", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } _resultobj
= Py_BuildValue("i",_result
);
4227 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4230 src
= (wxTextCtrl
*) ptr
;
4231 dest
= (wxControl
*) src
;
4232 return (void *) dest
;
4235 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4238 src
= (wxTextCtrl
*) ptr
;
4239 dest
= (wxWindow
*) src
;
4240 return (void *) dest
;
4243 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4246 src
= (wxTextCtrl
*) ptr
;
4247 dest
= (wxEvtHandler
*) src
;
4248 return (void *) dest
;
4251 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4252 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4254 wxTextCtrl
* _result
;
4257 char * _arg2
= (char *) "";
4258 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4259 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4260 long _arg5
= (long ) 0;
4261 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
4262 char * _arg7
= (char *) "text";
4263 PyObject
* _argo0
= 0;
4265 PyObject
* _obj3
= 0;
4267 PyObject
* _obj4
= 0;
4268 PyObject
* _argo6
= 0;
4269 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4285 if (! wxPoint_helper(_obj3
, &_arg3
))
4291 if (! wxSize_helper(_obj4
, &_arg4
))
4295 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4296 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4302 wxPy_BEGIN_ALLOW_THREADS
;
4303 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4305 wxPy_END_ALLOW_THREADS
;
4307 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4308 _resultobj
= Py_BuildValue("s",_ptemp
);
4311 _resultobj
= Py_None
;
4316 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4317 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
* _resultobj
;
4320 PyObject
* _argo0
= 0;
4321 char *_kwnames
[] = { "self", NULL
};
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
4327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4334 wxPy_BEGIN_ALLOW_THREADS
;
4335 wxTextCtrl_Clear(_arg0
);
4337 wxPy_END_ALLOW_THREADS
;
4338 } Py_INCREF(Py_None
);
4339 _resultobj
= Py_None
;
4343 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4344 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 wxTextCtrl_Copy(_arg0
);
4364 wxPy_END_ALLOW_THREADS
;
4365 } Py_INCREF(Py_None
);
4366 _resultobj
= Py_None
;
4370 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4371 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4374 PyObject
* _argo0
= 0;
4375 char *_kwnames
[] = { "self", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 wxTextCtrl_Cut(_arg0
);
4391 wxPy_END_ALLOW_THREADS
;
4392 } Py_INCREF(Py_None
);
4393 _resultobj
= Py_None
;
4397 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4398 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4415 wxPy_BEGIN_ALLOW_THREADS
;
4416 wxTextCtrl_DiscardEdits(_arg0
);
4418 wxPy_END_ALLOW_THREADS
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4425 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4429 PyObject
* _argo0
= 0;
4430 char *_kwnames
[] = { "self", NULL
};
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
4436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
4443 wxPy_BEGIN_ALLOW_THREADS
;
4444 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
4446 wxPy_END_ALLOW_THREADS
;
4447 } _resultobj
= Py_BuildValue("l",_result
);
4451 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
4452 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4456 PyObject
* _argo0
= 0;
4457 char *_kwnames
[] = { "self", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
4470 wxPy_BEGIN_ALLOW_THREADS
;
4471 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
4473 wxPy_END_ALLOW_THREADS
;
4474 } _resultobj
= Py_BuildValue("l",_result
);
4478 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
4479 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4484 PyObject
* _argo0
= 0;
4485 char *_kwnames
[] = { "self","lineNo", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
4491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4498 wxPy_BEGIN_ALLOW_THREADS
;
4499 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
4501 wxPy_END_ALLOW_THREADS
;
4502 } _resultobj
= Py_BuildValue("i",_result
);
4506 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4507 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4512 PyObject
* _argo0
= 0;
4513 char *_kwnames
[] = { "self","lineNo", NULL
};
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
4519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4526 wxPy_BEGIN_ALLOW_THREADS
;
4527 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
4529 wxPy_END_ALLOW_THREADS
;
4531 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4539 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4540 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "self", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
4561 wxPy_END_ALLOW_THREADS
;
4562 } _resultobj
= Py_BuildValue("i",_result
);
4566 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4567 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4571 PyObject
* _argo0
= 0;
4572 char *_kwnames
[] = { "self", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4585 wxPy_BEGIN_ALLOW_THREADS
;
4586 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
4588 wxPy_END_ALLOW_THREADS
;
4590 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4598 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4599 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4600 PyObject
* _resultobj
;
4603 PyObject
* _argo0
= 0;
4604 char *_kwnames
[] = { "self", NULL
};
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
4610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4617 wxPy_BEGIN_ALLOW_THREADS
;
4618 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
4620 wxPy_END_ALLOW_THREADS
;
4621 } _resultobj
= Py_BuildValue("i",_result
);
4625 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4626 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
* _resultobj
;
4631 PyObject
* _argo0
= 0;
4632 PyObject
* _obj1
= 0;
4633 char *_kwnames
[] = { "self","filename", NULL
};
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4646 #if PYTHON_API_VERSION >= 1009
4647 char* tmpPtr
; int tmpSize
;
4648 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4649 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4652 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4654 _arg1
= new wxString(tmpPtr
, tmpSize
);
4656 if (!PyString_Check(_obj1
)) {
4657 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4660 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4664 wxPy_BEGIN_ALLOW_THREADS
;
4665 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4667 wxPy_END_ALLOW_THREADS
;
4668 } _resultobj
= Py_BuildValue("i",_result
);
4676 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4677 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
* _resultobj
;
4680 PyObject
* _argo0
= 0;
4681 char *_kwnames
[] = { "self", NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
4687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4694 wxPy_BEGIN_ALLOW_THREADS
;
4695 wxTextCtrl_Paste(_arg0
);
4697 wxPy_END_ALLOW_THREADS
;
4698 } Py_INCREF(Py_None
);
4699 _resultobj
= Py_None
;
4703 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4704 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
* _resultobj
;
4712 PyObject
* _argo0
= 0;
4713 char *_kwnames
[] = { "self","pos", NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
4725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4732 wxPy_BEGIN_ALLOW_THREADS
;
4733 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4735 wxPy_END_ALLOW_THREADS
;
4736 } Py_INCREF(Py_None
);
4737 _resultobj
= Py_None
;
4740 o
= PyInt_FromLong((long) (*_arg2
));
4741 _resultobj
= t_output_helper(_resultobj
, o
);
4745 o
= PyInt_FromLong((long) (*_arg3
));
4746 _resultobj
= t_output_helper(_resultobj
, o
);
4751 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4752 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
* _resultobj
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self","from","to", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4774 wxPy_END_ALLOW_THREADS
;
4775 } Py_INCREF(Py_None
);
4776 _resultobj
= Py_None
;
4780 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4781 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4787 PyObject
* _argo0
= 0;
4788 PyObject
* _obj3
= 0;
4789 char *_kwnames
[] = { "self","from","to","value", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4802 #if PYTHON_API_VERSION >= 1009
4803 char* tmpPtr
; int tmpSize
;
4804 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4805 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4808 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4810 _arg3
= new wxString(tmpPtr
, tmpSize
);
4812 if (!PyString_Check(_obj3
)) {
4813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4816 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } Py_INCREF(Py_None
);
4825 _resultobj
= Py_None
;
4833 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4834 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
* _resultobj
;
4839 PyObject
* _argo0
= 0;
4840 PyObject
* _obj1
= 0;
4841 char *_kwnames
[] = { "self","filename", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4854 #if PYTHON_API_VERSION >= 1009
4855 char* tmpPtr
; int tmpSize
;
4856 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4857 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4860 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4862 _arg1
= new wxString(tmpPtr
, tmpSize
);
4864 if (!PyString_Check(_obj1
)) {
4865 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4868 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4872 wxPy_BEGIN_ALLOW_THREADS
;
4873 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
4875 wxPy_END_ALLOW_THREADS
;
4876 } _resultobj
= Py_BuildValue("i",_result
);
4884 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4885 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4889 PyObject
* _argo0
= 0;
4891 char *_kwnames
[] = { "self","editable", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4903 _arg1
= (bool ) tempbool1
;
4905 wxPy_BEGIN_ALLOW_THREADS
;
4906 wxTextCtrl_SetEditable(_arg0
,_arg1
);
4908 wxPy_END_ALLOW_THREADS
;
4909 } Py_INCREF(Py_None
);
4910 _resultobj
= Py_None
;
4914 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4915 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4919 PyObject
* _argo0
= 0;
4920 char *_kwnames
[] = { "self","pos", NULL
};
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
4926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4933 wxPy_BEGIN_ALLOW_THREADS
;
4934 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
4936 wxPy_END_ALLOW_THREADS
;
4937 } Py_INCREF(Py_None
);
4938 _resultobj
= Py_None
;
4942 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4943 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
* _resultobj
;
4946 PyObject
* _argo0
= 0;
4947 char *_kwnames
[] = { "self", NULL
};
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
4953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4960 wxPy_BEGIN_ALLOW_THREADS
;
4961 wxTextCtrl_SetInsertionPointEnd(_arg0
);
4963 wxPy_END_ALLOW_THREADS
;
4964 } Py_INCREF(Py_None
);
4965 _resultobj
= Py_None
;
4969 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4970 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4975 PyObject
* _argo0
= 0;
4976 char *_kwnames
[] = { "self","from","to", NULL
};
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4989 wxPy_BEGIN_ALLOW_THREADS
;
4990 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
4992 wxPy_END_ALLOW_THREADS
;
4993 } Py_INCREF(Py_None
);
4994 _resultobj
= Py_None
;
4998 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4999 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
* _resultobj
;
5003 PyObject
* _argo0
= 0;
5004 PyObject
* _obj1
= 0;
5005 char *_kwnames
[] = { "self","value", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5018 #if PYTHON_API_VERSION >= 1009
5019 char* tmpPtr
; int tmpSize
;
5020 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5021 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5024 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5026 _arg1
= new wxString(tmpPtr
, tmpSize
);
5028 if (!PyString_Check(_obj1
)) {
5029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5032 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5039 wxPy_END_ALLOW_THREADS
;
5040 } Py_INCREF(Py_None
);
5041 _resultobj
= Py_None
;
5049 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5050 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self","pos", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
5068 wxPy_BEGIN_ALLOW_THREADS
;
5069 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
5071 wxPy_END_ALLOW_THREADS
;
5072 } Py_INCREF(Py_None
);
5073 _resultobj
= Py_None
;
5077 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5078 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5082 PyObject
* _argo0
= 0;
5083 PyObject
* _obj1
= 0;
5084 char *_kwnames
[] = { "self","text", NULL
};
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
5090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5097 #if PYTHON_API_VERSION >= 1009
5098 char* tmpPtr
; int tmpSize
;
5099 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5100 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5103 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5105 _arg1
= new wxString(tmpPtr
, tmpSize
);
5107 if (!PyString_Check(_obj1
)) {
5108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5111 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 wxTextCtrl_WriteText(_arg0
,*_arg1
);
5118 wxPy_END_ALLOW_THREADS
;
5119 } Py_INCREF(Py_None
);
5120 _resultobj
= Py_None
;
5128 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5129 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
* _resultobj
;
5133 PyObject
* _argo0
= 0;
5134 PyObject
* _obj1
= 0;
5135 char *_kwnames
[] = { "self","text", NULL
};
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
5141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5148 #if PYTHON_API_VERSION >= 1009
5149 char* tmpPtr
; int tmpSize
;
5150 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5151 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5154 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5156 _arg1
= new wxString(tmpPtr
, tmpSize
);
5158 if (!PyString_Check(_obj1
)) {
5159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5162 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5166 wxPy_BEGIN_ALLOW_THREADS
;
5167 wxTextCtrl_AppendText(_arg0
,*_arg1
);
5169 wxPy_END_ALLOW_THREADS
;
5170 } Py_INCREF(Py_None
);
5171 _resultobj
= Py_None
;
5179 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5180 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5186 PyObject
* _argo0
= 0;
5187 char *_kwnames
[] = { "self","x","y", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
5203 wxPy_END_ALLOW_THREADS
;
5204 } _resultobj
= Py_BuildValue("l",_result
);
5208 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5209 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5213 PyObject
* _argo0
= 0;
5214 char *_kwnames
[] = { "self", NULL
};
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
5220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
5227 wxPy_BEGIN_ALLOW_THREADS
;
5228 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
5230 wxPy_END_ALLOW_THREADS
;
5231 } _resultobj
= Py_BuildValue("i",_result
);
5235 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5236 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
* _resultobj
;
5240 PyObject
* _argo0
= 0;
5241 char *_kwnames
[] = { "self", NULL
};
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
5247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
5254 wxPy_BEGIN_ALLOW_THREADS
;
5255 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
5257 wxPy_END_ALLOW_THREADS
;
5258 } _resultobj
= Py_BuildValue("i",_result
);
5262 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5263 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
* _resultobj
;
5267 PyObject
* _argo0
= 0;
5268 char *_kwnames
[] = { "self", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5281 wxPy_BEGIN_ALLOW_THREADS
;
5282 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5284 wxPy_END_ALLOW_THREADS
;
5285 } _resultobj
= Py_BuildValue("i",_result
);
5289 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5290 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
* _resultobj
;
5294 PyObject
* _argo0
= 0;
5295 char *_kwnames
[] = { "self", NULL
};
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
5301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5308 wxPy_BEGIN_ALLOW_THREADS
;
5309 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
5311 wxPy_END_ALLOW_THREADS
;
5312 } _resultobj
= Py_BuildValue("i",_result
);
5316 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5317 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
* _resultobj
;
5321 PyObject
* _argo0
= 0;
5322 char *_kwnames
[] = { "self", NULL
};
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
5328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5335 wxPy_BEGIN_ALLOW_THREADS
;
5336 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
5338 wxPy_END_ALLOW_THREADS
;
5339 } _resultobj
= Py_BuildValue("i",_result
);
5343 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5344 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5351 PyObject
* _argo0
= 0;
5352 char *_kwnames
[] = { "self", NULL
};
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
5364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5371 wxPy_BEGIN_ALLOW_THREADS
;
5372 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
5374 wxPy_END_ALLOW_THREADS
;
5375 } Py_INCREF(Py_None
);
5376 _resultobj
= Py_None
;
5379 o
= PyInt_FromLong((long) (*_arg1
));
5380 _resultobj
= t_output_helper(_resultobj
, o
);
5384 o
= PyInt_FromLong((long) (*_arg2
));
5385 _resultobj
= t_output_helper(_resultobj
, o
);
5390 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5391 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "self", NULL
};
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
5402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
5409 wxPy_BEGIN_ALLOW_THREADS
;
5410 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
5412 wxPy_END_ALLOW_THREADS
;
5413 } _resultobj
= Py_BuildValue("i",_result
);
5417 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5418 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5421 PyObject
* _argo0
= 0;
5422 char *_kwnames
[] = { "self", NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
5428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
5435 wxPy_BEGIN_ALLOW_THREADS
;
5436 wxTextCtrl_Undo(_arg0
);
5438 wxPy_END_ALLOW_THREADS
;
5439 } Py_INCREF(Py_None
);
5440 _resultobj
= Py_None
;
5444 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
5445 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5448 PyObject
* _argo0
= 0;
5449 char *_kwnames
[] = { "self", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
5462 wxPy_BEGIN_ALLOW_THREADS
;
5463 wxTextCtrl_Redo(_arg0
);
5465 wxPy_END_ALLOW_THREADS
;
5466 } Py_INCREF(Py_None
);
5467 _resultobj
= Py_None
;
5471 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
5472 self
->AppendText(text
+ '\n');
5474 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
* _resultobj
;
5478 PyObject
* _argo0
= 0;
5479 PyObject
* _obj1
= 0;
5480 char *_kwnames
[] = { "self","text", NULL
};
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
5486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
5493 #if PYTHON_API_VERSION >= 1009
5494 char* tmpPtr
; int tmpSize
;
5495 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5496 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
5499 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5501 _arg1
= new wxString(tmpPtr
, tmpSize
);
5503 if (!PyString_Check(_obj1
)) {
5504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5507 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5511 wxPy_BEGIN_ALLOW_THREADS
;
5512 wxTextCtrl_write(_arg0
,*_arg1
);
5514 wxPy_END_ALLOW_THREADS
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5524 static void *SwigwxScrollBarTowxControl(void *ptr
) {
5527 src
= (wxScrollBar
*) ptr
;
5528 dest
= (wxControl
*) src
;
5529 return (void *) dest
;
5532 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
5535 src
= (wxScrollBar
*) ptr
;
5536 dest
= (wxWindow
*) src
;
5537 return (void *) dest
;
5540 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
5543 src
= (wxScrollBar
*) ptr
;
5544 dest
= (wxEvtHandler
*) src
;
5545 return (void *) dest
;
5548 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5549 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
* _resultobj
;
5551 wxScrollBar
* _result
;
5553 wxWindowID _arg1
= (wxWindowID
) -1;
5554 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5555 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5556 long _arg4
= (long ) wxSB_HORIZONTAL
;
5557 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5558 char * _arg6
= (char *) "scrollBar";
5559 PyObject
* _argo0
= 0;
5561 PyObject
* _obj2
= 0;
5563 PyObject
* _obj3
= 0;
5564 PyObject
* _argo5
= 0;
5565 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
5581 if (! wxPoint_helper(_obj2
, &_arg2
))
5587 if (! wxSize_helper(_obj3
, &_arg3
))
5591 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
5598 wxPy_BEGIN_ALLOW_THREADS
;
5599 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5601 wxPy_END_ALLOW_THREADS
;
5603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
5604 _resultobj
= Py_BuildValue("s",_ptemp
);
5607 _resultobj
= Py_None
;
5612 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5613 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
* _resultobj
;
5616 wxScrollBar
* _arg0
;
5617 PyObject
* _argo0
= 0;
5618 char *_kwnames
[] = { "self", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
5624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5631 wxPy_BEGIN_ALLOW_THREADS
;
5632 _result
= (int )wxScrollBar_GetRange(_arg0
);
5634 wxPy_END_ALLOW_THREADS
;
5635 } _resultobj
= Py_BuildValue("i",_result
);
5639 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5640 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5643 wxScrollBar
* _arg0
;
5644 PyObject
* _argo0
= 0;
5645 char *_kwnames
[] = { "self", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5658 wxPy_BEGIN_ALLOW_THREADS
;
5659 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
5661 wxPy_END_ALLOW_THREADS
;
5662 } _resultobj
= Py_BuildValue("i",_result
);
5666 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5667 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 wxScrollBar
* _arg0
;
5671 PyObject
* _argo0
= 0;
5672 char *_kwnames
[] = { "self", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5685 wxPy_BEGIN_ALLOW_THREADS
;
5686 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
5688 wxPy_END_ALLOW_THREADS
;
5689 } _resultobj
= Py_BuildValue("i",_result
);
5693 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5694 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5697 wxScrollBar
* _arg0
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self", NULL
};
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
5705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5712 wxPy_BEGIN_ALLOW_THREADS
;
5713 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
5715 wxPy_END_ALLOW_THREADS
;
5716 } _resultobj
= Py_BuildValue("i",_result
);
5720 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5721 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5723 wxScrollBar
* _arg0
;
5725 PyObject
* _argo0
= 0;
5726 char *_kwnames
[] = { "self","viewStart", NULL
};
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
5732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5739 wxPy_BEGIN_ALLOW_THREADS
;
5740 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
5742 wxPy_END_ALLOW_THREADS
;
5743 } Py_INCREF(Py_None
);
5744 _resultobj
= Py_None
;
5748 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5749 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
* _resultobj
;
5751 wxScrollBar
* _arg0
;
5756 bool _arg5
= (bool ) TRUE
;
5757 PyObject
* _argo0
= 0;
5758 int tempbool5
= (int) TRUE
;
5759 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5771 _arg5
= (bool ) tempbool5
;
5773 wxPy_BEGIN_ALLOW_THREADS
;
5774 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5776 wxPy_END_ALLOW_THREADS
;
5777 } Py_INCREF(Py_None
);
5778 _resultobj
= Py_None
;
5782 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
5785 src
= (wxSpinButton
*) ptr
;
5786 dest
= (wxControl
*) src
;
5787 return (void *) dest
;
5790 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
5793 src
= (wxSpinButton
*) ptr
;
5794 dest
= (wxWindow
*) src
;
5795 return (void *) dest
;
5798 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
5801 src
= (wxSpinButton
*) ptr
;
5802 dest
= (wxEvtHandler
*) src
;
5803 return (void *) dest
;
5806 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5807 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5809 wxSpinButton
* _result
;
5811 wxWindowID _arg1
= (wxWindowID
) -1;
5812 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5813 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5814 long _arg4
= (long ) wxSP_HORIZONTAL
;
5815 char * _arg5
= (char *) "spinButton";
5816 PyObject
* _argo0
= 0;
5818 PyObject
* _obj2
= 0;
5820 PyObject
* _obj3
= 0;
5821 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5837 if (! wxPoint_helper(_obj2
, &_arg2
))
5843 if (! wxSize_helper(_obj3
, &_arg3
))
5847 wxPy_BEGIN_ALLOW_THREADS
;
5848 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5850 wxPy_END_ALLOW_THREADS
;
5852 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
5853 _resultobj
= Py_BuildValue("s",_ptemp
);
5856 _resultobj
= Py_None
;
5861 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5862 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
* _resultobj
;
5865 wxSpinButton
* _arg0
;
5866 PyObject
* _argo0
= 0;
5867 char *_kwnames
[] = { "self", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5880 wxPy_BEGIN_ALLOW_THREADS
;
5881 _result
= (int )wxSpinButton_GetMax(_arg0
);
5883 wxPy_END_ALLOW_THREADS
;
5884 } _resultobj
= Py_BuildValue("i",_result
);
5888 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5889 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5892 wxSpinButton
* _arg0
;
5893 PyObject
* _argo0
= 0;
5894 char *_kwnames
[] = { "self", NULL
};
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
5900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5907 wxPy_BEGIN_ALLOW_THREADS
;
5908 _result
= (int )wxSpinButton_GetMin(_arg0
);
5910 wxPy_END_ALLOW_THREADS
;
5911 } _resultobj
= Py_BuildValue("i",_result
);
5915 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5916 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
* _resultobj
;
5919 wxSpinButton
* _arg0
;
5920 PyObject
* _argo0
= 0;
5921 char *_kwnames
[] = { "self", NULL
};
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
5927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5934 wxPy_BEGIN_ALLOW_THREADS
;
5935 _result
= (int )wxSpinButton_GetValue(_arg0
);
5937 wxPy_END_ALLOW_THREADS
;
5938 } _resultobj
= Py_BuildValue("i",_result
);
5942 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5943 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
* _resultobj
;
5945 wxSpinButton
* _arg0
;
5948 PyObject
* _argo0
= 0;
5949 char *_kwnames
[] = { "self","min","max", NULL
};
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5962 wxPy_BEGIN_ALLOW_THREADS
;
5963 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
5965 wxPy_END_ALLOW_THREADS
;
5966 } Py_INCREF(Py_None
);
5967 _resultobj
= Py_None
;
5971 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5972 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5974 wxSpinButton
* _arg0
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self","value", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5990 wxPy_BEGIN_ALLOW_THREADS
;
5991 wxSpinButton_SetValue(_arg0
,_arg1
);
5993 wxPy_END_ALLOW_THREADS
;
5994 } Py_INCREF(Py_None
);
5995 _resultobj
= Py_None
;
5999 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
6000 wxStaticBitmap
*src
;
6002 src
= (wxStaticBitmap
*) ptr
;
6003 dest
= (wxControl
*) src
;
6004 return (void *) dest
;
6007 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
6008 wxStaticBitmap
*src
;
6010 src
= (wxStaticBitmap
*) ptr
;
6011 dest
= (wxWindow
*) src
;
6012 return (void *) dest
;
6015 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
6016 wxStaticBitmap
*src
;
6018 src
= (wxStaticBitmap
*) ptr
;
6019 dest
= (wxEvtHandler
*) src
;
6020 return (void *) dest
;
6023 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6024 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6026 wxStaticBitmap
* _result
;
6030 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6031 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6032 long _arg5
= (long ) 0;
6033 char * _arg6
= (char *) "staticBitmap";
6034 PyObject
* _argo0
= 0;
6035 PyObject
* _argo2
= 0;
6037 PyObject
* _obj3
= 0;
6039 PyObject
* _obj4
= 0;
6040 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6054 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6063 if (! wxPoint_helper(_obj3
, &_arg3
))
6069 if (! wxSize_helper(_obj4
, &_arg4
))
6073 wxPy_BEGIN_ALLOW_THREADS
;
6074 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6076 wxPy_END_ALLOW_THREADS
;
6078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
6079 _resultobj
= Py_BuildValue("s",_ptemp
);
6082 _resultobj
= Py_None
;
6087 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6088 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
* _resultobj
;
6091 wxStaticBitmap
* _arg0
;
6092 PyObject
* _argo0
= 0;
6093 char *_kwnames
[] = { "self", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
6109 _result
= (wxBitmap
*) &_result_ref
;
6111 wxPy_END_ALLOW_THREADS
;
6113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6114 _resultobj
= Py_BuildValue("s",_ptemp
);
6117 _resultobj
= Py_None
;
6122 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6123 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6125 wxStaticBitmap
* _arg0
;
6127 PyObject
* _argo0
= 0;
6128 PyObject
* _argo1
= 0;
6129 char *_kwnames
[] = { "self","bitmap", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
6135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
6142 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
6149 wxPy_BEGIN_ALLOW_THREADS
;
6150 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
6152 wxPy_END_ALLOW_THREADS
;
6153 } Py_INCREF(Py_None
);
6154 _resultobj
= Py_None
;
6158 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
6159 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
* _resultobj
;
6161 wxStaticBitmap
* _arg0
;
6163 PyObject
* _argo0
= 0;
6164 PyObject
* _argo1
= 0;
6165 char *_kwnames
[] = { "self","icon", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
6178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
6185 wxPy_BEGIN_ALLOW_THREADS
;
6186 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
6188 wxPy_END_ALLOW_THREADS
;
6189 } Py_INCREF(Py_None
);
6190 _resultobj
= Py_None
;
6194 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
6197 src
= (wxRadioBox
*) ptr
;
6198 dest
= (wxControl
*) src
;
6199 return (void *) dest
;
6202 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
6205 src
= (wxRadioBox
*) ptr
;
6206 dest
= (wxWindow
*) src
;
6207 return (void *) dest
;
6210 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
6213 src
= (wxRadioBox
*) ptr
;
6214 dest
= (wxEvtHandler
*) src
;
6215 return (void *) dest
;
6218 #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))
6219 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
* _resultobj
;
6221 wxRadioBox
* _result
;
6225 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6226 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6227 int _arg5
= (int ) 0;
6228 wxString
* _arg6
= (wxString
*) NULL
;
6229 int _arg7
= (int ) 0;
6230 long _arg8
= (long ) wxRA_HORIZONTAL
;
6231 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
6232 char * _arg10
= (char *) "radioBox";
6233 PyObject
* _argo0
= 0;
6234 PyObject
* _obj2
= 0;
6236 PyObject
* _obj3
= 0;
6238 PyObject
* _obj4
= 0;
6239 PyObject
* _obj6
= 0;
6240 PyObject
* _argo9
= 0;
6241 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
6255 #if PYTHON_API_VERSION >= 1009
6256 char* tmpPtr
; int tmpSize
;
6257 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6258 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6261 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6263 _arg2
= new wxString(tmpPtr
, tmpSize
);
6265 if (!PyString_Check(_obj2
)) {
6266 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6269 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6275 if (! wxPoint_helper(_obj3
, &_arg3
))
6281 if (! wxSize_helper(_obj4
, &_arg4
))
6286 _arg6
= wxString_LIST_helper(_obj6
);
6287 if (_arg6
== NULL
) {
6292 if (_argo9
== Py_None
) { _arg9
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
6300 _arg5
= PyList_Size(_obj6
);
6307 wxPy_BEGIN_ALLOW_THREADS
;
6308 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
6310 wxPy_END_ALLOW_THREADS
;
6312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
6313 _resultobj
= Py_BuildValue("s",_ptemp
);
6316 _resultobj
= Py_None
;
6328 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6329 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6333 PyObject
* _argo0
= 0;
6335 char *_kwnames
[] = { "self","enable", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
6347 _arg1
= (bool ) tempbool1
;
6349 wxPy_BEGIN_ALLOW_THREADS
;
6350 wxRadioBox_Enable(_arg0
,_arg1
);
6352 wxPy_END_ALLOW_THREADS
;
6353 } Py_INCREF(Py_None
);
6354 _resultobj
= Py_None
;
6358 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6359 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6364 PyObject
* _argo0
= 0;
6366 char *_kwnames
[] = { "self","n","enable", NULL
};
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
6378 _arg2
= (bool ) tempbool2
;
6380 wxPy_BEGIN_ALLOW_THREADS
;
6381 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
6383 wxPy_END_ALLOW_THREADS
;
6384 } Py_INCREF(Py_None
);
6385 _resultobj
= Py_None
;
6389 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
6390 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
* _resultobj
;
6395 PyObject
* _argo0
= 0;
6396 PyObject
* _obj1
= 0;
6397 char *_kwnames
[] = { "self","string", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
6403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
6410 #if PYTHON_API_VERSION >= 1009
6411 char* tmpPtr
; int tmpSize
;
6412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6413 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6418 _arg1
= new wxString(tmpPtr
, tmpSize
);
6420 if (!PyString_Check(_obj1
)) {
6421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
6431 wxPy_END_ALLOW_THREADS
;
6432 } _resultobj
= Py_BuildValue("i",_result
);
6440 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6441 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6446 PyObject
* _argo0
= 0;
6447 char *_kwnames
[] = { "self","n", NULL
};
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
6453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
6460 wxPy_BEGIN_ALLOW_THREADS
;
6461 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
6463 wxPy_END_ALLOW_THREADS
;
6465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6473 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
6474 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6478 PyObject
* _argo0
= 0;
6479 char *_kwnames
[] = { "self", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (int )wxRadioBox_GetSelection(_arg0
);
6495 wxPy_END_ALLOW_THREADS
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6500 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
6501 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self","n", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
6520 wxPy_BEGIN_ALLOW_THREADS
;
6521 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
6523 wxPy_END_ALLOW_THREADS
;
6525 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6533 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6534 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6538 PyObject
* _argo0
= 0;
6539 char *_kwnames
[] = { "self", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
6552 wxPy_BEGIN_ALLOW_THREADS
;
6553 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
6555 wxPy_END_ALLOW_THREADS
;
6557 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6565 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
6566 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6570 PyObject
* _argo0
= 0;
6571 char *_kwnames
[] = { "self", NULL
};
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
6577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
6584 wxPy_BEGIN_ALLOW_THREADS
;
6585 _result
= (int )wxRadioBox_Number(_arg0
);
6587 wxPy_END_ALLOW_THREADS
;
6588 } _resultobj
= Py_BuildValue("i",_result
);
6592 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6593 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6598 PyObject
* _argo0
= 0;
6599 PyObject
* _obj2
= 0;
6600 char *_kwnames
[] = { "self","n","label", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
6613 #if PYTHON_API_VERSION >= 1009
6614 char* tmpPtr
; int tmpSize
;
6615 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6616 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6619 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6621 _arg2
= new wxString(tmpPtr
, tmpSize
);
6623 if (!PyString_Check(_obj2
)) {
6624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6627 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6631 wxPy_BEGIN_ALLOW_THREADS
;
6632 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
6634 wxPy_END_ALLOW_THREADS
;
6635 } Py_INCREF(Py_None
);
6636 _resultobj
= Py_None
;
6644 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6645 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
* _resultobj
;
6649 PyObject
* _argo0
= 0;
6650 char *_kwnames
[] = { "self","n", NULL
};
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
6656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6663 wxPy_BEGIN_ALLOW_THREADS
;
6664 wxRadioBox_SetSelection(_arg0
,_arg1
);
6666 wxPy_END_ALLOW_THREADS
;
6667 } Py_INCREF(Py_None
);
6668 _resultobj
= Py_None
;
6672 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6673 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
* _resultobj
;
6677 PyObject
* _argo0
= 0;
6678 PyObject
* _obj1
= 0;
6679 char *_kwnames
[] = { "self","string", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6692 #if PYTHON_API_VERSION >= 1009
6693 char* tmpPtr
; int tmpSize
;
6694 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6695 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6698 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6700 _arg1
= new wxString(tmpPtr
, tmpSize
);
6702 if (!PyString_Check(_obj1
)) {
6703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6706 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6710 wxPy_BEGIN_ALLOW_THREADS
;
6711 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
6713 wxPy_END_ALLOW_THREADS
;
6714 } Py_INCREF(Py_None
);
6715 _resultobj
= Py_None
;
6723 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6724 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
* _resultobj
;
6728 PyObject
* _argo0
= 0;
6730 char *_kwnames
[] = { "self","show", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6742 _arg1
= (bool ) tempbool1
;
6744 wxPy_BEGIN_ALLOW_THREADS
;
6745 wxRadioBox_Show(_arg0
,_arg1
);
6747 wxPy_END_ALLOW_THREADS
;
6748 } Py_INCREF(Py_None
);
6749 _resultobj
= Py_None
;
6753 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6754 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
* _resultobj
;
6759 PyObject
* _argo0
= 0;
6761 char *_kwnames
[] = { "self","item","show", NULL
};
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6773 _arg2
= (bool ) tempbool2
;
6775 wxPy_BEGIN_ALLOW_THREADS
;
6776 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
6778 wxPy_END_ALLOW_THREADS
;
6779 } Py_INCREF(Py_None
);
6780 _resultobj
= Py_None
;
6784 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
6787 src
= (wxRadioButton
*) ptr
;
6788 dest
= (wxControl
*) src
;
6789 return (void *) dest
;
6792 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
6795 src
= (wxRadioButton
*) ptr
;
6796 dest
= (wxWindow
*) src
;
6797 return (void *) dest
;
6800 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
6803 src
= (wxRadioButton
*) ptr
;
6804 dest
= (wxEvtHandler
*) src
;
6805 return (void *) dest
;
6808 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6809 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6811 wxRadioButton
* _result
;
6815 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6816 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6817 long _arg5
= (long ) 0;
6818 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6819 char * _arg7
= (char *) "radioButton";
6820 PyObject
* _argo0
= 0;
6821 PyObject
* _obj2
= 0;
6823 PyObject
* _obj3
= 0;
6825 PyObject
* _obj4
= 0;
6826 PyObject
* _argo6
= 0;
6827 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6841 #if PYTHON_API_VERSION >= 1009
6842 char* tmpPtr
; int tmpSize
;
6843 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6844 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
6847 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6849 _arg2
= new wxString(tmpPtr
, tmpSize
);
6851 if (!PyString_Check(_obj2
)) {
6852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6855 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6861 if (! wxPoint_helper(_obj3
, &_arg3
))
6867 if (! wxSize_helper(_obj4
, &_arg4
))
6871 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6872 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
6878 wxPy_BEGIN_ALLOW_THREADS
;
6879 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6881 wxPy_END_ALLOW_THREADS
;
6883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
6884 _resultobj
= Py_BuildValue("s",_ptemp
);
6887 _resultobj
= Py_None
;
6896 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
6897 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
* _resultobj
;
6900 wxRadioButton
* _arg0
;
6901 PyObject
* _argo0
= 0;
6902 char *_kwnames
[] = { "self", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
6915 wxPy_BEGIN_ALLOW_THREADS
;
6916 _result
= (bool )wxRadioButton_GetValue(_arg0
);
6918 wxPy_END_ALLOW_THREADS
;
6919 } _resultobj
= Py_BuildValue("i",_result
);
6923 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6924 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
* _resultobj
;
6926 wxRadioButton
* _arg0
;
6928 PyObject
* _argo0
= 0;
6930 char *_kwnames
[] = { "self","value", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
6936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6942 _arg1
= (bool ) tempbool1
;
6944 wxPy_BEGIN_ALLOW_THREADS
;
6945 wxRadioButton_SetValue(_arg0
,_arg1
);
6947 wxPy_END_ALLOW_THREADS
;
6948 } Py_INCREF(Py_None
);
6949 _resultobj
= Py_None
;
6953 static void *SwigwxSliderTowxControl(void *ptr
) {
6956 src
= (wxSlider
*) ptr
;
6957 dest
= (wxControl
*) src
;
6958 return (void *) dest
;
6961 static void *SwigwxSliderTowxWindow(void *ptr
) {
6964 src
= (wxSlider
*) ptr
;
6965 dest
= (wxWindow
*) src
;
6966 return (void *) dest
;
6969 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
6972 src
= (wxSlider
*) ptr
;
6973 dest
= (wxEvtHandler
*) src
;
6974 return (void *) dest
;
6977 #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))
6978 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
* _resultobj
;
6986 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
6987 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
6988 long _arg7
= (long ) wxSL_HORIZONTAL
;
6989 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
6990 char * _arg9
= (char *) "slider";
6991 PyObject
* _argo0
= 0;
6993 PyObject
* _obj5
= 0;
6995 PyObject
* _obj6
= 0;
6996 PyObject
* _argo8
= 0;
6997 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7013 if (! wxPoint_helper(_obj5
, &_arg5
))
7019 if (! wxSize_helper(_obj6
, &_arg6
))
7023 if (_argo8
== Py_None
) { _arg8
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7030 wxPy_BEGIN_ALLOW_THREADS
;
7031 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
7033 wxPy_END_ALLOW_THREADS
;
7035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
7036 _resultobj
= Py_BuildValue("s",_ptemp
);
7039 _resultobj
= Py_None
;
7044 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7045 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
* _resultobj
;
7048 PyObject
* _argo0
= 0;
7049 char *_kwnames
[] = { "self", NULL
};
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
7055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7062 wxPy_BEGIN_ALLOW_THREADS
;
7063 wxSlider_ClearSel(_arg0
);
7065 wxPy_END_ALLOW_THREADS
;
7066 } Py_INCREF(Py_None
);
7067 _resultobj
= Py_None
;
7071 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7072 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7075 PyObject
* _argo0
= 0;
7076 char *_kwnames
[] = { "self", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
7089 wxPy_BEGIN_ALLOW_THREADS
;
7090 wxSlider_ClearTicks(_arg0
);
7092 wxPy_END_ALLOW_THREADS
;
7093 } Py_INCREF(Py_None
);
7094 _resultobj
= Py_None
;
7098 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
7099 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7103 PyObject
* _argo0
= 0;
7104 char *_kwnames
[] = { "self", NULL
};
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
7110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
7117 wxPy_BEGIN_ALLOW_THREADS
;
7118 _result
= (int )wxSlider_GetLineSize(_arg0
);
7120 wxPy_END_ALLOW_THREADS
;
7121 } _resultobj
= Py_BuildValue("i",_result
);
7125 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
7126 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7130 PyObject
* _argo0
= 0;
7131 char *_kwnames
[] = { "self", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
7144 wxPy_BEGIN_ALLOW_THREADS
;
7145 _result
= (int )wxSlider_GetMax(_arg0
);
7147 wxPy_END_ALLOW_THREADS
;
7148 } _resultobj
= Py_BuildValue("i",_result
);
7152 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
7153 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 char *_kwnames
[] = { "self", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
7171 wxPy_BEGIN_ALLOW_THREADS
;
7172 _result
= (int )wxSlider_GetMin(_arg0
);
7174 wxPy_END_ALLOW_THREADS
;
7175 } _resultobj
= Py_BuildValue("i",_result
);
7179 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7180 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
* _resultobj
;
7184 PyObject
* _argo0
= 0;
7185 char *_kwnames
[] = { "self", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
7191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
7198 wxPy_BEGIN_ALLOW_THREADS
;
7199 _result
= (int )wxSlider_GetPageSize(_arg0
);
7201 wxPy_END_ALLOW_THREADS
;
7202 } _resultobj
= Py_BuildValue("i",_result
);
7206 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
7207 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7211 PyObject
* _argo0
= 0;
7212 char *_kwnames
[] = { "self", NULL
};
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
7218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
7225 wxPy_BEGIN_ALLOW_THREADS
;
7226 _result
= (int )wxSlider_GetSelEnd(_arg0
);
7228 wxPy_END_ALLOW_THREADS
;
7229 } _resultobj
= Py_BuildValue("i",_result
);
7233 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
7234 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
* _resultobj
;
7238 PyObject
* _argo0
= 0;
7239 char *_kwnames
[] = { "self", NULL
};
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
7245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
7252 wxPy_BEGIN_ALLOW_THREADS
;
7253 _result
= (int )wxSlider_GetSelStart(_arg0
);
7255 wxPy_END_ALLOW_THREADS
;
7256 } _resultobj
= Py_BuildValue("i",_result
);
7260 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
7261 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7265 PyObject
* _argo0
= 0;
7266 char *_kwnames
[] = { "self", NULL
};
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
7272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
7279 wxPy_BEGIN_ALLOW_THREADS
;
7280 _result
= (int )wxSlider_GetThumbLength(_arg0
);
7282 wxPy_END_ALLOW_THREADS
;
7283 } _resultobj
= Py_BuildValue("i",_result
);
7287 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
7288 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7292 PyObject
* _argo0
= 0;
7293 char *_kwnames
[] = { "self", NULL
};
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
7299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
7306 wxPy_BEGIN_ALLOW_THREADS
;
7307 _result
= (int )wxSlider_GetTickFreq(_arg0
);
7309 wxPy_END_ALLOW_THREADS
;
7310 } _resultobj
= Py_BuildValue("i",_result
);
7314 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
7315 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
7333 wxPy_BEGIN_ALLOW_THREADS
;
7334 _result
= (int )wxSlider_GetValue(_arg0
);
7336 wxPy_END_ALLOW_THREADS
;
7337 } _resultobj
= Py_BuildValue("i",_result
);
7341 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7342 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
* _resultobj
;
7347 PyObject
* _argo0
= 0;
7348 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
7361 wxPy_BEGIN_ALLOW_THREADS
;
7362 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
7364 wxPy_END_ALLOW_THREADS
;
7365 } Py_INCREF(Py_None
);
7366 _resultobj
= Py_None
;
7370 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
7371 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
* _resultobj
;
7376 PyObject
* _argo0
= 0;
7377 char *_kwnames
[] = { "self","n","pos", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
7390 wxPy_BEGIN_ALLOW_THREADS
;
7391 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
7393 wxPy_END_ALLOW_THREADS
;
7394 } Py_INCREF(Py_None
);
7395 _resultobj
= Py_None
;
7399 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
7400 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
* _resultobj
;
7404 PyObject
* _argo0
= 0;
7405 char *_kwnames
[] = { "self","lineSize", NULL
};
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
7411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
7418 wxPy_BEGIN_ALLOW_THREADS
;
7419 wxSlider_SetLineSize(_arg0
,_arg1
);
7421 wxPy_END_ALLOW_THREADS
;
7422 } Py_INCREF(Py_None
);
7423 _resultobj
= Py_None
;
7427 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
7428 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
* _resultobj
;
7432 PyObject
* _argo0
= 0;
7433 char *_kwnames
[] = { "self","pageSize", NULL
};
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
7439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
7446 wxPy_BEGIN_ALLOW_THREADS
;
7447 wxSlider_SetPageSize(_arg0
,_arg1
);
7449 wxPy_END_ALLOW_THREADS
;
7450 } Py_INCREF(Py_None
);
7451 _resultobj
= Py_None
;
7455 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7456 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
* _resultobj
;
7461 PyObject
* _argo0
= 0;
7462 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
7475 wxPy_BEGIN_ALLOW_THREADS
;
7476 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
7478 wxPy_END_ALLOW_THREADS
;
7479 } Py_INCREF(Py_None
);
7480 _resultobj
= Py_None
;
7484 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
7485 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
* _resultobj
;
7489 PyObject
* _argo0
= 0;
7490 char *_kwnames
[] = { "self","len", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
7503 wxPy_BEGIN_ALLOW_THREADS
;
7504 wxSlider_SetThumbLength(_arg0
,_arg1
);
7506 wxPy_END_ALLOW_THREADS
;
7507 } Py_INCREF(Py_None
);
7508 _resultobj
= Py_None
;
7512 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
7513 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
* _resultobj
;
7517 PyObject
* _argo0
= 0;
7518 char *_kwnames
[] = { "self","tickPos", NULL
};
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
7524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
7531 wxPy_BEGIN_ALLOW_THREADS
;
7532 wxSlider_SetTick(_arg0
,_arg1
);
7534 wxPy_END_ALLOW_THREADS
;
7535 } Py_INCREF(Py_None
);
7536 _resultobj
= Py_None
;
7540 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7541 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7545 PyObject
* _argo0
= 0;
7546 char *_kwnames
[] = { "self","value", NULL
};
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
7552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
7559 wxPy_BEGIN_ALLOW_THREADS
;
7560 wxSlider_SetValue(_arg0
,_arg1
);
7562 wxPy_END_ALLOW_THREADS
;
7563 } Py_INCREF(Py_None
);
7564 _resultobj
= Py_None
;
7568 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
7571 src
= (wxSpinCtrl
*) ptr
;
7572 dest
= (wxSpinButton
*) src
;
7573 return (void *) dest
;
7576 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
7579 src
= (wxSpinCtrl
*) ptr
;
7580 dest
= (wxControl
*) src
;
7581 return (void *) dest
;
7584 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
7587 src
= (wxSpinCtrl
*) ptr
;
7588 dest
= (wxWindow
*) src
;
7589 return (void *) dest
;
7592 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
7595 src
= (wxSpinCtrl
*) ptr
;
7596 dest
= (wxEvtHandler
*) src
;
7597 return (void *) dest
;
7600 #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))
7601 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
* _resultobj
;
7603 wxSpinCtrl
* _result
;
7605 wxWindowID _arg1
= (wxWindowID
) -1;
7606 char * _arg2
= (char *) "";
7607 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7608 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7609 long _arg5
= (long ) wxSP_ARROW_KEYS
;
7610 int _arg6
= (int ) 0;
7611 int _arg7
= (int ) 100;
7612 int _arg8
= (int ) 0;
7613 char * _arg9
= (char *) "wxSpinCtrl";
7614 PyObject
* _argo0
= 0;
7616 PyObject
* _obj3
= 0;
7618 PyObject
* _obj4
= 0;
7619 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
7635 if (! wxPoint_helper(_obj3
, &_arg3
))
7641 if (! wxSize_helper(_obj4
, &_arg4
))
7645 wxPy_BEGIN_ALLOW_THREADS
;
7646 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7648 wxPy_END_ALLOW_THREADS
;
7650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
7651 _resultobj
= Py_BuildValue("s",_ptemp
);
7654 _resultobj
= Py_None
;
7659 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
7660 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
* _resultobj
;
7664 PyObject
* _argo0
= 0;
7665 char *_kwnames
[] = { "self", NULL
};
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
7671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
7678 wxPy_BEGIN_ALLOW_THREADS
;
7679 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
7681 wxPy_END_ALLOW_THREADS
;
7682 } _resultobj
= Py_BuildValue("i",_result
);
7686 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
7687 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7691 PyObject
* _argo0
= 0;
7692 char *_kwnames
[] = { "self", NULL
};
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
7698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
7705 wxPy_BEGIN_ALLOW_THREADS
;
7706 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
7708 wxPy_END_ALLOW_THREADS
;
7709 } _resultobj
= Py_BuildValue("i",_result
);
7713 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7714 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7715 PyObject
* _resultobj
;
7718 PyObject
* _argo0
= 0;
7719 char *_kwnames
[] = { "self", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
7732 wxPy_BEGIN_ALLOW_THREADS
;
7733 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
7735 wxPy_END_ALLOW_THREADS
;
7736 } _resultobj
= Py_BuildValue("i",_result
);
7740 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7741 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7742 PyObject
* _resultobj
;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self","min","max", NULL
};
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
7760 wxPy_BEGIN_ALLOW_THREADS
;
7761 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
7763 wxPy_END_ALLOW_THREADS
;
7764 } Py_INCREF(Py_None
);
7765 _resultobj
= Py_None
;
7769 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7770 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
* _resultobj
;
7774 PyObject
* _argo0
= 0;
7775 char *_kwnames
[] = { "self","value", NULL
};
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
7781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
7788 wxPy_BEGIN_ALLOW_THREADS
;
7789 wxSpinCtrl_SetValue(_arg0
,_arg1
);
7791 wxPy_END_ALLOW_THREADS
;
7792 } Py_INCREF(Py_None
);
7793 _resultobj
= Py_None
;
7797 static PyMethodDef controlscMethods
[] = {
7798 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7799 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7800 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7801 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7802 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7803 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7804 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7805 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
7806 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
7807 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7808 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7809 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
7810 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
7811 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7812 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7813 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
7814 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
7815 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
7816 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
7817 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7818 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7819 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7820 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
7821 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
7822 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
7823 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
7824 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7825 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7826 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
7827 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
7828 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
7829 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7830 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7831 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
7832 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7833 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7834 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7835 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7836 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
7837 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7838 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
7839 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7840 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
7841 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
7842 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7843 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7844 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7845 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7846 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7847 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7848 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7849 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7850 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
7851 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
7852 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
7853 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
7854 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
7855 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
7856 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7857 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
7858 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
7859 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
7860 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
7861 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
7862 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
7863 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7864 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
7865 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
7866 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
7867 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
7868 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
7869 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
7870 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
7871 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
7872 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
7873 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7874 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7875 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
7876 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7877 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
7878 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7879 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7880 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7881 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
7882 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
7883 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7884 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
7885 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7886 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
7887 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
7888 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
7889 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
7890 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7891 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
7892 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
7893 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
7894 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7895 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7896 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
7897 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
7898 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
7899 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7900 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
7901 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7902 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
7903 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7904 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
7905 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
7906 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
7907 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
7908 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7909 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7910 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7911 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
7912 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7913 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7914 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7915 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
7916 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7917 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7918 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
7919 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
7920 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7921 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7922 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
7923 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
7924 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
7925 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7926 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
7927 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7928 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
7929 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7930 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
7931 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
7932 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
7933 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
7934 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7935 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
7936 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7937 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
7938 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7939 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7940 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7941 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
7942 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7943 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7944 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7945 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7946 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7947 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
7948 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7949 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7950 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7951 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
7952 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
7953 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7954 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
7955 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
7956 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7957 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7958 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7959 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
7960 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7961 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7962 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7963 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7964 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7965 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7966 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
7967 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
7968 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7969 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7970 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
7971 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
7972 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
7973 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
7974 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7975 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7976 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7977 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7978 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7979 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7980 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7981 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7982 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
7983 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7984 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7985 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
7986 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
7987 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7988 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7989 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
7990 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
7991 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
7998 * This table is used by the pointer type-checker
8000 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8001 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8002 { "_wxEvent","_class_wxEvent",0},
8003 { "_class_wxActivateEvent","_wxActivateEvent",0},
8004 { "_signed_long","_long",0},
8005 { "_wxMenuEvent","_class_wxMenuEvent",0},
8006 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8007 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8008 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8009 { "_wxPrintQuality","_wxCoord",0},
8010 { "_wxPrintQuality","_int",0},
8011 { "_wxPrintQuality","_signed_int",0},
8012 { "_wxPrintQuality","_unsigned_int",0},
8013 { "_wxPrintQuality","_wxWindowID",0},
8014 { "_wxPrintQuality","_uint",0},
8015 { "_wxPrintQuality","_EBool",0},
8016 { "_wxPrintQuality","_size_t",0},
8017 { "_wxPrintQuality","_time_t",0},
8018 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8019 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8020 { "_class_wxRegionIterator","_wxRegionIterator",0},
8021 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8022 { "_class_wxMenuBar","_wxMenuBar",0},
8023 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8024 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8025 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8026 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8027 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8028 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8029 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8030 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8031 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8032 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8033 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8034 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8035 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8036 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8037 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8038 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8039 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8040 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8041 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8042 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8043 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8044 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8045 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8046 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8047 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8048 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8049 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8050 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8051 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8052 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8053 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8054 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8055 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8056 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8057 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8058 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8059 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8060 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8061 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8062 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8063 { "_class_wxEvtHandler","_wxEvtHandler",0},
8064 { "_wxPaintEvent","_class_wxPaintEvent",0},
8065 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8066 { "_wxCursor","_class_wxCursor",0},
8067 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8068 { "_wxMask","_class_wxMask",0},
8069 { "_wxPen","_class_wxPen",0},
8070 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8071 { "_byte","_unsigned_char",0},
8072 { "_wxDataObject","_class_wxDataObject",0},
8073 { "_wxStaticBox","_class_wxStaticBox",0},
8074 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8075 { "_wxPyDropSource","_class_wxPyDropSource",0},
8076 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8077 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8078 { "_wxChoice","_class_wxChoice",0},
8079 { "_wxSlider","_class_wxSlider",0},
8080 { "_long","_unsigned_long",0},
8081 { "_long","_signed_long",0},
8082 { "_wxImageList","_class_wxImageList",0},
8083 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8084 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8085 { "_wxBitmapButton","_class_wxBitmapButton",0},
8086 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8087 { "_class_wxClipboard","_wxClipboard",0},
8088 { "_class_wxGauge","_wxGauge",0},
8089 { "_wxDC","_class_wxDC",0},
8090 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8091 { "_wxSpinEvent","_class_wxSpinEvent",0},
8092 { "_size_t","_wxCoord",0},
8093 { "_size_t","_wxPrintQuality",0},
8094 { "_size_t","_time_t",0},
8095 { "_size_t","_unsigned_int",0},
8096 { "_size_t","_int",0},
8097 { "_size_t","_wxWindowID",0},
8098 { "_size_t","_uint",0},
8099 { "_class_wxRealPoint","_wxRealPoint",0},
8100 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8101 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8102 { "_class_wxMenuItem","_wxMenuItem",0},
8103 { "_class_wxPaintEvent","_wxPaintEvent",0},
8104 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8105 { "_wxPanel","_class_wxPanel",0},
8106 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8107 { "_wxCheckBox","_class_wxCheckBox",0},
8108 { "_wxPyEvent","_class_wxPyEvent",0},
8109 { "_wxTextCtrl","_class_wxTextCtrl",0},
8110 { "_class_wxMask","_wxMask",0},
8111 { "_wxTextDataObject","_class_wxTextDataObject",0},
8112 { "_class_wxKeyEvent","_wxKeyEvent",0},
8113 { "_wxColour","_class_wxColour",0},
8114 { "_class_wxDialog","_wxDialog",0},
8115 { "_class_wxFileDataObject","_wxFileDataObject",0},
8116 { "_wxIdleEvent","_class_wxIdleEvent",0},
8117 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8118 { "_class_wxDataObject","_wxDataObject",0},
8119 { "_wxStaticLine","_class_wxStaticLine",0},
8120 { "_wxBrush","_class_wxBrush",0},
8121 { "_wxDataFormat","_class_wxDataFormat",0},
8122 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8123 { "_wxShowEvent","_class_wxShowEvent",0},
8124 { "_uint","_wxCoord",0},
8125 { "_uint","_wxPrintQuality",0},
8126 { "_uint","_time_t",0},
8127 { "_uint","_size_t",0},
8128 { "_uint","_unsigned_int",0},
8129 { "_uint","_int",0},
8130 { "_uint","_wxWindowID",0},
8131 { "_wxChar","_char",0},
8132 { "_wxPyValidator","_class_wxPyValidator",0},
8133 { "_class_wxEvent","_wxEvent",0},
8134 { "_wxCheckListBox","_class_wxCheckListBox",0},
8135 { "_wxRect","_class_wxRect",0},
8136 { "_wxCommandEvent","_class_wxCommandEvent",0},
8137 { "_wxSizeEvent","_class_wxSizeEvent",0},
8138 { "_wxPoint","_class_wxPoint",0},
8139 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8140 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8141 { "_class_wxButton","_wxButton",0},
8142 { "_wxRadioBox","_class_wxRadioBox",0},
8143 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8144 { "_char","_wxChar",0},
8145 { "_wxBitmap","_class_wxBitmap",0},
8146 { "_wxWindowDC","_class_wxWindowDC",0},
8147 { "_wxTimerEvent","_class_wxTimerEvent",0},
8148 { "_wxScrollBar","_class_wxScrollBar",0},
8149 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8150 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8151 { "_wxSpinButton","_class_wxSpinButton",0},
8152 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8153 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8154 { "_class_wxValidator","_wxValidator",0},
8155 { "_class_wxPyEvent","_wxPyEvent",0},
8156 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8157 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8158 { "_wxDropTarget","_class_wxDropTarget",0},
8159 { "_class_wxStaticLine","_wxStaticLine",0},
8160 { "_wxScrollEvent","_class_wxScrollEvent",0},
8161 { "_EBool","_wxCoord",0},
8162 { "_EBool","_wxPrintQuality",0},
8163 { "_EBool","_signed_int",0},
8164 { "_EBool","_int",0},
8165 { "_EBool","_wxWindowID",0},
8166 { "_class_wxRegion","_wxRegion",0},
8167 { "_class_wxDataFormat","_wxDataFormat",0},
8168 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8169 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8170 { "_wxStaticText","_class_wxStaticText",0},
8171 { "_wxFont","_class_wxFont",0},
8172 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8173 { "_wxCloseEvent","_class_wxCloseEvent",0},
8174 { "_unsigned_long","_long",0},
8175 { "_class_wxRect","_wxRect",0},
8176 { "_class_wxDC","_wxDC",0},
8177 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8178 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8179 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8180 { "_wxFocusEvent","_class_wxFocusEvent",0},
8181 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8182 { "_class_wxTimerEvent","_wxTimerEvent",0},
8183 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8184 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8185 { "_class_wxSpinButton","_wxSpinButton",0},
8186 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8187 { "_class_wxPanel","_wxPanel",0},
8188 { "_class_wxCheckBox","_wxCheckBox",0},
8189 { "_wxComboBox","_class_wxComboBox",0},
8190 { "_wxRadioButton","_class_wxRadioButton",0},
8191 { "_signed_int","_wxCoord",0},
8192 { "_signed_int","_wxPrintQuality",0},
8193 { "_signed_int","_EBool",0},
8194 { "_signed_int","_wxWindowID",0},
8195 { "_signed_int","_int",0},
8196 { "_class_wxTextCtrl","_wxTextCtrl",0},
8197 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8198 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8199 { "_class_wxTextDataObject","_wxTextDataObject",0},
8200 { "_wxMenu","_class_wxMenu",0},
8201 { "_class_wxMoveEvent","_wxMoveEvent",0},
8202 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8203 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8204 { "_wxListBox","_class_wxListBox",0},
8205 { "_wxScreenDC","_class_wxScreenDC",0},
8206 { "_WXTYPE","_short",0},
8207 { "_WXTYPE","_signed_short",0},
8208 { "_WXTYPE","_unsigned_short",0},
8209 { "_class_wxDropTarget","_wxDropTarget",0},
8210 { "_class_wxBrush","_wxBrush",0},
8211 { "_unsigned_short","_WXTYPE",0},
8212 { "_unsigned_short","_short",0},
8213 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8214 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8215 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8216 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8217 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8218 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8219 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8220 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8221 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8222 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8223 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8224 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8225 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8226 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8227 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8228 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8229 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8230 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8231 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8232 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8233 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8234 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8235 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8236 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8237 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8238 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8239 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8240 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8241 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8242 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8243 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8244 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8245 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8246 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8247 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8248 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8249 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8250 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8251 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8252 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8253 { "_class_wxWindow","_wxWindow",0},
8254 { "_class_wxStaticText","_wxStaticText",0},
8255 { "_class_wxFont","_wxFont",0},
8256 { "_wxClipboard","_class_wxClipboard",0},
8257 { "_class_wxPyValidator","_wxPyValidator",0},
8258 { "_class_wxCloseEvent","_wxCloseEvent",0},
8259 { "_wxBusyInfo","_class_wxBusyInfo",0},
8260 { "_wxFontList","_class_wxFontList",0},
8261 { "_class_wxMenuEvent","_wxMenuEvent",0},
8262 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8263 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8264 { "_wxClientDC","_class_wxClientDC",0},
8265 { "_wxMouseEvent","_class_wxMouseEvent",0},
8266 { "_class_wxPoint","_wxPoint",0},
8267 { "_wxRealPoint","_class_wxRealPoint",0},
8268 { "_class_wxRadioBox","_wxRadioBox",0},
8269 { "_signed_short","_WXTYPE",0},
8270 { "_signed_short","_short",0},
8271 { "_wxMemoryDC","_class_wxMemoryDC",0},
8272 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8273 { "_wxPaintDC","_class_wxPaintDC",0},
8274 { "_class_wxWindowDC","_wxWindowDC",0},
8275 { "_class_wxFocusEvent","_wxFocusEvent",0},
8276 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8277 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8278 { "_class_wxCursor","_wxCursor",0},
8279 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8280 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8281 { "_unsigned_char","_byte",0},
8282 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8283 { "_class_wxMenu","_wxMenu",0},
8284 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8285 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8286 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8287 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8288 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8289 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8290 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8291 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8292 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8293 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8294 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8295 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8296 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8297 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8298 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8299 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8300 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8301 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8302 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8303 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8304 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8305 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8306 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8307 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8308 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8309 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8310 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8311 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8312 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8313 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8314 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8315 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8316 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8317 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8318 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8319 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8320 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8321 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
8322 { "_wxControl","_class_wxControl",0},
8323 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8324 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8325 { "_class_wxListBox","_wxListBox",0},
8326 { "_unsigned_int","_wxCoord",0},
8327 { "_unsigned_int","_wxPrintQuality",0},
8328 { "_unsigned_int","_time_t",0},
8329 { "_unsigned_int","_size_t",0},
8330 { "_unsigned_int","_uint",0},
8331 { "_unsigned_int","_wxWindowID",0},
8332 { "_unsigned_int","_int",0},
8333 { "_wxIcon","_class_wxIcon",0},
8334 { "_wxDialog","_class_wxDialog",0},
8335 { "_class_wxPen","_wxPen",0},
8336 { "_short","_WXTYPE",0},
8337 { "_short","_unsigned_short",0},
8338 { "_short","_signed_short",0},
8339 { "_class_wxStaticBox","_wxStaticBox",0},
8340 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8341 { "_class_wxPyDropSource","_wxPyDropSource",0},
8342 { "_class_wxScrollEvent","_wxScrollEvent",0},
8343 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8344 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8345 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8346 { "_class_wxChoice","_wxChoice",0},
8347 { "_class_wxSlider","_wxSlider",0},
8348 { "_class_wxImageList","_wxImageList",0},
8349 { "_class_wxBitmapButton","_wxBitmapButton",0},
8350 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8351 { "_wxWindowID","_wxCoord",0},
8352 { "_wxWindowID","_wxPrintQuality",0},
8353 { "_wxWindowID","_time_t",0},
8354 { "_wxWindowID","_size_t",0},
8355 { "_wxWindowID","_EBool",0},
8356 { "_wxWindowID","_uint",0},
8357 { "_wxWindowID","_int",0},
8358 { "_wxWindowID","_signed_int",0},
8359 { "_wxWindowID","_unsigned_int",0},
8360 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8361 { "_int","_wxCoord",0},
8362 { "_int","_wxPrintQuality",0},
8363 { "_int","_time_t",0},
8364 { "_int","_size_t",0},
8365 { "_int","_EBool",0},
8366 { "_int","_uint",0},
8367 { "_int","_wxWindowID",0},
8368 { "_int","_unsigned_int",0},
8369 { "_int","_signed_int",0},
8370 { "_class_wxMouseEvent","_wxMouseEvent",0},
8371 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8372 { "_class_wxSpinEvent","_wxSpinEvent",0},
8373 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8374 { "_time_t","_wxCoord",0},
8375 { "_time_t","_wxPrintQuality",0},
8376 { "_time_t","_unsigned_int",0},
8377 { "_time_t","_int",0},
8378 { "_time_t","_wxWindowID",0},
8379 { "_time_t","_uint",0},
8380 { "_time_t","_size_t",0},
8381 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8382 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8383 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8384 { "_wxButton","_class_wxButton",0},
8385 { "_wxSize","_class_wxSize",0},
8386 { "_wxRegionIterator","_class_wxRegionIterator",0},
8387 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8388 { "_class_wxPaintDC","_wxPaintDC",0},
8389 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8390 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8391 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8392 { "_class_wxComboBox","_wxComboBox",0},
8393 { "_class_wxRadioButton","_wxRadioButton",0},
8394 { "_wxValidator","_class_wxValidator",0},
8395 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8396 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8397 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8398 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8399 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8400 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8401 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8402 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8403 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8404 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8405 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8406 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8407 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8408 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8409 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8410 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8411 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8412 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8413 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8414 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8415 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8416 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8417 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8418 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8419 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8420 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8421 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8422 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8423 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8424 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8425 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8426 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8427 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8428 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8429 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8430 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8431 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8432 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8433 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8434 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
8435 { "_class_wxControl","_wxControl",0},
8436 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8437 { "_class_wxIcon","_wxIcon",0},
8438 { "_class_wxColour","_wxColour",0},
8439 { "_class_wxScreenDC","_wxScreenDC",0},
8440 { "_wxPalette","_class_wxPalette",0},
8441 { "_class_wxIdleEvent","_wxIdleEvent",0},
8442 { "_wxCoord","_int",0},
8443 { "_wxCoord","_signed_int",0},
8444 { "_wxCoord","_unsigned_int",0},
8445 { "_wxCoord","_wxWindowID",0},
8446 { "_wxCoord","_uint",0},
8447 { "_wxCoord","_EBool",0},
8448 { "_wxCoord","_size_t",0},
8449 { "_wxCoord","_time_t",0},
8450 { "_wxCoord","_wxPrintQuality",0},
8451 { "_wxEraseEvent","_class_wxEraseEvent",0},
8452 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8453 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8454 { "_wxRegion","_class_wxRegion",0},
8455 { "_class_wxShowEvent","_wxShowEvent",0},
8456 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8457 { "_wxActivateEvent","_class_wxActivateEvent",0},
8458 { "_wxGauge","_class_wxGauge",0},
8459 { "_class_wxCheckListBox","_wxCheckListBox",0},
8460 { "_class_wxBusyInfo","_wxBusyInfo",0},
8461 { "_class_wxFontList","_wxFontList",0},
8462 { "_class_wxCommandEvent","_wxCommandEvent",0},
8463 { "_class_wxClientDC","_wxClientDC",0},
8464 { "_class_wxSizeEvent","_wxSizeEvent",0},
8465 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8466 { "_class_wxSize","_wxSize",0},
8467 { "_class_wxBitmap","_wxBitmap",0},
8468 { "_class_wxMemoryDC","_wxMemoryDC",0},
8469 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8470 { "_wxMenuBar","_class_wxMenuBar",0},
8471 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8472 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8473 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8474 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8475 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8476 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8477 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8478 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8479 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8480 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8481 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8482 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8483 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8484 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8485 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8486 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8487 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8488 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8489 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8490 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8491 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8492 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8493 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8494 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8495 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8496 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8497 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8498 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8499 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8500 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8501 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8502 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8503 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8504 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8505 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8506 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8507 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8508 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8509 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8510 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8511 { "_wxEvtHandler","_class_wxEvtHandler",0},
8512 { "_wxMenuItem","_class_wxMenuItem",0},
8513 { "_class_wxScrollBar","_wxScrollBar",0},
8514 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8515 { "_wxKeyEvent","_class_wxKeyEvent",0},
8516 { "_wxMoveEvent","_class_wxMoveEvent",0},
8517 { "_class_wxPalette","_wxPalette",0},
8518 { "_wxFileDataObject","_class_wxFileDataObject",0},
8519 { "_class_wxEraseEvent","_wxEraseEvent",0},
8520 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8521 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8522 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8523 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8524 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8525 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8526 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8527 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8528 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8529 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8530 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8531 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8532 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8533 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8534 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8535 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8536 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8537 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8538 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8539 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8540 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8541 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8542 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8543 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8544 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8545 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8546 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8547 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8548 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8549 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8550 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8551 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8552 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8553 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8554 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8555 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8556 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8557 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8558 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8559 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8560 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8561 { "_wxWindow","_class_wxWindow",0},
8562 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8565 static PyObject
*SWIG_globals
;
8569 SWIGEXPORT(void) initcontrolsc() {
8571 SWIG_globals
= SWIG_newvarlink();
8572 m
= Py_InitModule("controlsc", controlscMethods
);
8573 d
= PyModule_GetDict(m
);
8574 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8575 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
8578 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8579 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);