2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
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 #if PYTHON_API_VERSION >= 1009
124 static char* wxStringErrorMsg
= "String or Unicode type required";
126 static char* wxStringErrorMsg
= "string type is required for parameter";
129 wxSize
wxButton_GetDefaultSize() {
130 return wxButton::GetDefaultSize();
135 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
137 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
141 static PyObject
*_wrap_wxDefaultValidator_get() {
145 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
146 pyobj
= PyString_FromString(ptemp
);
150 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
153 char *_kwnames
[] = { NULL
};
157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
160 wxPy_BEGIN_ALLOW_THREADS
;
161 _result
= new wxSize (wxButton_GetDefaultSize());
163 wxPy_END_ALLOW_THREADS
;
164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
165 _resultobj
= Py_BuildValue("s",_ptemp
);
169 static void *SwigwxControlTowxWindow(void *ptr
) {
172 src
= (wxControl
*) ptr
;
173 dest
= (wxWindow
*) src
;
174 return (void *) dest
;
177 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
180 src
= (wxControl
*) ptr
;
181 dest
= (wxEvtHandler
*) src
;
182 return (void *) dest
;
185 static void *SwigwxControlTowxObject(void *ptr
) {
188 src
= (wxControl
*) ptr
;
189 dest
= (wxObject
*) src
;
190 return (void *) dest
;
193 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
194 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
199 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
200 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
201 long _arg4
= (long ) 0;
202 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
203 char * _arg6
= (char *) "control";
204 PyObject
* _argo0
= 0;
206 PyObject
* _obj2
= 0;
208 PyObject
* _obj3
= 0;
209 PyObject
* _argo5
= 0;
210 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
226 if (! wxPoint_helper(_obj2
, &_arg2
))
232 if (! wxSize_helper(_obj3
, &_arg3
))
236 if (_argo5
== Py_None
) { _arg5
= NULL
; }
237 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
243 wxPy_BEGIN_ALLOW_THREADS
;
244 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
246 wxPy_END_ALLOW_THREADS
;
248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
249 _resultobj
= Py_BuildValue("s",_ptemp
);
252 _resultobj
= Py_None
;
257 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
258 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
261 wxCommandEvent
* _arg1
;
262 PyObject
* _argo0
= 0;
263 PyObject
* _argo1
= 0;
264 char *_kwnames
[] = { "self","event", NULL
};
267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
277 if (_argo1
== Py_None
) { _arg1
= NULL
; }
278 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
284 wxPy_BEGIN_ALLOW_THREADS
;
285 wxControl_Command(_arg0
,*_arg1
);
287 wxPy_END_ALLOW_THREADS
;
288 } Py_INCREF(Py_None
);
289 _resultobj
= Py_None
;
293 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
294 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
298 PyObject
* _argo0
= 0;
299 char *_kwnames
[] = { "self", NULL
};
302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
312 wxPy_BEGIN_ALLOW_THREADS
;
313 _result
= new wxString (wxControl_GetLabel(_arg0
));
315 wxPy_END_ALLOW_THREADS
;
317 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
325 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
326 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
330 PyObject
* _argo0
= 0;
331 PyObject
* _obj1
= 0;
332 char *_kwnames
[] = { "self","label", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
345 #if PYTHON_API_VERSION >= 1009
346 char* tmpPtr
; int tmpSize
;
347 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
351 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
353 _arg1
= new wxString(tmpPtr
, tmpSize
);
355 if (!PyString_Check(_obj1
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
363 wxPy_BEGIN_ALLOW_THREADS
;
364 wxControl_SetLabel(_arg0
,*_arg1
);
366 wxPy_END_ALLOW_THREADS
;
367 } Py_INCREF(Py_None
);
368 _resultobj
= Py_None
;
376 static void *SwigwxButtonTowxControl(void *ptr
) {
379 src
= (wxButton
*) ptr
;
380 dest
= (wxControl
*) src
;
381 return (void *) dest
;
384 static void *SwigwxButtonTowxWindow(void *ptr
) {
387 src
= (wxButton
*) ptr
;
388 dest
= (wxWindow
*) src
;
389 return (void *) dest
;
392 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
395 src
= (wxButton
*) ptr
;
396 dest
= (wxEvtHandler
*) src
;
397 return (void *) dest
;
400 static void *SwigwxButtonTowxObject(void *ptr
) {
403 src
= (wxButton
*) ptr
;
404 dest
= (wxObject
*) src
;
405 return (void *) dest
;
408 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
409 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
410 PyObject
* _resultobj
;
415 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
416 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
417 long _arg5
= (long ) 0;
418 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
419 char * _arg7
= (char *) "button";
420 PyObject
* _argo0
= 0;
421 PyObject
* _obj2
= 0;
423 PyObject
* _obj3
= 0;
425 PyObject
* _obj4
= 0;
426 PyObject
* _argo6
= 0;
427 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
441 #if PYTHON_API_VERSION >= 1009
442 char* tmpPtr
; int tmpSize
;
443 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
447 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
449 _arg2
= new wxString(tmpPtr
, tmpSize
);
451 if (!PyString_Check(_obj2
)) {
452 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
455 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
461 if (! wxPoint_helper(_obj3
, &_arg3
))
467 if (! wxSize_helper(_obj4
, &_arg4
))
471 if (_argo6
== Py_None
) { _arg6
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
478 wxPy_BEGIN_ALLOW_THREADS
;
479 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
481 wxPy_END_ALLOW_THREADS
;
483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
484 _resultobj
= Py_BuildValue("s",_ptemp
);
487 _resultobj
= Py_None
;
496 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
497 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
500 PyObject
* _argo0
= 0;
501 char *_kwnames
[] = { "self", NULL
};
504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
514 wxPy_BEGIN_ALLOW_THREADS
;
515 wxButton_SetDefault(_arg0
);
517 wxPy_END_ALLOW_THREADS
;
518 } Py_INCREF(Py_None
);
519 _resultobj
= Py_None
;
523 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
524 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
528 PyObject
* _argo0
= 0;
530 PyObject
* _obj1
= 0;
531 char *_kwnames
[] = { "self","colour", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
545 if (! wxColour_helper(_obj1
, &_arg1
))
549 wxPy_BEGIN_ALLOW_THREADS
;
550 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
552 wxPy_END_ALLOW_THREADS
;
553 } Py_INCREF(Py_None
);
554 _resultobj
= Py_None
;
558 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
559 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
560 PyObject
* _resultobj
;
563 PyObject
* _argo0
= 0;
565 PyObject
* _obj1
= 0;
566 char *_kwnames
[] = { "self","colour", NULL
};
569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
580 if (! wxColour_helper(_obj1
, &_arg1
))
584 wxPy_BEGIN_ALLOW_THREADS
;
585 wxButton_SetForegroundColour(_arg0
,*_arg1
);
587 wxPy_END_ALLOW_THREADS
;
588 } Py_INCREF(Py_None
);
589 _resultobj
= Py_None
;
593 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
596 src
= (wxBitmapButton
*) ptr
;
597 dest
= (wxButton
*) src
;
598 return (void *) dest
;
601 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
604 src
= (wxBitmapButton
*) ptr
;
605 dest
= (wxControl
*) src
;
606 return (void *) dest
;
609 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
612 src
= (wxBitmapButton
*) ptr
;
613 dest
= (wxWindow
*) src
;
614 return (void *) dest
;
617 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
620 src
= (wxBitmapButton
*) ptr
;
621 dest
= (wxEvtHandler
*) src
;
622 return (void *) dest
;
625 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
628 src
= (wxBitmapButton
*) ptr
;
629 dest
= (wxObject
*) src
;
630 return (void *) dest
;
633 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
634 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
635 PyObject
* _resultobj
;
636 wxBitmapButton
* _result
;
640 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
641 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
642 long _arg5
= (long ) wxBU_AUTODRAW
;
643 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
644 char * _arg7
= (char *) "button";
645 PyObject
* _argo0
= 0;
646 PyObject
* _argo2
= 0;
648 PyObject
* _obj3
= 0;
650 PyObject
* _obj4
= 0;
651 PyObject
* _argo6
= 0;
652 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
666 if (_argo2
== Py_None
) { _arg2
= NULL
; }
667 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
675 if (! wxPoint_helper(_obj3
, &_arg3
))
681 if (! wxSize_helper(_obj4
, &_arg4
))
685 if (_argo6
== Py_None
) { _arg6
= NULL
; }
686 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
692 wxPy_BEGIN_ALLOW_THREADS
;
693 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
695 wxPy_END_ALLOW_THREADS
;
697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
698 _resultobj
= Py_BuildValue("s",_ptemp
);
701 _resultobj
= Py_None
;
706 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
707 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
708 PyObject
* _resultobj
;
710 wxBitmapButton
* _arg0
;
711 PyObject
* _argo0
= 0;
712 char *_kwnames
[] = { "self", NULL
};
716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
726 wxPy_BEGIN_ALLOW_THREADS
;
727 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
728 _result
= (wxBitmap
*) &_result_ref
;
730 wxPy_END_ALLOW_THREADS
;
732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
733 _resultobj
= Py_BuildValue("s",_ptemp
);
736 _resultobj
= Py_None
;
741 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
742 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
743 PyObject
* _resultobj
;
745 wxBitmapButton
* _arg0
;
746 PyObject
* _argo0
= 0;
747 char *_kwnames
[] = { "self", NULL
};
751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
761 wxPy_BEGIN_ALLOW_THREADS
;
762 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
763 _result
= (wxBitmap
*) &_result_ref
;
765 wxPy_END_ALLOW_THREADS
;
767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
768 _resultobj
= Py_BuildValue("s",_ptemp
);
771 _resultobj
= Py_None
;
776 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
777 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
780 wxBitmapButton
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
796 wxPy_BEGIN_ALLOW_THREADS
;
797 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
798 _result
= (wxBitmap
*) &_result_ref
;
800 wxPy_END_ALLOW_THREADS
;
802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
803 _resultobj
= Py_BuildValue("s",_ptemp
);
806 _resultobj
= Py_None
;
811 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
812 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
815 wxBitmapButton
* _arg0
;
816 PyObject
* _argo0
= 0;
817 char *_kwnames
[] = { "self", NULL
};
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
831 wxPy_BEGIN_ALLOW_THREADS
;
832 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
833 _result
= (wxBitmap
*) &_result_ref
;
835 wxPy_END_ALLOW_THREADS
;
837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
838 _resultobj
= Py_BuildValue("s",_ptemp
);
841 _resultobj
= Py_None
;
846 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
847 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxBitmapButton
* _arg0
;
851 PyObject
* _argo0
= 0;
852 PyObject
* _argo1
= 0;
853 char *_kwnames
[] = { "self","bitmap", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
866 if (_argo1
== Py_None
) { _arg1
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
873 wxPy_BEGIN_ALLOW_THREADS
;
874 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
876 wxPy_END_ALLOW_THREADS
;
877 } Py_INCREF(Py_None
);
878 _resultobj
= Py_None
;
882 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
883 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
885 wxBitmapButton
* _arg0
;
887 PyObject
* _argo0
= 0;
888 PyObject
* _argo1
= 0;
889 char *_kwnames
[] = { "self","bitmap", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
909 wxPy_BEGIN_ALLOW_THREADS
;
910 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
912 wxPy_END_ALLOW_THREADS
;
913 } Py_INCREF(Py_None
);
914 _resultobj
= Py_None
;
918 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
919 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
920 PyObject
* _resultobj
;
921 wxBitmapButton
* _arg0
;
923 PyObject
* _argo0
= 0;
924 PyObject
* _argo1
= 0;
925 char *_kwnames
[] = { "self","bitmap", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
938 if (_argo1
== Py_None
) { _arg1
= NULL
; }
939 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
945 wxPy_BEGIN_ALLOW_THREADS
;
946 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
948 wxPy_END_ALLOW_THREADS
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
954 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
955 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
956 PyObject
* _resultobj
;
957 wxBitmapButton
* _arg0
;
959 PyObject
* _argo0
= 0;
960 PyObject
* _argo1
= 0;
961 char *_kwnames
[] = { "self","bitmap", NULL
};
964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
981 wxPy_BEGIN_ALLOW_THREADS
;
982 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
984 wxPy_END_ALLOW_THREADS
;
985 } Py_INCREF(Py_None
);
986 _resultobj
= Py_None
;
990 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
991 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
992 PyObject
* _resultobj
;
993 wxBitmapButton
* _arg0
;
996 PyObject
* _argo0
= 0;
997 char *_kwnames
[] = { "self","x","y", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetMargins. Expected _wxBitmapButton_p.");
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1013 wxPy_END_ALLOW_THREADS
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1020 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1023 wxBitmapButton
* _arg0
;
1024 PyObject
* _argo0
= 0;
1025 char *_kwnames
[] = { "self", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1041 wxPy_END_ALLOW_THREADS
;
1042 } _resultobj
= Py_BuildValue("i",_result
);
1046 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1047 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1048 PyObject
* _resultobj
;
1050 wxBitmapButton
* _arg0
;
1051 PyObject
* _argo0
= 0;
1052 char *_kwnames
[] = { "self", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1068 wxPy_END_ALLOW_THREADS
;
1069 } _resultobj
= Py_BuildValue("i",_result
);
1073 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1076 src
= (wxCheckBox
*) ptr
;
1077 dest
= (wxControl
*) src
;
1078 return (void *) dest
;
1081 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1084 src
= (wxCheckBox
*) ptr
;
1085 dest
= (wxWindow
*) src
;
1086 return (void *) dest
;
1089 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1092 src
= (wxCheckBox
*) ptr
;
1093 dest
= (wxEvtHandler
*) src
;
1094 return (void *) dest
;
1097 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1100 src
= (wxCheckBox
*) ptr
;
1101 dest
= (wxObject
*) src
;
1102 return (void *) dest
;
1105 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1106 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1108 wxCheckBox
* _result
;
1112 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1113 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1114 long _arg5
= (long ) 0;
1115 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1116 char * _arg7
= (char *) "checkBox";
1117 PyObject
* _argo0
= 0;
1118 PyObject
* _obj2
= 0;
1120 PyObject
* _obj3
= 0;
1122 PyObject
* _obj4
= 0;
1123 PyObject
* _argo6
= 0;
1124 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1138 #if PYTHON_API_VERSION >= 1009
1139 char* tmpPtr
; int tmpSize
;
1140 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1144 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1146 _arg2
= new wxString(tmpPtr
, tmpSize
);
1148 if (!PyString_Check(_obj2
)) {
1149 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1152 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1158 if (! wxPoint_helper(_obj3
, &_arg3
))
1164 if (! wxSize_helper(_obj4
, &_arg4
))
1168 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1178 wxPy_END_ALLOW_THREADS
;
1180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1181 _resultobj
= Py_BuildValue("s",_ptemp
);
1184 _resultobj
= Py_None
;
1193 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1194 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1198 PyObject
* _argo0
= 0;
1199 char *_kwnames
[] = { "self", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1212 wxPy_BEGIN_ALLOW_THREADS
;
1213 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1215 wxPy_END_ALLOW_THREADS
;
1216 } _resultobj
= Py_BuildValue("i",_result
);
1220 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1221 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1222 PyObject
* _resultobj
;
1225 PyObject
* _argo0
= 0;
1227 char *_kwnames
[] = { "self","state", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1239 _arg1
= (bool ) tempbool1
;
1241 wxPy_BEGIN_ALLOW_THREADS
;
1242 wxCheckBox_SetValue(_arg0
,_arg1
);
1244 wxPy_END_ALLOW_THREADS
;
1245 } Py_INCREF(Py_None
);
1246 _resultobj
= Py_None
;
1250 static void *SwigwxChoiceTowxControl(void *ptr
) {
1253 src
= (wxChoice
*) ptr
;
1254 dest
= (wxControl
*) src
;
1255 return (void *) dest
;
1258 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1261 src
= (wxChoice
*) ptr
;
1262 dest
= (wxWindow
*) src
;
1263 return (void *) dest
;
1266 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1269 src
= (wxChoice
*) ptr
;
1270 dest
= (wxEvtHandler
*) src
;
1271 return (void *) dest
;
1274 static void *SwigwxChoiceTowxObject(void *ptr
) {
1277 src
= (wxChoice
*) ptr
;
1278 dest
= (wxObject
*) src
;
1279 return (void *) dest
;
1282 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1283 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1284 PyObject
* _resultobj
;
1288 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1289 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1290 int _arg4
= (int ) 0;
1291 wxString
* _arg5
= (wxString
*) NULL
;
1292 long _arg6
= (long ) 0;
1293 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1294 char * _arg8
= (char *) "choice";
1295 PyObject
* _argo0
= 0;
1297 PyObject
* _obj2
= 0;
1299 PyObject
* _obj3
= 0;
1300 PyObject
* _obj5
= 0;
1301 PyObject
* _argo7
= 0;
1302 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1318 if (! wxPoint_helper(_obj2
, &_arg2
))
1324 if (! wxSize_helper(_obj3
, &_arg3
))
1329 _arg5
= wxString_LIST_helper(_obj5
);
1330 if (_arg5
== NULL
) {
1335 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1336 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1343 _arg4
= PyList_Size(_obj5
);
1350 wxPy_BEGIN_ALLOW_THREADS
;
1351 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1353 wxPy_END_ALLOW_THREADS
;
1355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1356 _resultobj
= Py_BuildValue("s",_ptemp
);
1359 _resultobj
= Py_None
;
1367 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1368 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
* _resultobj
;
1372 PyObject
* _argo0
= 0;
1373 PyObject
* _obj1
= 0;
1374 char *_kwnames
[] = { "self","item", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1387 #if PYTHON_API_VERSION >= 1009
1388 char* tmpPtr
; int tmpSize
;
1389 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1393 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1395 _arg1
= new wxString(tmpPtr
, tmpSize
);
1397 if (!PyString_Check(_obj1
)) {
1398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1401 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 wxChoice_Append(_arg0
,*_arg1
);
1408 wxPy_END_ALLOW_THREADS
;
1409 } Py_INCREF(Py_None
);
1410 _resultobj
= Py_None
;
1418 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1419 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1422 PyObject
* _argo0
= 0;
1423 char *_kwnames
[] = { "self", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 wxChoice_Clear(_arg0
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1446 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1451 PyObject
* _argo0
= 0;
1452 PyObject
* _obj1
= 0;
1453 char *_kwnames
[] = { "self","string", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1466 #if PYTHON_API_VERSION >= 1009
1467 char* tmpPtr
; int tmpSize
;
1468 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1469 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1472 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1474 _arg1
= new wxString(tmpPtr
, tmpSize
);
1476 if (!PyString_Check(_obj1
)) {
1477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1480 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1487 wxPy_END_ALLOW_THREADS
;
1488 } _resultobj
= Py_BuildValue("i",_result
);
1496 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1497 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1501 PyObject
* _argo0
= 0;
1502 char *_kwnames
[] = { "self", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 _result
= (int )wxChoice_GetColumns(_arg0
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } _resultobj
= Py_BuildValue("i",_result
);
1523 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1524 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1528 PyObject
* _argo0
= 0;
1529 char *_kwnames
[] = { "self", NULL
};
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
1535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1542 wxPy_BEGIN_ALLOW_THREADS
;
1543 _result
= (int )wxChoice_GetSelection(_arg0
);
1545 wxPy_END_ALLOW_THREADS
;
1546 } _resultobj
= Py_BuildValue("i",_result
);
1550 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1551 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1556 PyObject
* _argo0
= 0;
1557 char *_kwnames
[] = { "self","n", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
1563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1573 wxPy_END_ALLOW_THREADS
;
1575 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1583 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1584 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1588 PyObject
* _argo0
= 0;
1589 char *_kwnames
[] = { "self", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1605 wxPy_END_ALLOW_THREADS
;
1607 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1615 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1616 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Number",_kwnames
,&_argo0
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1634 wxPy_BEGIN_ALLOW_THREADS
;
1635 _result
= (int )wxChoice_Number(_arg0
);
1637 wxPy_END_ALLOW_THREADS
;
1638 } _resultobj
= Py_BuildValue("i",_result
);
1642 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1643 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
* _resultobj
;
1646 int _arg1
= (int ) 1;
1647 PyObject
* _argo0
= 0;
1648 char *_kwnames
[] = { "self","n", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1661 wxPy_BEGIN_ALLOW_THREADS
;
1662 wxChoice_SetColumns(_arg0
,_arg1
);
1664 wxPy_END_ALLOW_THREADS
;
1665 } Py_INCREF(Py_None
);
1666 _resultobj
= Py_None
;
1670 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1671 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1675 PyObject
* _argo0
= 0;
1676 char *_kwnames
[] = { "self","n", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 wxChoice_SetSelection(_arg0
,_arg1
);
1692 wxPy_END_ALLOW_THREADS
;
1693 } Py_INCREF(Py_None
);
1694 _resultobj
= Py_None
;
1698 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1699 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1703 PyObject
* _argo0
= 0;
1704 PyObject
* _obj1
= 0;
1705 char *_kwnames
[] = { "self","string", NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1718 #if PYTHON_API_VERSION >= 1009
1719 char* tmpPtr
; int tmpSize
;
1720 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1724 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1726 _arg1
= new wxString(tmpPtr
, tmpSize
);
1728 if (!PyString_Check(_obj1
)) {
1729 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1732 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1736 wxPy_BEGIN_ALLOW_THREADS
;
1737 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1739 wxPy_END_ALLOW_THREADS
;
1740 } Py_INCREF(Py_None
);
1741 _resultobj
= Py_None
;
1749 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1752 src
= (wxComboBox
*) ptr
;
1753 dest
= (wxChoice
*) src
;
1754 return (void *) dest
;
1757 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1760 src
= (wxComboBox
*) ptr
;
1761 dest
= (wxControl
*) src
;
1762 return (void *) dest
;
1765 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1768 src
= (wxComboBox
*) ptr
;
1769 dest
= (wxWindow
*) src
;
1770 return (void *) dest
;
1773 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1776 src
= (wxComboBox
*) ptr
;
1777 dest
= (wxEvtHandler
*) src
;
1778 return (void *) dest
;
1781 static void *SwigwxComboBoxTowxObject(void *ptr
) {
1784 src
= (wxComboBox
*) ptr
;
1785 dest
= (wxObject
*) src
;
1786 return (void *) dest
;
1789 #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))
1790 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1792 wxComboBox
* _result
;
1795 char * _arg2
= (char *) "";
1796 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1797 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1798 int _arg5
= (int ) 0;
1799 wxString
* _arg6
= (wxString
*) NULL
;
1800 long _arg7
= (long ) 0;
1801 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1802 char * _arg9
= (char *) "comboBox";
1803 PyObject
* _argo0
= 0;
1805 PyObject
* _obj3
= 0;
1807 PyObject
* _obj4
= 0;
1808 PyObject
* _obj6
= 0;
1809 PyObject
* _argo8
= 0;
1810 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1826 if (! wxPoint_helper(_obj3
, &_arg3
))
1832 if (! wxSize_helper(_obj4
, &_arg4
))
1837 _arg6
= wxString_LIST_helper(_obj6
);
1838 if (_arg6
== NULL
) {
1843 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1844 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1851 _arg5
= PyList_Size(_obj6
);
1858 wxPy_BEGIN_ALLOW_THREADS
;
1859 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1861 wxPy_END_ALLOW_THREADS
;
1863 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1864 _resultobj
= Py_BuildValue("s",_ptemp
);
1867 _resultobj
= Py_None
;
1875 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1876 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
* _resultobj
;
1880 PyObject
* _argo0
= 0;
1881 PyObject
* _obj1
= 0;
1882 char *_kwnames
[] = { "self","item", NULL
};
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1895 #if PYTHON_API_VERSION >= 1009
1896 char* tmpPtr
; int tmpSize
;
1897 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1898 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1901 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1903 _arg1
= new wxString(tmpPtr
, tmpSize
);
1905 if (!PyString_Check(_obj1
)) {
1906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1909 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1913 wxPy_BEGIN_ALLOW_THREADS
;
1914 wxComboBox_Append(_arg0
,*_arg1
);
1916 wxPy_END_ALLOW_THREADS
;
1917 } Py_INCREF(Py_None
);
1918 _resultobj
= Py_None
;
1926 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1927 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
* _resultobj
;
1930 PyObject
* _argo0
= 0;
1931 char *_kwnames
[] = { "self", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
1937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 wxComboBox_Clear(_arg0
);
1947 wxPy_END_ALLOW_THREADS
;
1948 } Py_INCREF(Py_None
);
1949 _resultobj
= Py_None
;
1953 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1954 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1957 PyObject
* _argo0
= 0;
1958 char *_kwnames
[] = { "self", NULL
};
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
1964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1971 wxPy_BEGIN_ALLOW_THREADS
;
1972 wxComboBox_Copy(_arg0
);
1974 wxPy_END_ALLOW_THREADS
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1980 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1981 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
* _resultobj
;
1984 PyObject
* _argo0
= 0;
1985 char *_kwnames
[] = { "self", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1998 wxPy_BEGIN_ALLOW_THREADS
;
1999 wxComboBox_Cut(_arg0
);
2001 wxPy_END_ALLOW_THREADS
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2008 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2012 PyObject
* _argo0
= 0;
2013 char *_kwnames
[] = { "self","n", NULL
};
2016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
2019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
2026 wxPy_BEGIN_ALLOW_THREADS
;
2027 wxComboBox_Delete(_arg0
,_arg1
);
2029 wxPy_END_ALLOW_THREADS
;
2030 } Py_INCREF(Py_None
);
2031 _resultobj
= Py_None
;
2035 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2036 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2041 PyObject
* _argo0
= 0;
2042 PyObject
* _obj1
= 0;
2043 char *_kwnames
[] = { "self","string", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2056 #if PYTHON_API_VERSION >= 1009
2057 char* tmpPtr
; int tmpSize
;
2058 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2062 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2064 _arg1
= new wxString(tmpPtr
, tmpSize
);
2066 if (!PyString_Check(_obj1
)) {
2067 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2070 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2077 wxPy_END_ALLOW_THREADS
;
2078 } _resultobj
= Py_BuildValue("i",_result
);
2086 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2087 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2091 PyObject
* _argo0
= 0;
2092 char *_kwnames
[] = { "self", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } _resultobj
= Py_BuildValue("l",_result
);
2113 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2114 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2118 PyObject
* _argo0
= 0;
2119 char *_kwnames
[] = { "self", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2132 wxPy_BEGIN_ALLOW_THREADS
;
2133 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2135 wxPy_END_ALLOW_THREADS
;
2136 } _resultobj
= Py_BuildValue("l",_result
);
2140 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2141 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "self", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2159 wxPy_BEGIN_ALLOW_THREADS
;
2160 _result
= (int )wxComboBox_GetSelection(_arg0
);
2162 wxPy_END_ALLOW_THREADS
;
2163 } _resultobj
= Py_BuildValue("i",_result
);
2167 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2168 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2173 PyObject
* _argo0
= 0;
2174 char *_kwnames
[] = { "self","n", NULL
};
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
2180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2187 wxPy_BEGIN_ALLOW_THREADS
;
2188 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2190 wxPy_END_ALLOW_THREADS
;
2192 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2200 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2201 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2205 PyObject
* _argo0
= 0;
2206 char *_kwnames
[] = { "self", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2219 wxPy_BEGIN_ALLOW_THREADS
;
2220 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2222 wxPy_END_ALLOW_THREADS
;
2224 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2232 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2233 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2237 PyObject
* _argo0
= 0;
2238 char *_kwnames
[] = { "self", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2251 wxPy_BEGIN_ALLOW_THREADS
;
2252 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2254 wxPy_END_ALLOW_THREADS
;
2256 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2264 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
2265 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
* _resultobj
;
2269 PyObject
* _argo0
= 0;
2270 char *_kwnames
[] = { "self", NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Number",_kwnames
,&_argo0
))
2276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
2283 wxPy_BEGIN_ALLOW_THREADS
;
2284 _result
= (int )wxComboBox_Number(_arg0
);
2286 wxPy_END_ALLOW_THREADS
;
2287 } _resultobj
= Py_BuildValue("i",_result
);
2291 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2292 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2295 PyObject
* _argo0
= 0;
2296 char *_kwnames
[] = { "self", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2309 wxPy_BEGIN_ALLOW_THREADS
;
2310 wxComboBox_Paste(_arg0
);
2312 wxPy_END_ALLOW_THREADS
;
2313 } Py_INCREF(Py_None
);
2314 _resultobj
= Py_None
;
2318 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2319 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2325 PyObject
* _argo0
= 0;
2326 PyObject
* _obj3
= 0;
2327 char *_kwnames
[] = { "self","from","to","text", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2340 #if PYTHON_API_VERSION >= 1009
2341 char* tmpPtr
; int tmpSize
;
2342 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2346 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2348 _arg3
= new wxString(tmpPtr
, tmpSize
);
2350 if (!PyString_Check(_obj3
)) {
2351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2354 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2361 wxPy_END_ALLOW_THREADS
;
2362 } Py_INCREF(Py_None
);
2363 _resultobj
= Py_None
;
2371 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2372 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2373 PyObject
* _resultobj
;
2377 PyObject
* _argo0
= 0;
2378 char *_kwnames
[] = { "self","from","to", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2391 wxPy_BEGIN_ALLOW_THREADS
;
2392 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2394 wxPy_END_ALLOW_THREADS
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2401 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2405 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self","pos", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2422 wxPy_END_ALLOW_THREADS
;
2423 } Py_INCREF(Py_None
);
2424 _resultobj
= Py_None
;
2428 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2429 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
* _resultobj
;
2432 PyObject
* _argo0
= 0;
2433 char *_kwnames
[] = { "self", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 wxComboBox_SetInsertionPointEnd(_arg0
);
2449 wxPy_END_ALLOW_THREADS
;
2450 } Py_INCREF(Py_None
);
2451 _resultobj
= Py_None
;
2455 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2456 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
* _resultobj
;
2460 PyObject
* _argo0
= 0;
2461 char *_kwnames
[] = { "self","n", NULL
};
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2474 wxPy_BEGIN_ALLOW_THREADS
;
2475 wxComboBox_SetSelection(_arg0
,_arg1
);
2477 wxPy_END_ALLOW_THREADS
;
2478 } Py_INCREF(Py_None
);
2479 _resultobj
= Py_None
;
2483 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2484 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self","from","to", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } Py_INCREF(Py_None
);
2508 _resultobj
= Py_None
;
2512 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2513 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2517 PyObject
* _argo0
= 0;
2518 PyObject
* _obj1
= 0;
2519 char *_kwnames
[] = { "self","text", NULL
};
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2532 #if PYTHON_API_VERSION >= 1009
2533 char* tmpPtr
; int tmpSize
;
2534 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2535 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2538 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2540 _arg1
= new wxString(tmpPtr
, tmpSize
);
2542 if (!PyString_Check(_obj1
)) {
2543 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2546 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 wxComboBox_SetValue(_arg0
,*_arg1
);
2553 wxPy_END_ALLOW_THREADS
;
2554 } Py_INCREF(Py_None
);
2555 _resultobj
= Py_None
;
2563 static void *SwigwxGaugeTowxControl(void *ptr
) {
2566 src
= (wxGauge
*) ptr
;
2567 dest
= (wxControl
*) src
;
2568 return (void *) dest
;
2571 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2574 src
= (wxGauge
*) ptr
;
2575 dest
= (wxWindow
*) src
;
2576 return (void *) dest
;
2579 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2582 src
= (wxGauge
*) ptr
;
2583 dest
= (wxEvtHandler
*) src
;
2584 return (void *) dest
;
2587 static void *SwigwxGaugeTowxObject(void *ptr
) {
2590 src
= (wxGauge
*) ptr
;
2591 dest
= (wxObject
*) src
;
2592 return (void *) dest
;
2595 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2596 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2602 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2603 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2604 long _arg5
= (long ) wxGA_HORIZONTAL
;
2605 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2606 char * _arg7
= (char *) "gauge";
2607 PyObject
* _argo0
= 0;
2609 PyObject
* _obj3
= 0;
2611 PyObject
* _obj4
= 0;
2612 PyObject
* _argo6
= 0;
2613 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2629 if (! wxPoint_helper(_obj3
, &_arg3
))
2635 if (! wxSize_helper(_obj4
, &_arg4
))
2639 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2649 wxPy_END_ALLOW_THREADS
;
2651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2652 _resultobj
= Py_BuildValue("s",_ptemp
);
2655 _resultobj
= Py_None
;
2660 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2661 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2679 wxPy_BEGIN_ALLOW_THREADS
;
2680 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2682 wxPy_END_ALLOW_THREADS
;
2683 } _resultobj
= Py_BuildValue("i",_result
);
2687 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2688 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2706 wxPy_BEGIN_ALLOW_THREADS
;
2707 _result
= (int )wxGauge_GetRange(_arg0
);
2709 wxPy_END_ALLOW_THREADS
;
2710 } _resultobj
= Py_BuildValue("i",_result
);
2714 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2715 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2736 wxPy_END_ALLOW_THREADS
;
2737 } _resultobj
= Py_BuildValue("i",_result
);
2741 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2742 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2746 PyObject
* _argo0
= 0;
2747 char *_kwnames
[] = { "self", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2760 wxPy_BEGIN_ALLOW_THREADS
;
2761 _result
= (int )wxGauge_GetValue(_arg0
);
2763 wxPy_END_ALLOW_THREADS
;
2764 } _resultobj
= Py_BuildValue("i",_result
);
2768 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2769 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self","width", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 wxGauge_SetBezelFace(_arg0
,_arg1
);
2790 wxPy_END_ALLOW_THREADS
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2797 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self","range", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 wxGauge_SetRange(_arg0
,_arg1
);
2818 wxPy_END_ALLOW_THREADS
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2825 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2829 PyObject
* _argo0
= 0;
2830 char *_kwnames
[] = { "self","width", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2843 wxPy_BEGIN_ALLOW_THREADS
;
2844 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2846 wxPy_END_ALLOW_THREADS
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2853 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2857 PyObject
* _argo0
= 0;
2858 char *_kwnames
[] = { "self","pos", NULL
};
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2871 wxPy_BEGIN_ALLOW_THREADS
;
2872 wxGauge_SetValue(_arg0
,_arg1
);
2874 wxPy_END_ALLOW_THREADS
;
2875 } Py_INCREF(Py_None
);
2876 _resultobj
= Py_None
;
2880 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2883 src
= (wxStaticBox
*) ptr
;
2884 dest
= (wxControl
*) src
;
2885 return (void *) dest
;
2888 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2891 src
= (wxStaticBox
*) ptr
;
2892 dest
= (wxWindow
*) src
;
2893 return (void *) dest
;
2896 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2899 src
= (wxStaticBox
*) ptr
;
2900 dest
= (wxEvtHandler
*) src
;
2901 return (void *) dest
;
2904 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
2907 src
= (wxStaticBox
*) ptr
;
2908 dest
= (wxObject
*) src
;
2909 return (void *) dest
;
2912 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2913 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2915 wxStaticBox
* _result
;
2919 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2920 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2921 long _arg5
= (long ) 0;
2922 char * _arg6
= (char *) "staticBox";
2923 PyObject
* _argo0
= 0;
2924 PyObject
* _obj2
= 0;
2926 PyObject
* _obj3
= 0;
2928 PyObject
* _obj4
= 0;
2929 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2943 #if PYTHON_API_VERSION >= 1009
2944 char* tmpPtr
; int tmpSize
;
2945 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2949 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2951 _arg2
= new wxString(tmpPtr
, tmpSize
);
2953 if (!PyString_Check(_obj2
)) {
2954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2957 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2963 if (! wxPoint_helper(_obj3
, &_arg3
))
2969 if (! wxSize_helper(_obj4
, &_arg4
))
2973 wxPy_BEGIN_ALLOW_THREADS
;
2974 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2976 wxPy_END_ALLOW_THREADS
;
2978 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2979 _resultobj
= Py_BuildValue("s",_ptemp
);
2982 _resultobj
= Py_None
;
2991 static void *SwigwxStaticLineTowxControl(void *ptr
) {
2994 src
= (wxStaticLine
*) ptr
;
2995 dest
= (wxControl
*) src
;
2996 return (void *) dest
;
2999 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3002 src
= (wxStaticLine
*) ptr
;
3003 dest
= (wxWindow
*) src
;
3004 return (void *) dest
;
3007 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3010 src
= (wxStaticLine
*) ptr
;
3011 dest
= (wxEvtHandler
*) src
;
3012 return (void *) dest
;
3015 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3018 src
= (wxStaticLine
*) ptr
;
3019 dest
= (wxObject
*) src
;
3020 return (void *) dest
;
3023 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3024 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3026 wxStaticLine
* _result
;
3029 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3030 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3031 long _arg4
= (long ) wxLI_HORIZONTAL
;
3032 char * _arg5
= (char *) "staticLine";
3033 PyObject
* _argo0
= 0;
3035 PyObject
* _obj2
= 0;
3037 PyObject
* _obj3
= 0;
3038 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
3054 if (! wxPoint_helper(_obj2
, &_arg2
))
3060 if (! wxSize_helper(_obj3
, &_arg3
))
3064 wxPy_BEGIN_ALLOW_THREADS
;
3065 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3067 wxPy_END_ALLOW_THREADS
;
3069 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3070 _resultobj
= Py_BuildValue("s",_ptemp
);
3073 _resultobj
= Py_None
;
3078 static void *SwigwxStaticTextTowxControl(void *ptr
) {
3081 src
= (wxStaticText
*) ptr
;
3082 dest
= (wxControl
*) src
;
3083 return (void *) dest
;
3086 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
3089 src
= (wxStaticText
*) ptr
;
3090 dest
= (wxWindow
*) src
;
3091 return (void *) dest
;
3094 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
3097 src
= (wxStaticText
*) ptr
;
3098 dest
= (wxEvtHandler
*) src
;
3099 return (void *) dest
;
3102 static void *SwigwxStaticTextTowxObject(void *ptr
) {
3105 src
= (wxStaticText
*) ptr
;
3106 dest
= (wxObject
*) src
;
3107 return (void *) dest
;
3110 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3111 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3113 wxStaticText
* _result
;
3117 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3118 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3119 long _arg5
= (long ) 0;
3120 char * _arg6
= (char *) "staticText";
3121 PyObject
* _argo0
= 0;
3122 PyObject
* _obj2
= 0;
3124 PyObject
* _obj3
= 0;
3126 PyObject
* _obj4
= 0;
3127 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
3141 #if PYTHON_API_VERSION >= 1009
3142 char* tmpPtr
; int tmpSize
;
3143 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3144 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3147 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3149 _arg2
= new wxString(tmpPtr
, tmpSize
);
3151 if (!PyString_Check(_obj2
)) {
3152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3155 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3161 if (! wxPoint_helper(_obj3
, &_arg3
))
3167 if (! wxSize_helper(_obj4
, &_arg4
))
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3174 wxPy_END_ALLOW_THREADS
;
3176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
3177 _resultobj
= Py_BuildValue("s",_ptemp
);
3180 _resultobj
= Py_None
;
3189 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
3190 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3191 PyObject
* _resultobj
;
3193 wxStaticText
* _arg0
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
3211 wxPy_END_ALLOW_THREADS
;
3213 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3221 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3222 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3224 wxStaticText
* _arg0
;
3226 PyObject
* _argo0
= 0;
3227 PyObject
* _obj1
= 0;
3228 char *_kwnames
[] = { "self","label", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3241 #if PYTHON_API_VERSION >= 1009
3242 char* tmpPtr
; int tmpSize
;
3243 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3247 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3249 _arg1
= new wxString(tmpPtr
, tmpSize
);
3251 if (!PyString_Check(_obj1
)) {
3252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3255 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 wxStaticText_SetLabel(_arg0
,*_arg1
);
3262 wxPy_END_ALLOW_THREADS
;
3263 } Py_INCREF(Py_None
);
3264 _resultobj
= Py_None
;
3272 static void *SwigwxListBoxTowxControl(void *ptr
) {
3275 src
= (wxListBox
*) ptr
;
3276 dest
= (wxControl
*) src
;
3277 return (void *) dest
;
3280 static void *SwigwxListBoxTowxWindow(void *ptr
) {
3283 src
= (wxListBox
*) ptr
;
3284 dest
= (wxWindow
*) src
;
3285 return (void *) dest
;
3288 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
3291 src
= (wxListBox
*) ptr
;
3292 dest
= (wxEvtHandler
*) src
;
3293 return (void *) dest
;
3296 static void *SwigwxListBoxTowxObject(void *ptr
) {
3299 src
= (wxListBox
*) ptr
;
3300 dest
= (wxObject
*) src
;
3301 return (void *) dest
;
3304 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3305 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3307 wxListBox
* _result
;
3310 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3311 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3313 wxString
* _arg5
= (wxString
*) NULL
;
3314 long _arg6
= (long ) 0;
3315 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3316 char * _arg8
= (char *) "listBox";
3317 PyObject
* _argo0
= 0;
3319 PyObject
* _obj2
= 0;
3321 PyObject
* _obj3
= 0;
3322 PyObject
* _obj5
= 0;
3323 PyObject
* _argo7
= 0;
3324 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3340 if (! wxPoint_helper(_obj2
, &_arg2
))
3346 if (! wxSize_helper(_obj3
, &_arg3
))
3351 _arg5
= wxString_LIST_helper(_obj5
);
3352 if (_arg5
== NULL
) {
3357 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3365 _arg4
= PyList_Size(_obj5
);
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3375 wxPy_END_ALLOW_THREADS
;
3377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
3378 _resultobj
= Py_BuildValue("s",_ptemp
);
3381 _resultobj
= Py_None
;
3389 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3390 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3394 PyObject
* _argo0
= 0;
3395 PyObject
* _obj1
= 0;
3396 char *_kwnames
[] = { "self","item", NULL
};
3399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
3402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3409 #if PYTHON_API_VERSION >= 1009
3410 char* tmpPtr
; int tmpSize
;
3411 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3415 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3417 _arg1
= new wxString(tmpPtr
, tmpSize
);
3419 if (!PyString_Check(_obj1
)) {
3420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3423 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3427 wxPy_BEGIN_ALLOW_THREADS
;
3428 wxListBox_Append(_arg0
,*_arg1
);
3430 wxPy_END_ALLOW_THREADS
;
3431 } Py_INCREF(Py_None
);
3432 _resultobj
= Py_None
;
3440 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3441 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3444 PyObject
* _argo0
= 0;
3445 char *_kwnames
[] = { "self", NULL
};
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
3451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3458 wxPy_BEGIN_ALLOW_THREADS
;
3459 wxListBox_Clear(_arg0
);
3461 wxPy_END_ALLOW_THREADS
;
3462 } Py_INCREF(Py_None
);
3463 _resultobj
= Py_None
;
3467 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3468 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
* _resultobj
;
3472 PyObject
* _argo0
= 0;
3473 char *_kwnames
[] = { "self","n", NULL
};
3476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3486 wxPy_BEGIN_ALLOW_THREADS
;
3487 wxListBox_Delete(_arg0
,_arg1
);
3489 wxPy_END_ALLOW_THREADS
;
3490 } Py_INCREF(Py_None
);
3491 _resultobj
= Py_None
;
3495 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3496 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3500 PyObject
* _argo0
= 0;
3501 char *_kwnames
[] = { "self","n", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 wxListBox_Deselect(_arg0
,_arg1
);
3517 wxPy_END_ALLOW_THREADS
;
3518 } Py_INCREF(Py_None
);
3519 _resultobj
= Py_None
;
3523 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3524 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3529 PyObject
* _argo0
= 0;
3530 PyObject
* _obj1
= 0;
3531 char *_kwnames
[] = { "self","string", NULL
};
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3544 #if PYTHON_API_VERSION >= 1009
3545 char* tmpPtr
; int tmpSize
;
3546 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3547 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3550 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3552 _arg1
= new wxString(tmpPtr
, tmpSize
);
3554 if (!PyString_Check(_obj1
)) {
3555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3558 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3562 wxPy_BEGIN_ALLOW_THREADS
;
3563 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3565 wxPy_END_ALLOW_THREADS
;
3566 } _resultobj
= Py_BuildValue("i",_result
);
3574 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3575 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
* _resultobj
;
3579 PyObject
* _argo0
= 0;
3580 char *_kwnames
[] = { "self", NULL
};
3583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3593 wxPy_BEGIN_ALLOW_THREADS
;
3594 _result
= (int )wxListBox_GetSelection(_arg0
);
3596 wxPy_END_ALLOW_THREADS
;
3597 } _resultobj
= Py_BuildValue("i",_result
);
3601 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3603 self
->GetSelections(lst
);
3604 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3605 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
3606 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3610 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3614 PyObject
* _argo0
= 0;
3615 char *_kwnames
[] = { "self", NULL
};
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3628 wxPy_BEGIN_ALLOW_THREADS
;
3629 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3631 wxPy_END_ALLOW_THREADS
;
3633 _resultobj
= _result
;
3638 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3639 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
* _resultobj
;
3645 PyObject
* _argo0
= 0;
3646 PyObject
* _obj2
= 0;
3647 char *_kwnames
[] = { "self","choices","pos", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3660 _arg2
= wxString_LIST_helper(_obj2
);
3661 if (_arg2
== NULL
) {
3667 _arg1
= PyList_Size(_obj2
);
3674 wxPy_BEGIN_ALLOW_THREADS
;
3675 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3677 wxPy_END_ALLOW_THREADS
;
3678 } Py_INCREF(Py_None
);
3679 _resultobj
= Py_None
;
3686 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3687 static PyObject
*_wrap_wxListBox_GetString(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_GetString",_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_GetString. Expected _wxListBox_p.");
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3709 wxPy_END_ALLOW_THREADS
;
3711 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3719 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3720 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 char *_kwnames
[] = { "self", NULL
};
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3738 wxPy_BEGIN_ALLOW_THREADS
;
3739 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3741 wxPy_END_ALLOW_THREADS
;
3743 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3751 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3752 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
* _resultobj
;
3756 PyObject
* _argo0
= 0;
3757 char *_kwnames
[] = { "self", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Number",_kwnames
,&_argo0
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3770 wxPy_BEGIN_ALLOW_THREADS
;
3771 _result
= (int )wxListBox_Number(_arg0
);
3773 wxPy_END_ALLOW_THREADS
;
3774 } _resultobj
= Py_BuildValue("i",_result
);
3778 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3779 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self","n", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3798 wxPy_BEGIN_ALLOW_THREADS
;
3799 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3801 wxPy_END_ALLOW_THREADS
;
3802 } _resultobj
= Py_BuildValue("i",_result
);
3806 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3807 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
* _resultobj
;
3812 PyObject
* _argo0
= 0;
3813 PyObject
* _obj2
= 0;
3814 char *_kwnames
[] = { "self","choices", NULL
};
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
3820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3828 _arg2
= wxString_LIST_helper(_obj2
);
3829 if (_arg2
== NULL
) {
3835 _arg1
= PyList_Size(_obj2
);
3842 wxPy_BEGIN_ALLOW_THREADS
;
3843 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3845 wxPy_END_ALLOW_THREADS
;
3846 } Py_INCREF(Py_None
);
3847 _resultobj
= Py_None
;
3854 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3855 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3859 PyObject
* _argo0
= 0;
3860 char *_kwnames
[] = { "self","n", NULL
};
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
3866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3873 wxPy_BEGIN_ALLOW_THREADS
;
3874 wxListBox_SetFirstItem(_arg0
,_arg1
);
3876 wxPy_END_ALLOW_THREADS
;
3877 } Py_INCREF(Py_None
);
3878 _resultobj
= Py_None
;
3882 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3883 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
* _resultobj
;
3887 PyObject
* _argo0
= 0;
3888 PyObject
* _obj1
= 0;
3889 char *_kwnames
[] = { "self","string", NULL
};
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
3895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3902 #if PYTHON_API_VERSION >= 1009
3903 char* tmpPtr
; int tmpSize
;
3904 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3905 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3908 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3910 _arg1
= new wxString(tmpPtr
, tmpSize
);
3912 if (!PyString_Check(_obj1
)) {
3913 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3916 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3920 wxPy_BEGIN_ALLOW_THREADS
;
3921 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3923 wxPy_END_ALLOW_THREADS
;
3924 } Py_INCREF(Py_None
);
3925 _resultobj
= Py_None
;
3933 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3934 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
* _resultobj
;
3938 bool _arg2
= (bool ) TRUE
;
3939 PyObject
* _argo0
= 0;
3940 int tempbool2
= (int) TRUE
;
3941 char *_kwnames
[] = { "self","n","select", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3953 _arg2
= (bool ) tempbool2
;
3955 wxPy_BEGIN_ALLOW_THREADS
;
3956 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
3958 wxPy_END_ALLOW_THREADS
;
3959 } Py_INCREF(Py_None
);
3960 _resultobj
= Py_None
;
3964 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3965 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 PyObject
* _obj2
= 0;
3972 char *_kwnames
[] = { "self","n","string", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3985 #if PYTHON_API_VERSION >= 1009
3986 char* tmpPtr
; int tmpSize
;
3987 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3988 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3991 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3993 _arg2
= new wxString(tmpPtr
, tmpSize
);
3995 if (!PyString_Check(_obj2
)) {
3996 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3999 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
4006 wxPy_END_ALLOW_THREADS
;
4007 } Py_INCREF(Py_None
);
4008 _resultobj
= Py_None
;
4016 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
4017 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4021 bool _arg2
= (bool ) TRUE
;
4022 PyObject
* _argo0
= 0;
4023 PyObject
* _obj1
= 0;
4024 int tempbool2
= (int) TRUE
;
4025 char *_kwnames
[] = { "self","string","select", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
4038 #if PYTHON_API_VERSION >= 1009
4039 char* tmpPtr
; int tmpSize
;
4040 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4044 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4046 _arg1
= new wxString(tmpPtr
, tmpSize
);
4048 if (!PyString_Check(_obj1
)) {
4049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4052 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4055 _arg2
= (bool ) tempbool2
;
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
4060 wxPy_END_ALLOW_THREADS
;
4061 } Py_INCREF(Py_None
);
4062 _resultobj
= Py_None
;
4070 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
4071 wxCheckListBox
*src
;
4073 src
= (wxCheckListBox
*) ptr
;
4074 dest
= (wxListBox
*) src
;
4075 return (void *) dest
;
4078 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
4079 wxCheckListBox
*src
;
4081 src
= (wxCheckListBox
*) ptr
;
4082 dest
= (wxControl
*) src
;
4083 return (void *) dest
;
4086 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
4087 wxCheckListBox
*src
;
4089 src
= (wxCheckListBox
*) ptr
;
4090 dest
= (wxWindow
*) src
;
4091 return (void *) dest
;
4094 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
4095 wxCheckListBox
*src
;
4097 src
= (wxCheckListBox
*) ptr
;
4098 dest
= (wxEvtHandler
*) src
;
4099 return (void *) dest
;
4102 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
4103 wxCheckListBox
*src
;
4105 src
= (wxCheckListBox
*) ptr
;
4106 dest
= (wxObject
*) src
;
4107 return (void *) dest
;
4110 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4111 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4113 wxCheckListBox
* _result
;
4116 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4117 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4118 int _arg4
= (int ) 0;
4119 wxString
* _arg5
= (wxString
*) NULL
;
4120 long _arg6
= (long ) 0;
4121 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4122 char * _arg8
= (char *) "listBox";
4123 PyObject
* _argo0
= 0;
4125 PyObject
* _obj2
= 0;
4127 PyObject
* _obj3
= 0;
4128 PyObject
* _obj5
= 0;
4129 PyObject
* _argo7
= 0;
4130 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
4146 if (! wxPoint_helper(_obj2
, &_arg2
))
4152 if (! wxSize_helper(_obj3
, &_arg3
))
4157 _arg5
= wxString_LIST_helper(_obj5
);
4158 if (_arg5
== NULL
) {
4163 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
4171 _arg4
= PyList_Size(_obj5
);
4178 wxPy_BEGIN_ALLOW_THREADS
;
4179 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4181 wxPy_END_ALLOW_THREADS
;
4183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
4184 _resultobj
= Py_BuildValue("s",_ptemp
);
4187 _resultobj
= Py_None
;
4195 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4196 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4199 wxCheckListBox
* _arg0
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "self","uiIndex", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
4215 wxPy_BEGIN_ALLOW_THREADS
;
4216 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
4218 wxPy_END_ALLOW_THREADS
;
4219 } _resultobj
= Py_BuildValue("i",_result
);
4223 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4224 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4226 wxCheckListBox
* _arg0
;
4228 int _arg2
= (int ) TRUE
;
4229 PyObject
* _argo0
= 0;
4230 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
4243 wxPy_BEGIN_ALLOW_THREADS
;
4244 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
4246 wxPy_END_ALLOW_THREADS
;
4247 } Py_INCREF(Py_None
);
4248 _resultobj
= Py_None
;
4252 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4253 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4255 wxCheckListBox
* _arg0
;
4259 PyObject
* _argo0
= 0;
4260 PyObject
* _obj2
= 0;
4261 char *_kwnames
[] = { "self","choices","pos", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
4274 _arg2
= wxString_LIST_helper(_obj2
);
4275 if (_arg2
== NULL
) {
4281 _arg1
= PyList_Size(_obj2
);
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4291 wxPy_END_ALLOW_THREADS
;
4292 } Py_INCREF(Py_None
);
4293 _resultobj
= Py_None
;
4300 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4301 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4304 wxCheckListBox
* _arg0
;
4305 PyObject
* _argo0
= 0;
4306 char *_kwnames
[] = { "self", NULL
};
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
4312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4319 wxPy_BEGIN_ALLOW_THREADS
;
4320 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
4322 wxPy_END_ALLOW_THREADS
;
4323 } _resultobj
= Py_BuildValue("i",_result
);
4327 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4330 src
= (wxTextCtrl
*) ptr
;
4331 dest
= (wxControl
*) src
;
4332 return (void *) dest
;
4335 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4338 src
= (wxTextCtrl
*) ptr
;
4339 dest
= (wxWindow
*) src
;
4340 return (void *) dest
;
4343 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4346 src
= (wxTextCtrl
*) ptr
;
4347 dest
= (wxEvtHandler
*) src
;
4348 return (void *) dest
;
4351 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
4354 src
= (wxTextCtrl
*) ptr
;
4355 dest
= (wxObject
*) src
;
4356 return (void *) dest
;
4359 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4360 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4362 wxTextCtrl
* _result
;
4365 char * _arg2
= (char *) "";
4366 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4367 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4368 long _arg5
= (long ) 0;
4369 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
4370 char * _arg7
= (char *) "text";
4371 PyObject
* _argo0
= 0;
4373 PyObject
* _obj3
= 0;
4375 PyObject
* _obj4
= 0;
4376 PyObject
* _argo6
= 0;
4377 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4393 if (! wxPoint_helper(_obj3
, &_arg3
))
4399 if (! wxSize_helper(_obj4
, &_arg4
))
4403 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4410 wxPy_BEGIN_ALLOW_THREADS
;
4411 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4413 wxPy_END_ALLOW_THREADS
;
4415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4416 _resultobj
= Py_BuildValue("s",_ptemp
);
4419 _resultobj
= Py_None
;
4424 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4425 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4428 PyObject
* _argo0
= 0;
4429 char *_kwnames
[] = { "self", NULL
};
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
4435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 wxTextCtrl_Clear(_arg0
);
4445 wxPy_END_ALLOW_THREADS
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4451 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4452 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4455 PyObject
* _argo0
= 0;
4456 char *_kwnames
[] = { "self", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4469 wxPy_BEGIN_ALLOW_THREADS
;
4470 wxTextCtrl_Copy(_arg0
);
4472 wxPy_END_ALLOW_THREADS
;
4473 } Py_INCREF(Py_None
);
4474 _resultobj
= Py_None
;
4478 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4479 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4482 PyObject
* _argo0
= 0;
4483 char *_kwnames
[] = { "self", NULL
};
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
4489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4496 wxPy_BEGIN_ALLOW_THREADS
;
4497 wxTextCtrl_Cut(_arg0
);
4499 wxPy_END_ALLOW_THREADS
;
4500 } Py_INCREF(Py_None
);
4501 _resultobj
= Py_None
;
4505 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4506 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4509 PyObject
* _argo0
= 0;
4510 char *_kwnames
[] = { "self", NULL
};
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
4516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4523 wxPy_BEGIN_ALLOW_THREADS
;
4524 wxTextCtrl_DiscardEdits(_arg0
);
4526 wxPy_END_ALLOW_THREADS
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4533 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4537 PyObject
* _argo0
= 0;
4538 char *_kwnames
[] = { "self", NULL
};
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
4544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
4551 wxPy_BEGIN_ALLOW_THREADS
;
4552 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
4554 wxPy_END_ALLOW_THREADS
;
4555 } _resultobj
= Py_BuildValue("l",_result
);
4559 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
4560 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4561 PyObject
* _resultobj
;
4564 PyObject
* _argo0
= 0;
4565 char *_kwnames
[] = { "self", NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
4571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
4578 wxPy_BEGIN_ALLOW_THREADS
;
4579 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
4581 wxPy_END_ALLOW_THREADS
;
4582 } _resultobj
= Py_BuildValue("l",_result
);
4586 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
4587 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4592 PyObject
* _argo0
= 0;
4593 char *_kwnames
[] = { "self","lineNo", NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
4599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4606 wxPy_BEGIN_ALLOW_THREADS
;
4607 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
4609 wxPy_END_ALLOW_THREADS
;
4610 } _resultobj
= Py_BuildValue("i",_result
);
4614 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4615 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4620 PyObject
* _argo0
= 0;
4621 char *_kwnames
[] = { "self","lineNo", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4634 wxPy_BEGIN_ALLOW_THREADS
;
4635 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
4637 wxPy_END_ALLOW_THREADS
;
4639 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4647 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4648 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4652 PyObject
* _argo0
= 0;
4653 char *_kwnames
[] = { "self", NULL
};
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
4659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4666 wxPy_BEGIN_ALLOW_THREADS
;
4667 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
4669 wxPy_END_ALLOW_THREADS
;
4670 } _resultobj
= Py_BuildValue("i",_result
);
4674 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4675 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
* _resultobj
;
4679 PyObject
* _argo0
= 0;
4680 char *_kwnames
[] = { "self", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
4686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4693 wxPy_BEGIN_ALLOW_THREADS
;
4694 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
4696 wxPy_END_ALLOW_THREADS
;
4698 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4706 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4707 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4711 PyObject
* _argo0
= 0;
4712 char *_kwnames
[] = { "self", NULL
};
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
4718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4725 wxPy_BEGIN_ALLOW_THREADS
;
4726 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
4728 wxPy_END_ALLOW_THREADS
;
4729 } _resultobj
= Py_BuildValue("i",_result
);
4733 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4734 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4739 PyObject
* _argo0
= 0;
4740 PyObject
* _obj1
= 0;
4741 char *_kwnames
[] = { "self","filename", NULL
};
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4754 #if PYTHON_API_VERSION >= 1009
4755 char* tmpPtr
; int tmpSize
;
4756 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4760 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4762 _arg1
= new wxString(tmpPtr
, tmpSize
);
4764 if (!PyString_Check(_obj1
)) {
4765 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4768 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4772 wxPy_BEGIN_ALLOW_THREADS
;
4773 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4775 wxPy_END_ALLOW_THREADS
;
4776 } _resultobj
= Py_BuildValue("i",_result
);
4784 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4785 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
* _resultobj
;
4788 PyObject
* _argo0
= 0;
4789 char *_kwnames
[] = { "self", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
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_Paste. Expected _wxTextCtrl_p.");
4802 wxPy_BEGIN_ALLOW_THREADS
;
4803 wxTextCtrl_Paste(_arg0
);
4805 wxPy_END_ALLOW_THREADS
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4812 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4820 PyObject
* _argo0
= 0;
4821 char *_kwnames
[] = { "self","pos", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4840 wxPy_BEGIN_ALLOW_THREADS
;
4841 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4843 wxPy_END_ALLOW_THREADS
;
4844 } Py_INCREF(Py_None
);
4845 _resultobj
= Py_None
;
4848 o
= PyInt_FromLong((long) (*_arg2
));
4849 _resultobj
= t_output_helper(_resultobj
, o
);
4853 o
= PyInt_FromLong((long) (*_arg3
));
4854 _resultobj
= t_output_helper(_resultobj
, o
);
4859 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4860 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
* _resultobj
;
4865 PyObject
* _argo0
= 0;
4866 char *_kwnames
[] = { "self","from","to", NULL
};
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4879 wxPy_BEGIN_ALLOW_THREADS
;
4880 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4882 wxPy_END_ALLOW_THREADS
;
4883 } Py_INCREF(Py_None
);
4884 _resultobj
= Py_None
;
4888 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4889 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4895 PyObject
* _argo0
= 0;
4896 PyObject
* _obj3
= 0;
4897 char *_kwnames
[] = { "self","from","to","value", NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4910 #if PYTHON_API_VERSION >= 1009
4911 char* tmpPtr
; int tmpSize
;
4912 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4913 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4916 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4918 _arg3
= new wxString(tmpPtr
, tmpSize
);
4920 if (!PyString_Check(_obj3
)) {
4921 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4924 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4928 wxPy_BEGIN_ALLOW_THREADS
;
4929 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
4931 wxPy_END_ALLOW_THREADS
;
4932 } Py_INCREF(Py_None
);
4933 _resultobj
= Py_None
;
4941 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4942 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
* _resultobj
;
4947 PyObject
* _argo0
= 0;
4948 PyObject
* _obj1
= 0;
4949 char *_kwnames
[] = { "self","filename", NULL
};
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
4955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4962 #if PYTHON_API_VERSION >= 1009
4963 char* tmpPtr
; int tmpSize
;
4964 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4968 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4970 _arg1
= new wxString(tmpPtr
, tmpSize
);
4972 if (!PyString_Check(_obj1
)) {
4973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4976 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4980 wxPy_BEGIN_ALLOW_THREADS
;
4981 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
4983 wxPy_END_ALLOW_THREADS
;
4984 } _resultobj
= Py_BuildValue("i",_result
);
4992 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4993 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
* _resultobj
;
4997 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self","editable", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
5011 _arg1
= (bool ) tempbool1
;
5013 wxPy_BEGIN_ALLOW_THREADS
;
5014 wxTextCtrl_SetEditable(_arg0
,_arg1
);
5016 wxPy_END_ALLOW_THREADS
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5022 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
5023 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5027 PyObject
* _argo0
= 0;
5028 char *_kwnames
[] = { "self","pos", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
5041 wxPy_BEGIN_ALLOW_THREADS
;
5042 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
5044 wxPy_END_ALLOW_THREADS
;
5045 } Py_INCREF(Py_None
);
5046 _resultobj
= Py_None
;
5050 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
5051 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5054 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
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_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
5068 wxPy_BEGIN_ALLOW_THREADS
;
5069 wxTextCtrl_SetInsertionPointEnd(_arg0
);
5071 wxPy_END_ALLOW_THREADS
;
5072 } Py_INCREF(Py_None
);
5073 _resultobj
= Py_None
;
5077 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5078 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
* _resultobj
;
5083 PyObject
* _argo0
= 0;
5084 char *_kwnames
[] = { "self","from","to", NULL
};
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_SetSelection. Expected _wxTextCtrl_p.");
5097 wxPy_BEGIN_ALLOW_THREADS
;
5098 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
5100 wxPy_END_ALLOW_THREADS
;
5101 } Py_INCREF(Py_None
);
5102 _resultobj
= Py_None
;
5106 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5107 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5111 PyObject
* _argo0
= 0;
5112 PyObject
* _obj1
= 0;
5113 char *_kwnames
[] = { "self","value", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5126 #if PYTHON_API_VERSION >= 1009
5127 char* tmpPtr
; int tmpSize
;
5128 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5132 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5134 _arg1
= new wxString(tmpPtr
, tmpSize
);
5136 if (!PyString_Check(_obj1
)) {
5137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5140 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5157 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5158 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5162 PyObject
* _argo0
= 0;
5163 char *_kwnames
[] = { "self","pos", NULL
};
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
5169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
5176 wxPy_BEGIN_ALLOW_THREADS
;
5177 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
5179 wxPy_END_ALLOW_THREADS
;
5180 } Py_INCREF(Py_None
);
5181 _resultobj
= Py_None
;
5185 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5186 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5190 PyObject
* _argo0
= 0;
5191 PyObject
* _obj1
= 0;
5192 char *_kwnames
[] = { "self","text", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5205 #if PYTHON_API_VERSION >= 1009
5206 char* tmpPtr
; int tmpSize
;
5207 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5211 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5213 _arg1
= new wxString(tmpPtr
, tmpSize
);
5215 if (!PyString_Check(_obj1
)) {
5216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5219 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5223 wxPy_BEGIN_ALLOW_THREADS
;
5224 wxTextCtrl_WriteText(_arg0
,*_arg1
);
5226 wxPy_END_ALLOW_THREADS
;
5227 } Py_INCREF(Py_None
);
5228 _resultobj
= Py_None
;
5236 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5237 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5241 PyObject
* _argo0
= 0;
5242 PyObject
* _obj1
= 0;
5243 char *_kwnames
[] = { "self","text", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5256 #if PYTHON_API_VERSION >= 1009
5257 char* tmpPtr
; int tmpSize
;
5258 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5262 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5264 _arg1
= new wxString(tmpPtr
, tmpSize
);
5266 if (!PyString_Check(_obj1
)) {
5267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5270 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5274 wxPy_BEGIN_ALLOW_THREADS
;
5275 wxTextCtrl_AppendText(_arg0
,*_arg1
);
5277 wxPy_END_ALLOW_THREADS
;
5278 } Py_INCREF(Py_None
);
5279 _resultobj
= Py_None
;
5287 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5288 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
* _resultobj
;
5294 PyObject
* _argo0
= 0;
5295 char *_kwnames
[] = { "self","x","y", NULL
};
5298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_XYToPosition. Expected _wxTextCtrl_p.");
5308 wxPy_BEGIN_ALLOW_THREADS
;
5309 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
5311 wxPy_END_ALLOW_THREADS
;
5312 } _resultobj
= Py_BuildValue("l",_result
);
5316 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5317 static PyObject
*_wrap_wxTextCtrl_CanCopy(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_CanCopy",_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_CanCopy. Expected _wxTextCtrl_p.");
5335 wxPy_BEGIN_ALLOW_THREADS
;
5336 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
5338 wxPy_END_ALLOW_THREADS
;
5339 } _resultobj
= Py_BuildValue("i",_result
);
5343 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5344 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
* _resultobj
;
5348 PyObject
* _argo0
= 0;
5349 char *_kwnames
[] = { "self", NULL
};
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
5355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
5362 wxPy_BEGIN_ALLOW_THREADS
;
5363 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
5365 wxPy_END_ALLOW_THREADS
;
5366 } _resultobj
= Py_BuildValue("i",_result
);
5370 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5371 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
* _resultobj
;
5375 PyObject
* _argo0
= 0;
5376 char *_kwnames
[] = { "self", NULL
};
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5389 wxPy_BEGIN_ALLOW_THREADS
;
5390 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5392 wxPy_END_ALLOW_THREADS
;
5393 } _resultobj
= Py_BuildValue("i",_result
);
5397 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5398 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5402 PyObject
* _argo0
= 0;
5403 char *_kwnames
[] = { "self", NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
5409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5416 wxPy_BEGIN_ALLOW_THREADS
;
5417 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
5419 wxPy_END_ALLOW_THREADS
;
5420 } _resultobj
= Py_BuildValue("i",_result
);
5424 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5425 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5429 PyObject
* _argo0
= 0;
5430 char *_kwnames
[] = { "self", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5443 wxPy_BEGIN_ALLOW_THREADS
;
5444 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
5446 wxPy_END_ALLOW_THREADS
;
5447 } _resultobj
= Py_BuildValue("i",_result
);
5451 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5452 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } Py_INCREF(Py_None
);
5484 _resultobj
= Py_None
;
5487 o
= PyInt_FromLong((long) (*_arg1
));
5488 _resultobj
= t_output_helper(_resultobj
, o
);
5492 o
= PyInt_FromLong((long) (*_arg2
));
5493 _resultobj
= t_output_helper(_resultobj
, o
);
5498 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5499 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
* _resultobj
;
5503 PyObject
* _argo0
= 0;
5504 char *_kwnames
[] = { "self", NULL
};
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
5510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
5517 wxPy_BEGIN_ALLOW_THREADS
;
5518 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
5520 wxPy_END_ALLOW_THREADS
;
5521 } _resultobj
= Py_BuildValue("i",_result
);
5525 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5526 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5529 PyObject
* _argo0
= 0;
5530 char *_kwnames
[] = { "self", NULL
};
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
5536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
5543 wxPy_BEGIN_ALLOW_THREADS
;
5544 wxTextCtrl_Undo(_arg0
);
5546 wxPy_END_ALLOW_THREADS
;
5547 } Py_INCREF(Py_None
);
5548 _resultobj
= Py_None
;
5552 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
5553 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5556 PyObject
* _argo0
= 0;
5557 char *_kwnames
[] = { "self", NULL
};
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
5563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
5570 wxPy_BEGIN_ALLOW_THREADS
;
5571 wxTextCtrl_Redo(_arg0
);
5573 wxPy_END_ALLOW_THREADS
;
5574 } Py_INCREF(Py_None
);
5575 _resultobj
= Py_None
;
5579 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
5580 self
->AppendText(text
+ '\n');
5582 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5586 PyObject
* _argo0
= 0;
5587 PyObject
* _obj1
= 0;
5588 char *_kwnames
[] = { "self","text", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
5601 #if PYTHON_API_VERSION >= 1009
5602 char* tmpPtr
; int tmpSize
;
5603 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5604 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5607 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5609 _arg1
= new wxString(tmpPtr
, tmpSize
);
5611 if (!PyString_Check(_obj1
)) {
5612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5615 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5619 wxPy_BEGIN_ALLOW_THREADS
;
5620 wxTextCtrl_write(_arg0
,*_arg1
);
5622 wxPy_END_ALLOW_THREADS
;
5623 } Py_INCREF(Py_None
);
5624 _resultobj
= Py_None
;
5632 static void *SwigwxScrollBarTowxControl(void *ptr
) {
5635 src
= (wxScrollBar
*) ptr
;
5636 dest
= (wxControl
*) src
;
5637 return (void *) dest
;
5640 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
5643 src
= (wxScrollBar
*) ptr
;
5644 dest
= (wxWindow
*) src
;
5645 return (void *) dest
;
5648 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
5651 src
= (wxScrollBar
*) ptr
;
5652 dest
= (wxEvtHandler
*) src
;
5653 return (void *) dest
;
5656 static void *SwigwxScrollBarTowxObject(void *ptr
) {
5659 src
= (wxScrollBar
*) ptr
;
5660 dest
= (wxObject
*) src
;
5661 return (void *) dest
;
5664 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5665 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5667 wxScrollBar
* _result
;
5669 wxWindowID _arg1
= (wxWindowID
) -1;
5670 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5671 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5672 long _arg4
= (long ) wxSB_HORIZONTAL
;
5673 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5674 char * _arg6
= (char *) "scrollBar";
5675 PyObject
* _argo0
= 0;
5677 PyObject
* _obj2
= 0;
5679 PyObject
* _obj3
= 0;
5680 PyObject
* _argo5
= 0;
5681 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
5697 if (! wxPoint_helper(_obj2
, &_arg2
))
5703 if (! wxSize_helper(_obj3
, &_arg3
))
5707 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5717 wxPy_END_ALLOW_THREADS
;
5719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
5720 _resultobj
= Py_BuildValue("s",_ptemp
);
5723 _resultobj
= Py_None
;
5728 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5729 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
* _resultobj
;
5732 wxScrollBar
* _arg0
;
5733 PyObject
* _argo0
= 0;
5734 char *_kwnames
[] = { "self", NULL
};
5737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
5740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5747 wxPy_BEGIN_ALLOW_THREADS
;
5748 _result
= (int )wxScrollBar_GetRange(_arg0
);
5750 wxPy_END_ALLOW_THREADS
;
5751 } _resultobj
= Py_BuildValue("i",_result
);
5755 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5756 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
* _resultobj
;
5759 wxScrollBar
* _arg0
;
5760 PyObject
* _argo0
= 0;
5761 char *_kwnames
[] = { "self", NULL
};
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
5767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5774 wxPy_BEGIN_ALLOW_THREADS
;
5775 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
5777 wxPy_END_ALLOW_THREADS
;
5778 } _resultobj
= Py_BuildValue("i",_result
);
5782 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5783 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5786 wxScrollBar
* _arg0
;
5787 PyObject
* _argo0
= 0;
5788 char *_kwnames
[] = { "self", NULL
};
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
5794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5801 wxPy_BEGIN_ALLOW_THREADS
;
5802 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
5804 wxPy_END_ALLOW_THREADS
;
5805 } _resultobj
= Py_BuildValue("i",_result
);
5809 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5810 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5813 wxScrollBar
* _arg0
;
5814 PyObject
* _argo0
= 0;
5815 char *_kwnames
[] = { "self", NULL
};
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
5821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5828 wxPy_BEGIN_ALLOW_THREADS
;
5829 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
5831 wxPy_END_ALLOW_THREADS
;
5832 } _resultobj
= Py_BuildValue("i",_result
);
5836 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5837 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
* _resultobj
;
5839 wxScrollBar
* _arg0
;
5841 PyObject
* _argo0
= 0;
5842 char *_kwnames
[] = { "self","viewStart", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
5858 wxPy_END_ALLOW_THREADS
;
5859 } Py_INCREF(Py_None
);
5860 _resultobj
= Py_None
;
5864 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5865 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5867 wxScrollBar
* _arg0
;
5872 bool _arg5
= (bool ) TRUE
;
5873 PyObject
* _argo0
= 0;
5874 int tempbool5
= (int) TRUE
;
5875 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5887 _arg5
= (bool ) tempbool5
;
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5892 wxPy_END_ALLOW_THREADS
;
5893 } Py_INCREF(Py_None
);
5894 _resultobj
= Py_None
;
5898 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
5901 src
= (wxSpinButton
*) ptr
;
5902 dest
= (wxControl
*) src
;
5903 return (void *) dest
;
5906 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
5909 src
= (wxSpinButton
*) ptr
;
5910 dest
= (wxWindow
*) src
;
5911 return (void *) dest
;
5914 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
5917 src
= (wxSpinButton
*) ptr
;
5918 dest
= (wxEvtHandler
*) src
;
5919 return (void *) dest
;
5922 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
5925 src
= (wxSpinButton
*) ptr
;
5926 dest
= (wxObject
*) src
;
5927 return (void *) dest
;
5930 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5931 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5933 wxSpinButton
* _result
;
5935 wxWindowID _arg1
= (wxWindowID
) -1;
5936 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5937 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5938 long _arg4
= (long ) wxSP_HORIZONTAL
;
5939 char * _arg5
= (char *) "spinButton";
5940 PyObject
* _argo0
= 0;
5942 PyObject
* _obj2
= 0;
5944 PyObject
* _obj3
= 0;
5945 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5961 if (! wxPoint_helper(_obj2
, &_arg2
))
5967 if (! wxSize_helper(_obj3
, &_arg3
))
5971 wxPy_BEGIN_ALLOW_THREADS
;
5972 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5974 wxPy_END_ALLOW_THREADS
;
5976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
5977 _resultobj
= Py_BuildValue("s",_ptemp
);
5980 _resultobj
= Py_None
;
5985 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5986 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5989 wxSpinButton
* _arg0
;
5990 PyObject
* _argo0
= 0;
5991 char *_kwnames
[] = { "self", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
6004 wxPy_BEGIN_ALLOW_THREADS
;
6005 _result
= (int )wxSpinButton_GetMax(_arg0
);
6007 wxPy_END_ALLOW_THREADS
;
6008 } _resultobj
= Py_BuildValue("i",_result
);
6012 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
6013 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6016 wxSpinButton
* _arg0
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
6031 wxPy_BEGIN_ALLOW_THREADS
;
6032 _result
= (int )wxSpinButton_GetMin(_arg0
);
6034 wxPy_END_ALLOW_THREADS
;
6035 } _resultobj
= Py_BuildValue("i",_result
);
6039 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
6040 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6043 wxSpinButton
* _arg0
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
6058 wxPy_BEGIN_ALLOW_THREADS
;
6059 _result
= (int )wxSpinButton_GetValue(_arg0
);
6061 wxPy_END_ALLOW_THREADS
;
6062 } _resultobj
= Py_BuildValue("i",_result
);
6066 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6067 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
* _resultobj
;
6069 wxSpinButton
* _arg0
;
6072 PyObject
* _argo0
= 0;
6073 char *_kwnames
[] = { "self","min","max", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
6086 wxPy_BEGIN_ALLOW_THREADS
;
6087 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
6089 wxPy_END_ALLOW_THREADS
;
6090 } Py_INCREF(Py_None
);
6091 _resultobj
= Py_None
;
6095 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6096 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6098 wxSpinButton
* _arg0
;
6100 PyObject
* _argo0
= 0;
6101 char *_kwnames
[] = { "self","value", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
6114 wxPy_BEGIN_ALLOW_THREADS
;
6115 wxSpinButton_SetValue(_arg0
,_arg1
);
6117 wxPy_END_ALLOW_THREADS
;
6118 } Py_INCREF(Py_None
);
6119 _resultobj
= Py_None
;
6123 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
6124 wxStaticBitmap
*src
;
6126 src
= (wxStaticBitmap
*) ptr
;
6127 dest
= (wxControl
*) src
;
6128 return (void *) dest
;
6131 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
6132 wxStaticBitmap
*src
;
6134 src
= (wxStaticBitmap
*) ptr
;
6135 dest
= (wxWindow
*) src
;
6136 return (void *) dest
;
6139 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
6140 wxStaticBitmap
*src
;
6142 src
= (wxStaticBitmap
*) ptr
;
6143 dest
= (wxEvtHandler
*) src
;
6144 return (void *) dest
;
6147 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
6148 wxStaticBitmap
*src
;
6150 src
= (wxStaticBitmap
*) ptr
;
6151 dest
= (wxObject
*) src
;
6152 return (void *) dest
;
6155 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6156 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
* _resultobj
;
6158 wxStaticBitmap
* _result
;
6162 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6163 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6164 long _arg5
= (long ) 0;
6165 char * _arg6
= (char *) "staticBitmap";
6166 PyObject
* _argo0
= 0;
6167 PyObject
* _argo2
= 0;
6169 PyObject
* _obj3
= 0;
6171 PyObject
* _obj4
= 0;
6172 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6186 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6195 if (! wxPoint_helper(_obj3
, &_arg3
))
6201 if (! wxSize_helper(_obj4
, &_arg4
))
6205 wxPy_BEGIN_ALLOW_THREADS
;
6206 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6208 wxPy_END_ALLOW_THREADS
;
6210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
6211 _resultobj
= Py_BuildValue("s",_ptemp
);
6214 _resultobj
= Py_None
;
6219 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6220 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6223 wxStaticBitmap
* _arg0
;
6224 PyObject
* _argo0
= 0;
6225 char *_kwnames
[] = { "self", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6239 wxPy_BEGIN_ALLOW_THREADS
;
6240 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
6241 _result
= (wxBitmap
*) &_result_ref
;
6243 wxPy_END_ALLOW_THREADS
;
6245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6246 _resultobj
= Py_BuildValue("s",_ptemp
);
6249 _resultobj
= Py_None
;
6254 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6255 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6257 wxStaticBitmap
* _arg0
;
6259 PyObject
* _argo0
= 0;
6260 PyObject
* _argo1
= 0;
6261 char *_kwnames
[] = { "self","bitmap", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
6274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
6281 wxPy_BEGIN_ALLOW_THREADS
;
6282 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
6284 wxPy_END_ALLOW_THREADS
;
6285 } Py_INCREF(Py_None
);
6286 _resultobj
= Py_None
;
6290 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
6291 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
* _resultobj
;
6293 wxStaticBitmap
* _arg0
;
6295 PyObject
* _argo0
= 0;
6296 PyObject
* _argo1
= 0;
6297 char *_kwnames
[] = { "self","icon", NULL
};
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
6303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
6310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
6317 wxPy_BEGIN_ALLOW_THREADS
;
6318 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
6320 wxPy_END_ALLOW_THREADS
;
6321 } Py_INCREF(Py_None
);
6322 _resultobj
= Py_None
;
6326 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
6329 src
= (wxRadioBox
*) ptr
;
6330 dest
= (wxControl
*) src
;
6331 return (void *) dest
;
6334 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
6337 src
= (wxRadioBox
*) ptr
;
6338 dest
= (wxWindow
*) src
;
6339 return (void *) dest
;
6342 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
6345 src
= (wxRadioBox
*) ptr
;
6346 dest
= (wxEvtHandler
*) src
;
6347 return (void *) dest
;
6350 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
6353 src
= (wxRadioBox
*) ptr
;
6354 dest
= (wxObject
*) src
;
6355 return (void *) dest
;
6358 #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))
6359 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6361 wxRadioBox
* _result
;
6365 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6366 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6367 int _arg5
= (int ) 0;
6368 wxString
* _arg6
= (wxString
*) NULL
;
6369 int _arg7
= (int ) 0;
6370 long _arg8
= (long ) wxRA_HORIZONTAL
;
6371 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
6372 char * _arg10
= (char *) "radioBox";
6373 PyObject
* _argo0
= 0;
6374 PyObject
* _obj2
= 0;
6376 PyObject
* _obj3
= 0;
6378 PyObject
* _obj4
= 0;
6379 PyObject
* _obj6
= 0;
6380 PyObject
* _argo9
= 0;
6381 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
6395 #if PYTHON_API_VERSION >= 1009
6396 char* tmpPtr
; int tmpSize
;
6397 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6401 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6403 _arg2
= new wxString(tmpPtr
, tmpSize
);
6405 if (!PyString_Check(_obj2
)) {
6406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6409 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6415 if (! wxPoint_helper(_obj3
, &_arg3
))
6421 if (! wxSize_helper(_obj4
, &_arg4
))
6426 _arg6
= wxString_LIST_helper(_obj6
);
6427 if (_arg6
== NULL
) {
6432 if (_argo9
== Py_None
) { _arg9
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
6440 _arg5
= PyList_Size(_obj6
);
6447 wxPy_BEGIN_ALLOW_THREADS
;
6448 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
6450 wxPy_END_ALLOW_THREADS
;
6452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
6453 _resultobj
= Py_BuildValue("s",_ptemp
);
6456 _resultobj
= Py_None
;
6468 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6469 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6473 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self","enable", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
6487 _arg1
= (bool ) tempbool1
;
6489 wxPy_BEGIN_ALLOW_THREADS
;
6490 wxRadioBox_Enable(_arg0
,_arg1
);
6492 wxPy_END_ALLOW_THREADS
;
6493 } Py_INCREF(Py_None
);
6494 _resultobj
= Py_None
;
6498 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6499 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6504 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self","n","enable", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
6518 _arg2
= (bool ) tempbool2
;
6520 wxPy_BEGIN_ALLOW_THREADS
;
6521 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
6523 wxPy_END_ALLOW_THREADS
;
6524 } Py_INCREF(Py_None
);
6525 _resultobj
= Py_None
;
6529 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
6530 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6535 PyObject
* _argo0
= 0;
6536 PyObject
* _obj1
= 0;
6537 char *_kwnames
[] = { "self","string", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
6550 #if PYTHON_API_VERSION >= 1009
6551 char* tmpPtr
; int tmpSize
;
6552 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6556 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6558 _arg1
= new wxString(tmpPtr
, tmpSize
);
6560 if (!PyString_Check(_obj1
)) {
6561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6564 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6568 wxPy_BEGIN_ALLOW_THREADS
;
6569 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
6571 wxPy_END_ALLOW_THREADS
;
6572 } _resultobj
= Py_BuildValue("i",_result
);
6580 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6581 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6582 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self","n", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
6603 wxPy_END_ALLOW_THREADS
;
6605 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6613 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
6614 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
* _resultobj
;
6618 PyObject
* _argo0
= 0;
6619 char *_kwnames
[] = { "self", NULL
};
6622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
6625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
6632 wxPy_BEGIN_ALLOW_THREADS
;
6633 _result
= (int )wxRadioBox_GetSelection(_arg0
);
6635 wxPy_END_ALLOW_THREADS
;
6636 } _resultobj
= Py_BuildValue("i",_result
);
6640 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
6641 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6642 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self","n", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
6660 wxPy_BEGIN_ALLOW_THREADS
;
6661 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
6663 wxPy_END_ALLOW_THREADS
;
6665 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6673 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6674 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
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_GetStringSelection. Expected _wxRadioBox_p.");
6692 wxPy_BEGIN_ALLOW_THREADS
;
6693 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
6695 wxPy_END_ALLOW_THREADS
;
6697 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6705 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
6706 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
* _resultobj
;
6710 PyObject
* _argo0
= 0;
6711 char *_kwnames
[] = { "self", NULL
};
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
6717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
6724 wxPy_BEGIN_ALLOW_THREADS
;
6725 _result
= (int )wxRadioBox_Number(_arg0
);
6727 wxPy_END_ALLOW_THREADS
;
6728 } _resultobj
= Py_BuildValue("i",_result
);
6732 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6733 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 PyObject
* _obj2
= 0;
6740 char *_kwnames
[] = { "self","n","label", NULL
};
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
6753 #if PYTHON_API_VERSION >= 1009
6754 char* tmpPtr
; int tmpSize
;
6755 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6759 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6761 _arg2
= new wxString(tmpPtr
, tmpSize
);
6763 if (!PyString_Check(_obj2
)) {
6764 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6767 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6771 wxPy_BEGIN_ALLOW_THREADS
;
6772 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
6774 wxPy_END_ALLOW_THREADS
;
6775 } Py_INCREF(Py_None
);
6776 _resultobj
= Py_None
;
6784 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6785 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6789 PyObject
* _argo0
= 0;
6790 char *_kwnames
[] = { "self","n", NULL
};
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
6796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6803 wxPy_BEGIN_ALLOW_THREADS
;
6804 wxRadioBox_SetSelection(_arg0
,_arg1
);
6806 wxPy_END_ALLOW_THREADS
;
6807 } Py_INCREF(Py_None
);
6808 _resultobj
= Py_None
;
6812 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6813 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 PyObject
* _obj1
= 0;
6819 char *_kwnames
[] = { "self","string", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6832 #if PYTHON_API_VERSION >= 1009
6833 char* tmpPtr
; int tmpSize
;
6834 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6838 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6840 _arg1
= new wxString(tmpPtr
, tmpSize
);
6842 if (!PyString_Check(_obj1
)) {
6843 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6846 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6850 wxPy_BEGIN_ALLOW_THREADS
;
6851 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
6853 wxPy_END_ALLOW_THREADS
;
6854 } Py_INCREF(Py_None
);
6855 _resultobj
= Py_None
;
6863 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6864 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6868 PyObject
* _argo0
= 0;
6870 char *_kwnames
[] = { "self","show", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6882 _arg1
= (bool ) tempbool1
;
6884 wxPy_BEGIN_ALLOW_THREADS
;
6885 wxRadioBox_Show(_arg0
,_arg1
);
6887 wxPy_END_ALLOW_THREADS
;
6888 } Py_INCREF(Py_None
);
6889 _resultobj
= Py_None
;
6893 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6894 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
* _resultobj
;
6899 PyObject
* _argo0
= 0;
6901 char *_kwnames
[] = { "self","item","show", NULL
};
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6913 _arg2
= (bool ) tempbool2
;
6915 wxPy_BEGIN_ALLOW_THREADS
;
6916 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
6918 wxPy_END_ALLOW_THREADS
;
6919 } Py_INCREF(Py_None
);
6920 _resultobj
= Py_None
;
6924 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
6927 src
= (wxRadioButton
*) ptr
;
6928 dest
= (wxControl
*) src
;
6929 return (void *) dest
;
6932 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
6935 src
= (wxRadioButton
*) ptr
;
6936 dest
= (wxWindow
*) src
;
6937 return (void *) dest
;
6940 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
6943 src
= (wxRadioButton
*) ptr
;
6944 dest
= (wxEvtHandler
*) src
;
6945 return (void *) dest
;
6948 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
6951 src
= (wxRadioButton
*) ptr
;
6952 dest
= (wxObject
*) src
;
6953 return (void *) dest
;
6956 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6957 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6959 wxRadioButton
* _result
;
6963 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6964 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6965 long _arg5
= (long ) 0;
6966 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6967 char * _arg7
= (char *) "radioButton";
6968 PyObject
* _argo0
= 0;
6969 PyObject
* _obj2
= 0;
6971 PyObject
* _obj3
= 0;
6973 PyObject
* _obj4
= 0;
6974 PyObject
* _argo6
= 0;
6975 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6989 #if PYTHON_API_VERSION >= 1009
6990 char* tmpPtr
; int tmpSize
;
6991 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6992 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6995 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6997 _arg2
= new wxString(tmpPtr
, tmpSize
);
6999 if (!PyString_Check(_obj2
)) {
7000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7003 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7009 if (! wxPoint_helper(_obj3
, &_arg3
))
7015 if (! wxSize_helper(_obj4
, &_arg4
))
7019 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7020 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
7026 wxPy_BEGIN_ALLOW_THREADS
;
7027 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7029 wxPy_END_ALLOW_THREADS
;
7031 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
7032 _resultobj
= Py_BuildValue("s",_ptemp
);
7035 _resultobj
= Py_None
;
7044 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
7045 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7046 PyObject
* _resultobj
;
7048 wxRadioButton
* _arg0
;
7049 PyObject
* _argo0
= 0;
7050 char *_kwnames
[] = { "self", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
7056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
7063 wxPy_BEGIN_ALLOW_THREADS
;
7064 _result
= (bool )wxRadioButton_GetValue(_arg0
);
7066 wxPy_END_ALLOW_THREADS
;
7067 } _resultobj
= Py_BuildValue("i",_result
);
7071 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7072 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
* _resultobj
;
7074 wxRadioButton
* _arg0
;
7076 PyObject
* _argo0
= 0;
7078 char *_kwnames
[] = { "self","value", NULL
};
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
7084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
7090 _arg1
= (bool ) tempbool1
;
7092 wxPy_BEGIN_ALLOW_THREADS
;
7093 wxRadioButton_SetValue(_arg0
,_arg1
);
7095 wxPy_END_ALLOW_THREADS
;
7096 } Py_INCREF(Py_None
);
7097 _resultobj
= Py_None
;
7101 static void *SwigwxSliderTowxControl(void *ptr
) {
7104 src
= (wxSlider
*) ptr
;
7105 dest
= (wxControl
*) src
;
7106 return (void *) dest
;
7109 static void *SwigwxSliderTowxWindow(void *ptr
) {
7112 src
= (wxSlider
*) ptr
;
7113 dest
= (wxWindow
*) src
;
7114 return (void *) dest
;
7117 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
7120 src
= (wxSlider
*) ptr
;
7121 dest
= (wxEvtHandler
*) src
;
7122 return (void *) dest
;
7125 static void *SwigwxSliderTowxObject(void *ptr
) {
7128 src
= (wxSlider
*) ptr
;
7129 dest
= (wxObject
*) src
;
7130 return (void *) dest
;
7133 #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))
7134 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7142 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
7143 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
7144 long _arg7
= (long ) wxSL_HORIZONTAL
;
7145 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
7146 char * _arg9
= (char *) "slider";
7147 PyObject
* _argo0
= 0;
7149 PyObject
* _obj5
= 0;
7151 PyObject
* _obj6
= 0;
7152 PyObject
* _argo8
= 0;
7153 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7169 if (! wxPoint_helper(_obj5
, &_arg5
))
7175 if (! wxSize_helper(_obj6
, &_arg6
))
7179 if (_argo8
== Py_None
) { _arg8
= NULL
; }
7180 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
7181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7186 wxPy_BEGIN_ALLOW_THREADS
;
7187 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
7189 wxPy_END_ALLOW_THREADS
;
7191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
7192 _resultobj
= Py_BuildValue("s",_ptemp
);
7195 _resultobj
= Py_None
;
7200 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7201 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
* _resultobj
;
7204 PyObject
* _argo0
= 0;
7205 char *_kwnames
[] = { "self", NULL
};
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
7211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7218 wxPy_BEGIN_ALLOW_THREADS
;
7219 wxSlider_ClearSel(_arg0
);
7221 wxPy_END_ALLOW_THREADS
;
7222 } Py_INCREF(Py_None
);
7223 _resultobj
= Py_None
;
7227 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7228 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
* _resultobj
;
7231 PyObject
* _argo0
= 0;
7232 char *_kwnames
[] = { "self", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
7245 wxPy_BEGIN_ALLOW_THREADS
;
7246 wxSlider_ClearTicks(_arg0
);
7248 wxPy_END_ALLOW_THREADS
;
7249 } Py_INCREF(Py_None
);
7250 _resultobj
= Py_None
;
7254 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
7255 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
7273 wxPy_BEGIN_ALLOW_THREADS
;
7274 _result
= (int )wxSlider_GetLineSize(_arg0
);
7276 wxPy_END_ALLOW_THREADS
;
7277 } _resultobj
= Py_BuildValue("i",_result
);
7281 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
7282 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
* _resultobj
;
7286 PyObject
* _argo0
= 0;
7287 char *_kwnames
[] = { "self", NULL
};
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
7293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
7300 wxPy_BEGIN_ALLOW_THREADS
;
7301 _result
= (int )wxSlider_GetMax(_arg0
);
7303 wxPy_END_ALLOW_THREADS
;
7304 } _resultobj
= Py_BuildValue("i",_result
);
7308 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
7309 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7310 PyObject
* _resultobj
;
7313 PyObject
* _argo0
= 0;
7314 char *_kwnames
[] = { "self", NULL
};
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
7320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
7327 wxPy_BEGIN_ALLOW_THREADS
;
7328 _result
= (int )wxSlider_GetMin(_arg0
);
7330 wxPy_END_ALLOW_THREADS
;
7331 } _resultobj
= Py_BuildValue("i",_result
);
7335 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7336 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
* _resultobj
;
7340 PyObject
* _argo0
= 0;
7341 char *_kwnames
[] = { "self", NULL
};
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
7347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
7354 wxPy_BEGIN_ALLOW_THREADS
;
7355 _result
= (int )wxSlider_GetPageSize(_arg0
);
7357 wxPy_END_ALLOW_THREADS
;
7358 } _resultobj
= Py_BuildValue("i",_result
);
7362 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
7363 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
* _resultobj
;
7367 PyObject
* _argo0
= 0;
7368 char *_kwnames
[] = { "self", NULL
};
7371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
7374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
7381 wxPy_BEGIN_ALLOW_THREADS
;
7382 _result
= (int )wxSlider_GetSelEnd(_arg0
);
7384 wxPy_END_ALLOW_THREADS
;
7385 } _resultobj
= Py_BuildValue("i",_result
);
7389 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
7390 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
* _resultobj
;
7394 PyObject
* _argo0
= 0;
7395 char *_kwnames
[] = { "self", NULL
};
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
7401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
7408 wxPy_BEGIN_ALLOW_THREADS
;
7409 _result
= (int )wxSlider_GetSelStart(_arg0
);
7411 wxPy_END_ALLOW_THREADS
;
7412 } _resultobj
= Py_BuildValue("i",_result
);
7416 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
7417 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
* _resultobj
;
7421 PyObject
* _argo0
= 0;
7422 char *_kwnames
[] = { "self", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
7428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
7435 wxPy_BEGIN_ALLOW_THREADS
;
7436 _result
= (int )wxSlider_GetThumbLength(_arg0
);
7438 wxPy_END_ALLOW_THREADS
;
7439 } _resultobj
= Py_BuildValue("i",_result
);
7443 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
7444 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7448 PyObject
* _argo0
= 0;
7449 char *_kwnames
[] = { "self", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
7462 wxPy_BEGIN_ALLOW_THREADS
;
7463 _result
= (int )wxSlider_GetTickFreq(_arg0
);
7465 wxPy_END_ALLOW_THREADS
;
7466 } _resultobj
= Py_BuildValue("i",_result
);
7470 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
7471 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
* _resultobj
;
7475 PyObject
* _argo0
= 0;
7476 char *_kwnames
[] = { "self", NULL
};
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
7482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
7489 wxPy_BEGIN_ALLOW_THREADS
;
7490 _result
= (int )wxSlider_GetValue(_arg0
);
7492 wxPy_END_ALLOW_THREADS
;
7493 } _resultobj
= Py_BuildValue("i",_result
);
7497 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7498 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
* _resultobj
;
7503 PyObject
* _argo0
= 0;
7504 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
7517 wxPy_BEGIN_ALLOW_THREADS
;
7518 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
7520 wxPy_END_ALLOW_THREADS
;
7521 } Py_INCREF(Py_None
);
7522 _resultobj
= Py_None
;
7526 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
7527 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
* _resultobj
;
7532 PyObject
* _argo0
= 0;
7533 char *_kwnames
[] = { "self","n","pos", NULL
};
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
7546 wxPy_BEGIN_ALLOW_THREADS
;
7547 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
7549 wxPy_END_ALLOW_THREADS
;
7550 } Py_INCREF(Py_None
);
7551 _resultobj
= Py_None
;
7555 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
7556 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
* _resultobj
;
7560 PyObject
* _argo0
= 0;
7561 char *_kwnames
[] = { "self","lineSize", NULL
};
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
7567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
7574 wxPy_BEGIN_ALLOW_THREADS
;
7575 wxSlider_SetLineSize(_arg0
,_arg1
);
7577 wxPy_END_ALLOW_THREADS
;
7578 } Py_INCREF(Py_None
);
7579 _resultobj
= Py_None
;
7583 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
7584 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7588 PyObject
* _argo0
= 0;
7589 char *_kwnames
[] = { "self","pageSize", NULL
};
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
7595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
7602 wxPy_BEGIN_ALLOW_THREADS
;
7603 wxSlider_SetPageSize(_arg0
,_arg1
);
7605 wxPy_END_ALLOW_THREADS
;
7606 } Py_INCREF(Py_None
);
7607 _resultobj
= Py_None
;
7611 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7612 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7617 PyObject
* _argo0
= 0;
7618 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
7621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
7631 wxPy_BEGIN_ALLOW_THREADS
;
7632 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
7634 wxPy_END_ALLOW_THREADS
;
7635 } Py_INCREF(Py_None
);
7636 _resultobj
= Py_None
;
7640 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
7641 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7645 PyObject
* _argo0
= 0;
7646 char *_kwnames
[] = { "self","len", NULL
};
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
7652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
7659 wxPy_BEGIN_ALLOW_THREADS
;
7660 wxSlider_SetThumbLength(_arg0
,_arg1
);
7662 wxPy_END_ALLOW_THREADS
;
7663 } Py_INCREF(Py_None
);
7664 _resultobj
= Py_None
;
7668 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
7669 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
* _resultobj
;
7673 PyObject
* _argo0
= 0;
7674 char *_kwnames
[] = { "self","tickPos", NULL
};
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
7680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
7687 wxPy_BEGIN_ALLOW_THREADS
;
7688 wxSlider_SetTick(_arg0
,_arg1
);
7690 wxPy_END_ALLOW_THREADS
;
7691 } Py_INCREF(Py_None
);
7692 _resultobj
= Py_None
;
7696 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7697 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
* _resultobj
;
7701 PyObject
* _argo0
= 0;
7702 char *_kwnames
[] = { "self","value", NULL
};
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
7708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
7715 wxPy_BEGIN_ALLOW_THREADS
;
7716 wxSlider_SetValue(_arg0
,_arg1
);
7718 wxPy_END_ALLOW_THREADS
;
7719 } Py_INCREF(Py_None
);
7720 _resultobj
= Py_None
;
7724 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
7727 src
= (wxSpinCtrl
*) ptr
;
7728 dest
= (wxSpinButton
*) src
;
7729 return (void *) dest
;
7732 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
7735 src
= (wxSpinCtrl
*) ptr
;
7736 dest
= (wxControl
*) src
;
7737 return (void *) dest
;
7740 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
7743 src
= (wxSpinCtrl
*) ptr
;
7744 dest
= (wxWindow
*) src
;
7745 return (void *) dest
;
7748 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
7751 src
= (wxSpinCtrl
*) ptr
;
7752 dest
= (wxEvtHandler
*) src
;
7753 return (void *) dest
;
7756 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
7759 src
= (wxSpinCtrl
*) ptr
;
7760 dest
= (wxObject
*) src
;
7761 return (void *) dest
;
7764 #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))
7765 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
* _resultobj
;
7767 wxSpinCtrl
* _result
;
7769 wxWindowID _arg1
= (wxWindowID
) -1;
7770 char * _arg2
= (char *) "";
7771 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7772 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7773 long _arg5
= (long ) wxSP_ARROW_KEYS
;
7774 int _arg6
= (int ) 0;
7775 int _arg7
= (int ) 100;
7776 int _arg8
= (int ) 0;
7777 char * _arg9
= (char *) "wxSpinCtrl";
7778 PyObject
* _argo0
= 0;
7780 PyObject
* _obj3
= 0;
7782 PyObject
* _obj4
= 0;
7783 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
7799 if (! wxPoint_helper(_obj3
, &_arg3
))
7805 if (! wxSize_helper(_obj4
, &_arg4
))
7809 wxPy_BEGIN_ALLOW_THREADS
;
7810 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7812 wxPy_END_ALLOW_THREADS
;
7814 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
7815 _resultobj
= Py_BuildValue("s",_ptemp
);
7818 _resultobj
= Py_None
;
7823 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
7824 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
* _resultobj
;
7828 PyObject
* _argo0
= 0;
7829 char *_kwnames
[] = { "self", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
7842 wxPy_BEGIN_ALLOW_THREADS
;
7843 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
7845 wxPy_END_ALLOW_THREADS
;
7846 } _resultobj
= Py_BuildValue("i",_result
);
7850 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
7851 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7855 PyObject
* _argo0
= 0;
7856 char *_kwnames
[] = { "self", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
7869 wxPy_BEGIN_ALLOW_THREADS
;
7870 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
7872 wxPy_END_ALLOW_THREADS
;
7873 } _resultobj
= Py_BuildValue("i",_result
);
7877 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7878 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
* _resultobj
;
7882 PyObject
* _argo0
= 0;
7883 char *_kwnames
[] = { "self", NULL
};
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
7889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
7896 wxPy_BEGIN_ALLOW_THREADS
;
7897 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
7899 wxPy_END_ALLOW_THREADS
;
7900 } _resultobj
= Py_BuildValue("i",_result
);
7904 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7905 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
* _resultobj
;
7910 PyObject
* _argo0
= 0;
7911 char *_kwnames
[] = { "self","min","max", NULL
};
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
7924 wxPy_BEGIN_ALLOW_THREADS
;
7925 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
7927 wxPy_END_ALLOW_THREADS
;
7928 } Py_INCREF(Py_None
);
7929 _resultobj
= Py_None
;
7933 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7934 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
* _resultobj
;
7938 PyObject
* _argo0
= 0;
7939 char *_kwnames
[] = { "self","value", NULL
};
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
7945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
7952 wxPy_BEGIN_ALLOW_THREADS
;
7953 wxSpinCtrl_SetValue(_arg0
,_arg1
);
7955 wxPy_END_ALLOW_THREADS
;
7956 } Py_INCREF(Py_None
);
7957 _resultobj
= Py_None
;
7961 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
7962 wxToggleButton
*src
;
7964 src
= (wxToggleButton
*) ptr
;
7965 dest
= (wxControl
*) src
;
7966 return (void *) dest
;
7969 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
7970 wxToggleButton
*src
;
7972 src
= (wxToggleButton
*) ptr
;
7973 dest
= (wxWindow
*) src
;
7974 return (void *) dest
;
7977 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
7978 wxToggleButton
*src
;
7980 src
= (wxToggleButton
*) ptr
;
7981 dest
= (wxEvtHandler
*) src
;
7982 return (void *) dest
;
7985 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
7986 wxToggleButton
*src
;
7988 src
= (wxToggleButton
*) ptr
;
7989 dest
= (wxObject
*) src
;
7990 return (void *) dest
;
7993 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7994 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
* _resultobj
;
7996 wxToggleButton
* _result
;
8000 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8001 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8002 long _arg5
= (long ) 0;
8003 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8004 char * _arg7
= (char *) "toggle";
8005 PyObject
* _argo0
= 0;
8006 PyObject
* _obj2
= 0;
8008 PyObject
* _obj3
= 0;
8010 PyObject
* _obj4
= 0;
8011 PyObject
* _argo6
= 0;
8012 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
8026 #if PYTHON_API_VERSION >= 1009
8027 char* tmpPtr
; int tmpSize
;
8028 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8029 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8032 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8034 _arg2
= new wxString(tmpPtr
, tmpSize
);
8036 if (!PyString_Check(_obj2
)) {
8037 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8040 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8046 if (! wxPoint_helper(_obj3
, &_arg3
))
8052 if (! wxSize_helper(_obj4
, &_arg4
))
8056 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8057 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
8063 wxPy_BEGIN_ALLOW_THREADS
;
8064 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8066 wxPy_END_ALLOW_THREADS
;
8068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
8069 _resultobj
= Py_BuildValue("s",_ptemp
);
8072 _resultobj
= Py_None
;
8081 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8082 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
* _resultobj
;
8084 wxToggleButton
* _arg0
;
8086 PyObject
* _argo0
= 0;
8088 char *_kwnames
[] = { "self","value", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
8100 _arg1
= (bool ) tempbool1
;
8102 wxPy_BEGIN_ALLOW_THREADS
;
8103 wxToggleButton_SetValue(_arg0
,_arg1
);
8105 wxPy_END_ALLOW_THREADS
;
8106 } Py_INCREF(Py_None
);
8107 _resultobj
= Py_None
;
8111 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
8112 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
* _resultobj
;
8115 wxToggleButton
* _arg0
;
8116 PyObject
* _argo0
= 0;
8117 char *_kwnames
[] = { "self", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
8130 wxPy_BEGIN_ALLOW_THREADS
;
8131 _result
= (bool )wxToggleButton_GetValue(_arg0
);
8133 wxPy_END_ALLOW_THREADS
;
8134 } _resultobj
= Py_BuildValue("i",_result
);
8138 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
8139 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
* _resultobj
;
8141 wxToggleButton
* _arg0
;
8143 PyObject
* _argo0
= 0;
8144 PyObject
* _obj1
= 0;
8145 char *_kwnames
[] = { "self","label", NULL
};
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
8151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
8158 #if PYTHON_API_VERSION >= 1009
8159 char* tmpPtr
; int tmpSize
;
8160 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8164 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8166 _arg1
= new wxString(tmpPtr
, tmpSize
);
8168 if (!PyString_Check(_obj1
)) {
8169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8172 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8176 wxPy_BEGIN_ALLOW_THREADS
;
8177 wxToggleButton_SetLabel(_arg0
,*_arg1
);
8179 wxPy_END_ALLOW_THREADS
;
8180 } Py_INCREF(Py_None
);
8181 _resultobj
= Py_None
;
8189 static PyMethodDef controlscMethods
[] = {
8190 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
8220 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8221 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8222 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
8223 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
8224 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
8225 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8226 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8227 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8228 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8229 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8230 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8231 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8232 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8233 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8234 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
8235 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8236 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
8237 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
8238 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8239 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8240 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8241 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8242 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8243 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8244 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8245 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8246 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
8247 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8248 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8249 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8250 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8251 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8252 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8253 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
8254 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
8255 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
8256 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
8257 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
8258 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
8259 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8260 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
8261 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
8262 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
8263 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
8264 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
8265 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
8266 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
8267 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
8268 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
8269 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8270 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8271 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
8272 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8273 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
8274 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
8275 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8276 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8277 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
8278 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8279 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8280 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
8281 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8282 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
8283 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
8284 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
8285 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
8286 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8287 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
8288 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8289 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8290 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8291 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8292 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
8293 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8294 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
8295 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8296 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
8297 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8298 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
8299 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8300 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
8301 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
8302 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
8303 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8304 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8305 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8306 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8307 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8308 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8309 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8310 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8311 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
8312 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8313 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8314 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
8315 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
8316 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8317 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8318 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
8319 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
8320 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
8321 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8322 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
8323 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8324 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
8325 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8326 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
8327 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
8328 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
8329 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
8330 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8331 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
8332 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8333 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
8334 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8335 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8336 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8337 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8338 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8339 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8340 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8341 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8342 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8343 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
8344 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8345 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8346 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8347 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8348 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8349 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8350 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
8351 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
8352 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8353 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8354 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
8355 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
8356 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8357 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8358 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8359 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
8360 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8361 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8362 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
8363 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
8364 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8365 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8366 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
8367 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
8368 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
8394 * This table is used by the pointer type-checker
8396 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8397 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8398 { "_wxEvent","_class_wxEvent",0},
8399 { "_class_wxActivateEvent","_wxActivateEvent",0},
8400 { "_signed_long","_long",0},
8401 { "_wxMenuEvent","_class_wxMenuEvent",0},
8402 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8403 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8404 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8405 { "_wxPrintQuality","_wxCoord",0},
8406 { "_wxPrintQuality","_int",0},
8407 { "_wxPrintQuality","_signed_int",0},
8408 { "_wxPrintQuality","_unsigned_int",0},
8409 { "_wxPrintQuality","_wxWindowID",0},
8410 { "_wxPrintQuality","_uint",0},
8411 { "_wxPrintQuality","_EBool",0},
8412 { "_wxPrintQuality","_size_t",0},
8413 { "_wxPrintQuality","_time_t",0},
8414 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8415 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8416 { "_class_wxRegionIterator","_wxRegionIterator",0},
8417 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8418 { "_class_wxMenuBar","_wxMenuBar",0},
8419 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8420 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8421 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8422 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8423 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8424 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8425 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8426 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8427 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8428 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8429 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8430 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8431 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8432 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8433 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8434 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8435 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8436 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8437 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8438 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8439 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8440 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8441 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8442 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8443 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8444 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8445 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8446 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8447 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8448 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8449 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8450 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8451 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8452 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8453 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8454 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8455 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8456 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8457 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8458 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8459 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8460 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8461 { "_class_wxEvtHandler","_wxEvtHandler",0},
8462 { "_wxPaintEvent","_class_wxPaintEvent",0},
8463 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8464 { "_wxCursor","_class_wxCursor",0},
8465 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8466 { "_wxMask","_class_wxMask",0},
8467 { "_wxPen","_class_wxPen",0},
8468 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8469 { "_byte","_unsigned_char",0},
8470 { "_wxDataObject","_class_wxDataObject",0},
8471 { "_wxStaticBox","_class_wxStaticBox",0},
8472 { "_wxColourDatabase","_class_wxColourDatabase",0},
8473 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8474 { "_wxPyDropSource","_class_wxPyDropSource",0},
8475 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8476 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8477 { "_wxChoice","_class_wxChoice",0},
8478 { "_wxSlider","_class_wxSlider",0},
8479 { "_long","_unsigned_long",0},
8480 { "_long","_signed_long",0},
8481 { "_wxImageList","_class_wxImageList",0},
8482 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8483 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8484 { "_wxBitmapButton","_class_wxBitmapButton",0},
8485 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8486 { "_class_wxClipboard","_wxClipboard",0},
8487 { "_class_wxGauge","_wxGauge",0},
8488 { "_wxGDIObject","_class_wxGDIObject",0},
8489 { "_wxDC","_class_wxDC",0},
8490 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8491 { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
8492 { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
8493 { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
8494 { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
8495 { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
8496 { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject
},
8497 { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
8498 { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
8499 { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
8500 { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
8501 { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
8502 { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
8503 { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
8504 { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
8505 { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
8506 { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
8507 { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
8508 { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
8509 { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
8510 { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
8511 { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
8512 { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
8513 { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
8514 { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
8515 { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
8516 { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
8517 { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
8518 { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
8519 { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
8520 { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
8521 { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
8522 { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
8523 { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
8524 { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
8525 { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
8526 { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
8527 { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
8528 { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
8529 { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
8530 { "_class_wxObject","_wxButton",SwigwxButtonTowxObject
},
8531 { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject
},
8532 { "_class_wxObject","_wxControl",SwigwxControlTowxObject
},
8533 { "_class_wxObject","_wxObject",0},
8534 { "_wxSpinEvent","_class_wxSpinEvent",0},
8535 { "_size_t","_wxCoord",0},
8536 { "_size_t","_wxPrintQuality",0},
8537 { "_size_t","_time_t",0},
8538 { "_size_t","_unsigned_int",0},
8539 { "_size_t","_int",0},
8540 { "_size_t","_wxWindowID",0},
8541 { "_size_t","_uint",0},
8542 { "_class_wxRealPoint","_wxRealPoint",0},
8543 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8544 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8545 { "_class_wxMenuItem","_wxMenuItem",0},
8546 { "_class_wxPaintEvent","_wxPaintEvent",0},
8547 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8548 { "_wxPanel","_class_wxPanel",0},
8549 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8550 { "_wxCheckBox","_class_wxCheckBox",0},
8551 { "_wxPyEvent","_class_wxPyEvent",0},
8552 { "_wxTextCtrl","_class_wxTextCtrl",0},
8553 { "_class_wxMask","_wxMask",0},
8554 { "_wxTextDataObject","_class_wxTextDataObject",0},
8555 { "_class_wxKeyEvent","_wxKeyEvent",0},
8556 { "_wxColour","_class_wxColour",0},
8557 { "_class_wxDialog","_wxDialog",0},
8558 { "_class_wxFileDataObject","_wxFileDataObject",0},
8559 { "_wxIdleEvent","_class_wxIdleEvent",0},
8560 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8561 { "_class_wxDataObject","_wxDataObject",0},
8562 { "_wxStaticLine","_class_wxStaticLine",0},
8563 { "_wxBrush","_class_wxBrush",0},
8564 { "_wxToggleButton","_class_wxToggleButton",0},
8565 { "_wxDataFormat","_class_wxDataFormat",0},
8566 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8567 { "_wxShowEvent","_class_wxShowEvent",0},
8568 { "_uint","_wxCoord",0},
8569 { "_uint","_wxPrintQuality",0},
8570 { "_uint","_time_t",0},
8571 { "_uint","_size_t",0},
8572 { "_uint","_unsigned_int",0},
8573 { "_uint","_int",0},
8574 { "_uint","_wxWindowID",0},
8575 { "_wxChar","_char",0},
8576 { "_wxPyValidator","_class_wxPyValidator",0},
8577 { "_class_wxEvent","_wxEvent",0},
8578 { "_wxCheckListBox","_class_wxCheckListBox",0},
8579 { "_wxRect","_class_wxRect",0},
8580 { "_wxCommandEvent","_class_wxCommandEvent",0},
8581 { "_wxSizeEvent","_class_wxSizeEvent",0},
8582 { "_wxPoint","_class_wxPoint",0},
8583 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8584 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8585 { "_class_wxButton","_wxButton",0},
8586 { "_wxRadioBox","_class_wxRadioBox",0},
8587 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8588 { "_char","_wxChar",0},
8589 { "_wxBitmap","_class_wxBitmap",0},
8590 { "_wxPenList","_class_wxPenList",0},
8591 { "_wxWindowDC","_class_wxWindowDC",0},
8592 { "_wxTimerEvent","_class_wxTimerEvent",0},
8593 { "_wxScrollBar","_class_wxScrollBar",0},
8594 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8595 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8596 { "_wxSpinButton","_class_wxSpinButton",0},
8597 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8598 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8599 { "_class_wxValidator","_wxValidator",0},
8600 { "_class_wxPyEvent","_wxPyEvent",0},
8601 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8602 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8603 { "_wxDropTarget","_class_wxDropTarget",0},
8604 { "_class_wxStaticLine","_wxStaticLine",0},
8605 { "_class_wxColourDatabase","_wxColourDatabase",0},
8606 { "_wxScrollEvent","_class_wxScrollEvent",0},
8607 { "_EBool","_wxCoord",0},
8608 { "_EBool","_wxPrintQuality",0},
8609 { "_EBool","_signed_int",0},
8610 { "_EBool","_int",0},
8611 { "_EBool","_wxWindowID",0},
8612 { "_class_wxRegion","_wxRegion",0},
8613 { "_class_wxDataFormat","_wxDataFormat",0},
8614 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8615 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8616 { "_wxStaticText","_class_wxStaticText",0},
8617 { "_wxFont","_class_wxFont",0},
8618 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8619 { "_wxCloseEvent","_class_wxCloseEvent",0},
8620 { "_unsigned_long","_long",0},
8621 { "_class_wxRect","_wxRect",0},
8622 { "_class_wxDC","_wxDC",0},
8623 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8624 { "_class_wxBrushList","_wxBrushList",0},
8625 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8626 { "_class_wxPenList","_wxPenList",0},
8627 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8628 { "_wxFocusEvent","_class_wxFocusEvent",0},
8629 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8630 { "_class_wxTimerEvent","_wxTimerEvent",0},
8631 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8632 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8633 { "_class_wxSpinButton","_wxSpinButton",0},
8634 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8635 { "_class_wxPanel","_wxPanel",0},
8636 { "_class_wxCheckBox","_wxCheckBox",0},
8637 { "_wxComboBox","_class_wxComboBox",0},
8638 { "_wxRadioButton","_class_wxRadioButton",0},
8639 { "_signed_int","_wxCoord",0},
8640 { "_signed_int","_wxPrintQuality",0},
8641 { "_signed_int","_EBool",0},
8642 { "_signed_int","_wxWindowID",0},
8643 { "_signed_int","_int",0},
8644 { "_class_wxTextCtrl","_wxTextCtrl",0},
8645 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8646 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8647 { "_class_wxTextDataObject","_wxTextDataObject",0},
8648 { "_wxMenu","_class_wxMenu",0},
8649 { "_class_wxMoveEvent","_wxMoveEvent",0},
8650 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8651 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8652 { "_wxListBox","_class_wxListBox",0},
8653 { "_wxScreenDC","_class_wxScreenDC",0},
8654 { "_WXTYPE","_short",0},
8655 { "_WXTYPE","_signed_short",0},
8656 { "_WXTYPE","_unsigned_short",0},
8657 { "_class_wxDropTarget","_wxDropTarget",0},
8658 { "_class_wxBrush","_wxBrush",0},
8659 { "_unsigned_short","_WXTYPE",0},
8660 { "_unsigned_short","_short",0},
8661 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
8662 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
8663 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8664 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8665 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8666 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8667 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8668 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8669 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8670 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8671 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8672 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8673 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8674 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8675 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8676 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8677 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8678 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8679 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8680 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8681 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8682 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8683 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8684 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8685 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8686 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8687 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8688 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8689 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8690 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8691 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8692 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8693 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8694 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8695 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8696 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8697 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8698 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8699 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8700 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8701 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8702 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8703 { "_class_wxWindow","_wxWindow",0},
8704 { "_class_wxStaticText","_wxStaticText",0},
8705 { "_class_wxFont","_wxFont",0},
8706 { "_wxClipboard","_class_wxClipboard",0},
8707 { "_class_wxPyValidator","_wxPyValidator",0},
8708 { "_class_wxCloseEvent","_wxCloseEvent",0},
8709 { "_wxBusyInfo","_class_wxBusyInfo",0},
8710 { "_wxFontList","_class_wxFontList",0},
8711 { "_class_wxMenuEvent","_wxMenuEvent",0},
8712 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8713 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8714 { "_wxClientDC","_class_wxClientDC",0},
8715 { "_wxMouseEvent","_class_wxMouseEvent",0},
8716 { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
8717 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
8718 { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
8719 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
8720 { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
8721 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
8722 { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
8723 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
8724 { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
8725 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
8726 { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
8727 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
8728 { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
8729 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
8730 { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
8731 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
8732 { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
8733 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
8734 { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
8735 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
8736 { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
8737 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
8738 { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
8739 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
8740 { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
8741 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
8742 { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
8743 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
8744 { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
8745 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
8746 { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
8747 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
8748 { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
8749 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
8750 { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
8751 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
8752 { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
8753 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
8754 { "_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
8755 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
8756 { "_wxObject","_class_wxControl",SwigwxControlTowxObject
},
8757 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
8758 { "_wxObject","_class_wxObject",0},
8759 { "_class_wxPoint","_wxPoint",0},
8760 { "_wxRealPoint","_class_wxRealPoint",0},
8761 { "_class_wxRadioBox","_wxRadioBox",0},
8762 { "_signed_short","_WXTYPE",0},
8763 { "_signed_short","_short",0},
8764 { "_wxMemoryDC","_class_wxMemoryDC",0},
8765 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8766 { "_wxPaintDC","_class_wxPaintDC",0},
8767 { "_class_wxWindowDC","_wxWindowDC",0},
8768 { "_class_wxFocusEvent","_wxFocusEvent",0},
8769 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8770 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8771 { "_class_wxCursor","_wxCursor",0},
8772 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8773 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8774 { "_unsigned_char","_byte",0},
8775 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8776 { "_class_wxMenu","_wxMenu",0},
8777 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
8778 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
8779 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8780 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8781 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8782 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8783 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8784 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8785 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8786 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8787 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8788 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8789 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8790 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8791 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8792 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8793 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8794 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8795 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8796 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8797 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8798 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8799 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8800 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8801 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8802 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8803 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8804 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8805 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8806 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8807 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8808 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8809 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8810 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8811 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8812 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8813 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8814 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8815 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8816 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
8817 { "_wxControl","_class_wxControl",0},
8818 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8819 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8820 { "_class_wxListBox","_wxListBox",0},
8821 { "_unsigned_int","_wxCoord",0},
8822 { "_unsigned_int","_wxPrintQuality",0},
8823 { "_unsigned_int","_time_t",0},
8824 { "_unsigned_int","_size_t",0},
8825 { "_unsigned_int","_uint",0},
8826 { "_unsigned_int","_wxWindowID",0},
8827 { "_unsigned_int","_int",0},
8828 { "_wxIcon","_class_wxIcon",0},
8829 { "_wxDialog","_class_wxDialog",0},
8830 { "_class_wxPen","_wxPen",0},
8831 { "_short","_WXTYPE",0},
8832 { "_short","_unsigned_short",0},
8833 { "_short","_signed_short",0},
8834 { "_class_wxStaticBox","_wxStaticBox",0},
8835 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8836 { "_class_wxPyDropSource","_wxPyDropSource",0},
8837 { "_class_wxScrollEvent","_wxScrollEvent",0},
8838 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8839 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8840 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8841 { "_class_wxChoice","_wxChoice",0},
8842 { "_class_wxSlider","_wxSlider",0},
8843 { "_class_wxImageList","_wxImageList",0},
8844 { "_class_wxBitmapButton","_wxBitmapButton",0},
8845 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8846 { "_wxWindowID","_wxCoord",0},
8847 { "_wxWindowID","_wxPrintQuality",0},
8848 { "_wxWindowID","_time_t",0},
8849 { "_wxWindowID","_size_t",0},
8850 { "_wxWindowID","_EBool",0},
8851 { "_wxWindowID","_uint",0},
8852 { "_wxWindowID","_int",0},
8853 { "_wxWindowID","_signed_int",0},
8854 { "_wxWindowID","_unsigned_int",0},
8855 { "_class_wxGDIObject","_wxGDIObject",0},
8856 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8857 { "_int","_wxCoord",0},
8858 { "_int","_wxPrintQuality",0},
8859 { "_int","_time_t",0},
8860 { "_int","_size_t",0},
8861 { "_int","_EBool",0},
8862 { "_int","_uint",0},
8863 { "_int","_wxWindowID",0},
8864 { "_int","_unsigned_int",0},
8865 { "_int","_signed_int",0},
8866 { "_class_wxMouseEvent","_wxMouseEvent",0},
8867 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8868 { "_class_wxSpinEvent","_wxSpinEvent",0},
8869 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8870 { "_time_t","_wxCoord",0},
8871 { "_time_t","_wxPrintQuality",0},
8872 { "_time_t","_unsigned_int",0},
8873 { "_time_t","_int",0},
8874 { "_time_t","_wxWindowID",0},
8875 { "_time_t","_uint",0},
8876 { "_time_t","_size_t",0},
8877 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8878 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8879 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8880 { "_wxButton","_class_wxButton",0},
8881 { "_wxSize","_class_wxSize",0},
8882 { "_wxRegionIterator","_class_wxRegionIterator",0},
8883 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8884 { "_class_wxPaintDC","_wxPaintDC",0},
8885 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8886 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8887 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8888 { "_class_wxComboBox","_wxComboBox",0},
8889 { "_class_wxRadioButton","_wxRadioButton",0},
8890 { "_wxValidator","_class_wxValidator",0},
8891 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8892 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8893 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
8894 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
8895 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8896 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8897 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8898 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8899 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8900 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8901 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8902 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8903 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8904 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8905 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8906 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8907 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8908 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8909 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8910 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8911 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8912 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8913 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8914 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8915 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8916 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8917 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8918 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8919 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8920 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8921 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8922 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8923 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8924 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8925 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8926 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8927 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8928 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8929 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8930 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8931 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8932 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
8933 { "_class_wxControl","_wxControl",0},
8934 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8935 { "_class_wxIcon","_wxIcon",0},
8936 { "_class_wxColour","_wxColour",0},
8937 { "_class_wxScreenDC","_wxScreenDC",0},
8938 { "_wxPalette","_class_wxPalette",0},
8939 { "_class_wxIdleEvent","_wxIdleEvent",0},
8940 { "_wxCoord","_int",0},
8941 { "_wxCoord","_signed_int",0},
8942 { "_wxCoord","_unsigned_int",0},
8943 { "_wxCoord","_wxWindowID",0},
8944 { "_wxCoord","_uint",0},
8945 { "_wxCoord","_EBool",0},
8946 { "_wxCoord","_size_t",0},
8947 { "_wxCoord","_time_t",0},
8948 { "_wxCoord","_wxPrintQuality",0},
8949 { "_wxEraseEvent","_class_wxEraseEvent",0},
8950 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8951 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8952 { "_class_wxToggleButton","_wxToggleButton",0},
8953 { "_wxRegion","_class_wxRegion",0},
8954 { "_class_wxShowEvent","_wxShowEvent",0},
8955 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8956 { "_wxActivateEvent","_class_wxActivateEvent",0},
8957 { "_wxGauge","_class_wxGauge",0},
8958 { "_class_wxCheckListBox","_wxCheckListBox",0},
8959 { "_class_wxBusyInfo","_wxBusyInfo",0},
8960 { "_class_wxFontList","_wxFontList",0},
8961 { "_class_wxCommandEvent","_wxCommandEvent",0},
8962 { "_class_wxClientDC","_wxClientDC",0},
8963 { "_class_wxSizeEvent","_wxSizeEvent",0},
8964 { "_wxBrushList","_class_wxBrushList",0},
8965 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8966 { "_class_wxSize","_wxSize",0},
8967 { "_class_wxBitmap","_wxBitmap",0},
8968 { "_class_wxMemoryDC","_wxMemoryDC",0},
8969 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8970 { "_wxMenuBar","_class_wxMenuBar",0},
8971 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8972 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8973 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8974 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8975 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8976 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8977 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8978 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8979 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8980 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8981 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8982 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8983 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8984 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8985 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8986 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8987 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8988 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8989 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8990 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8991 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8992 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8993 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8994 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8995 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8996 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8997 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8998 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8999 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
9000 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
9001 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9002 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9003 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
9004 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
9005 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9006 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9007 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9008 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9009 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
9010 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
9011 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
9012 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
9013 { "_wxEvtHandler","_class_wxEvtHandler",0},
9014 { "_wxMenuItem","_class_wxMenuItem",0},
9015 { "_class_wxScrollBar","_wxScrollBar",0},
9016 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9017 { "_wxKeyEvent","_class_wxKeyEvent",0},
9018 { "_wxMoveEvent","_class_wxMoveEvent",0},
9019 { "_class_wxPalette","_wxPalette",0},
9020 { "_wxFileDataObject","_class_wxFileDataObject",0},
9021 { "_class_wxEraseEvent","_wxEraseEvent",0},
9022 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9023 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9024 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9025 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9026 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9027 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
9028 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
9029 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9030 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9031 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9032 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9033 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9034 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9035 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9036 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9037 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
9038 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
9039 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9040 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9041 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9042 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9043 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
9044 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
9045 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
9046 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
9047 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
9048 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
9049 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9050 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9051 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
9052 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
9053 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
9054 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
9055 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
9056 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
9057 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9058 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9059 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9060 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9061 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
9062 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
9063 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
9064 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
9065 { "_wxWindow","_class_wxWindow",0},
9066 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
9069 static PyObject
*SWIG_globals
;
9073 SWIGEXPORT(void) initcontrolsc() {
9075 SWIG_globals
= SWIG_newvarlink();
9076 m
= Py_InitModule("controlsc", controlscMethods
);
9077 d
= PyModule_GetDict(m
);
9078 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
9079 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
9080 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
9083 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9084 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);