2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 #if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg
= "String or Unicode type required";
107 static char* wxStringErrorMsg
= "string type is required for parameter";
110 wxSize
wxButton_GetDefaultSize() {
111 return wxButton::GetDefaultSize();
116 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
118 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
122 static PyObject
*_wrap_wxDefaultValidator_get() {
126 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
127 pyobj
= PyString_FromString(ptemp
);
131 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
134 char *_kwnames
[] = { NULL
};
138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= new wxSize (wxButton_GetDefaultSize());
144 wxPy_END_ALLOW_THREADS
;
145 if (PyErr_Occurred()) return NULL
;
146 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
151 static void *SwigwxControlTowxWindow(void *ptr
) {
154 src
= (wxControl
*) ptr
;
155 dest
= (wxWindow
*) src
;
156 return (void *) dest
;
159 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
162 src
= (wxControl
*) ptr
;
163 dest
= (wxEvtHandler
*) src
;
164 return (void *) dest
;
167 static void *SwigwxControlTowxObject(void *ptr
) {
170 src
= (wxControl
*) ptr
;
171 dest
= (wxObject
*) src
;
172 return (void *) dest
;
175 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
176 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
177 PyObject
* _resultobj
;
181 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
182 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
183 long _arg4
= (long ) 0;
184 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
185 char * _arg6
= (char *) "control";
186 PyObject
* _argo0
= 0;
188 PyObject
* _obj2
= 0;
190 PyObject
* _obj3
= 0;
191 PyObject
* _argo5
= 0;
192 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
208 if (! wxPoint_helper(_obj2
, &_arg2
))
214 if (! wxSize_helper(_obj3
, &_arg3
))
218 if (_argo5
== Py_None
) { _arg5
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
225 wxPy_BEGIN_ALLOW_THREADS
;
226 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
228 wxPy_END_ALLOW_THREADS
;
229 if (PyErr_Occurred()) return NULL
;
231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
232 _resultobj
= Py_BuildValue("s",_ptemp
);
235 _resultobj
= Py_None
;
240 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
241 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 wxCommandEvent
* _arg1
;
245 PyObject
* _argo0
= 0;
246 PyObject
* _argo1
= 0;
247 char *_kwnames
[] = { "self","event", NULL
};
250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
267 wxPy_BEGIN_ALLOW_THREADS
;
268 wxControl_Command(_arg0
,*_arg1
);
270 wxPy_END_ALLOW_THREADS
;
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
278 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
282 PyObject
* _argo0
= 0;
283 char *_kwnames
[] = { "self", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
296 wxPy_BEGIN_ALLOW_THREADS
;
297 _result
= new wxString (wxControl_GetLabel(_arg0
));
299 wxPy_END_ALLOW_THREADS
;
300 if (PyErr_Occurred()) return NULL
;
302 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
310 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
311 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
315 PyObject
* _argo0
= 0;
316 PyObject
* _obj1
= 0;
317 char *_kwnames
[] = { "self","label", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
330 #if PYTHON_API_VERSION >= 1009
331 char* tmpPtr
; int tmpSize
;
332 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
336 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
338 _arg1
= new wxString(tmpPtr
, tmpSize
);
340 if (!PyString_Check(_obj1
)) {
341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
344 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
348 wxPy_BEGIN_ALLOW_THREADS
;
349 wxControl_SetLabel(_arg0
,*_arg1
);
351 wxPy_END_ALLOW_THREADS
;
352 if (PyErr_Occurred()) return NULL
;
353 } Py_INCREF(Py_None
);
354 _resultobj
= Py_None
;
362 static void *SwigwxButtonTowxControl(void *ptr
) {
365 src
= (wxButton
*) ptr
;
366 dest
= (wxControl
*) src
;
367 return (void *) dest
;
370 static void *SwigwxButtonTowxWindow(void *ptr
) {
373 src
= (wxButton
*) ptr
;
374 dest
= (wxWindow
*) src
;
375 return (void *) dest
;
378 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
381 src
= (wxButton
*) ptr
;
382 dest
= (wxEvtHandler
*) src
;
383 return (void *) dest
;
386 static void *SwigwxButtonTowxObject(void *ptr
) {
389 src
= (wxButton
*) ptr
;
390 dest
= (wxObject
*) src
;
391 return (void *) dest
;
394 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
395 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
401 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
402 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
403 long _arg5
= (long ) 0;
404 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
405 char * _arg7
= (char *) "button";
406 PyObject
* _argo0
= 0;
407 PyObject
* _obj2
= 0;
409 PyObject
* _obj3
= 0;
411 PyObject
* _obj4
= 0;
412 PyObject
* _argo6
= 0;
413 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
427 #if PYTHON_API_VERSION >= 1009
428 char* tmpPtr
; int tmpSize
;
429 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
435 _arg2
= new wxString(tmpPtr
, tmpSize
);
437 if (!PyString_Check(_obj2
)) {
438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
441 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
447 if (! wxPoint_helper(_obj3
, &_arg3
))
453 if (! wxSize_helper(_obj4
, &_arg4
))
457 if (_argo6
== Py_None
) { _arg6
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
467 wxPy_END_ALLOW_THREADS
;
468 if (PyErr_Occurred()) return NULL
;
470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
471 _resultobj
= Py_BuildValue("s",_ptemp
);
474 _resultobj
= Py_None
;
483 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
484 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 wxButton_SetDefault(_arg0
);
504 wxPy_END_ALLOW_THREADS
;
505 if (PyErr_Occurred()) return NULL
;
506 } Py_INCREF(Py_None
);
507 _resultobj
= Py_None
;
511 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
512 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
516 PyObject
* _argo0
= 0;
518 PyObject
* _obj1
= 0;
519 char *_kwnames
[] = { "self","colour", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
533 if (! wxColour_helper(_obj1
, &_arg1
))
537 wxPy_BEGIN_ALLOW_THREADS
;
538 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
540 wxPy_END_ALLOW_THREADS
;
541 if (PyErr_Occurred()) return NULL
;
542 } Py_INCREF(Py_None
);
543 _resultobj
= Py_None
;
547 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
548 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
552 PyObject
* _argo0
= 0;
554 PyObject
* _obj1
= 0;
555 char *_kwnames
[] = { "self","colour", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
569 if (! wxColour_helper(_obj1
, &_arg1
))
573 wxPy_BEGIN_ALLOW_THREADS
;
574 wxButton_SetForegroundColour(_arg0
,*_arg1
);
576 wxPy_END_ALLOW_THREADS
;
577 if (PyErr_Occurred()) return NULL
;
578 } Py_INCREF(Py_None
);
579 _resultobj
= Py_None
;
583 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
586 src
= (wxBitmapButton
*) ptr
;
587 dest
= (wxButton
*) src
;
588 return (void *) dest
;
591 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
594 src
= (wxBitmapButton
*) ptr
;
595 dest
= (wxControl
*) src
;
596 return (void *) dest
;
599 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
602 src
= (wxBitmapButton
*) ptr
;
603 dest
= (wxWindow
*) src
;
604 return (void *) dest
;
607 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
610 src
= (wxBitmapButton
*) ptr
;
611 dest
= (wxEvtHandler
*) src
;
612 return (void *) dest
;
615 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
618 src
= (wxBitmapButton
*) ptr
;
619 dest
= (wxObject
*) src
;
620 return (void *) dest
;
623 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
624 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
626 wxBitmapButton
* _result
;
630 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
631 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
632 long _arg5
= (long ) wxBU_AUTODRAW
;
633 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
634 char * _arg7
= (char *) "button";
635 PyObject
* _argo0
= 0;
636 PyObject
* _argo2
= 0;
638 PyObject
* _obj3
= 0;
640 PyObject
* _obj4
= 0;
641 PyObject
* _argo6
= 0;
642 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
656 if (_argo2
== Py_None
) { _arg2
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
665 if (! wxPoint_helper(_obj3
, &_arg3
))
671 if (! wxSize_helper(_obj4
, &_arg4
))
675 if (_argo6
== Py_None
) { _arg6
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
685 wxPy_END_ALLOW_THREADS
;
686 if (PyErr_Occurred()) return NULL
;
688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
689 _resultobj
= Py_BuildValue("s",_ptemp
);
692 _resultobj
= Py_None
;
697 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
698 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 wxBitmapButton
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
717 wxPy_BEGIN_ALLOW_THREADS
;
718 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
719 _result
= (wxBitmap
*) &_result_ref
;
721 wxPy_END_ALLOW_THREADS
;
722 if (PyErr_Occurred()) return NULL
;
724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
725 _resultobj
= Py_BuildValue("s",_ptemp
);
728 _resultobj
= Py_None
;
733 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
734 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
737 wxBitmapButton
* _arg0
;
738 PyObject
* _argo0
= 0;
739 char *_kwnames
[] = { "self", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
753 wxPy_BEGIN_ALLOW_THREADS
;
754 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
755 _result
= (wxBitmap
*) &_result_ref
;
757 wxPy_END_ALLOW_THREADS
;
758 if (PyErr_Occurred()) return NULL
;
760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
761 _resultobj
= Py_BuildValue("s",_ptemp
);
764 _resultobj
= Py_None
;
769 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
770 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
773 wxBitmapButton
* _arg0
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
789 wxPy_BEGIN_ALLOW_THREADS
;
790 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
791 _result
= (wxBitmap
*) &_result_ref
;
793 wxPy_END_ALLOW_THREADS
;
794 if (PyErr_Occurred()) return NULL
;
796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
797 _resultobj
= Py_BuildValue("s",_ptemp
);
800 _resultobj
= Py_None
;
805 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
806 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
809 wxBitmapButton
* _arg0
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
827 _result
= (wxBitmap
*) &_result_ref
;
829 wxPy_END_ALLOW_THREADS
;
830 if (PyErr_Occurred()) return NULL
;
832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
833 _resultobj
= Py_BuildValue("s",_ptemp
);
836 _resultobj
= Py_None
;
841 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
842 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
844 wxBitmapButton
* _arg0
;
846 PyObject
* _argo0
= 0;
847 PyObject
* _argo1
= 0;
848 char *_kwnames
[] = { "self","bitmap", NULL
};
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
868 wxPy_BEGIN_ALLOW_THREADS
;
869 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
871 wxPy_END_ALLOW_THREADS
;
872 if (PyErr_Occurred()) return NULL
;
873 } Py_INCREF(Py_None
);
874 _resultobj
= Py_None
;
878 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
879 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxBitmapButton
* _arg0
;
883 PyObject
* _argo0
= 0;
884 PyObject
* _argo1
= 0;
885 char *_kwnames
[] = { "self","bitmap", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
905 wxPy_BEGIN_ALLOW_THREADS
;
906 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
908 wxPy_END_ALLOW_THREADS
;
909 if (PyErr_Occurred()) return NULL
;
910 } Py_INCREF(Py_None
);
911 _resultobj
= Py_None
;
915 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
916 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
918 wxBitmapButton
* _arg0
;
920 PyObject
* _argo0
= 0;
921 PyObject
* _argo1
= 0;
922 char *_kwnames
[] = { "self","bitmap", NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
942 wxPy_BEGIN_ALLOW_THREADS
;
943 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
945 wxPy_END_ALLOW_THREADS
;
946 if (PyErr_Occurred()) return NULL
;
947 } Py_INCREF(Py_None
);
948 _resultobj
= Py_None
;
952 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
953 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
955 wxBitmapButton
* _arg0
;
957 PyObject
* _argo0
= 0;
958 PyObject
* _argo1
= 0;
959 char *_kwnames
[] = { "self","bitmap", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
979 wxPy_BEGIN_ALLOW_THREADS
;
980 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
982 wxPy_END_ALLOW_THREADS
;
983 if (PyErr_Occurred()) return NULL
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
990 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
992 wxBitmapButton
* _arg0
;
995 PyObject
* _argo0
= 0;
996 char *_kwnames
[] = { "self","x","y", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1012 wxPy_END_ALLOW_THREADS
;
1013 if (PyErr_Occurred()) return NULL
;
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 if (PyErr_Occurred()) return NULL
;
1043 } _resultobj
= Py_BuildValue("i",_result
);
1047 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1048 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 wxBitmapButton
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1069 wxPy_END_ALLOW_THREADS
;
1070 if (PyErr_Occurred()) return NULL
;
1071 } _resultobj
= Py_BuildValue("i",_result
);
1075 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1078 src
= (wxCheckBox
*) ptr
;
1079 dest
= (wxControl
*) src
;
1080 return (void *) dest
;
1083 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1086 src
= (wxCheckBox
*) ptr
;
1087 dest
= (wxWindow
*) src
;
1088 return (void *) dest
;
1091 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1094 src
= (wxCheckBox
*) ptr
;
1095 dest
= (wxEvtHandler
*) src
;
1096 return (void *) dest
;
1099 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1102 src
= (wxCheckBox
*) ptr
;
1103 dest
= (wxObject
*) src
;
1104 return (void *) dest
;
1107 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1108 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1110 wxCheckBox
* _result
;
1114 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1115 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1116 long _arg5
= (long ) 0;
1117 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1118 char * _arg7
= (char *) "checkBox";
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _obj2
= 0;
1122 PyObject
* _obj3
= 0;
1124 PyObject
* _obj4
= 0;
1125 PyObject
* _argo6
= 0;
1126 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1140 #if PYTHON_API_VERSION >= 1009
1141 char* tmpPtr
; int tmpSize
;
1142 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1143 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1146 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1148 _arg2
= new wxString(tmpPtr
, tmpSize
);
1150 if (!PyString_Check(_obj2
)) {
1151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1154 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1160 if (! wxPoint_helper(_obj3
, &_arg3
))
1166 if (! wxSize_helper(_obj4
, &_arg4
))
1170 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1180 wxPy_END_ALLOW_THREADS
;
1181 if (PyErr_Occurred()) return NULL
;
1183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1184 _resultobj
= Py_BuildValue("s",_ptemp
);
1187 _resultobj
= Py_None
;
1196 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1197 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1201 PyObject
* _argo0
= 0;
1202 char *_kwnames
[] = { "self", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1218 wxPy_END_ALLOW_THREADS
;
1219 if (PyErr_Occurred()) return NULL
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1225 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1229 PyObject
* _argo0
= 0;
1231 char *_kwnames
[] = { "self","state", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1243 _arg1
= (bool ) tempbool1
;
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 wxCheckBox_SetValue(_arg0
,_arg1
);
1248 wxPy_END_ALLOW_THREADS
;
1249 if (PyErr_Occurred()) return NULL
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 static void *SwigwxChoiceTowxControl(void *ptr
) {
1258 src
= (wxChoice
*) ptr
;
1259 dest
= (wxControl
*) src
;
1260 return (void *) dest
;
1263 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1266 src
= (wxChoice
*) ptr
;
1267 dest
= (wxWindow
*) src
;
1268 return (void *) dest
;
1271 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1274 src
= (wxChoice
*) ptr
;
1275 dest
= (wxEvtHandler
*) src
;
1276 return (void *) dest
;
1279 static void *SwigwxChoiceTowxObject(void *ptr
) {
1282 src
= (wxChoice
*) ptr
;
1283 dest
= (wxObject
*) src
;
1284 return (void *) dest
;
1287 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1288 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1293 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1294 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1295 int _arg4
= (int ) 0;
1296 wxString
* _arg5
= (wxString
*) NULL
;
1297 long _arg6
= (long ) 0;
1298 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1299 char * _arg8
= (char *) "choice";
1300 PyObject
* _argo0
= 0;
1302 PyObject
* _obj2
= 0;
1304 PyObject
* _obj3
= 0;
1305 PyObject
* _obj5
= 0;
1306 PyObject
* _argo7
= 0;
1307 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1323 if (! wxPoint_helper(_obj2
, &_arg2
))
1329 if (! wxSize_helper(_obj3
, &_arg3
))
1334 _arg5
= wxString_LIST_helper(_obj5
);
1335 if (_arg5
== NULL
) {
1340 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1348 _arg4
= PyList_Size(_obj5
);
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1358 wxPy_END_ALLOW_THREADS
;
1359 if (PyErr_Occurred()) return NULL
;
1361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1362 _resultobj
= Py_BuildValue("s",_ptemp
);
1365 _resultobj
= Py_None
;
1373 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1374 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 PyObject
* _obj1
= 0;
1380 char *_kwnames
[] = { "self","item", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1393 #if PYTHON_API_VERSION >= 1009
1394 char* tmpPtr
; int tmpSize
;
1395 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1399 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1401 _arg1
= new wxString(tmpPtr
, tmpSize
);
1403 if (!PyString_Check(_obj1
)) {
1404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1407 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1411 wxPy_BEGIN_ALLOW_THREADS
;
1412 wxChoice_Append(_arg0
,*_arg1
);
1414 wxPy_END_ALLOW_THREADS
;
1415 if (PyErr_Occurred()) return NULL
;
1416 } Py_INCREF(Py_None
);
1417 _resultobj
= Py_None
;
1425 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1426 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 wxChoice_Clear(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 if (PyErr_Occurred()) return NULL
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 #define wxChoice_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1454 static PyObject
*_wrap_wxChoice_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self","n", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_Delete",_kwnames
,&_argo0
,&_arg1
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Delete. Expected _wxChoice_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 wxChoice_Delete(_arg0
,_arg1
);
1475 wxPy_END_ALLOW_THREADS
;
1476 if (PyErr_Occurred()) return NULL
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1482 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1483 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
* _resultobj
;
1488 PyObject
* _argo0
= 0;
1489 PyObject
* _obj1
= 0;
1490 char *_kwnames
[] = { "self","string", NULL
};
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1503 #if PYTHON_API_VERSION >= 1009
1504 char* tmpPtr
; int tmpSize
;
1505 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1509 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1511 _arg1
= new wxString(tmpPtr
, tmpSize
);
1513 if (!PyString_Check(_obj1
)) {
1514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1517 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1524 wxPy_END_ALLOW_THREADS
;
1525 if (PyErr_Occurred()) return NULL
;
1526 } _resultobj
= Py_BuildValue("i",_result
);
1534 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1535 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1539 PyObject
* _argo0
= 0;
1540 char *_kwnames
[] = { "self", NULL
};
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
1546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1553 wxPy_BEGIN_ALLOW_THREADS
;
1554 _result
= (int )wxChoice_GetColumns(_arg0
);
1556 wxPy_END_ALLOW_THREADS
;
1557 if (PyErr_Occurred()) return NULL
;
1558 } _resultobj
= Py_BuildValue("i",_result
);
1562 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1563 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 _result
= (int )wxChoice_GetSelection(_arg0
);
1584 wxPy_END_ALLOW_THREADS
;
1585 if (PyErr_Occurred()) return NULL
;
1586 } _resultobj
= Py_BuildValue("i",_result
);
1590 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1591 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self","n", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1613 wxPy_END_ALLOW_THREADS
;
1614 if (PyErr_Occurred()) return NULL
;
1616 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1624 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1625 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1629 PyObject
* _argo0
= 0;
1630 char *_kwnames
[] = { "self", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1643 wxPy_BEGIN_ALLOW_THREADS
;
1644 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1646 wxPy_END_ALLOW_THREADS
;
1647 if (PyErr_Occurred()) return NULL
;
1649 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1657 #define wxChoice_GetCount(_swigobj) (_swigobj->GetCount())
1658 static PyObject
*_wrap_wxChoice_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1662 PyObject
* _argo0
= 0;
1663 char *_kwnames
[] = { "self", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetCount",_kwnames
,&_argo0
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetCount. Expected _wxChoice_p.");
1676 wxPy_BEGIN_ALLOW_THREADS
;
1677 _result
= (int )wxChoice_GetCount(_arg0
);
1679 wxPy_END_ALLOW_THREADS
;
1680 if (PyErr_Occurred()) return NULL
;
1681 } _resultobj
= Py_BuildValue("i",_result
);
1685 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1686 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1689 int _arg1
= (int ) 1;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self","n", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 wxChoice_SetColumns(_arg0
,_arg1
);
1707 wxPy_END_ALLOW_THREADS
;
1708 if (PyErr_Occurred()) return NULL
;
1709 } Py_INCREF(Py_None
);
1710 _resultobj
= Py_None
;
1714 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1715 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self","n", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1733 wxPy_BEGIN_ALLOW_THREADS
;
1734 wxChoice_SetSelection(_arg0
,_arg1
);
1736 wxPy_END_ALLOW_THREADS
;
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1744 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1748 PyObject
* _argo0
= 0;
1749 PyObject
* _obj1
= 0;
1750 char *_kwnames
[] = { "self","string", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1763 #if PYTHON_API_VERSION >= 1009
1764 char* tmpPtr
; int tmpSize
;
1765 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1769 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1771 _arg1
= new wxString(tmpPtr
, tmpSize
);
1773 if (!PyString_Check(_obj1
)) {
1774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1777 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1784 wxPy_END_ALLOW_THREADS
;
1785 if (PyErr_Occurred()) return NULL
;
1786 } Py_INCREF(Py_None
);
1787 _resultobj
= Py_None
;
1795 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
1796 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1801 PyObject
* _argo0
= 0;
1802 PyObject
* _obj2
= 0;
1803 char *_kwnames
[] = { "self","n","s", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
1816 #if PYTHON_API_VERSION >= 1009
1817 char* tmpPtr
; int tmpSize
;
1818 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1822 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1824 _arg2
= new wxString(tmpPtr
, tmpSize
);
1826 if (!PyString_Check(_obj2
)) {
1827 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1830 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1834 wxPy_BEGIN_ALLOW_THREADS
;
1835 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
1837 wxPy_END_ALLOW_THREADS
;
1838 if (PyErr_Occurred()) return NULL
;
1839 } Py_INCREF(Py_None
);
1840 _resultobj
= Py_None
;
1848 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1851 src
= (wxComboBox
*) ptr
;
1852 dest
= (wxChoice
*) src
;
1853 return (void *) dest
;
1856 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1859 src
= (wxComboBox
*) ptr
;
1860 dest
= (wxControl
*) src
;
1861 return (void *) dest
;
1864 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1867 src
= (wxComboBox
*) ptr
;
1868 dest
= (wxWindow
*) src
;
1869 return (void *) dest
;
1872 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1875 src
= (wxComboBox
*) ptr
;
1876 dest
= (wxEvtHandler
*) src
;
1877 return (void *) dest
;
1880 static void *SwigwxComboBoxTowxObject(void *ptr
) {
1883 src
= (wxComboBox
*) ptr
;
1884 dest
= (wxObject
*) src
;
1885 return (void *) dest
;
1888 #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))
1889 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
* _resultobj
;
1891 wxComboBox
* _result
;
1894 char * _arg2
= (char *) "";
1895 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1896 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1897 int _arg5
= (int ) 0;
1898 wxString
* _arg6
= (wxString
*) NULL
;
1899 long _arg7
= (long ) 0;
1900 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1901 char * _arg9
= (char *) "comboBox";
1902 PyObject
* _argo0
= 0;
1904 PyObject
* _obj3
= 0;
1906 PyObject
* _obj4
= 0;
1907 PyObject
* _obj6
= 0;
1908 PyObject
* _argo8
= 0;
1909 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1925 if (! wxPoint_helper(_obj3
, &_arg3
))
1931 if (! wxSize_helper(_obj4
, &_arg4
))
1936 _arg6
= wxString_LIST_helper(_obj6
);
1937 if (_arg6
== NULL
) {
1942 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1950 _arg5
= PyList_Size(_obj6
);
1957 wxPy_BEGIN_ALLOW_THREADS
;
1958 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1960 wxPy_END_ALLOW_THREADS
;
1961 if (PyErr_Occurred()) return NULL
;
1963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1964 _resultobj
= Py_BuildValue("s",_ptemp
);
1967 _resultobj
= Py_None
;
1975 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1976 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1980 PyObject
* _argo0
= 0;
1981 PyObject
* _obj1
= 0;
1982 char *_kwnames
[] = { "self","item", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1995 #if PYTHON_API_VERSION >= 1009
1996 char* tmpPtr
; int tmpSize
;
1997 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1998 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2001 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2003 _arg1
= new wxString(tmpPtr
, tmpSize
);
2005 if (!PyString_Check(_obj1
)) {
2006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2009 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2013 wxPy_BEGIN_ALLOW_THREADS
;
2014 wxComboBox_Append(_arg0
,*_arg1
);
2016 wxPy_END_ALLOW_THREADS
;
2017 if (PyErr_Occurred()) return NULL
;
2018 } Py_INCREF(Py_None
);
2019 _resultobj
= Py_None
;
2027 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
2028 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2031 PyObject
* _argo0
= 0;
2032 char *_kwnames
[] = { "self", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
2038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 wxComboBox_Clear(_arg0
);
2048 wxPy_END_ALLOW_THREADS
;
2049 if (PyErr_Occurred()) return NULL
;
2050 } Py_INCREF(Py_None
);
2051 _resultobj
= Py_None
;
2055 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2056 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2059 PyObject
* _argo0
= 0;
2060 char *_kwnames
[] = { "self", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2073 wxPy_BEGIN_ALLOW_THREADS
;
2074 wxComboBox_Copy(_arg0
);
2076 wxPy_END_ALLOW_THREADS
;
2077 if (PyErr_Occurred()) return NULL
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2083 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2084 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "self", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 wxComboBox_Cut(_arg0
);
2104 wxPy_END_ALLOW_THREADS
;
2105 if (PyErr_Occurred()) return NULL
;
2106 } Py_INCREF(Py_None
);
2107 _resultobj
= Py_None
;
2111 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2112 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
* _resultobj
;
2116 PyObject
* _argo0
= 0;
2117 char *_kwnames
[] = { "self","n", NULL
};
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
2123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
2130 wxPy_BEGIN_ALLOW_THREADS
;
2131 wxComboBox_Delete(_arg0
,_arg1
);
2133 wxPy_END_ALLOW_THREADS
;
2134 if (PyErr_Occurred()) return NULL
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2140 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2141 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2146 PyObject
* _argo0
= 0;
2147 PyObject
* _obj1
= 0;
2148 char *_kwnames
[] = { "self","string", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
2154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2161 #if PYTHON_API_VERSION >= 1009
2162 char* tmpPtr
; int tmpSize
;
2163 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2167 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2169 _arg1
= new wxString(tmpPtr
, tmpSize
);
2171 if (!PyString_Check(_obj1
)) {
2172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2175 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2182 wxPy_END_ALLOW_THREADS
;
2183 if (PyErr_Occurred()) return NULL
;
2184 } _resultobj
= Py_BuildValue("i",_result
);
2192 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2193 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2214 wxPy_END_ALLOW_THREADS
;
2215 if (PyErr_Occurred()) return NULL
;
2216 } _resultobj
= Py_BuildValue("l",_result
);
2220 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2221 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
* _resultobj
;
2225 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2239 wxPy_BEGIN_ALLOW_THREADS
;
2240 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2242 wxPy_END_ALLOW_THREADS
;
2243 if (PyErr_Occurred()) return NULL
;
2244 } _resultobj
= Py_BuildValue("l",_result
);
2248 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2249 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
* _resultobj
;
2253 PyObject
* _argo0
= 0;
2254 char *_kwnames
[] = { "self", NULL
};
2257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2267 wxPy_BEGIN_ALLOW_THREADS
;
2268 _result
= (int )wxComboBox_GetSelection(_arg0
);
2270 wxPy_END_ALLOW_THREADS
;
2271 if (PyErr_Occurred()) return NULL
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2276 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2277 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self","n", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2299 wxPy_END_ALLOW_THREADS
;
2300 if (PyErr_Occurred()) return NULL
;
2302 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2310 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2311 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2315 PyObject
* _argo0
= 0;
2316 char *_kwnames
[] = { "self", NULL
};
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2332 wxPy_END_ALLOW_THREADS
;
2333 if (PyErr_Occurred()) return NULL
;
2335 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2343 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2344 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
* _resultobj
;
2348 PyObject
* _argo0
= 0;
2349 char *_kwnames
[] = { "self", NULL
};
2352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2362 wxPy_BEGIN_ALLOW_THREADS
;
2363 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2365 wxPy_END_ALLOW_THREADS
;
2366 if (PyErr_Occurred()) return NULL
;
2368 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2376 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2377 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2380 PyObject
* _argo0
= 0;
2381 char *_kwnames
[] = { "self", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2394 wxPy_BEGIN_ALLOW_THREADS
;
2395 wxComboBox_Paste(_arg0
);
2397 wxPy_END_ALLOW_THREADS
;
2398 if (PyErr_Occurred()) return NULL
;
2399 } Py_INCREF(Py_None
);
2400 _resultobj
= Py_None
;
2404 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2405 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2411 PyObject
* _argo0
= 0;
2412 PyObject
* _obj3
= 0;
2413 char *_kwnames
[] = { "self","from","to","text", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2426 #if PYTHON_API_VERSION >= 1009
2427 char* tmpPtr
; int tmpSize
;
2428 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2432 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2434 _arg3
= new wxString(tmpPtr
, tmpSize
);
2436 if (!PyString_Check(_obj3
)) {
2437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2440 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2444 wxPy_BEGIN_ALLOW_THREADS
;
2445 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2447 wxPy_END_ALLOW_THREADS
;
2448 if (PyErr_Occurred()) return NULL
;
2449 } Py_INCREF(Py_None
);
2450 _resultobj
= Py_None
;
2458 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2459 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2464 PyObject
* _argo0
= 0;
2465 char *_kwnames
[] = { "self","from","to", NULL
};
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2481 wxPy_END_ALLOW_THREADS
;
2482 if (PyErr_Occurred()) return NULL
;
2483 } Py_INCREF(Py_None
);
2484 _resultobj
= Py_None
;
2488 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2489 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2493 PyObject
* _argo0
= 0;
2494 char *_kwnames
[] = { "self","pos", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2507 wxPy_BEGIN_ALLOW_THREADS
;
2508 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2510 wxPy_END_ALLOW_THREADS
;
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2517 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2518 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 wxComboBox_SetInsertionPointEnd(_arg0
);
2538 wxPy_END_ALLOW_THREADS
;
2539 if (PyErr_Occurred()) return NULL
;
2540 } Py_INCREF(Py_None
);
2541 _resultobj
= Py_None
;
2545 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2546 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2550 PyObject
* _argo0
= 0;
2551 char *_kwnames
[] = { "self","n", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 wxComboBox_SetSelection(_arg0
,_arg1
);
2567 wxPy_END_ALLOW_THREADS
;
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2575 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
* _resultobj
;
2580 PyObject
* _argo0
= 0;
2581 char *_kwnames
[] = { "self","from","to", NULL
};
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2594 wxPy_BEGIN_ALLOW_THREADS
;
2595 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2597 wxPy_END_ALLOW_THREADS
;
2598 if (PyErr_Occurred()) return NULL
;
2599 } Py_INCREF(Py_None
);
2600 _resultobj
= Py_None
;
2604 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2605 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2609 PyObject
* _argo0
= 0;
2610 PyObject
* _obj1
= 0;
2611 char *_kwnames
[] = { "self","text", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2624 #if PYTHON_API_VERSION >= 1009
2625 char* tmpPtr
; int tmpSize
;
2626 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2630 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2632 _arg1
= new wxString(tmpPtr
, tmpSize
);
2634 if (!PyString_Check(_obj1
)) {
2635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2638 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 wxComboBox_SetValue(_arg0
,*_arg1
);
2645 wxPy_END_ALLOW_THREADS
;
2646 if (PyErr_Occurred()) return NULL
;
2647 } Py_INCREF(Py_None
);
2648 _resultobj
= Py_None
;
2656 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2657 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
* _resultobj
;
2661 PyObject
* _argo0
= 0;
2663 char *_kwnames
[] = { "self","editable", NULL
};
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
2669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
2675 _arg1
= (bool ) tempbool1
;
2677 wxPy_BEGIN_ALLOW_THREADS
;
2678 wxComboBox_SetEditable(_arg0
,_arg1
);
2680 wxPy_END_ALLOW_THREADS
;
2681 if (PyErr_Occurred()) return NULL
;
2682 } Py_INCREF(Py_None
);
2683 _resultobj
= Py_None
;
2687 static void *SwigwxGaugeTowxControl(void *ptr
) {
2690 src
= (wxGauge
*) ptr
;
2691 dest
= (wxControl
*) src
;
2692 return (void *) dest
;
2695 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2698 src
= (wxGauge
*) ptr
;
2699 dest
= (wxWindow
*) src
;
2700 return (void *) dest
;
2703 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2706 src
= (wxGauge
*) ptr
;
2707 dest
= (wxEvtHandler
*) src
;
2708 return (void *) dest
;
2711 static void *SwigwxGaugeTowxObject(void *ptr
) {
2714 src
= (wxGauge
*) ptr
;
2715 dest
= (wxObject
*) src
;
2716 return (void *) dest
;
2719 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2720 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2726 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2727 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2728 long _arg5
= (long ) wxGA_HORIZONTAL
;
2729 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2730 char * _arg7
= (char *) "gauge";
2731 PyObject
* _argo0
= 0;
2733 PyObject
* _obj3
= 0;
2735 PyObject
* _obj4
= 0;
2736 PyObject
* _argo6
= 0;
2737 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2753 if (! wxPoint_helper(_obj3
, &_arg3
))
2759 if (! wxSize_helper(_obj4
, &_arg4
))
2763 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2764 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2770 wxPy_BEGIN_ALLOW_THREADS
;
2771 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2773 wxPy_END_ALLOW_THREADS
;
2774 if (PyErr_Occurred()) return NULL
;
2776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2777 _resultobj
= Py_BuildValue("s",_ptemp
);
2780 _resultobj
= Py_None
;
2785 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2786 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
* _resultobj
;
2790 PyObject
* _argo0
= 0;
2791 char *_kwnames
[] = { "self", NULL
};
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2807 wxPy_END_ALLOW_THREADS
;
2808 if (PyErr_Occurred()) return NULL
;
2809 } _resultobj
= Py_BuildValue("i",_result
);
2813 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2814 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2818 PyObject
* _argo0
= 0;
2819 char *_kwnames
[] = { "self", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 _result
= (int )wxGauge_GetRange(_arg0
);
2835 wxPy_END_ALLOW_THREADS
;
2836 if (PyErr_Occurred()) return NULL
;
2837 } _resultobj
= Py_BuildValue("i",_result
);
2841 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2842 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2863 wxPy_END_ALLOW_THREADS
;
2864 if (PyErr_Occurred()) return NULL
;
2865 } _resultobj
= Py_BuildValue("i",_result
);
2869 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2870 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 _result
= (int )wxGauge_GetValue(_arg0
);
2891 wxPy_END_ALLOW_THREADS
;
2892 if (PyErr_Occurred()) return NULL
;
2893 } _resultobj
= Py_BuildValue("i",_result
);
2897 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2898 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2902 PyObject
* _argo0
= 0;
2903 char *_kwnames
[] = { "self","width", NULL
};
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2916 wxPy_BEGIN_ALLOW_THREADS
;
2917 wxGauge_SetBezelFace(_arg0
,_arg1
);
2919 wxPy_END_ALLOW_THREADS
;
2920 if (PyErr_Occurred()) return NULL
;
2921 } Py_INCREF(Py_None
);
2922 _resultobj
= Py_None
;
2926 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2927 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
* _resultobj
;
2931 PyObject
* _argo0
= 0;
2932 char *_kwnames
[] = { "self","range", NULL
};
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
2938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2945 wxPy_BEGIN_ALLOW_THREADS
;
2946 wxGauge_SetRange(_arg0
,_arg1
);
2948 wxPy_END_ALLOW_THREADS
;
2949 if (PyErr_Occurred()) return NULL
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2956 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2960 PyObject
* _argo0
= 0;
2961 char *_kwnames
[] = { "self","width", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2974 wxPy_BEGIN_ALLOW_THREADS
;
2975 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2977 wxPy_END_ALLOW_THREADS
;
2978 if (PyErr_Occurred()) return NULL
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2985 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self","pos", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3003 wxPy_BEGIN_ALLOW_THREADS
;
3004 wxGauge_SetValue(_arg0
,_arg1
);
3006 wxPy_END_ALLOW_THREADS
;
3007 if (PyErr_Occurred()) return NULL
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3016 src
= (wxStaticBox
*) ptr
;
3017 dest
= (wxControl
*) src
;
3018 return (void *) dest
;
3021 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3024 src
= (wxStaticBox
*) ptr
;
3025 dest
= (wxWindow
*) src
;
3026 return (void *) dest
;
3029 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3032 src
= (wxStaticBox
*) ptr
;
3033 dest
= (wxEvtHandler
*) src
;
3034 return (void *) dest
;
3037 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3040 src
= (wxStaticBox
*) ptr
;
3041 dest
= (wxObject
*) src
;
3042 return (void *) dest
;
3045 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3046 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
* _resultobj
;
3048 wxStaticBox
* _result
;
3052 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3053 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3054 long _arg5
= (long ) 0;
3055 char * _arg6
= (char *) "staticBox";
3056 PyObject
* _argo0
= 0;
3057 PyObject
* _obj2
= 0;
3059 PyObject
* _obj3
= 0;
3061 PyObject
* _obj4
= 0;
3062 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3076 #if PYTHON_API_VERSION >= 1009
3077 char* tmpPtr
; int tmpSize
;
3078 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3082 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3084 _arg2
= new wxString(tmpPtr
, tmpSize
);
3086 if (!PyString_Check(_obj2
)) {
3087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3090 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3096 if (! wxPoint_helper(_obj3
, &_arg3
))
3102 if (! wxSize_helper(_obj4
, &_arg4
))
3106 wxPy_BEGIN_ALLOW_THREADS
;
3107 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3109 wxPy_END_ALLOW_THREADS
;
3110 if (PyErr_Occurred()) return NULL
;
3112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3113 _resultobj
= Py_BuildValue("s",_ptemp
);
3116 _resultobj
= Py_None
;
3125 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3128 src
= (wxStaticLine
*) ptr
;
3129 dest
= (wxControl
*) src
;
3130 return (void *) dest
;
3133 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3136 src
= (wxStaticLine
*) ptr
;
3137 dest
= (wxWindow
*) src
;
3138 return (void *) dest
;
3141 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3144 src
= (wxStaticLine
*) ptr
;
3145 dest
= (wxEvtHandler
*) src
;
3146 return (void *) dest
;
3149 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3152 src
= (wxStaticLine
*) ptr
;
3153 dest
= (wxObject
*) src
;
3154 return (void *) dest
;
3157 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3158 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3160 wxStaticLine
* _result
;
3163 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3164 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3165 long _arg4
= (long ) wxLI_HORIZONTAL
;
3166 char * _arg5
= (char *) "staticLine";
3167 PyObject
* _argo0
= 0;
3169 PyObject
* _obj2
= 0;
3171 PyObject
* _obj3
= 0;
3172 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
3188 if (! wxPoint_helper(_obj2
, &_arg2
))
3194 if (! wxSize_helper(_obj3
, &_arg3
))
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3201 wxPy_END_ALLOW_THREADS
;
3202 if (PyErr_Occurred()) return NULL
;
3204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3208 _resultobj
= Py_None
;
3213 static void *SwigwxStaticTextTowxControl(void *ptr
) {
3216 src
= (wxStaticText
*) ptr
;
3217 dest
= (wxControl
*) src
;
3218 return (void *) dest
;
3221 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
3224 src
= (wxStaticText
*) ptr
;
3225 dest
= (wxWindow
*) src
;
3226 return (void *) dest
;
3229 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
3232 src
= (wxStaticText
*) ptr
;
3233 dest
= (wxEvtHandler
*) src
;
3234 return (void *) dest
;
3237 static void *SwigwxStaticTextTowxObject(void *ptr
) {
3240 src
= (wxStaticText
*) ptr
;
3241 dest
= (wxObject
*) src
;
3242 return (void *) dest
;
3245 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3246 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxStaticText
* _result
;
3252 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3253 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3254 long _arg5
= (long ) 0;
3255 char * _arg6
= (char *) "staticText";
3256 PyObject
* _argo0
= 0;
3257 PyObject
* _obj2
= 0;
3259 PyObject
* _obj3
= 0;
3261 PyObject
* _obj4
= 0;
3262 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
3276 #if PYTHON_API_VERSION >= 1009
3277 char* tmpPtr
; int tmpSize
;
3278 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3279 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3282 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3284 _arg2
= new wxString(tmpPtr
, tmpSize
);
3286 if (!PyString_Check(_obj2
)) {
3287 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3290 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3296 if (! wxPoint_helper(_obj3
, &_arg3
))
3302 if (! wxSize_helper(_obj4
, &_arg4
))
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3309 wxPy_END_ALLOW_THREADS
;
3310 if (PyErr_Occurred()) return NULL
;
3312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
3313 _resultobj
= Py_BuildValue("s",_ptemp
);
3316 _resultobj
= Py_None
;
3325 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
3326 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3329 wxStaticText
* _arg0
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
3344 wxPy_BEGIN_ALLOW_THREADS
;
3345 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
3347 wxPy_END_ALLOW_THREADS
;
3348 if (PyErr_Occurred()) return NULL
;
3350 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3358 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3359 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
* _resultobj
;
3361 wxStaticText
* _arg0
;
3363 PyObject
* _argo0
= 0;
3364 PyObject
* _obj1
= 0;
3365 char *_kwnames
[] = { "self","label", NULL
};
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
3371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3378 #if PYTHON_API_VERSION >= 1009
3379 char* tmpPtr
; int tmpSize
;
3380 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3384 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3386 _arg1
= new wxString(tmpPtr
, tmpSize
);
3388 if (!PyString_Check(_obj1
)) {
3389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3392 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 wxStaticText_SetLabel(_arg0
,*_arg1
);
3399 wxPy_END_ALLOW_THREADS
;
3400 if (PyErr_Occurred()) return NULL
;
3401 } Py_INCREF(Py_None
);
3402 _resultobj
= Py_None
;
3410 static void *SwigwxListBoxTowxControl(void *ptr
) {
3413 src
= (wxListBox
*) ptr
;
3414 dest
= (wxControl
*) src
;
3415 return (void *) dest
;
3418 static void *SwigwxListBoxTowxWindow(void *ptr
) {
3421 src
= (wxListBox
*) ptr
;
3422 dest
= (wxWindow
*) src
;
3423 return (void *) dest
;
3426 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
3429 src
= (wxListBox
*) ptr
;
3430 dest
= (wxEvtHandler
*) src
;
3431 return (void *) dest
;
3434 static void *SwigwxListBoxTowxObject(void *ptr
) {
3437 src
= (wxListBox
*) ptr
;
3438 dest
= (wxObject
*) src
;
3439 return (void *) dest
;
3442 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3443 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
* _resultobj
;
3445 wxListBox
* _result
;
3448 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3449 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3451 wxString
* _arg5
= (wxString
*) NULL
;
3452 long _arg6
= (long ) 0;
3453 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3454 char * _arg8
= (char *) "listBox";
3455 PyObject
* _argo0
= 0;
3457 PyObject
* _obj2
= 0;
3459 PyObject
* _obj3
= 0;
3460 PyObject
* _obj5
= 0;
3461 PyObject
* _argo7
= 0;
3462 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3478 if (! wxPoint_helper(_obj2
, &_arg2
))
3484 if (! wxSize_helper(_obj3
, &_arg3
))
3489 _arg5
= wxString_LIST_helper(_obj5
);
3490 if (_arg5
== NULL
) {
3495 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3503 _arg4
= PyList_Size(_obj5
);
3510 wxPy_BEGIN_ALLOW_THREADS
;
3511 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3513 wxPy_END_ALLOW_THREADS
;
3514 if (PyErr_Occurred()) return NULL
;
3516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
3517 _resultobj
= Py_BuildValue("s",_ptemp
);
3520 _resultobj
= Py_None
;
3528 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3529 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3533 PyObject
* _argo0
= 0;
3534 PyObject
* _obj1
= 0;
3535 char *_kwnames
[] = { "self","item", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3548 #if PYTHON_API_VERSION >= 1009
3549 char* tmpPtr
; int tmpSize
;
3550 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3551 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3554 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3556 _arg1
= new wxString(tmpPtr
, tmpSize
);
3558 if (!PyString_Check(_obj1
)) {
3559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3562 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3566 wxPy_BEGIN_ALLOW_THREADS
;
3567 wxListBox_Append(_arg0
,*_arg1
);
3569 wxPy_END_ALLOW_THREADS
;
3570 if (PyErr_Occurred()) return NULL
;
3571 } Py_INCREF(Py_None
);
3572 _resultobj
= Py_None
;
3580 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3581 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3584 PyObject
* _argo0
= 0;
3585 char *_kwnames
[] = { "self", NULL
};
3588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
3591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3598 wxPy_BEGIN_ALLOW_THREADS
;
3599 wxListBox_Clear(_arg0
);
3601 wxPy_END_ALLOW_THREADS
;
3602 if (PyErr_Occurred()) return NULL
;
3603 } Py_INCREF(Py_None
);
3604 _resultobj
= Py_None
;
3608 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3609 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self","n", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 wxListBox_Delete(_arg0
,_arg1
);
3630 wxPy_END_ALLOW_THREADS
;
3631 if (PyErr_Occurred()) return NULL
;
3632 } Py_INCREF(Py_None
);
3633 _resultobj
= Py_None
;
3637 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3638 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3642 PyObject
* _argo0
= 0;
3643 char *_kwnames
[] = { "self","n", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 wxListBox_Deselect(_arg0
,_arg1
);
3659 wxPy_END_ALLOW_THREADS
;
3660 if (PyErr_Occurred()) return NULL
;
3661 } Py_INCREF(Py_None
);
3662 _resultobj
= Py_None
;
3666 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3667 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3672 PyObject
* _argo0
= 0;
3673 PyObject
* _obj1
= 0;
3674 char *_kwnames
[] = { "self","string", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3687 #if PYTHON_API_VERSION >= 1009
3688 char* tmpPtr
; int tmpSize
;
3689 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3693 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3695 _arg1
= new wxString(tmpPtr
, tmpSize
);
3697 if (!PyString_Check(_obj1
)) {
3698 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3701 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3708 wxPy_END_ALLOW_THREADS
;
3709 if (PyErr_Occurred()) return NULL
;
3710 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3719 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3723 PyObject
* _argo0
= 0;
3724 char *_kwnames
[] = { "self", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3737 wxPy_BEGIN_ALLOW_THREADS
;
3738 _result
= (int )wxListBox_GetSelection(_arg0
);
3740 wxPy_END_ALLOW_THREADS
;
3741 if (PyErr_Occurred()) return NULL
;
3742 } _resultobj
= Py_BuildValue("i",_result
);
3746 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3748 self
->GetSelections(lst
);
3749 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3750 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
3751 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3755 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3759 PyObject
* _argo0
= 0;
3760 char *_kwnames
[] = { "self", NULL
};
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3773 wxPy_BEGIN_ALLOW_THREADS
;
3774 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3776 wxPy_END_ALLOW_THREADS
;
3777 if (PyErr_Occurred()) return NULL
;
3779 _resultobj
= _result
;
3784 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3785 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3792 PyObject
* _obj2
= 0;
3793 char *_kwnames
[] = { "self","choices","pos", NULL
};
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3806 _arg2
= wxString_LIST_helper(_obj2
);
3807 if (_arg2
== NULL
) {
3813 _arg1
= PyList_Size(_obj2
);
3820 wxPy_BEGIN_ALLOW_THREADS
;
3821 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3823 wxPy_END_ALLOW_THREADS
;
3824 if (PyErr_Occurred()) return NULL
;
3825 } Py_INCREF(Py_None
);
3826 _resultobj
= Py_None
;
3833 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3834 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3839 PyObject
* _argo0
= 0;
3840 char *_kwnames
[] = { "self","n", NULL
};
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3853 wxPy_BEGIN_ALLOW_THREADS
;
3854 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3856 wxPy_END_ALLOW_THREADS
;
3857 if (PyErr_Occurred()) return NULL
;
3859 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3867 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3868 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
* _resultobj
;
3872 PyObject
* _argo0
= 0;
3873 char *_kwnames
[] = { "self", NULL
};
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3889 wxPy_END_ALLOW_THREADS
;
3890 if (PyErr_Occurred()) return NULL
;
3892 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3900 #define wxListBox_GetCount(_swigobj) (_swigobj->GetCount())
3901 static PyObject
*_wrap_wxListBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3905 PyObject
* _argo0
= 0;
3906 char *_kwnames
[] = { "self", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetCount",_kwnames
,&_argo0
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetCount. Expected _wxListBox_p.");
3919 wxPy_BEGIN_ALLOW_THREADS
;
3920 _result
= (int )wxListBox_GetCount(_arg0
);
3922 wxPy_END_ALLOW_THREADS
;
3923 if (PyErr_Occurred()) return NULL
;
3924 } _resultobj
= Py_BuildValue("i",_result
);
3928 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3929 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self","n", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
3948 wxPy_BEGIN_ALLOW_THREADS
;
3949 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
3951 wxPy_END_ALLOW_THREADS
;
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3958 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3963 PyObject
* _argo0
= 0;
3964 char *_kwnames
[] = { "self","n", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3977 wxPy_BEGIN_ALLOW_THREADS
;
3978 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3980 wxPy_END_ALLOW_THREADS
;
3981 if (PyErr_Occurred()) return NULL
;
3982 } _resultobj
= Py_BuildValue("i",_result
);
3986 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3987 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3988 PyObject
* _resultobj
;
3992 PyObject
* _argo0
= 0;
3993 PyObject
* _obj2
= 0;
3994 char *_kwnames
[] = { "self","choices", NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4008 _arg2
= wxString_LIST_helper(_obj2
);
4009 if (_arg2
== NULL
) {
4015 _arg1
= PyList_Size(_obj2
);
4022 wxPy_BEGIN_ALLOW_THREADS
;
4023 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4025 wxPy_END_ALLOW_THREADS
;
4026 if (PyErr_Occurred()) return NULL
;
4027 } Py_INCREF(Py_None
);
4028 _resultobj
= Py_None
;
4035 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4036 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
* _resultobj
;
4040 PyObject
* _argo0
= 0;
4041 char *_kwnames
[] = { "self","n", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4054 wxPy_BEGIN_ALLOW_THREADS
;
4055 wxListBox_SetFirstItem(_arg0
,_arg1
);
4057 wxPy_END_ALLOW_THREADS
;
4058 if (PyErr_Occurred()) return NULL
;
4059 } Py_INCREF(Py_None
);
4060 _resultobj
= Py_None
;
4064 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4065 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 PyObject
* _obj1
= 0;
4071 char *_kwnames
[] = { "self","string", NULL
};
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4084 #if PYTHON_API_VERSION >= 1009
4085 char* tmpPtr
; int tmpSize
;
4086 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4090 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4092 _arg1
= new wxString(tmpPtr
, tmpSize
);
4094 if (!PyString_Check(_obj1
)) {
4095 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4098 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4102 wxPy_BEGIN_ALLOW_THREADS
;
4103 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
4105 wxPy_END_ALLOW_THREADS
;
4106 if (PyErr_Occurred()) return NULL
;
4107 } Py_INCREF(Py_None
);
4108 _resultobj
= Py_None
;
4116 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4117 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
* _resultobj
;
4121 bool _arg2
= (bool ) TRUE
;
4122 PyObject
* _argo0
= 0;
4123 int tempbool2
= (int) TRUE
;
4124 char *_kwnames
[] = { "self","n","select", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
4136 _arg2
= (bool ) tempbool2
;
4138 wxPy_BEGIN_ALLOW_THREADS
;
4139 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
4141 wxPy_END_ALLOW_THREADS
;
4142 if (PyErr_Occurred()) return NULL
;
4143 } Py_INCREF(Py_None
);
4144 _resultobj
= Py_None
;
4148 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
4149 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4154 PyObject
* _argo0
= 0;
4155 PyObject
* _obj2
= 0;
4156 char *_kwnames
[] = { "self","n","string", NULL
};
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
4169 #if PYTHON_API_VERSION >= 1009
4170 char* tmpPtr
; int tmpSize
;
4171 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4175 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4177 _arg2
= new wxString(tmpPtr
, tmpSize
);
4179 if (!PyString_Check(_obj2
)) {
4180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4183 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4187 wxPy_BEGIN_ALLOW_THREADS
;
4188 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
4190 wxPy_END_ALLOW_THREADS
;
4191 if (PyErr_Occurred()) return NULL
;
4192 } Py_INCREF(Py_None
);
4193 _resultobj
= Py_None
;
4201 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
4202 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
* _resultobj
;
4206 bool _arg2
= (bool ) TRUE
;
4207 PyObject
* _argo0
= 0;
4208 PyObject
* _obj1
= 0;
4209 int tempbool2
= (int) TRUE
;
4210 char *_kwnames
[] = { "self","string","select", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
4223 #if PYTHON_API_VERSION >= 1009
4224 char* tmpPtr
; int tmpSize
;
4225 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4229 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4231 _arg1
= new wxString(tmpPtr
, tmpSize
);
4233 if (!PyString_Check(_obj1
)) {
4234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4237 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4240 _arg2
= (bool ) tempbool2
;
4242 wxPy_BEGIN_ALLOW_THREADS
;
4243 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
4245 wxPy_END_ALLOW_THREADS
;
4246 if (PyErr_Occurred()) return NULL
;
4247 } Py_INCREF(Py_None
);
4248 _resultobj
= Py_None
;
4256 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
4257 wxCheckListBox
*src
;
4259 src
= (wxCheckListBox
*) ptr
;
4260 dest
= (wxListBox
*) src
;
4261 return (void *) dest
;
4264 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
4265 wxCheckListBox
*src
;
4267 src
= (wxCheckListBox
*) ptr
;
4268 dest
= (wxControl
*) src
;
4269 return (void *) dest
;
4272 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
4273 wxCheckListBox
*src
;
4275 src
= (wxCheckListBox
*) ptr
;
4276 dest
= (wxWindow
*) src
;
4277 return (void *) dest
;
4280 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
4281 wxCheckListBox
*src
;
4283 src
= (wxCheckListBox
*) ptr
;
4284 dest
= (wxEvtHandler
*) src
;
4285 return (void *) dest
;
4288 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
4289 wxCheckListBox
*src
;
4291 src
= (wxCheckListBox
*) ptr
;
4292 dest
= (wxObject
*) src
;
4293 return (void *) dest
;
4296 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4297 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4299 wxCheckListBox
* _result
;
4302 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4303 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4304 int _arg4
= (int ) 0;
4305 wxString
* _arg5
= (wxString
*) NULL
;
4306 long _arg6
= (long ) 0;
4307 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4308 char * _arg8
= (char *) "listBox";
4309 PyObject
* _argo0
= 0;
4311 PyObject
* _obj2
= 0;
4313 PyObject
* _obj3
= 0;
4314 PyObject
* _obj5
= 0;
4315 PyObject
* _argo7
= 0;
4316 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
4332 if (! wxPoint_helper(_obj2
, &_arg2
))
4338 if (! wxSize_helper(_obj3
, &_arg3
))
4343 _arg5
= wxString_LIST_helper(_obj5
);
4344 if (_arg5
== NULL
) {
4349 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
4357 _arg4
= PyList_Size(_obj5
);
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4367 wxPy_END_ALLOW_THREADS
;
4368 if (PyErr_Occurred()) return NULL
;
4370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
4371 _resultobj
= Py_BuildValue("s",_ptemp
);
4374 _resultobj
= Py_None
;
4382 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4383 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
* _resultobj
;
4386 wxCheckListBox
* _arg0
;
4388 PyObject
* _argo0
= 0;
4389 char *_kwnames
[] = { "self","uiIndex", NULL
};
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
4395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
4405 wxPy_END_ALLOW_THREADS
;
4406 if (PyErr_Occurred()) return NULL
;
4407 } _resultobj
= Py_BuildValue("i",_result
);
4411 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4412 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4414 wxCheckListBox
* _arg0
;
4416 int _arg2
= (int ) TRUE
;
4417 PyObject
* _argo0
= 0;
4418 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
4431 wxPy_BEGIN_ALLOW_THREADS
;
4432 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
4434 wxPy_END_ALLOW_THREADS
;
4435 if (PyErr_Occurred()) return NULL
;
4436 } Py_INCREF(Py_None
);
4437 _resultobj
= Py_None
;
4441 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4442 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
* _resultobj
;
4444 wxCheckListBox
* _arg0
;
4448 PyObject
* _argo0
= 0;
4449 PyObject
* _obj2
= 0;
4450 char *_kwnames
[] = { "self","choices","pos", NULL
};
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
4463 _arg2
= wxString_LIST_helper(_obj2
);
4464 if (_arg2
== NULL
) {
4470 _arg1
= PyList_Size(_obj2
);
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4480 wxPy_END_ALLOW_THREADS
;
4481 if (PyErr_Occurred()) return NULL
;
4482 } Py_INCREF(Py_None
);
4483 _resultobj
= Py_None
;
4490 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4491 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
* _resultobj
;
4494 wxCheckListBox
* _arg0
;
4495 PyObject
* _argo0
= 0;
4496 char *_kwnames
[] = { "self", NULL
};
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
4512 wxPy_END_ALLOW_THREADS
;
4513 if (PyErr_Occurred()) return NULL
;
4514 } _resultobj
= Py_BuildValue("i",_result
);
4518 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
4519 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
* _resultobj
;
4521 wxTextAttr
* _result
;
4522 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
4523 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
4524 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
4526 PyObject
* _obj0
= 0;
4528 PyObject
* _obj1
= 0;
4529 PyObject
* _argo2
= 0;
4530 char *_kwnames
[] = { "colText","colBack","font", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
4539 if (! wxColour_helper(_obj0
, &_arg0
))
4545 if (! wxColour_helper(_obj1
, &_arg1
))
4549 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4550 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
4551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
4556 wxPy_BEGIN_ALLOW_THREADS
;
4557 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
4559 wxPy_END_ALLOW_THREADS
;
4560 if (PyErr_Occurred()) return NULL
;
4562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
4563 _resultobj
= Py_BuildValue("s",_ptemp
);
4566 _resultobj
= Py_None
;
4571 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
4572 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4575 PyObject
* _argo0
= 0;
4576 char *_kwnames
[] = { "self", NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
4582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
4589 wxPy_BEGIN_ALLOW_THREADS
;
4590 delete_wxTextAttr(_arg0
);
4592 wxPy_END_ALLOW_THREADS
;
4593 if (PyErr_Occurred()) return NULL
;
4594 } Py_INCREF(Py_None
);
4595 _resultobj
= Py_None
;
4599 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4600 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
* _resultobj
;
4604 PyObject
* _argo0
= 0;
4606 PyObject
* _obj1
= 0;
4607 char *_kwnames
[] = { "self","colText", NULL
};
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
4621 if (! wxColour_helper(_obj1
, &_arg1
))
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
4628 wxPy_END_ALLOW_THREADS
;
4629 if (PyErr_Occurred()) return NULL
;
4630 } Py_INCREF(Py_None
);
4631 _resultobj
= Py_None
;
4635 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4636 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
* _resultobj
;
4640 PyObject
* _argo0
= 0;
4642 PyObject
* _obj1
= 0;
4643 char *_kwnames
[] = { "self","colBack", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
4657 if (! wxColour_helper(_obj1
, &_arg1
))
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
4664 wxPy_END_ALLOW_THREADS
;
4665 if (PyErr_Occurred()) return NULL
;
4666 } Py_INCREF(Py_None
);
4667 _resultobj
= Py_None
;
4671 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4672 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4676 PyObject
* _argo0
= 0;
4677 PyObject
* _argo1
= 0;
4678 char *_kwnames
[] = { "self","font", NULL
};
4681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
4684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
4691 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 wxTextAttr_SetFont(_arg0
,*_arg1
);
4701 wxPy_END_ALLOW_THREADS
;
4702 if (PyErr_Occurred()) return NULL
;
4703 } Py_INCREF(Py_None
);
4704 _resultobj
= Py_None
;
4708 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
4709 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4713 PyObject
* _argo0
= 0;
4714 char *_kwnames
[] = { "self", NULL
};
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
4720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
4727 wxPy_BEGIN_ALLOW_THREADS
;
4728 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
4730 wxPy_END_ALLOW_THREADS
;
4731 if (PyErr_Occurred()) return NULL
;
4732 } _resultobj
= Py_BuildValue("i",_result
);
4736 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
4737 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
* _resultobj
;
4741 PyObject
* _argo0
= 0;
4742 char *_kwnames
[] = { "self", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
4748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
4755 wxPy_BEGIN_ALLOW_THREADS
;
4756 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
4758 wxPy_END_ALLOW_THREADS
;
4759 if (PyErr_Occurred()) return NULL
;
4760 } _resultobj
= Py_BuildValue("i",_result
);
4764 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
4765 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
* _resultobj
;
4769 PyObject
* _argo0
= 0;
4770 char *_kwnames
[] = { "self", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
4783 wxPy_BEGIN_ALLOW_THREADS
;
4784 _result
= (bool )wxTextAttr_HasFont(_arg0
);
4786 wxPy_END_ALLOW_THREADS
;
4787 if (PyErr_Occurred()) return NULL
;
4788 } _resultobj
= Py_BuildValue("i",_result
);
4792 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4793 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4797 PyObject
* _argo0
= 0;
4798 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 const wxColour
& _result_ref
= wxTextAttr_GetTextColour(_arg0
);
4814 _result
= (wxColour
*) &_result_ref
;
4816 wxPy_END_ALLOW_THREADS
;
4817 if (PyErr_Occurred()) return NULL
;
4819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4820 _resultobj
= Py_BuildValue("s",_ptemp
);
4823 _resultobj
= Py_None
;
4828 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4829 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
* _resultobj
;
4833 PyObject
* _argo0
= 0;
4834 char *_kwnames
[] = { "self", NULL
};
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
4841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
4848 wxPy_BEGIN_ALLOW_THREADS
;
4849 const wxColour
& _result_ref
= wxTextAttr_GetBackgroundColour(_arg0
);
4850 _result
= (wxColour
*) &_result_ref
;
4852 wxPy_END_ALLOW_THREADS
;
4853 if (PyErr_Occurred()) return NULL
;
4855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4856 _resultobj
= Py_BuildValue("s",_ptemp
);
4859 _resultobj
= Py_None
;
4864 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
4865 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4869 PyObject
* _argo0
= 0;
4870 char *_kwnames
[] = { "self", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
4884 wxPy_BEGIN_ALLOW_THREADS
;
4885 const wxFont
& _result_ref
= wxTextAttr_GetFont(_arg0
);
4886 _result
= (wxFont
*) &_result_ref
;
4888 wxPy_END_ALLOW_THREADS
;
4889 if (PyErr_Occurred()) return NULL
;
4891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4892 _resultobj
= Py_BuildValue("s",_ptemp
);
4895 _resultobj
= Py_None
;
4900 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4903 src
= (wxTextCtrl
*) ptr
;
4904 dest
= (wxControl
*) src
;
4905 return (void *) dest
;
4908 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4911 src
= (wxTextCtrl
*) ptr
;
4912 dest
= (wxWindow
*) src
;
4913 return (void *) dest
;
4916 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4919 src
= (wxTextCtrl
*) ptr
;
4920 dest
= (wxEvtHandler
*) src
;
4921 return (void *) dest
;
4924 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
4927 src
= (wxTextCtrl
*) ptr
;
4928 dest
= (wxObject
*) src
;
4929 return (void *) dest
;
4932 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4933 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
* _resultobj
;
4935 wxTextCtrl
* _result
;
4938 char * _arg2
= (char *) "";
4939 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4940 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4941 long _arg5
= (long ) 0;
4942 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
4943 char * _arg7
= (char *) "text";
4944 PyObject
* _argo0
= 0;
4946 PyObject
* _obj3
= 0;
4948 PyObject
* _obj4
= 0;
4949 PyObject
* _argo6
= 0;
4950 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4966 if (! wxPoint_helper(_obj3
, &_arg3
))
4972 if (! wxSize_helper(_obj4
, &_arg4
))
4976 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4977 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4983 wxPy_BEGIN_ALLOW_THREADS
;
4984 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4986 wxPy_END_ALLOW_THREADS
;
4987 if (PyErr_Occurred()) return NULL
;
4989 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4990 _resultobj
= Py_BuildValue("s",_ptemp
);
4993 _resultobj
= Py_None
;
4998 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4999 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
* _resultobj
;
5002 PyObject
* _argo0
= 0;
5003 char *_kwnames
[] = { "self", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
5016 wxPy_BEGIN_ALLOW_THREADS
;
5017 wxTextCtrl_Clear(_arg0
);
5019 wxPy_END_ALLOW_THREADS
;
5020 if (PyErr_Occurred()) return NULL
;
5021 } Py_INCREF(Py_None
);
5022 _resultobj
= Py_None
;
5026 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
5027 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5030 PyObject
* _argo0
= 0;
5031 char *_kwnames
[] = { "self", NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
5037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
5044 wxPy_BEGIN_ALLOW_THREADS
;
5045 wxTextCtrl_Copy(_arg0
);
5047 wxPy_END_ALLOW_THREADS
;
5048 if (PyErr_Occurred()) return NULL
;
5049 } Py_INCREF(Py_None
);
5050 _resultobj
= Py_None
;
5054 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
5055 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
* _resultobj
;
5058 PyObject
* _argo0
= 0;
5059 char *_kwnames
[] = { "self", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
5072 wxPy_BEGIN_ALLOW_THREADS
;
5073 wxTextCtrl_Cut(_arg0
);
5075 wxPy_END_ALLOW_THREADS
;
5076 if (PyErr_Occurred()) return NULL
;
5077 } Py_INCREF(Py_None
);
5078 _resultobj
= Py_None
;
5082 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
5083 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5086 PyObject
* _argo0
= 0;
5087 char *_kwnames
[] = { "self", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
5100 wxPy_BEGIN_ALLOW_THREADS
;
5101 wxTextCtrl_DiscardEdits(_arg0
);
5103 wxPy_END_ALLOW_THREADS
;
5104 if (PyErr_Occurred()) return NULL
;
5105 } Py_INCREF(Py_None
);
5106 _resultobj
= Py_None
;
5110 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
5111 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
* _resultobj
;
5115 PyObject
* _argo0
= 0;
5116 char *_kwnames
[] = { "self", NULL
};
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
5132 wxPy_END_ALLOW_THREADS
;
5133 if (PyErr_Occurred()) return NULL
;
5134 } _resultobj
= Py_BuildValue("l",_result
);
5138 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
5139 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5143 PyObject
* _argo0
= 0;
5144 char *_kwnames
[] = { "self", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
5157 wxPy_BEGIN_ALLOW_THREADS
;
5158 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
5160 wxPy_END_ALLOW_THREADS
;
5161 if (PyErr_Occurred()) return NULL
;
5162 } _resultobj
= Py_BuildValue("l",_result
);
5166 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
5167 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5172 PyObject
* _argo0
= 0;
5173 char *_kwnames
[] = { "self","lineNo", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
5186 wxPy_BEGIN_ALLOW_THREADS
;
5187 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
5189 wxPy_END_ALLOW_THREADS
;
5190 if (PyErr_Occurred()) return NULL
;
5191 } _resultobj
= Py_BuildValue("i",_result
);
5195 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
5196 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5201 PyObject
* _argo0
= 0;
5202 char *_kwnames
[] = { "self","lineNo", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
5215 wxPy_BEGIN_ALLOW_THREADS
;
5216 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
5218 wxPy_END_ALLOW_THREADS
;
5219 if (PyErr_Occurred()) return NULL
;
5221 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5229 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
5230 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
* _resultobj
;
5234 PyObject
* _argo0
= 0;
5235 char *_kwnames
[] = { "self", NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
5248 wxPy_BEGIN_ALLOW_THREADS
;
5249 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
5251 wxPy_END_ALLOW_THREADS
;
5252 if (PyErr_Occurred()) return NULL
;
5253 } _resultobj
= Py_BuildValue("i",_result
);
5257 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
5258 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5262 PyObject
* _argo0
= 0;
5263 char *_kwnames
[] = { "self", NULL
};
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
5269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
5276 wxPy_BEGIN_ALLOW_THREADS
;
5277 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
5279 wxPy_END_ALLOW_THREADS
;
5280 if (PyErr_Occurred()) return NULL
;
5282 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5290 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
5291 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
5309 wxPy_BEGIN_ALLOW_THREADS
;
5310 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
5312 wxPy_END_ALLOW_THREADS
;
5313 if (PyErr_Occurred()) return NULL
;
5314 } _resultobj
= Py_BuildValue("i",_result
);
5318 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
5319 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
* _resultobj
;
5324 PyObject
* _argo0
= 0;
5325 PyObject
* _obj1
= 0;
5326 char *_kwnames
[] = { "self","filename", NULL
};
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
5332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
5339 #if PYTHON_API_VERSION >= 1009
5340 char* tmpPtr
; int tmpSize
;
5341 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5342 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5345 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5347 _arg1
= new wxString(tmpPtr
, tmpSize
);
5349 if (!PyString_Check(_obj1
)) {
5350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5353 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5357 wxPy_BEGIN_ALLOW_THREADS
;
5358 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
5360 wxPy_END_ALLOW_THREADS
;
5361 if (PyErr_Occurred()) return NULL
;
5362 } _resultobj
= Py_BuildValue("i",_result
);
5370 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
5371 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
* _resultobj
;
5374 PyObject
* _argo0
= 0;
5375 char *_kwnames
[] = { "self", NULL
};
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
5381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
5388 wxPy_BEGIN_ALLOW_THREADS
;
5389 wxTextCtrl_Paste(_arg0
);
5391 wxPy_END_ALLOW_THREADS
;
5392 if (PyErr_Occurred()) return NULL
;
5393 } Py_INCREF(Py_None
);
5394 _resultobj
= Py_None
;
5398 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
5399 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
* _resultobj
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self","pos", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
5427 wxPy_BEGIN_ALLOW_THREADS
;
5428 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
5430 wxPy_END_ALLOW_THREADS
;
5431 if (PyErr_Occurred()) return NULL
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5436 o
= PyInt_FromLong((long) (*_arg2
));
5437 _resultobj
= t_output_helper(_resultobj
, o
);
5441 o
= PyInt_FromLong((long) (*_arg3
));
5442 _resultobj
= t_output_helper(_resultobj
, o
);
5447 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
5448 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
* _resultobj
;
5453 PyObject
* _argo0
= 0;
5454 char *_kwnames
[] = { "self","from","to", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
5470 wxPy_END_ALLOW_THREADS
;
5471 if (PyErr_Occurred()) return NULL
;
5472 } Py_INCREF(Py_None
);
5473 _resultobj
= Py_None
;
5477 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
5478 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5484 PyObject
* _argo0
= 0;
5485 PyObject
* _obj3
= 0;
5486 char *_kwnames
[] = { "self","from","to","value", NULL
};
5489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
5499 #if PYTHON_API_VERSION >= 1009
5500 char* tmpPtr
; int tmpSize
;
5501 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5505 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5507 _arg3
= new wxString(tmpPtr
, tmpSize
);
5509 if (!PyString_Check(_obj3
)) {
5510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5513 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5517 wxPy_BEGIN_ALLOW_THREADS
;
5518 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
5520 wxPy_END_ALLOW_THREADS
;
5521 if (PyErr_Occurred()) return NULL
;
5522 } Py_INCREF(Py_None
);
5523 _resultobj
= Py_None
;
5531 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
5532 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5537 PyObject
* _argo0
= 0;
5538 PyObject
* _obj1
= 0;
5539 char *_kwnames
[] = { "self","filename", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
5552 #if PYTHON_API_VERSION >= 1009
5553 char* tmpPtr
; int tmpSize
;
5554 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5558 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5560 _arg1
= new wxString(tmpPtr
, tmpSize
);
5562 if (!PyString_Check(_obj1
)) {
5563 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5566 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5570 wxPy_BEGIN_ALLOW_THREADS
;
5571 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
5573 wxPy_END_ALLOW_THREADS
;
5574 if (PyErr_Occurred()) return NULL
;
5575 } _resultobj
= Py_BuildValue("i",_result
);
5583 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
5584 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5588 PyObject
* _argo0
= 0;
5590 char *_kwnames
[] = { "self","editable", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
5602 _arg1
= (bool ) tempbool1
;
5604 wxPy_BEGIN_ALLOW_THREADS
;
5605 wxTextCtrl_SetEditable(_arg0
,_arg1
);
5607 wxPy_END_ALLOW_THREADS
;
5608 if (PyErr_Occurred()) return NULL
;
5609 } Py_INCREF(Py_None
);
5610 _resultobj
= Py_None
;
5614 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
5615 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "self","pos", NULL
};
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
5626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
5633 wxPy_BEGIN_ALLOW_THREADS
;
5634 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
5636 wxPy_END_ALLOW_THREADS
;
5637 if (PyErr_Occurred()) return NULL
;
5638 } Py_INCREF(Py_None
);
5639 _resultobj
= Py_None
;
5643 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
5644 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
5661 wxPy_BEGIN_ALLOW_THREADS
;
5662 wxTextCtrl_SetInsertionPointEnd(_arg0
);
5664 wxPy_END_ALLOW_THREADS
;
5665 if (PyErr_Occurred()) return NULL
;
5666 } Py_INCREF(Py_None
);
5667 _resultobj
= Py_None
;
5671 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5672 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5677 PyObject
* _argo0
= 0;
5678 char *_kwnames
[] = { "self","from","to", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
5691 wxPy_BEGIN_ALLOW_THREADS
;
5692 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
5694 wxPy_END_ALLOW_THREADS
;
5695 if (PyErr_Occurred()) return NULL
;
5696 } Py_INCREF(Py_None
);
5697 _resultobj
= Py_None
;
5701 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5702 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5706 PyObject
* _argo0
= 0;
5707 PyObject
* _obj1
= 0;
5708 char *_kwnames
[] = { "self","value", NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5721 #if PYTHON_API_VERSION >= 1009
5722 char* tmpPtr
; int tmpSize
;
5723 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5727 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5729 _arg1
= new wxString(tmpPtr
, tmpSize
);
5731 if (!PyString_Check(_obj1
)) {
5732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5735 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5739 wxPy_BEGIN_ALLOW_THREADS
;
5740 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5742 wxPy_END_ALLOW_THREADS
;
5743 if (PyErr_Occurred()) return NULL
;
5744 } Py_INCREF(Py_None
);
5745 _resultobj
= Py_None
;
5753 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5754 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
* _resultobj
;
5758 PyObject
* _argo0
= 0;
5759 char *_kwnames
[] = { "self","pos", NULL
};
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
5765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
5772 wxPy_BEGIN_ALLOW_THREADS
;
5773 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
5775 wxPy_END_ALLOW_THREADS
;
5776 if (PyErr_Occurred()) return NULL
;
5777 } Py_INCREF(Py_None
);
5778 _resultobj
= Py_None
;
5782 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5783 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5787 PyObject
* _argo0
= 0;
5788 PyObject
* _obj1
= 0;
5789 char *_kwnames
[] = { "self","text", NULL
};
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
5795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5802 #if PYTHON_API_VERSION >= 1009
5803 char* tmpPtr
; int tmpSize
;
5804 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5805 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5808 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5810 _arg1
= new wxString(tmpPtr
, tmpSize
);
5812 if (!PyString_Check(_obj1
)) {
5813 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5816 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5820 wxPy_BEGIN_ALLOW_THREADS
;
5821 wxTextCtrl_WriteText(_arg0
,*_arg1
);
5823 wxPy_END_ALLOW_THREADS
;
5824 if (PyErr_Occurred()) return NULL
;
5825 } Py_INCREF(Py_None
);
5826 _resultobj
= Py_None
;
5834 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5835 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5839 PyObject
* _argo0
= 0;
5840 PyObject
* _obj1
= 0;
5841 char *_kwnames
[] = { "self","text", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5854 #if PYTHON_API_VERSION >= 1009
5855 char* tmpPtr
; int tmpSize
;
5856 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5857 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5860 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5862 _arg1
= new wxString(tmpPtr
, tmpSize
);
5864 if (!PyString_Check(_obj1
)) {
5865 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5868 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5872 wxPy_BEGIN_ALLOW_THREADS
;
5873 wxTextCtrl_AppendText(_arg0
,*_arg1
);
5875 wxPy_END_ALLOW_THREADS
;
5876 if (PyErr_Occurred()) return NULL
;
5877 } Py_INCREF(Py_None
);
5878 _resultobj
= Py_None
;
5886 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5887 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5893 PyObject
* _argo0
= 0;
5894 char *_kwnames
[] = { "self","x","y", NULL
};
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
5907 wxPy_BEGIN_ALLOW_THREADS
;
5908 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
5910 wxPy_END_ALLOW_THREADS
;
5911 if (PyErr_Occurred()) return NULL
;
5912 } _resultobj
= Py_BuildValue("l",_result
);
5916 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5917 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
* _resultobj
;
5921 PyObject
* _argo0
= 0;
5922 char *_kwnames
[] = { "self", NULL
};
5925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
5928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
5935 wxPy_BEGIN_ALLOW_THREADS
;
5936 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
5938 wxPy_END_ALLOW_THREADS
;
5939 if (PyErr_Occurred()) return NULL
;
5940 } _resultobj
= Py_BuildValue("i",_result
);
5944 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5945 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
5963 wxPy_BEGIN_ALLOW_THREADS
;
5964 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
5966 wxPy_END_ALLOW_THREADS
;
5967 if (PyErr_Occurred()) return NULL
;
5968 } _resultobj
= Py_BuildValue("i",_result
);
5972 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5973 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5991 wxPy_BEGIN_ALLOW_THREADS
;
5992 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5994 wxPy_END_ALLOW_THREADS
;
5995 if (PyErr_Occurred()) return NULL
;
5996 } _resultobj
= Py_BuildValue("i",_result
);
6000 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
6001 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
* _resultobj
;
6005 PyObject
* _argo0
= 0;
6006 char *_kwnames
[] = { "self", NULL
};
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
6012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
6019 wxPy_BEGIN_ALLOW_THREADS
;
6020 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
6022 wxPy_END_ALLOW_THREADS
;
6023 if (PyErr_Occurred()) return NULL
;
6024 } _resultobj
= Py_BuildValue("i",_result
);
6028 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
6029 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6033 PyObject
* _argo0
= 0;
6034 char *_kwnames
[] = { "self", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
6047 wxPy_BEGIN_ALLOW_THREADS
;
6048 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
6050 wxPy_END_ALLOW_THREADS
;
6051 if (PyErr_Occurred()) return NULL
;
6052 } _resultobj
= Py_BuildValue("i",_result
);
6056 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6057 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6064 PyObject
* _argo0
= 0;
6065 char *_kwnames
[] = { "self", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6084 wxPy_BEGIN_ALLOW_THREADS
;
6085 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6087 wxPy_END_ALLOW_THREADS
;
6088 if (PyErr_Occurred()) return NULL
;
6089 } Py_INCREF(Py_None
);
6090 _resultobj
= Py_None
;
6093 o
= PyInt_FromLong((long) (*_arg1
));
6094 _resultobj
= t_output_helper(_resultobj
, o
);
6098 o
= PyInt_FromLong((long) (*_arg2
));
6099 _resultobj
= t_output_helper(_resultobj
, o
);
6104 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6105 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6109 PyObject
* _argo0
= 0;
6110 char *_kwnames
[] = { "self", NULL
};
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6123 wxPy_BEGIN_ALLOW_THREADS
;
6124 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6126 wxPy_END_ALLOW_THREADS
;
6127 if (PyErr_Occurred()) return NULL
;
6128 } _resultobj
= Py_BuildValue("i",_result
);
6132 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
6133 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6134 PyObject
* _resultobj
;
6136 PyObject
* _argo0
= 0;
6137 char *_kwnames
[] = { "self", NULL
};
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
6143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
6150 wxPy_BEGIN_ALLOW_THREADS
;
6151 wxTextCtrl_Undo(_arg0
);
6153 wxPy_END_ALLOW_THREADS
;
6154 if (PyErr_Occurred()) return NULL
;
6155 } Py_INCREF(Py_None
);
6156 _resultobj
= Py_None
;
6160 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
6161 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6164 PyObject
* _argo0
= 0;
6165 char *_kwnames
[] = { "self", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
6171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
6178 wxPy_BEGIN_ALLOW_THREADS
;
6179 wxTextCtrl_Redo(_arg0
);
6181 wxPy_END_ALLOW_THREADS
;
6182 if (PyErr_Occurred()) return NULL
;
6183 } Py_INCREF(Py_None
);
6184 _resultobj
= Py_None
;
6188 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6189 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6196 PyObject
* _argo0
= 0;
6197 PyObject
* _argo3
= 0;
6198 char *_kwnames
[] = { "self","start","end","style", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6211 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6212 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6218 wxPy_BEGIN_ALLOW_THREADS
;
6219 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6221 wxPy_END_ALLOW_THREADS
;
6222 if (PyErr_Occurred()) return NULL
;
6223 } _resultobj
= Py_BuildValue("i",_result
);
6227 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6228 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
* _resultobj
;
6233 PyObject
* _argo0
= 0;
6234 PyObject
* _argo1
= 0;
6235 char *_kwnames
[] = { "self","style", NULL
};
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6255 wxPy_BEGIN_ALLOW_THREADS
;
6256 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6258 wxPy_END_ALLOW_THREADS
;
6259 if (PyErr_Occurred()) return NULL
;
6260 } _resultobj
= Py_BuildValue("i",_result
);
6264 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6265 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6267 wxTextAttr
* _result
;
6269 PyObject
* _argo0
= 0;
6270 char *_kwnames
[] = { "self", NULL
};
6274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6284 wxPy_BEGIN_ALLOW_THREADS
;
6285 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6286 _result
= (wxTextAttr
*) &_result_ref
;
6288 wxPy_END_ALLOW_THREADS
;
6289 if (PyErr_Occurred()) return NULL
;
6291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6292 _resultobj
= Py_BuildValue("s",_ptemp
);
6295 _resultobj
= Py_None
;
6300 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
6301 self
->AppendText(text
);
6303 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
* _resultobj
;
6307 PyObject
* _argo0
= 0;
6308 PyObject
* _obj1
= 0;
6309 char *_kwnames
[] = { "self","text", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
6322 #if PYTHON_API_VERSION >= 1009
6323 char* tmpPtr
; int tmpSize
;
6324 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6328 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6330 _arg1
= new wxString(tmpPtr
, tmpSize
);
6332 if (!PyString_Check(_obj1
)) {
6333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6336 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6340 wxPy_BEGIN_ALLOW_THREADS
;
6341 wxTextCtrl_write(_arg0
,*_arg1
);
6343 wxPy_END_ALLOW_THREADS
;
6344 if (PyErr_Occurred()) return NULL
;
6345 } Py_INCREF(Py_None
);
6346 _resultobj
= Py_None
;
6354 static void *SwigwxScrollBarTowxControl(void *ptr
) {
6357 src
= (wxScrollBar
*) ptr
;
6358 dest
= (wxControl
*) src
;
6359 return (void *) dest
;
6362 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
6365 src
= (wxScrollBar
*) ptr
;
6366 dest
= (wxWindow
*) src
;
6367 return (void *) dest
;
6370 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
6373 src
= (wxScrollBar
*) ptr
;
6374 dest
= (wxEvtHandler
*) src
;
6375 return (void *) dest
;
6378 static void *SwigwxScrollBarTowxObject(void *ptr
) {
6381 src
= (wxScrollBar
*) ptr
;
6382 dest
= (wxObject
*) src
;
6383 return (void *) dest
;
6386 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6387 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6389 wxScrollBar
* _result
;
6391 wxWindowID _arg1
= (wxWindowID
) -1;
6392 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6393 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6394 long _arg4
= (long ) wxSB_HORIZONTAL
;
6395 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6396 char * _arg6
= (char *) "scrollBar";
6397 PyObject
* _argo0
= 0;
6399 PyObject
* _obj2
= 0;
6401 PyObject
* _obj3
= 0;
6402 PyObject
* _argo5
= 0;
6403 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
6419 if (! wxPoint_helper(_obj2
, &_arg2
))
6425 if (! wxSize_helper(_obj3
, &_arg3
))
6429 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
6436 wxPy_BEGIN_ALLOW_THREADS
;
6437 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6439 wxPy_END_ALLOW_THREADS
;
6440 if (PyErr_Occurred()) return NULL
;
6442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
6443 _resultobj
= Py_BuildValue("s",_ptemp
);
6446 _resultobj
= Py_None
;
6451 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
6452 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6455 wxScrollBar
* _arg0
;
6456 PyObject
* _argo0
= 0;
6457 char *_kwnames
[] = { "self", NULL
};
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
6463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
6470 wxPy_BEGIN_ALLOW_THREADS
;
6471 _result
= (int )wxScrollBar_GetRange(_arg0
);
6473 wxPy_END_ALLOW_THREADS
;
6474 if (PyErr_Occurred()) return NULL
;
6475 } _resultobj
= Py_BuildValue("i",_result
);
6479 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
6480 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
* _resultobj
;
6483 wxScrollBar
* _arg0
;
6484 PyObject
* _argo0
= 0;
6485 char *_kwnames
[] = { "self", NULL
};
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
6491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
6498 wxPy_BEGIN_ALLOW_THREADS
;
6499 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
6501 wxPy_END_ALLOW_THREADS
;
6502 if (PyErr_Occurred()) return NULL
;
6503 } _resultobj
= Py_BuildValue("i",_result
);
6507 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
6508 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
* _resultobj
;
6511 wxScrollBar
* _arg0
;
6512 PyObject
* _argo0
= 0;
6513 char *_kwnames
[] = { "self", NULL
};
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
6519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
6526 wxPy_BEGIN_ALLOW_THREADS
;
6527 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
6529 wxPy_END_ALLOW_THREADS
;
6530 if (PyErr_Occurred()) return NULL
;
6531 } _resultobj
= Py_BuildValue("i",_result
);
6535 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
6536 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6539 wxScrollBar
* _arg0
;
6540 PyObject
* _argo0
= 0;
6541 char *_kwnames
[] = { "self", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
6554 wxPy_BEGIN_ALLOW_THREADS
;
6555 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
6557 wxPy_END_ALLOW_THREADS
;
6558 if (PyErr_Occurred()) return NULL
;
6559 } _resultobj
= Py_BuildValue("i",_result
);
6563 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
6564 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6566 wxScrollBar
* _arg0
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self","viewStart", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
6582 wxPy_BEGIN_ALLOW_THREADS
;
6583 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
6585 wxPy_END_ALLOW_THREADS
;
6586 if (PyErr_Occurred()) return NULL
;
6587 } Py_INCREF(Py_None
);
6588 _resultobj
= Py_None
;
6592 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6593 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6595 wxScrollBar
* _arg0
;
6600 bool _arg5
= (bool ) TRUE
;
6601 PyObject
* _argo0
= 0;
6602 int tempbool5
= (int) TRUE
;
6603 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
6609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
6615 _arg5
= (bool ) tempbool5
;
6617 wxPy_BEGIN_ALLOW_THREADS
;
6618 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6620 wxPy_END_ALLOW_THREADS
;
6621 if (PyErr_Occurred()) return NULL
;
6622 } Py_INCREF(Py_None
);
6623 _resultobj
= Py_None
;
6627 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
6630 src
= (wxSpinButton
*) ptr
;
6631 dest
= (wxControl
*) src
;
6632 return (void *) dest
;
6635 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
6638 src
= (wxSpinButton
*) ptr
;
6639 dest
= (wxWindow
*) src
;
6640 return (void *) dest
;
6643 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
6646 src
= (wxSpinButton
*) ptr
;
6647 dest
= (wxEvtHandler
*) src
;
6648 return (void *) dest
;
6651 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
6654 src
= (wxSpinButton
*) ptr
;
6655 dest
= (wxObject
*) src
;
6656 return (void *) dest
;
6659 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6660 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
* _resultobj
;
6662 wxSpinButton
* _result
;
6664 wxWindowID _arg1
= (wxWindowID
) -1;
6665 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6666 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6667 long _arg4
= (long ) wxSP_HORIZONTAL
;
6668 char * _arg5
= (char *) "spinButton";
6669 PyObject
* _argo0
= 0;
6671 PyObject
* _obj2
= 0;
6673 PyObject
* _obj3
= 0;
6674 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
6690 if (! wxPoint_helper(_obj2
, &_arg2
))
6696 if (! wxSize_helper(_obj3
, &_arg3
))
6700 wxPy_BEGIN_ALLOW_THREADS
;
6701 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6703 wxPy_END_ALLOW_THREADS
;
6704 if (PyErr_Occurred()) return NULL
;
6706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
6707 _resultobj
= Py_BuildValue("s",_ptemp
);
6710 _resultobj
= Py_None
;
6715 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
6716 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6719 wxSpinButton
* _arg0
;
6720 PyObject
* _argo0
= 0;
6721 char *_kwnames
[] = { "self", NULL
};
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
6727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
6734 wxPy_BEGIN_ALLOW_THREADS
;
6735 _result
= (int )wxSpinButton_GetMax(_arg0
);
6737 wxPy_END_ALLOW_THREADS
;
6738 if (PyErr_Occurred()) return NULL
;
6739 } _resultobj
= Py_BuildValue("i",_result
);
6743 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
6744 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6747 wxSpinButton
* _arg0
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
6762 wxPy_BEGIN_ALLOW_THREADS
;
6763 _result
= (int )wxSpinButton_GetMin(_arg0
);
6765 wxPy_END_ALLOW_THREADS
;
6766 if (PyErr_Occurred()) return NULL
;
6767 } _resultobj
= Py_BuildValue("i",_result
);
6771 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
6772 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6775 wxSpinButton
* _arg0
;
6776 PyObject
* _argo0
= 0;
6777 char *_kwnames
[] = { "self", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
6790 wxPy_BEGIN_ALLOW_THREADS
;
6791 _result
= (int )wxSpinButton_GetValue(_arg0
);
6793 wxPy_END_ALLOW_THREADS
;
6794 if (PyErr_Occurred()) return NULL
;
6795 } _resultobj
= Py_BuildValue("i",_result
);
6799 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6800 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6802 wxSpinButton
* _arg0
;
6805 PyObject
* _argo0
= 0;
6806 char *_kwnames
[] = { "self","min","max", NULL
};
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
6819 wxPy_BEGIN_ALLOW_THREADS
;
6820 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
6822 wxPy_END_ALLOW_THREADS
;
6823 if (PyErr_Occurred()) return NULL
;
6824 } Py_INCREF(Py_None
);
6825 _resultobj
= Py_None
;
6829 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6830 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6832 wxSpinButton
* _arg0
;
6834 PyObject
* _argo0
= 0;
6835 char *_kwnames
[] = { "self","value", NULL
};
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
6841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
6848 wxPy_BEGIN_ALLOW_THREADS
;
6849 wxSpinButton_SetValue(_arg0
,_arg1
);
6851 wxPy_END_ALLOW_THREADS
;
6852 if (PyErr_Occurred()) return NULL
;
6853 } Py_INCREF(Py_None
);
6854 _resultobj
= Py_None
;
6858 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
6859 wxStaticBitmap
*src
;
6861 src
= (wxStaticBitmap
*) ptr
;
6862 dest
= (wxControl
*) src
;
6863 return (void *) dest
;
6866 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
6867 wxStaticBitmap
*src
;
6869 src
= (wxStaticBitmap
*) ptr
;
6870 dest
= (wxWindow
*) src
;
6871 return (void *) dest
;
6874 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
6875 wxStaticBitmap
*src
;
6877 src
= (wxStaticBitmap
*) ptr
;
6878 dest
= (wxEvtHandler
*) src
;
6879 return (void *) dest
;
6882 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
6883 wxStaticBitmap
*src
;
6885 src
= (wxStaticBitmap
*) ptr
;
6886 dest
= (wxObject
*) src
;
6887 return (void *) dest
;
6890 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6891 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
* _resultobj
;
6893 wxStaticBitmap
* _result
;
6897 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6898 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6899 long _arg5
= (long ) 0;
6900 char * _arg6
= (char *) "staticBitmap";
6901 PyObject
* _argo0
= 0;
6902 PyObject
* _argo2
= 0;
6904 PyObject
* _obj3
= 0;
6906 PyObject
* _obj4
= 0;
6907 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6921 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6930 if (! wxPoint_helper(_obj3
, &_arg3
))
6936 if (! wxSize_helper(_obj4
, &_arg4
))
6940 wxPy_BEGIN_ALLOW_THREADS
;
6941 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6943 wxPy_END_ALLOW_THREADS
;
6944 if (PyErr_Occurred()) return NULL
;
6946 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
6947 _resultobj
= Py_BuildValue("s",_ptemp
);
6950 _resultobj
= Py_None
;
6955 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6956 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6959 wxStaticBitmap
* _arg0
;
6960 PyObject
* _argo0
= 0;
6961 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6975 wxPy_BEGIN_ALLOW_THREADS
;
6976 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
6977 _result
= (wxBitmap
*) &_result_ref
;
6979 wxPy_END_ALLOW_THREADS
;
6980 if (PyErr_Occurred()) return NULL
;
6982 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6983 _resultobj
= Py_BuildValue("s",_ptemp
);
6986 _resultobj
= Py_None
;
6991 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6992 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
* _resultobj
;
6994 wxStaticBitmap
* _arg0
;
6996 PyObject
* _argo0
= 0;
6997 PyObject
* _argo1
= 0;
6998 char *_kwnames
[] = { "self","bitmap", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
7011 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7012 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
7013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
7018 wxPy_BEGIN_ALLOW_THREADS
;
7019 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
7021 wxPy_END_ALLOW_THREADS
;
7022 if (PyErr_Occurred()) return NULL
;
7023 } Py_INCREF(Py_None
);
7024 _resultobj
= Py_None
;
7028 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
7029 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
* _resultobj
;
7031 wxStaticBitmap
* _arg0
;
7033 PyObject
* _argo0
= 0;
7034 PyObject
* _argo1
= 0;
7035 char *_kwnames
[] = { "self","icon", NULL
};
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
7041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
7048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
7050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
7055 wxPy_BEGIN_ALLOW_THREADS
;
7056 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
7058 wxPy_END_ALLOW_THREADS
;
7059 if (PyErr_Occurred()) return NULL
;
7060 } Py_INCREF(Py_None
);
7061 _resultobj
= Py_None
;
7065 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
7068 src
= (wxRadioBox
*) ptr
;
7069 dest
= (wxControl
*) src
;
7070 return (void *) dest
;
7073 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
7076 src
= (wxRadioBox
*) ptr
;
7077 dest
= (wxWindow
*) src
;
7078 return (void *) dest
;
7081 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
7084 src
= (wxRadioBox
*) ptr
;
7085 dest
= (wxEvtHandler
*) src
;
7086 return (void *) dest
;
7089 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
7092 src
= (wxRadioBox
*) ptr
;
7093 dest
= (wxObject
*) src
;
7094 return (void *) dest
;
7097 #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))
7098 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
* _resultobj
;
7100 wxRadioBox
* _result
;
7104 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7105 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7106 int _arg5
= (int ) 0;
7107 wxString
* _arg6
= (wxString
*) NULL
;
7108 int _arg7
= (int ) 0;
7109 long _arg8
= (long ) wxRA_HORIZONTAL
;
7110 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
7111 char * _arg10
= (char *) "radioBox";
7112 PyObject
* _argo0
= 0;
7113 PyObject
* _obj2
= 0;
7115 PyObject
* _obj3
= 0;
7117 PyObject
* _obj4
= 0;
7118 PyObject
* _obj6
= 0;
7119 PyObject
* _argo9
= 0;
7120 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
7127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
7134 #if PYTHON_API_VERSION >= 1009
7135 char* tmpPtr
; int tmpSize
;
7136 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7140 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7142 _arg2
= new wxString(tmpPtr
, tmpSize
);
7144 if (!PyString_Check(_obj2
)) {
7145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7148 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7154 if (! wxPoint_helper(_obj3
, &_arg3
))
7160 if (! wxSize_helper(_obj4
, &_arg4
))
7165 _arg6
= wxString_LIST_helper(_obj6
);
7166 if (_arg6
== NULL
) {
7171 if (_argo9
== Py_None
) { _arg9
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
7179 _arg5
= PyList_Size(_obj6
);
7186 wxPy_BEGIN_ALLOW_THREADS
;
7187 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
7189 wxPy_END_ALLOW_THREADS
;
7190 if (PyErr_Occurred()) return NULL
;
7192 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
7193 _resultobj
= Py_BuildValue("s",_ptemp
);
7196 _resultobj
= Py_None
;
7208 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7209 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7213 PyObject
* _argo0
= 0;
7215 char *_kwnames
[] = { "self","enable", NULL
};
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
7221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
7227 _arg1
= (bool ) tempbool1
;
7229 wxPy_BEGIN_ALLOW_THREADS
;
7230 wxRadioBox_Enable(_arg0
,_arg1
);
7232 wxPy_END_ALLOW_THREADS
;
7233 if (PyErr_Occurred()) return NULL
;
7234 } Py_INCREF(Py_None
);
7235 _resultobj
= Py_None
;
7239 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7240 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
* _resultobj
;
7245 PyObject
* _argo0
= 0;
7247 char *_kwnames
[] = { "self","n","enable", NULL
};
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
7259 _arg2
= (bool ) tempbool2
;
7261 wxPy_BEGIN_ALLOW_THREADS
;
7262 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
7264 wxPy_END_ALLOW_THREADS
;
7265 if (PyErr_Occurred()) return NULL
;
7266 } Py_INCREF(Py_None
);
7267 _resultobj
= Py_None
;
7271 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
7272 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7277 PyObject
* _argo0
= 0;
7278 PyObject
* _obj1
= 0;
7279 char *_kwnames
[] = { "self","string", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
7292 #if PYTHON_API_VERSION >= 1009
7293 char* tmpPtr
; int tmpSize
;
7294 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7298 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7300 _arg1
= new wxString(tmpPtr
, tmpSize
);
7302 if (!PyString_Check(_obj1
)) {
7303 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7306 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7310 wxPy_BEGIN_ALLOW_THREADS
;
7311 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
7313 wxPy_END_ALLOW_THREADS
;
7314 if (PyErr_Occurred()) return NULL
;
7315 } _resultobj
= Py_BuildValue("i",_result
);
7323 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
7324 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
* _resultobj
;
7329 PyObject
* _argo0
= 0;
7330 char *_kwnames
[] = { "self","n", NULL
};
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
7336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
7343 wxPy_BEGIN_ALLOW_THREADS
;
7344 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
7346 wxPy_END_ALLOW_THREADS
;
7347 if (PyErr_Occurred()) return NULL
;
7349 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7357 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7358 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
* _resultobj
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self","item", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
7377 wxPy_BEGIN_ALLOW_THREADS
;
7378 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
7380 wxPy_END_ALLOW_THREADS
;
7381 if (PyErr_Occurred()) return NULL
;
7383 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7391 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7392 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
* _resultobj
;
7397 PyObject
* _argo0
= 0;
7398 PyObject
* _obj2
= 0;
7399 char *_kwnames
[] = { "self","item","label", NULL
};
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
7412 #if PYTHON_API_VERSION >= 1009
7413 char* tmpPtr
; int tmpSize
;
7414 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7418 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7420 _arg2
= new wxString(tmpPtr
, tmpSize
);
7422 if (!PyString_Check(_obj2
)) {
7423 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7426 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7430 wxPy_BEGIN_ALLOW_THREADS
;
7431 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
7433 wxPy_END_ALLOW_THREADS
;
7434 if (PyErr_Occurred()) return NULL
;
7435 } Py_INCREF(Py_None
);
7436 _resultobj
= Py_None
;
7444 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
7445 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
* _resultobj
;
7449 PyObject
* _argo0
= 0;
7450 char *_kwnames
[] = { "self", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
7463 wxPy_BEGIN_ALLOW_THREADS
;
7464 _result
= (int )wxRadioBox_GetSelection(_arg0
);
7466 wxPy_END_ALLOW_THREADS
;
7467 if (PyErr_Occurred()) return NULL
;
7468 } _resultobj
= Py_BuildValue("i",_result
);
7472 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7473 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7477 PyObject
* _argo0
= 0;
7478 char *_kwnames
[] = { "self", NULL
};
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
7484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
7491 wxPy_BEGIN_ALLOW_THREADS
;
7492 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
7494 wxPy_END_ALLOW_THREADS
;
7495 if (PyErr_Occurred()) return NULL
;
7497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7505 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
7506 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
* _resultobj
;
7510 PyObject
* _argo0
= 0;
7511 char *_kwnames
[] = { "self", NULL
};
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
7517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
7524 wxPy_BEGIN_ALLOW_THREADS
;
7525 _result
= (int )wxRadioBox_GetCount(_arg0
);
7527 wxPy_END_ALLOW_THREADS
;
7528 if (PyErr_Occurred()) return NULL
;
7529 } _resultobj
= Py_BuildValue("i",_result
);
7533 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
7534 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
* _resultobj
;
7538 PyObject
* _argo0
= 0;
7539 char *_kwnames
[] = { "self","n", NULL
};
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
7545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
7552 wxPy_BEGIN_ALLOW_THREADS
;
7553 wxRadioBox_SetSelection(_arg0
,_arg1
);
7555 wxPy_END_ALLOW_THREADS
;
7556 if (PyErr_Occurred()) return NULL
;
7557 } Py_INCREF(Py_None
);
7558 _resultobj
= Py_None
;
7562 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
7563 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
* _resultobj
;
7567 PyObject
* _argo0
= 0;
7568 PyObject
* _obj1
= 0;
7569 char *_kwnames
[] = { "self","string", NULL
};
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
7575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
7582 #if PYTHON_API_VERSION >= 1009
7583 char* tmpPtr
; int tmpSize
;
7584 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7588 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7590 _arg1
= new wxString(tmpPtr
, tmpSize
);
7592 if (!PyString_Check(_obj1
)) {
7593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7596 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7600 wxPy_BEGIN_ALLOW_THREADS
;
7601 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
7603 wxPy_END_ALLOW_THREADS
;
7604 if (PyErr_Occurred()) return NULL
;
7605 } Py_INCREF(Py_None
);
7606 _resultobj
= Py_None
;
7614 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
7615 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
* _resultobj
;
7619 PyObject
* _argo0
= 0;
7621 char *_kwnames
[] = { "self","show", NULL
};
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
7627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
7633 _arg1
= (bool ) tempbool1
;
7635 wxPy_BEGIN_ALLOW_THREADS
;
7636 wxRadioBox_Show(_arg0
,_arg1
);
7638 wxPy_END_ALLOW_THREADS
;
7639 if (PyErr_Occurred()) return NULL
;
7640 } Py_INCREF(Py_None
);
7641 _resultobj
= Py_None
;
7645 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
7646 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7647 PyObject
* _resultobj
;
7651 PyObject
* _argo0
= 0;
7653 char *_kwnames
[] = { "self","item","show", NULL
};
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
7665 _arg2
= (bool ) tempbool2
;
7667 wxPy_BEGIN_ALLOW_THREADS
;
7668 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
7670 wxPy_END_ALLOW_THREADS
;
7671 if (PyErr_Occurred()) return NULL
;
7672 } Py_INCREF(Py_None
);
7673 _resultobj
= Py_None
;
7677 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
7680 src
= (wxRadioButton
*) ptr
;
7681 dest
= (wxControl
*) src
;
7682 return (void *) dest
;
7685 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
7688 src
= (wxRadioButton
*) ptr
;
7689 dest
= (wxWindow
*) src
;
7690 return (void *) dest
;
7693 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
7696 src
= (wxRadioButton
*) ptr
;
7697 dest
= (wxEvtHandler
*) src
;
7698 return (void *) dest
;
7701 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
7704 src
= (wxRadioButton
*) ptr
;
7705 dest
= (wxObject
*) src
;
7706 return (void *) dest
;
7709 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7710 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
* _resultobj
;
7712 wxRadioButton
* _result
;
7716 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7717 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7718 long _arg5
= (long ) 0;
7719 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7720 char * _arg7
= (char *) "radioButton";
7721 PyObject
* _argo0
= 0;
7722 PyObject
* _obj2
= 0;
7724 PyObject
* _obj3
= 0;
7726 PyObject
* _obj4
= 0;
7727 PyObject
* _argo6
= 0;
7728 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
7742 #if PYTHON_API_VERSION >= 1009
7743 char* tmpPtr
; int tmpSize
;
7744 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7748 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7750 _arg2
= new wxString(tmpPtr
, tmpSize
);
7752 if (!PyString_Check(_obj2
)) {
7753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7756 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7762 if (! wxPoint_helper(_obj3
, &_arg3
))
7768 if (! wxSize_helper(_obj4
, &_arg4
))
7772 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7773 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
7779 wxPy_BEGIN_ALLOW_THREADS
;
7780 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7782 wxPy_END_ALLOW_THREADS
;
7783 if (PyErr_Occurred()) return NULL
;
7785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
7786 _resultobj
= Py_BuildValue("s",_ptemp
);
7789 _resultobj
= Py_None
;
7798 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
7799 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7802 wxRadioButton
* _arg0
;
7803 PyObject
* _argo0
= 0;
7804 char *_kwnames
[] = { "self", NULL
};
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
7810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
7817 wxPy_BEGIN_ALLOW_THREADS
;
7818 _result
= (bool )wxRadioButton_GetValue(_arg0
);
7820 wxPy_END_ALLOW_THREADS
;
7821 if (PyErr_Occurred()) return NULL
;
7822 } _resultobj
= Py_BuildValue("i",_result
);
7826 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7827 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
* _resultobj
;
7829 wxRadioButton
* _arg0
;
7831 PyObject
* _argo0
= 0;
7833 char *_kwnames
[] = { "self","value", NULL
};
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
7839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
7845 _arg1
= (bool ) tempbool1
;
7847 wxPy_BEGIN_ALLOW_THREADS
;
7848 wxRadioButton_SetValue(_arg0
,_arg1
);
7850 wxPy_END_ALLOW_THREADS
;
7851 if (PyErr_Occurred()) return NULL
;
7852 } Py_INCREF(Py_None
);
7853 _resultobj
= Py_None
;
7857 static void *SwigwxSliderTowxControl(void *ptr
) {
7860 src
= (wxSlider
*) ptr
;
7861 dest
= (wxControl
*) src
;
7862 return (void *) dest
;
7865 static void *SwigwxSliderTowxWindow(void *ptr
) {
7868 src
= (wxSlider
*) ptr
;
7869 dest
= (wxWindow
*) src
;
7870 return (void *) dest
;
7873 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
7876 src
= (wxSlider
*) ptr
;
7877 dest
= (wxEvtHandler
*) src
;
7878 return (void *) dest
;
7881 static void *SwigwxSliderTowxObject(void *ptr
) {
7884 src
= (wxSlider
*) ptr
;
7885 dest
= (wxObject
*) src
;
7886 return (void *) dest
;
7889 #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))
7890 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7898 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
7899 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
7900 long _arg7
= (long ) wxSL_HORIZONTAL
;
7901 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
7902 char * _arg9
= (char *) "slider";
7903 PyObject
* _argo0
= 0;
7905 PyObject
* _obj5
= 0;
7907 PyObject
* _obj6
= 0;
7908 PyObject
* _argo8
= 0;
7909 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
7916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7925 if (! wxPoint_helper(_obj5
, &_arg5
))
7931 if (! wxSize_helper(_obj6
, &_arg6
))
7935 if (_argo8
== Py_None
) { _arg8
= NULL
; }
7936 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
7937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7942 wxPy_BEGIN_ALLOW_THREADS
;
7943 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
7945 wxPy_END_ALLOW_THREADS
;
7946 if (PyErr_Occurred()) return NULL
;
7948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
7949 _resultobj
= Py_BuildValue("s",_ptemp
);
7952 _resultobj
= Py_None
;
7957 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7958 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7959 PyObject
* _resultobj
;
7961 PyObject
* _argo0
= 0;
7962 char *_kwnames
[] = { "self", NULL
};
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
7968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7975 wxPy_BEGIN_ALLOW_THREADS
;
7976 wxSlider_ClearSel(_arg0
);
7978 wxPy_END_ALLOW_THREADS
;
7979 if (PyErr_Occurred()) return NULL
;
7980 } Py_INCREF(Py_None
);
7981 _resultobj
= Py_None
;
7985 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7986 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
* _resultobj
;
7989 PyObject
* _argo0
= 0;
7990 char *_kwnames
[] = { "self", NULL
};
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
7996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
8003 wxPy_BEGIN_ALLOW_THREADS
;
8004 wxSlider_ClearTicks(_arg0
);
8006 wxPy_END_ALLOW_THREADS
;
8007 if (PyErr_Occurred()) return NULL
;
8008 } Py_INCREF(Py_None
);
8009 _resultobj
= Py_None
;
8013 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
8014 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
* _resultobj
;
8018 PyObject
* _argo0
= 0;
8019 char *_kwnames
[] = { "self", NULL
};
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
8025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
8032 wxPy_BEGIN_ALLOW_THREADS
;
8033 _result
= (int )wxSlider_GetLineSize(_arg0
);
8035 wxPy_END_ALLOW_THREADS
;
8036 if (PyErr_Occurred()) return NULL
;
8037 } _resultobj
= Py_BuildValue("i",_result
);
8041 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
8042 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
* _resultobj
;
8046 PyObject
* _argo0
= 0;
8047 char *_kwnames
[] = { "self", NULL
};
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
8053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
8060 wxPy_BEGIN_ALLOW_THREADS
;
8061 _result
= (int )wxSlider_GetMax(_arg0
);
8063 wxPy_END_ALLOW_THREADS
;
8064 if (PyErr_Occurred()) return NULL
;
8065 } _resultobj
= Py_BuildValue("i",_result
);
8069 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
8070 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8071 PyObject
* _resultobj
;
8074 PyObject
* _argo0
= 0;
8075 char *_kwnames
[] = { "self", NULL
};
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
8081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
8088 wxPy_BEGIN_ALLOW_THREADS
;
8089 _result
= (int )wxSlider_GetMin(_arg0
);
8091 wxPy_END_ALLOW_THREADS
;
8092 if (PyErr_Occurred()) return NULL
;
8093 } _resultobj
= Py_BuildValue("i",_result
);
8097 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8098 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
* _resultobj
;
8102 PyObject
* _argo0
= 0;
8103 char *_kwnames
[] = { "self", NULL
};
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
8109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
8116 wxPy_BEGIN_ALLOW_THREADS
;
8117 _result
= (int )wxSlider_GetPageSize(_arg0
);
8119 wxPy_END_ALLOW_THREADS
;
8120 if (PyErr_Occurred()) return NULL
;
8121 } _resultobj
= Py_BuildValue("i",_result
);
8125 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
8126 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
* _resultobj
;
8130 PyObject
* _argo0
= 0;
8131 char *_kwnames
[] = { "self", NULL
};
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
8137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
8144 wxPy_BEGIN_ALLOW_THREADS
;
8145 _result
= (int )wxSlider_GetSelEnd(_arg0
);
8147 wxPy_END_ALLOW_THREADS
;
8148 if (PyErr_Occurred()) return NULL
;
8149 } _resultobj
= Py_BuildValue("i",_result
);
8153 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
8154 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
* _resultobj
;
8158 PyObject
* _argo0
= 0;
8159 char *_kwnames
[] = { "self", NULL
};
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
8165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
8172 wxPy_BEGIN_ALLOW_THREADS
;
8173 _result
= (int )wxSlider_GetSelStart(_arg0
);
8175 wxPy_END_ALLOW_THREADS
;
8176 if (PyErr_Occurred()) return NULL
;
8177 } _resultobj
= Py_BuildValue("i",_result
);
8181 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
8182 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
* _resultobj
;
8186 PyObject
* _argo0
= 0;
8187 char *_kwnames
[] = { "self", NULL
};
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
8193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
8200 wxPy_BEGIN_ALLOW_THREADS
;
8201 _result
= (int )wxSlider_GetThumbLength(_arg0
);
8203 wxPy_END_ALLOW_THREADS
;
8204 if (PyErr_Occurred()) return NULL
;
8205 } _resultobj
= Py_BuildValue("i",_result
);
8209 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
8210 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
* _resultobj
;
8214 PyObject
* _argo0
= 0;
8215 char *_kwnames
[] = { "self", NULL
};
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
8221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
8228 wxPy_BEGIN_ALLOW_THREADS
;
8229 _result
= (int )wxSlider_GetTickFreq(_arg0
);
8231 wxPy_END_ALLOW_THREADS
;
8232 if (PyErr_Occurred()) return NULL
;
8233 } _resultobj
= Py_BuildValue("i",_result
);
8237 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
8238 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
* _resultobj
;
8242 PyObject
* _argo0
= 0;
8243 char *_kwnames
[] = { "self", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
8256 wxPy_BEGIN_ALLOW_THREADS
;
8257 _result
= (int )wxSlider_GetValue(_arg0
);
8259 wxPy_END_ALLOW_THREADS
;
8260 if (PyErr_Occurred()) return NULL
;
8261 } _resultobj
= Py_BuildValue("i",_result
);
8265 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8266 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
* _resultobj
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
8285 wxPy_BEGIN_ALLOW_THREADS
;
8286 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
8288 wxPy_END_ALLOW_THREADS
;
8289 if (PyErr_Occurred()) return NULL
;
8290 } Py_INCREF(Py_None
);
8291 _resultobj
= Py_None
;
8295 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
8296 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8301 PyObject
* _argo0
= 0;
8302 char *_kwnames
[] = { "self","n","pos", NULL
};
8305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
8315 wxPy_BEGIN_ALLOW_THREADS
;
8316 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
8318 wxPy_END_ALLOW_THREADS
;
8319 if (PyErr_Occurred()) return NULL
;
8320 } Py_INCREF(Py_None
);
8321 _resultobj
= Py_None
;
8325 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
8326 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
* _resultobj
;
8330 PyObject
* _argo0
= 0;
8331 char *_kwnames
[] = { "self","lineSize", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
8337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
8344 wxPy_BEGIN_ALLOW_THREADS
;
8345 wxSlider_SetLineSize(_arg0
,_arg1
);
8347 wxPy_END_ALLOW_THREADS
;
8348 if (PyErr_Occurred()) return NULL
;
8349 } Py_INCREF(Py_None
);
8350 _resultobj
= Py_None
;
8354 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
8355 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
* _resultobj
;
8359 PyObject
* _argo0
= 0;
8360 char *_kwnames
[] = { "self","pageSize", NULL
};
8363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
8366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
8373 wxPy_BEGIN_ALLOW_THREADS
;
8374 wxSlider_SetPageSize(_arg0
,_arg1
);
8376 wxPy_END_ALLOW_THREADS
;
8377 if (PyErr_Occurred()) return NULL
;
8378 } Py_INCREF(Py_None
);
8379 _resultobj
= Py_None
;
8383 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8384 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8385 PyObject
* _resultobj
;
8389 PyObject
* _argo0
= 0;
8390 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
8393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
8403 wxPy_BEGIN_ALLOW_THREADS
;
8404 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
8406 wxPy_END_ALLOW_THREADS
;
8407 if (PyErr_Occurred()) return NULL
;
8408 } Py_INCREF(Py_None
);
8409 _resultobj
= Py_None
;
8413 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
8414 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
* _resultobj
;
8418 PyObject
* _argo0
= 0;
8419 char *_kwnames
[] = { "self","len", NULL
};
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
8425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
8432 wxPy_BEGIN_ALLOW_THREADS
;
8433 wxSlider_SetThumbLength(_arg0
,_arg1
);
8435 wxPy_END_ALLOW_THREADS
;
8436 if (PyErr_Occurred()) return NULL
;
8437 } Py_INCREF(Py_None
);
8438 _resultobj
= Py_None
;
8442 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
8443 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
* _resultobj
;
8447 PyObject
* _argo0
= 0;
8448 char *_kwnames
[] = { "self","tickPos", NULL
};
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
8454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
8461 wxPy_BEGIN_ALLOW_THREADS
;
8462 wxSlider_SetTick(_arg0
,_arg1
);
8464 wxPy_END_ALLOW_THREADS
;
8465 if (PyErr_Occurred()) return NULL
;
8466 } Py_INCREF(Py_None
);
8467 _resultobj
= Py_None
;
8471 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8472 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
* _resultobj
;
8476 PyObject
* _argo0
= 0;
8477 char *_kwnames
[] = { "self","value", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
8490 wxPy_BEGIN_ALLOW_THREADS
;
8491 wxSlider_SetValue(_arg0
,_arg1
);
8493 wxPy_END_ALLOW_THREADS
;
8494 if (PyErr_Occurred()) return NULL
;
8495 } Py_INCREF(Py_None
);
8496 _resultobj
= Py_None
;
8500 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
8503 src
= (wxSpinCtrl
*) ptr
;
8504 dest
= (wxSpinButton
*) src
;
8505 return (void *) dest
;
8508 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
8511 src
= (wxSpinCtrl
*) ptr
;
8512 dest
= (wxControl
*) src
;
8513 return (void *) dest
;
8516 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
8519 src
= (wxSpinCtrl
*) ptr
;
8520 dest
= (wxWindow
*) src
;
8521 return (void *) dest
;
8524 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
8527 src
= (wxSpinCtrl
*) ptr
;
8528 dest
= (wxEvtHandler
*) src
;
8529 return (void *) dest
;
8532 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
8535 src
= (wxSpinCtrl
*) ptr
;
8536 dest
= (wxObject
*) src
;
8537 return (void *) dest
;
8540 #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))
8541 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
* _resultobj
;
8543 wxSpinCtrl
* _result
;
8545 wxWindowID _arg1
= (wxWindowID
) -1;
8546 char * _arg2
= (char *) "";
8547 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8548 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8549 long _arg5
= (long ) wxSP_ARROW_KEYS
;
8550 int _arg6
= (int ) 0;
8551 int _arg7
= (int ) 100;
8552 int _arg8
= (int ) 0;
8553 char * _arg9
= (char *) "wxSpinCtrl";
8554 PyObject
* _argo0
= 0;
8556 PyObject
* _obj3
= 0;
8558 PyObject
* _obj4
= 0;
8559 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
8566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
8575 if (! wxPoint_helper(_obj3
, &_arg3
))
8581 if (! wxSize_helper(_obj4
, &_arg4
))
8585 wxPy_BEGIN_ALLOW_THREADS
;
8586 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
8588 wxPy_END_ALLOW_THREADS
;
8589 if (PyErr_Occurred()) return NULL
;
8591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
8592 _resultobj
= Py_BuildValue("s",_ptemp
);
8595 _resultobj
= Py_None
;
8600 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
8601 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
* _resultobj
;
8605 PyObject
* _argo0
= 0;
8606 char *_kwnames
[] = { "self", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
8619 wxPy_BEGIN_ALLOW_THREADS
;
8620 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
8622 wxPy_END_ALLOW_THREADS
;
8623 if (PyErr_Occurred()) return NULL
;
8624 } _resultobj
= Py_BuildValue("i",_result
);
8628 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
8629 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
* _resultobj
;
8633 PyObject
* _argo0
= 0;
8634 char *_kwnames
[] = { "self", NULL
};
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
8640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
8647 wxPy_BEGIN_ALLOW_THREADS
;
8648 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
8650 wxPy_END_ALLOW_THREADS
;
8651 if (PyErr_Occurred()) return NULL
;
8652 } _resultobj
= Py_BuildValue("i",_result
);
8656 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
8657 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8661 PyObject
* _argo0
= 0;
8662 char *_kwnames
[] = { "self", NULL
};
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
8668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
8675 wxPy_BEGIN_ALLOW_THREADS
;
8676 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
8678 wxPy_END_ALLOW_THREADS
;
8679 if (PyErr_Occurred()) return NULL
;
8680 } _resultobj
= Py_BuildValue("i",_result
);
8684 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8685 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
* _resultobj
;
8690 PyObject
* _argo0
= 0;
8691 char *_kwnames
[] = { "self","min","max", NULL
};
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
8704 wxPy_BEGIN_ALLOW_THREADS
;
8705 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
8707 wxPy_END_ALLOW_THREADS
;
8708 if (PyErr_Occurred()) return NULL
;
8709 } Py_INCREF(Py_None
);
8710 _resultobj
= Py_None
;
8714 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8715 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
* _resultobj
;
8719 PyObject
* _argo0
= 0;
8720 char *_kwnames
[] = { "self","value", NULL
};
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
8726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
8733 wxPy_BEGIN_ALLOW_THREADS
;
8734 wxSpinCtrl_SetValue(_arg0
,_arg1
);
8736 wxPy_END_ALLOW_THREADS
;
8737 if (PyErr_Occurred()) return NULL
;
8738 } Py_INCREF(Py_None
);
8739 _resultobj
= Py_None
;
8743 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
8744 wxToggleButton
*src
;
8746 src
= (wxToggleButton
*) ptr
;
8747 dest
= (wxControl
*) src
;
8748 return (void *) dest
;
8751 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
8752 wxToggleButton
*src
;
8754 src
= (wxToggleButton
*) ptr
;
8755 dest
= (wxWindow
*) src
;
8756 return (void *) dest
;
8759 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
8760 wxToggleButton
*src
;
8762 src
= (wxToggleButton
*) ptr
;
8763 dest
= (wxEvtHandler
*) src
;
8764 return (void *) dest
;
8767 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
8768 wxToggleButton
*src
;
8770 src
= (wxToggleButton
*) ptr
;
8771 dest
= (wxObject
*) src
;
8772 return (void *) dest
;
8775 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
8776 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
* _resultobj
;
8778 wxToggleButton
* _result
;
8782 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8783 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8784 long _arg5
= (long ) 0;
8785 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8786 char * _arg7
= (char *) "toggle";
8787 PyObject
* _argo0
= 0;
8788 PyObject
* _obj2
= 0;
8790 PyObject
* _obj3
= 0;
8792 PyObject
* _obj4
= 0;
8793 PyObject
* _argo6
= 0;
8794 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
8808 #if PYTHON_API_VERSION >= 1009
8809 char* tmpPtr
; int tmpSize
;
8810 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8811 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8814 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8816 _arg2
= new wxString(tmpPtr
, tmpSize
);
8818 if (!PyString_Check(_obj2
)) {
8819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8822 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8828 if (! wxPoint_helper(_obj3
, &_arg3
))
8834 if (! wxSize_helper(_obj4
, &_arg4
))
8838 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
8845 wxPy_BEGIN_ALLOW_THREADS
;
8846 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8848 wxPy_END_ALLOW_THREADS
;
8849 if (PyErr_Occurred()) return NULL
;
8851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
8852 _resultobj
= Py_BuildValue("s",_ptemp
);
8855 _resultobj
= Py_None
;
8864 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8865 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
* _resultobj
;
8867 wxToggleButton
* _arg0
;
8869 PyObject
* _argo0
= 0;
8871 char *_kwnames
[] = { "self","value", NULL
};
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
8877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
8883 _arg1
= (bool ) tempbool1
;
8885 wxPy_BEGIN_ALLOW_THREADS
;
8886 wxToggleButton_SetValue(_arg0
,_arg1
);
8888 wxPy_END_ALLOW_THREADS
;
8889 if (PyErr_Occurred()) return NULL
;
8890 } Py_INCREF(Py_None
);
8891 _resultobj
= Py_None
;
8895 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
8896 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
* _resultobj
;
8899 wxToggleButton
* _arg0
;
8900 PyObject
* _argo0
= 0;
8901 char *_kwnames
[] = { "self", NULL
};
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
8907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
8914 wxPy_BEGIN_ALLOW_THREADS
;
8915 _result
= (bool )wxToggleButton_GetValue(_arg0
);
8917 wxPy_END_ALLOW_THREADS
;
8918 if (PyErr_Occurred()) return NULL
;
8919 } _resultobj
= Py_BuildValue("i",_result
);
8923 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
8924 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
* _resultobj
;
8926 wxToggleButton
* _arg0
;
8928 PyObject
* _argo0
= 0;
8929 PyObject
* _obj1
= 0;
8930 char *_kwnames
[] = { "self","label", NULL
};
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
8936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
8943 #if PYTHON_API_VERSION >= 1009
8944 char* tmpPtr
; int tmpSize
;
8945 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8949 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8951 _arg1
= new wxString(tmpPtr
, tmpSize
);
8953 if (!PyString_Check(_obj1
)) {
8954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8957 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8961 wxPy_BEGIN_ALLOW_THREADS
;
8962 wxToggleButton_SetLabel(_arg0
,*_arg1
);
8964 wxPy_END_ALLOW_THREADS
;
8965 if (PyErr_Occurred()) return NULL
;
8966 } Py_INCREF(Py_None
);
8967 _resultobj
= Py_None
;
8975 static PyMethodDef controlscMethods
[] = {
8976 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8977 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8978 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8979 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
8980 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8981 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8982 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8983 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8984 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8985 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8986 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8987 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
8988 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8989 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8990 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8991 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8992 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8993 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8994 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8995 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8996 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8997 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
8998 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
8999 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9000 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
9001 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
9002 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
9003 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
9004 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
9005 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
9006 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9007 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9008 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
9009 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
9010 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
9011 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9012 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9013 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9014 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9015 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9016 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
9017 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
9018 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
9019 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
9020 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
9021 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9022 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
9074 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
9075 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
9076 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
9077 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
9078 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
9079 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9080 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9081 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9082 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9083 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9084 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
9085 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9086 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9087 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
9088 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9089 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
9090 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
9091 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
9092 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
9093 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
9094 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
9095 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
9096 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
9097 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9098 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
9099 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9100 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
9101 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
9102 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
9103 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
9104 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
9105 { "wxListBox_GetCount", (PyCFunction
) _wrap_wxListBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9106 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9107 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
9108 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
9109 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
9110 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9111 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
9112 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
9113 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9114 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9115 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
9116 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
9117 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9118 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9119 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
9120 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
9121 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
9122 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9123 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
9124 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
9125 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
9126 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9127 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
9128 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
9129 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
9130 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
9131 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
9132 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9133 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
9134 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9135 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
9136 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
9137 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9138 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9139 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
9140 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9141 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9142 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
9143 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9144 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
9145 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
9146 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
9147 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9148 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
9149 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
9150 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9151 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
9152 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
9153 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
9154 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9155 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9156 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
9157 { "wxChoice_GetCount", (PyCFunction
) _wrap_wxChoice_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9158 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9159 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
9160 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9161 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
9162 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
9163 { "wxChoice_Delete", (PyCFunction
) _wrap_wxChoice_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9164 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9165 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
9166 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
9167 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9168 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9169 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
9170 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
9171 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
9172 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
9173 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
9174 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
9175 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
9176 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
9177 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
9178 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
9179 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
9180 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
9181 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
9182 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9183 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9184 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
9185 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
9186 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9187 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9188 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
9189 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
9190 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
9197 * This table is used by the pointer type-checker
9199 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9200 { "_signed_long","_long",0},
9201 { "_wxPrintQuality","_wxCoord",0},
9202 { "_wxPrintQuality","_int",0},
9203 { "_wxPrintQuality","_signed_int",0},
9204 { "_wxPrintQuality","_unsigned_int",0},
9205 { "_wxPrintQuality","_wxWindowID",0},
9206 { "_wxPrintQuality","_uint",0},
9207 { "_wxPrintQuality","_EBool",0},
9208 { "_wxPrintQuality","_size_t",0},
9209 { "_wxPrintQuality","_time_t",0},
9210 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9211 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9212 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9213 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9214 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
9215 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
9216 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9217 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9218 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9219 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9220 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9221 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9222 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9223 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9224 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9225 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9226 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9227 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9228 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9229 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9230 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
9231 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
9232 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9233 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9234 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9235 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9236 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9237 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9238 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
9239 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
9240 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9241 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9242 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
9243 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
9244 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9245 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9246 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9247 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9248 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
9249 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
9250 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
9251 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
9252 { "_byte","_unsigned_char",0},
9253 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
9254 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
9255 { "_long","_unsigned_long",0},
9256 { "_long","_signed_long",0},
9257 { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
9258 { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
9259 { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9260 { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9261 { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
9262 { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject
},
9263 { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
9264 { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
9265 { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
9266 { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
9267 { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9268 { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9269 { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
9270 { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
9271 { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
9272 { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
9273 { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9274 { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9275 { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9276 { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9277 { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
9278 { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
9279 { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
9280 { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
9281 { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
9282 { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
9283 { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
9284 { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
9285 { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
9286 { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
9287 { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
9288 { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
9289 { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
9290 { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
9291 { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
9292 { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
9293 { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9294 { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9295 { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
9296 { "_class_wxObject","_wxButton",SwigwxButtonTowxObject
},
9297 { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject
},
9298 { "_class_wxObject","_wxControl",SwigwxControlTowxObject
},
9299 { "_size_t","_wxCoord",0},
9300 { "_size_t","_wxPrintQuality",0},
9301 { "_size_t","_time_t",0},
9302 { "_size_t","_unsigned_int",0},
9303 { "_size_t","_int",0},
9304 { "_size_t","_wxWindowID",0},
9305 { "_size_t","_uint",0},
9306 { "_uint","_wxCoord",0},
9307 { "_uint","_wxPrintQuality",0},
9308 { "_uint","_time_t",0},
9309 { "_uint","_size_t",0},
9310 { "_uint","_unsigned_int",0},
9311 { "_uint","_int",0},
9312 { "_uint","_wxWindowID",0},
9313 { "_wxChar","_char",0},
9314 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9315 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9316 { "_char","_wxChar",0},
9317 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9318 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9319 { "_EBool","_wxCoord",0},
9320 { "_EBool","_wxPrintQuality",0},
9321 { "_EBool","_signed_int",0},
9322 { "_EBool","_int",0},
9323 { "_EBool","_wxWindowID",0},
9324 { "_unsigned_long","_long",0},
9325 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9326 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9327 { "_signed_int","_wxCoord",0},
9328 { "_signed_int","_wxPrintQuality",0},
9329 { "_signed_int","_EBool",0},
9330 { "_signed_int","_wxWindowID",0},
9331 { "_signed_int","_int",0},
9332 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9333 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9334 { "_WXTYPE","_short",0},
9335 { "_WXTYPE","_signed_short",0},
9336 { "_WXTYPE","_unsigned_short",0},
9337 { "_unsigned_short","_WXTYPE",0},
9338 { "_unsigned_short","_short",0},
9339 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9340 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9341 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9342 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9343 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
9344 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
9345 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9346 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9347 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9348 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9349 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9350 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9351 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9352 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9353 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
9354 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
9355 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9356 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9357 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9358 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9359 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
9360 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
9361 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
9362 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
9363 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
9364 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
9365 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9366 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9367 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
9368 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
9369 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
9370 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
9371 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
9372 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
9373 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9374 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9375 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9376 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9377 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
9378 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
9379 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
9380 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
9381 { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
9382 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
9383 { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9384 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9385 { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
9386 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
9387 { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
9388 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
9389 { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
9390 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
9391 { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9392 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9393 { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
9394 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
9395 { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
9396 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
9397 { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9398 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9399 { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9400 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9401 { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
9402 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
9403 { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
9404 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
9405 { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
9406 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
9407 { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
9408 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
9409 { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
9410 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
9411 { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
9412 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
9413 { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
9414 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
9415 { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
9416 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
9417 { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9418 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9419 { "_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
9420 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
9421 { "_wxObject","_class_wxControl",SwigwxControlTowxObject
},
9422 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
9423 { "_signed_short","_WXTYPE",0},
9424 { "_signed_short","_short",0},
9425 { "_unsigned_char","_byte",0},
9426 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
9427 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
9428 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9429 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9430 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
9431 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
9432 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
9433 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
9434 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
9435 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
9436 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9437 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9438 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
9439 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
9440 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
9441 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
9442 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9443 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9444 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9445 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9446 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
9447 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
9448 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
9449 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
9450 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
9451 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
9452 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
9453 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
9454 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
9455 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
9456 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
9457 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
9458 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
9459 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
9460 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
9461 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
9462 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9463 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9464 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
9465 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
9466 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9467 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9468 { "_unsigned_int","_wxCoord",0},
9469 { "_unsigned_int","_wxPrintQuality",0},
9470 { "_unsigned_int","_time_t",0},
9471 { "_unsigned_int","_size_t",0},
9472 { "_unsigned_int","_uint",0},
9473 { "_unsigned_int","_wxWindowID",0},
9474 { "_unsigned_int","_int",0},
9475 { "_short","_WXTYPE",0},
9476 { "_short","_unsigned_short",0},
9477 { "_short","_signed_short",0},
9478 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
9479 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
9480 { "_wxWindowID","_wxCoord",0},
9481 { "_wxWindowID","_wxPrintQuality",0},
9482 { "_wxWindowID","_time_t",0},
9483 { "_wxWindowID","_size_t",0},
9484 { "_wxWindowID","_EBool",0},
9485 { "_wxWindowID","_uint",0},
9486 { "_wxWindowID","_int",0},
9487 { "_wxWindowID","_signed_int",0},
9488 { "_wxWindowID","_unsigned_int",0},
9489 { "_int","_wxCoord",0},
9490 { "_int","_wxPrintQuality",0},
9491 { "_int","_time_t",0},
9492 { "_int","_size_t",0},
9493 { "_int","_EBool",0},
9494 { "_int","_uint",0},
9495 { "_int","_wxWindowID",0},
9496 { "_int","_unsigned_int",0},
9497 { "_int","_signed_int",0},
9498 { "_time_t","_wxCoord",0},
9499 { "_time_t","_wxPrintQuality",0},
9500 { "_time_t","_unsigned_int",0},
9501 { "_time_t","_int",0},
9502 { "_time_t","_wxWindowID",0},
9503 { "_time_t","_uint",0},
9504 { "_time_t","_size_t",0},
9505 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9506 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9507 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
9508 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
9509 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9510 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9511 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
9512 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
9513 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
9514 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
9515 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
9516 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
9517 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9518 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9519 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
9520 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
9521 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
9522 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
9523 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9524 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9525 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9526 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9527 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
9528 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
9529 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
9530 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
9531 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
9532 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
9533 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
9534 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
9535 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
9536 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
9537 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
9538 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
9539 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
9540 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
9541 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
9542 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
9543 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9544 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9545 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
9546 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
9547 { "_wxCoord","_int",0},
9548 { "_wxCoord","_signed_int",0},
9549 { "_wxCoord","_unsigned_int",0},
9550 { "_wxCoord","_wxWindowID",0},
9551 { "_wxCoord","_uint",0},
9552 { "_wxCoord","_EBool",0},
9553 { "_wxCoord","_size_t",0},
9554 { "_wxCoord","_time_t",0},
9555 { "_wxCoord","_wxPrintQuality",0},
9556 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9557 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9558 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9559 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9560 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
9561 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
9562 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9563 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9564 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9565 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9566 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9567 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9568 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9569 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9570 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9571 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9572 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9573 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9574 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9575 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9576 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
9577 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
9578 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9579 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9580 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9581 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9582 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9583 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9584 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
9585 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
9586 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9587 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9588 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
9589 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
9590 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9591 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9592 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9593 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9594 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
9595 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
9596 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
9597 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
9598 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9599 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9600 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9601 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9602 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
9603 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
9604 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9605 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9606 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9607 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9608 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9609 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9610 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9611 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9612 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
9613 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
9614 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9615 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9616 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9617 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9618 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
9619 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
9620 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
9621 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
9622 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
9623 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
9624 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9625 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9626 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
9627 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
9628 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
9629 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
9630 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
9631 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
9632 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9633 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9634 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9635 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9636 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
9637 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
9638 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
9639 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
9642 static PyObject
*SWIG_globals
;
9646 SWIGEXPORT(void) initcontrolsc() {
9648 SWIG_globals
= SWIG_newvarlink();
9649 m
= Py_InitModule("controlsc", controlscMethods
);
9650 d
= PyModule_GetDict(m
);
9651 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
9652 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
9653 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
9656 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9657 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);