2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
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_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1454 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1459 PyObject
* _argo0
= 0;
1460 PyObject
* _obj1
= 0;
1461 char *_kwnames
[] = { "self","string", NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1474 #if PYTHON_API_VERSION >= 1009
1475 char* tmpPtr
; int tmpSize
;
1476 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1480 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1482 _arg1
= new wxString(tmpPtr
, tmpSize
);
1484 if (!PyString_Check(_obj1
)) {
1485 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1488 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1495 wxPy_END_ALLOW_THREADS
;
1496 if (PyErr_Occurred()) return NULL
;
1497 } _resultobj
= Py_BuildValue("i",_result
);
1505 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1506 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
1517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= (int )wxChoice_GetColumns(_arg0
);
1527 wxPy_END_ALLOW_THREADS
;
1528 if (PyErr_Occurred()) return NULL
;
1529 } _resultobj
= Py_BuildValue("i",_result
);
1533 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1534 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
* _resultobj
;
1538 PyObject
* _argo0
= 0;
1539 char *_kwnames
[] = { "self", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
1545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1552 wxPy_BEGIN_ALLOW_THREADS
;
1553 _result
= (int )wxChoice_GetSelection(_arg0
);
1555 wxPy_END_ALLOW_THREADS
;
1556 if (PyErr_Occurred()) return NULL
;
1557 } _resultobj
= Py_BuildValue("i",_result
);
1561 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1562 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1567 PyObject
* _argo0
= 0;
1568 char *_kwnames
[] = { "self","n", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
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_GetString. Expected _wxChoice_p.");
1581 wxPy_BEGIN_ALLOW_THREADS
;
1582 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1584 wxPy_END_ALLOW_THREADS
;
1585 if (PyErr_Occurred()) return NULL
;
1587 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1595 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1596 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1600 PyObject
* _argo0
= 0;
1601 char *_kwnames
[] = { "self", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1614 wxPy_BEGIN_ALLOW_THREADS
;
1615 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1617 wxPy_END_ALLOW_THREADS
;
1618 if (PyErr_Occurred()) return NULL
;
1620 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1628 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1629 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
* _resultobj
;
1633 PyObject
* _argo0
= 0;
1634 char *_kwnames
[] = { "self", NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Number",_kwnames
,&_argo0
))
1640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 _result
= (int )wxChoice_Number(_arg0
);
1650 wxPy_END_ALLOW_THREADS
;
1651 if (PyErr_Occurred()) return NULL
;
1652 } _resultobj
= Py_BuildValue("i",_result
);
1656 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1657 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1660 int _arg1
= (int ) 1;
1661 PyObject
* _argo0
= 0;
1662 char *_kwnames
[] = { "self","n", NULL
};
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1675 wxPy_BEGIN_ALLOW_THREADS
;
1676 wxChoice_SetColumns(_arg0
,_arg1
);
1678 wxPy_END_ALLOW_THREADS
;
1679 if (PyErr_Occurred()) return NULL
;
1680 } Py_INCREF(Py_None
);
1681 _resultobj
= Py_None
;
1685 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1686 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1690 PyObject
* _argo0
= 0;
1691 char *_kwnames
[] = { "self","n", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_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_SetSelection. Expected _wxChoice_p.");
1704 wxPy_BEGIN_ALLOW_THREADS
;
1705 wxChoice_SetSelection(_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_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1715 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _obj1
= 0;
1721 char *_kwnames
[] = { "self","string", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1734 #if PYTHON_API_VERSION >= 1009
1735 char* tmpPtr
; int tmpSize
;
1736 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1737 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1740 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1742 _arg1
= new wxString(tmpPtr
, tmpSize
);
1744 if (!PyString_Check(_obj1
)) {
1745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1748 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1755 wxPy_END_ALLOW_THREADS
;
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1766 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1769 src
= (wxComboBox
*) ptr
;
1770 dest
= (wxChoice
*) src
;
1771 return (void *) dest
;
1774 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1777 src
= (wxComboBox
*) ptr
;
1778 dest
= (wxControl
*) src
;
1779 return (void *) dest
;
1782 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1785 src
= (wxComboBox
*) ptr
;
1786 dest
= (wxWindow
*) src
;
1787 return (void *) dest
;
1790 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1793 src
= (wxComboBox
*) ptr
;
1794 dest
= (wxEvtHandler
*) src
;
1795 return (void *) dest
;
1798 static void *SwigwxComboBoxTowxObject(void *ptr
) {
1801 src
= (wxComboBox
*) ptr
;
1802 dest
= (wxObject
*) src
;
1803 return (void *) dest
;
1806 #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))
1807 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
* _resultobj
;
1809 wxComboBox
* _result
;
1812 char * _arg2
= (char *) "";
1813 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1814 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1815 int _arg5
= (int ) 0;
1816 wxString
* _arg6
= (wxString
*) NULL
;
1817 long _arg7
= (long ) 0;
1818 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1819 char * _arg9
= (char *) "comboBox";
1820 PyObject
* _argo0
= 0;
1822 PyObject
* _obj3
= 0;
1824 PyObject
* _obj4
= 0;
1825 PyObject
* _obj6
= 0;
1826 PyObject
* _argo8
= 0;
1827 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1843 if (! wxPoint_helper(_obj3
, &_arg3
))
1849 if (! wxSize_helper(_obj4
, &_arg4
))
1854 _arg6
= wxString_LIST_helper(_obj6
);
1855 if (_arg6
== NULL
) {
1860 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1868 _arg5
= PyList_Size(_obj6
);
1875 wxPy_BEGIN_ALLOW_THREADS
;
1876 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1878 wxPy_END_ALLOW_THREADS
;
1879 if (PyErr_Occurred()) return NULL
;
1881 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1882 _resultobj
= Py_BuildValue("s",_ptemp
);
1885 _resultobj
= Py_None
;
1893 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1894 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1898 PyObject
* _argo0
= 0;
1899 PyObject
* _obj1
= 0;
1900 char *_kwnames
[] = { "self","item", NULL
};
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1913 #if PYTHON_API_VERSION >= 1009
1914 char* tmpPtr
; int tmpSize
;
1915 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1919 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1921 _arg1
= new wxString(tmpPtr
, tmpSize
);
1923 if (!PyString_Check(_obj1
)) {
1924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1927 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 wxComboBox_Append(_arg0
,*_arg1
);
1934 wxPy_END_ALLOW_THREADS
;
1935 if (PyErr_Occurred()) return NULL
;
1936 } Py_INCREF(Py_None
);
1937 _resultobj
= Py_None
;
1945 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1946 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1949 PyObject
* _argo0
= 0;
1950 char *_kwnames
[] = { "self", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 wxComboBox_Clear(_arg0
);
1966 wxPy_END_ALLOW_THREADS
;
1967 if (PyErr_Occurred()) return NULL
;
1968 } Py_INCREF(Py_None
);
1969 _resultobj
= Py_None
;
1973 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1974 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1977 PyObject
* _argo0
= 0;
1978 char *_kwnames
[] = { "self", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
1984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1991 wxPy_BEGIN_ALLOW_THREADS
;
1992 wxComboBox_Copy(_arg0
);
1994 wxPy_END_ALLOW_THREADS
;
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2001 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2002 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "self", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2019 wxPy_BEGIN_ALLOW_THREADS
;
2020 wxComboBox_Cut(_arg0
);
2022 wxPy_END_ALLOW_THREADS
;
2023 if (PyErr_Occurred()) return NULL
;
2024 } Py_INCREF(Py_None
);
2025 _resultobj
= Py_None
;
2029 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2030 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2034 PyObject
* _argo0
= 0;
2035 char *_kwnames
[] = { "self","n", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 wxComboBox_Delete(_arg0
,_arg1
);
2051 wxPy_END_ALLOW_THREADS
;
2052 if (PyErr_Occurred()) return NULL
;
2053 } Py_INCREF(Py_None
);
2054 _resultobj
= Py_None
;
2058 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2059 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2064 PyObject
* _argo0
= 0;
2065 PyObject
* _obj1
= 0;
2066 char *_kwnames
[] = { "self","string", NULL
};
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
2072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2079 #if PYTHON_API_VERSION >= 1009
2080 char* tmpPtr
; int tmpSize
;
2081 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2082 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2085 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2087 _arg1
= new wxString(tmpPtr
, tmpSize
);
2089 if (!PyString_Check(_obj1
)) {
2090 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2093 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2097 wxPy_BEGIN_ALLOW_THREADS
;
2098 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2100 wxPy_END_ALLOW_THREADS
;
2101 if (PyErr_Occurred()) return NULL
;
2102 } _resultobj
= Py_BuildValue("i",_result
);
2110 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2111 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2115 PyObject
* _argo0
= 0;
2116 char *_kwnames
[] = { "self", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2132 wxPy_END_ALLOW_THREADS
;
2133 if (PyErr_Occurred()) return NULL
;
2134 } _resultobj
= Py_BuildValue("l",_result
);
2138 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2139 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
* _resultobj
;
2143 PyObject
* _argo0
= 0;
2144 char *_kwnames
[] = { "self", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2157 wxPy_BEGIN_ALLOW_THREADS
;
2158 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2160 wxPy_END_ALLOW_THREADS
;
2161 if (PyErr_Occurred()) return NULL
;
2162 } _resultobj
= Py_BuildValue("l",_result
);
2166 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2167 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2171 PyObject
* _argo0
= 0;
2172 char *_kwnames
[] = { "self", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2185 wxPy_BEGIN_ALLOW_THREADS
;
2186 _result
= (int )wxComboBox_GetSelection(_arg0
);
2188 wxPy_END_ALLOW_THREADS
;
2189 if (PyErr_Occurred()) return NULL
;
2190 } _resultobj
= Py_BuildValue("i",_result
);
2194 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2195 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2200 PyObject
* _argo0
= 0;
2201 char *_kwnames
[] = { "self","n", NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
2207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2214 wxPy_BEGIN_ALLOW_THREADS
;
2215 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2217 wxPy_END_ALLOW_THREADS
;
2218 if (PyErr_Occurred()) return NULL
;
2220 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2228 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2229 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
* _resultobj
;
2233 PyObject
* _argo0
= 0;
2234 char *_kwnames
[] = { "self", NULL
};
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2250 wxPy_END_ALLOW_THREADS
;
2251 if (PyErr_Occurred()) return NULL
;
2253 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2261 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2262 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
* _resultobj
;
2266 PyObject
* _argo0
= 0;
2267 char *_kwnames
[] = { "self", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2280 wxPy_BEGIN_ALLOW_THREADS
;
2281 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2283 wxPy_END_ALLOW_THREADS
;
2284 if (PyErr_Occurred()) return NULL
;
2286 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2294 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
2295 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2296 PyObject
* _resultobj
;
2299 PyObject
* _argo0
= 0;
2300 char *_kwnames
[] = { "self", NULL
};
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Number",_kwnames
,&_argo0
))
2306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
2313 wxPy_BEGIN_ALLOW_THREADS
;
2314 _result
= (int )wxComboBox_Number(_arg0
);
2316 wxPy_END_ALLOW_THREADS
;
2317 if (PyErr_Occurred()) return NULL
;
2318 } _resultobj
= Py_BuildValue("i",_result
);
2322 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2323 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2326 PyObject
* _argo0
= 0;
2327 char *_kwnames
[] = { "self", NULL
};
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2340 wxPy_BEGIN_ALLOW_THREADS
;
2341 wxComboBox_Paste(_arg0
);
2343 wxPy_END_ALLOW_THREADS
;
2344 if (PyErr_Occurred()) return NULL
;
2345 } Py_INCREF(Py_None
);
2346 _resultobj
= Py_None
;
2350 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2351 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2357 PyObject
* _argo0
= 0;
2358 PyObject
* _obj3
= 0;
2359 char *_kwnames
[] = { "self","from","to","text", NULL
};
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2372 #if PYTHON_API_VERSION >= 1009
2373 char* tmpPtr
; int tmpSize
;
2374 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2378 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2380 _arg3
= new wxString(tmpPtr
, tmpSize
);
2382 if (!PyString_Check(_obj3
)) {
2383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2386 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2390 wxPy_BEGIN_ALLOW_THREADS
;
2391 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2393 wxPy_END_ALLOW_THREADS
;
2394 if (PyErr_Occurred()) return NULL
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2404 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2405 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
* _resultobj
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self","from","to", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2424 wxPy_BEGIN_ALLOW_THREADS
;
2425 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2427 wxPy_END_ALLOW_THREADS
;
2428 if (PyErr_Occurred()) return NULL
;
2429 } Py_INCREF(Py_None
);
2430 _resultobj
= Py_None
;
2434 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2435 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
* _resultobj
;
2439 PyObject
* _argo0
= 0;
2440 char *_kwnames
[] = { "self","pos", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2456 wxPy_END_ALLOW_THREADS
;
2457 if (PyErr_Occurred()) return NULL
;
2458 } Py_INCREF(Py_None
);
2459 _resultobj
= Py_None
;
2463 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2464 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2467 PyObject
* _argo0
= 0;
2468 char *_kwnames
[] = { "self", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2481 wxPy_BEGIN_ALLOW_THREADS
;
2482 wxComboBox_SetInsertionPointEnd(_arg0
);
2484 wxPy_END_ALLOW_THREADS
;
2485 if (PyErr_Occurred()) return NULL
;
2486 } Py_INCREF(Py_None
);
2487 _resultobj
= Py_None
;
2491 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2492 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self","n", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 wxComboBox_SetSelection(_arg0
,_arg1
);
2513 wxPy_END_ALLOW_THREADS
;
2514 if (PyErr_Occurred()) return NULL
;
2515 } Py_INCREF(Py_None
);
2516 _resultobj
= Py_None
;
2520 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2521 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self","from","to", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2540 wxPy_BEGIN_ALLOW_THREADS
;
2541 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2543 wxPy_END_ALLOW_THREADS
;
2544 if (PyErr_Occurred()) return NULL
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2550 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2551 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
* _resultobj
;
2555 PyObject
* _argo0
= 0;
2556 PyObject
* _obj1
= 0;
2557 char *_kwnames
[] = { "self","text", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2570 #if PYTHON_API_VERSION >= 1009
2571 char* tmpPtr
; int tmpSize
;
2572 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2576 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2578 _arg1
= new wxString(tmpPtr
, tmpSize
);
2580 if (!PyString_Check(_obj1
)) {
2581 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2584 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2588 wxPy_BEGIN_ALLOW_THREADS
;
2589 wxComboBox_SetValue(_arg0
,*_arg1
);
2591 wxPy_END_ALLOW_THREADS
;
2592 if (PyErr_Occurred()) return NULL
;
2593 } Py_INCREF(Py_None
);
2594 _resultobj
= Py_None
;
2602 static void *SwigwxGaugeTowxControl(void *ptr
) {
2605 src
= (wxGauge
*) ptr
;
2606 dest
= (wxControl
*) src
;
2607 return (void *) dest
;
2610 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2613 src
= (wxGauge
*) ptr
;
2614 dest
= (wxWindow
*) src
;
2615 return (void *) dest
;
2618 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2621 src
= (wxGauge
*) ptr
;
2622 dest
= (wxEvtHandler
*) src
;
2623 return (void *) dest
;
2626 static void *SwigwxGaugeTowxObject(void *ptr
) {
2629 src
= (wxGauge
*) ptr
;
2630 dest
= (wxObject
*) src
;
2631 return (void *) dest
;
2634 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2635 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2641 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2642 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2643 long _arg5
= (long ) wxGA_HORIZONTAL
;
2644 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2645 char * _arg7
= (char *) "gauge";
2646 PyObject
* _argo0
= 0;
2648 PyObject
* _obj3
= 0;
2650 PyObject
* _obj4
= 0;
2651 PyObject
* _argo6
= 0;
2652 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2668 if (! wxPoint_helper(_obj3
, &_arg3
))
2674 if (! wxSize_helper(_obj4
, &_arg4
))
2678 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2688 wxPy_END_ALLOW_THREADS
;
2689 if (PyErr_Occurred()) return NULL
;
2691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2692 _resultobj
= Py_BuildValue("s",_ptemp
);
2695 _resultobj
= Py_None
;
2700 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2701 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2702 PyObject
* _resultobj
;
2705 PyObject
* _argo0
= 0;
2706 char *_kwnames
[] = { "self", NULL
};
2709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2719 wxPy_BEGIN_ALLOW_THREADS
;
2720 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2722 wxPy_END_ALLOW_THREADS
;
2723 if (PyErr_Occurred()) return NULL
;
2724 } _resultobj
= Py_BuildValue("i",_result
);
2728 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2729 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
* _resultobj
;
2733 PyObject
* _argo0
= 0;
2734 char *_kwnames
[] = { "self", NULL
};
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2747 wxPy_BEGIN_ALLOW_THREADS
;
2748 _result
= (int )wxGauge_GetRange(_arg0
);
2750 wxPy_END_ALLOW_THREADS
;
2751 if (PyErr_Occurred()) return NULL
;
2752 } _resultobj
= Py_BuildValue("i",_result
);
2756 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2757 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
* _resultobj
;
2761 PyObject
* _argo0
= 0;
2762 char *_kwnames
[] = { "self", NULL
};
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2775 wxPy_BEGIN_ALLOW_THREADS
;
2776 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2778 wxPy_END_ALLOW_THREADS
;
2779 if (PyErr_Occurred()) return NULL
;
2780 } _resultobj
= Py_BuildValue("i",_result
);
2784 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2785 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2786 PyObject
* _resultobj
;
2789 PyObject
* _argo0
= 0;
2790 char *_kwnames
[] = { "self", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2803 wxPy_BEGIN_ALLOW_THREADS
;
2804 _result
= (int )wxGauge_GetValue(_arg0
);
2806 wxPy_END_ALLOW_THREADS
;
2807 if (PyErr_Occurred()) return NULL
;
2808 } _resultobj
= Py_BuildValue("i",_result
);
2812 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2813 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2817 PyObject
* _argo0
= 0;
2818 char *_kwnames
[] = { "self","width", NULL
};
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 wxGauge_SetBezelFace(_arg0
,_arg1
);
2834 wxPy_END_ALLOW_THREADS
;
2835 if (PyErr_Occurred()) return NULL
;
2836 } Py_INCREF(Py_None
);
2837 _resultobj
= Py_None
;
2841 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2842 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2846 PyObject
* _argo0
= 0;
2847 char *_kwnames
[] = { "self","range", NULL
};
2850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
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_SetRange. Expected _wxGauge_p.");
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 wxGauge_SetRange(_arg0
,_arg1
);
2863 wxPy_END_ALLOW_THREADS
;
2864 if (PyErr_Occurred()) return NULL
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2870 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2871 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2875 PyObject
* _argo0
= 0;
2876 char *_kwnames
[] = { "self","width", NULL
};
2879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2889 wxPy_BEGIN_ALLOW_THREADS
;
2890 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2892 wxPy_END_ALLOW_THREADS
;
2893 if (PyErr_Occurred()) return NULL
;
2894 } Py_INCREF(Py_None
);
2895 _resultobj
= Py_None
;
2899 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2900 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2901 PyObject
* _resultobj
;
2904 PyObject
* _argo0
= 0;
2905 char *_kwnames
[] = { "self","pos", NULL
};
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2918 wxPy_BEGIN_ALLOW_THREADS
;
2919 wxGauge_SetValue(_arg0
,_arg1
);
2921 wxPy_END_ALLOW_THREADS
;
2922 if (PyErr_Occurred()) return NULL
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2928 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2931 src
= (wxStaticBox
*) ptr
;
2932 dest
= (wxControl
*) src
;
2933 return (void *) dest
;
2936 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2939 src
= (wxStaticBox
*) ptr
;
2940 dest
= (wxWindow
*) src
;
2941 return (void *) dest
;
2944 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2947 src
= (wxStaticBox
*) ptr
;
2948 dest
= (wxEvtHandler
*) src
;
2949 return (void *) dest
;
2952 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
2955 src
= (wxStaticBox
*) ptr
;
2956 dest
= (wxObject
*) src
;
2957 return (void *) dest
;
2960 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2961 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxStaticBox
* _result
;
2967 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2968 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2969 long _arg5
= (long ) 0;
2970 char * _arg6
= (char *) "staticBox";
2971 PyObject
* _argo0
= 0;
2972 PyObject
* _obj2
= 0;
2974 PyObject
* _obj3
= 0;
2976 PyObject
* _obj4
= 0;
2977 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2991 #if PYTHON_API_VERSION >= 1009
2992 char* tmpPtr
; int tmpSize
;
2993 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2994 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2997 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2999 _arg2
= new wxString(tmpPtr
, tmpSize
);
3001 if (!PyString_Check(_obj2
)) {
3002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3005 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3011 if (! wxPoint_helper(_obj3
, &_arg3
))
3017 if (! wxSize_helper(_obj4
, &_arg4
))
3021 wxPy_BEGIN_ALLOW_THREADS
;
3022 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3024 wxPy_END_ALLOW_THREADS
;
3025 if (PyErr_Occurred()) return NULL
;
3027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3028 _resultobj
= Py_BuildValue("s",_ptemp
);
3031 _resultobj
= Py_None
;
3040 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3043 src
= (wxStaticLine
*) ptr
;
3044 dest
= (wxControl
*) src
;
3045 return (void *) dest
;
3048 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3051 src
= (wxStaticLine
*) ptr
;
3052 dest
= (wxWindow
*) src
;
3053 return (void *) dest
;
3056 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3059 src
= (wxStaticLine
*) ptr
;
3060 dest
= (wxEvtHandler
*) src
;
3061 return (void *) dest
;
3064 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3067 src
= (wxStaticLine
*) ptr
;
3068 dest
= (wxObject
*) src
;
3069 return (void *) dest
;
3072 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3073 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
* _resultobj
;
3075 wxStaticLine
* _result
;
3078 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3079 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3080 long _arg4
= (long ) wxLI_HORIZONTAL
;
3081 char * _arg5
= (char *) "staticLine";
3082 PyObject
* _argo0
= 0;
3084 PyObject
* _obj2
= 0;
3086 PyObject
* _obj3
= 0;
3087 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
3103 if (! wxPoint_helper(_obj2
, &_arg2
))
3109 if (! wxSize_helper(_obj3
, &_arg3
))
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3116 wxPy_END_ALLOW_THREADS
;
3117 if (PyErr_Occurred()) return NULL
;
3119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3120 _resultobj
= Py_BuildValue("s",_ptemp
);
3123 _resultobj
= Py_None
;
3128 static void *SwigwxStaticTextTowxControl(void *ptr
) {
3131 src
= (wxStaticText
*) ptr
;
3132 dest
= (wxControl
*) src
;
3133 return (void *) dest
;
3136 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
3139 src
= (wxStaticText
*) ptr
;
3140 dest
= (wxWindow
*) src
;
3141 return (void *) dest
;
3144 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
3147 src
= (wxStaticText
*) ptr
;
3148 dest
= (wxEvtHandler
*) src
;
3149 return (void *) dest
;
3152 static void *SwigwxStaticTextTowxObject(void *ptr
) {
3155 src
= (wxStaticText
*) ptr
;
3156 dest
= (wxObject
*) src
;
3157 return (void *) dest
;
3160 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3161 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3162 PyObject
* _resultobj
;
3163 wxStaticText
* _result
;
3167 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3168 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3169 long _arg5
= (long ) 0;
3170 char * _arg6
= (char *) "staticText";
3171 PyObject
* _argo0
= 0;
3172 PyObject
* _obj2
= 0;
3174 PyObject
* _obj3
= 0;
3176 PyObject
* _obj4
= 0;
3177 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
3191 #if PYTHON_API_VERSION >= 1009
3192 char* tmpPtr
; int tmpSize
;
3193 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3197 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3199 _arg2
= new wxString(tmpPtr
, tmpSize
);
3201 if (!PyString_Check(_obj2
)) {
3202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3205 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3211 if (! wxPoint_helper(_obj3
, &_arg3
))
3217 if (! wxSize_helper(_obj4
, &_arg4
))
3221 wxPy_BEGIN_ALLOW_THREADS
;
3222 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3224 wxPy_END_ALLOW_THREADS
;
3225 if (PyErr_Occurred()) return NULL
;
3227 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
3228 _resultobj
= Py_BuildValue("s",_ptemp
);
3231 _resultobj
= Py_None
;
3240 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
3241 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3244 wxStaticText
* _arg0
;
3245 PyObject
* _argo0
= 0;
3246 char *_kwnames
[] = { "self", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
3262 wxPy_END_ALLOW_THREADS
;
3263 if (PyErr_Occurred()) return NULL
;
3265 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3273 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3274 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3276 wxStaticText
* _arg0
;
3278 PyObject
* _argo0
= 0;
3279 PyObject
* _obj1
= 0;
3280 char *_kwnames
[] = { "self","label", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3293 #if PYTHON_API_VERSION >= 1009
3294 char* tmpPtr
; int tmpSize
;
3295 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3299 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3301 _arg1
= new wxString(tmpPtr
, tmpSize
);
3303 if (!PyString_Check(_obj1
)) {
3304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3307 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3311 wxPy_BEGIN_ALLOW_THREADS
;
3312 wxStaticText_SetLabel(_arg0
,*_arg1
);
3314 wxPy_END_ALLOW_THREADS
;
3315 if (PyErr_Occurred()) return NULL
;
3316 } Py_INCREF(Py_None
);
3317 _resultobj
= Py_None
;
3325 static void *SwigwxListBoxTowxControl(void *ptr
) {
3328 src
= (wxListBox
*) ptr
;
3329 dest
= (wxControl
*) src
;
3330 return (void *) dest
;
3333 static void *SwigwxListBoxTowxWindow(void *ptr
) {
3336 src
= (wxListBox
*) ptr
;
3337 dest
= (wxWindow
*) src
;
3338 return (void *) dest
;
3341 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
3344 src
= (wxListBox
*) ptr
;
3345 dest
= (wxEvtHandler
*) src
;
3346 return (void *) dest
;
3349 static void *SwigwxListBoxTowxObject(void *ptr
) {
3352 src
= (wxListBox
*) ptr
;
3353 dest
= (wxObject
*) src
;
3354 return (void *) dest
;
3357 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3358 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3359 PyObject
* _resultobj
;
3360 wxListBox
* _result
;
3363 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3364 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3366 wxString
* _arg5
= (wxString
*) NULL
;
3367 long _arg6
= (long ) 0;
3368 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3369 char * _arg8
= (char *) "listBox";
3370 PyObject
* _argo0
= 0;
3372 PyObject
* _obj2
= 0;
3374 PyObject
* _obj3
= 0;
3375 PyObject
* _obj5
= 0;
3376 PyObject
* _argo7
= 0;
3377 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3393 if (! wxPoint_helper(_obj2
, &_arg2
))
3399 if (! wxSize_helper(_obj3
, &_arg3
))
3404 _arg5
= wxString_LIST_helper(_obj5
);
3405 if (_arg5
== NULL
) {
3410 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3411 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3418 _arg4
= PyList_Size(_obj5
);
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3428 wxPy_END_ALLOW_THREADS
;
3429 if (PyErr_Occurred()) return NULL
;
3431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
3432 _resultobj
= Py_BuildValue("s",_ptemp
);
3435 _resultobj
= Py_None
;
3443 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3444 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3448 PyObject
* _argo0
= 0;
3449 PyObject
* _obj1
= 0;
3450 char *_kwnames
[] = { "self","item", NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
3456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3463 #if PYTHON_API_VERSION >= 1009
3464 char* tmpPtr
; int tmpSize
;
3465 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3466 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3469 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3471 _arg1
= new wxString(tmpPtr
, tmpSize
);
3473 if (!PyString_Check(_obj1
)) {
3474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3477 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3481 wxPy_BEGIN_ALLOW_THREADS
;
3482 wxListBox_Append(_arg0
,*_arg1
);
3484 wxPy_END_ALLOW_THREADS
;
3485 if (PyErr_Occurred()) return NULL
;
3486 } Py_INCREF(Py_None
);
3487 _resultobj
= Py_None
;
3495 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3496 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3499 PyObject
* _argo0
= 0;
3500 char *_kwnames
[] = { "self", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3513 wxPy_BEGIN_ALLOW_THREADS
;
3514 wxListBox_Clear(_arg0
);
3516 wxPy_END_ALLOW_THREADS
;
3517 if (PyErr_Occurred()) return NULL
;
3518 } Py_INCREF(Py_None
);
3519 _resultobj
= Py_None
;
3523 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3524 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","n", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3542 wxPy_BEGIN_ALLOW_THREADS
;
3543 wxListBox_Delete(_arg0
,_arg1
);
3545 wxPy_END_ALLOW_THREADS
;
3546 if (PyErr_Occurred()) return NULL
;
3547 } Py_INCREF(Py_None
);
3548 _resultobj
= Py_None
;
3552 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3553 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self","n", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3571 wxPy_BEGIN_ALLOW_THREADS
;
3572 wxListBox_Deselect(_arg0
,_arg1
);
3574 wxPy_END_ALLOW_THREADS
;
3575 if (PyErr_Occurred()) return NULL
;
3576 } Py_INCREF(Py_None
);
3577 _resultobj
= Py_None
;
3581 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3582 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
* _resultobj
;
3587 PyObject
* _argo0
= 0;
3588 PyObject
* _obj1
= 0;
3589 char *_kwnames
[] = { "self","string", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3602 #if PYTHON_API_VERSION >= 1009
3603 char* tmpPtr
; int tmpSize
;
3604 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3605 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3608 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3610 _arg1
= new wxString(tmpPtr
, tmpSize
);
3612 if (!PyString_Check(_obj1
)) {
3613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3616 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3620 wxPy_BEGIN_ALLOW_THREADS
;
3621 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3623 wxPy_END_ALLOW_THREADS
;
3624 if (PyErr_Occurred()) return NULL
;
3625 } _resultobj
= Py_BuildValue("i",_result
);
3633 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3634 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3635 PyObject
* _resultobj
;
3638 PyObject
* _argo0
= 0;
3639 char *_kwnames
[] = { "self", NULL
};
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3652 wxPy_BEGIN_ALLOW_THREADS
;
3653 _result
= (int )wxListBox_GetSelection(_arg0
);
3655 wxPy_END_ALLOW_THREADS
;
3656 if (PyErr_Occurred()) return NULL
;
3657 } _resultobj
= Py_BuildValue("i",_result
);
3661 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3663 self
->GetSelections(lst
);
3664 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3665 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
3666 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3670 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3691 wxPy_END_ALLOW_THREADS
;
3692 if (PyErr_Occurred()) return NULL
;
3694 _resultobj
= _result
;
3699 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3700 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3706 PyObject
* _argo0
= 0;
3707 PyObject
* _obj2
= 0;
3708 char *_kwnames
[] = { "self","choices","pos", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3721 _arg2
= wxString_LIST_helper(_obj2
);
3722 if (_arg2
== NULL
) {
3728 _arg1
= PyList_Size(_obj2
);
3735 wxPy_BEGIN_ALLOW_THREADS
;
3736 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3738 wxPy_END_ALLOW_THREADS
;
3739 if (PyErr_Occurred()) return NULL
;
3740 } Py_INCREF(Py_None
);
3741 _resultobj
= Py_None
;
3748 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3749 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3754 PyObject
* _argo0
= 0;
3755 char *_kwnames
[] = { "self","n", NULL
};
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3771 wxPy_END_ALLOW_THREADS
;
3772 if (PyErr_Occurred()) return NULL
;
3774 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3782 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3783 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
* _resultobj
;
3787 PyObject
* _argo0
= 0;
3788 char *_kwnames
[] = { "self", NULL
};
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3804 wxPy_END_ALLOW_THREADS
;
3805 if (PyErr_Occurred()) return NULL
;
3807 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3815 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3816 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
* _resultobj
;
3820 PyObject
* _argo0
= 0;
3821 char *_kwnames
[] = { "self", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Number",_kwnames
,&_argo0
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3834 wxPy_BEGIN_ALLOW_THREADS
;
3835 _result
= (int )wxListBox_Number(_arg0
);
3837 wxPy_END_ALLOW_THREADS
;
3838 if (PyErr_Occurred()) return NULL
;
3839 } _resultobj
= Py_BuildValue("i",_result
);
3843 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3844 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
* _resultobj
;
3849 PyObject
* _argo0
= 0;
3850 char *_kwnames
[] = { "self","n", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3866 wxPy_END_ALLOW_THREADS
;
3867 if (PyErr_Occurred()) return NULL
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3872 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3873 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3878 PyObject
* _argo0
= 0;
3879 PyObject
* _obj2
= 0;
3880 char *_kwnames
[] = { "self","choices", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3894 _arg2
= wxString_LIST_helper(_obj2
);
3895 if (_arg2
== NULL
) {
3901 _arg1
= PyList_Size(_obj2
);
3908 wxPy_BEGIN_ALLOW_THREADS
;
3909 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3911 wxPy_END_ALLOW_THREADS
;
3912 if (PyErr_Occurred()) return NULL
;
3913 } Py_INCREF(Py_None
);
3914 _resultobj
= Py_None
;
3921 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3922 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3926 PyObject
* _argo0
= 0;
3927 char *_kwnames
[] = { "self","n", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3940 wxPy_BEGIN_ALLOW_THREADS
;
3941 wxListBox_SetFirstItem(_arg0
,_arg1
);
3943 wxPy_END_ALLOW_THREADS
;
3944 if (PyErr_Occurred()) return NULL
;
3945 } Py_INCREF(Py_None
);
3946 _resultobj
= Py_None
;
3950 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3951 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3955 PyObject
* _argo0
= 0;
3956 PyObject
* _obj1
= 0;
3957 char *_kwnames
[] = { "self","string", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3970 #if PYTHON_API_VERSION >= 1009
3971 char* tmpPtr
; int tmpSize
;
3972 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3973 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3976 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3978 _arg1
= new wxString(tmpPtr
, tmpSize
);
3980 if (!PyString_Check(_obj1
)) {
3981 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3984 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3988 wxPy_BEGIN_ALLOW_THREADS
;
3989 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3991 wxPy_END_ALLOW_THREADS
;
3992 if (PyErr_Occurred()) return NULL
;
3993 } Py_INCREF(Py_None
);
3994 _resultobj
= Py_None
;
4002 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4003 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
* _resultobj
;
4007 bool _arg2
= (bool ) TRUE
;
4008 PyObject
* _argo0
= 0;
4009 int tempbool2
= (int) TRUE
;
4010 char *_kwnames
[] = { "self","n","select", NULL
};
4013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
4022 _arg2
= (bool ) tempbool2
;
4024 wxPy_BEGIN_ALLOW_THREADS
;
4025 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
4027 wxPy_END_ALLOW_THREADS
;
4028 if (PyErr_Occurred()) return NULL
;
4029 } Py_INCREF(Py_None
);
4030 _resultobj
= Py_None
;
4034 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
4035 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4040 PyObject
* _argo0
= 0;
4041 PyObject
* _obj2
= 0;
4042 char *_kwnames
[] = { "self","n","string", NULL
};
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
4055 #if PYTHON_API_VERSION >= 1009
4056 char* tmpPtr
; int tmpSize
;
4057 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4058 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4061 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4063 _arg2
= new wxString(tmpPtr
, tmpSize
);
4065 if (!PyString_Check(_obj2
)) {
4066 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4069 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4073 wxPy_BEGIN_ALLOW_THREADS
;
4074 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
4076 wxPy_END_ALLOW_THREADS
;
4077 if (PyErr_Occurred()) return NULL
;
4078 } Py_INCREF(Py_None
);
4079 _resultobj
= Py_None
;
4087 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
4088 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
* _resultobj
;
4092 bool _arg2
= (bool ) TRUE
;
4093 PyObject
* _argo0
= 0;
4094 PyObject
* _obj1
= 0;
4095 int tempbool2
= (int) TRUE
;
4096 char *_kwnames
[] = { "self","string","select", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
4109 #if PYTHON_API_VERSION >= 1009
4110 char* tmpPtr
; int tmpSize
;
4111 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4115 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4117 _arg1
= new wxString(tmpPtr
, tmpSize
);
4119 if (!PyString_Check(_obj1
)) {
4120 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4123 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4126 _arg2
= (bool ) tempbool2
;
4128 wxPy_BEGIN_ALLOW_THREADS
;
4129 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
4131 wxPy_END_ALLOW_THREADS
;
4132 if (PyErr_Occurred()) return NULL
;
4133 } Py_INCREF(Py_None
);
4134 _resultobj
= Py_None
;
4142 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
4143 wxCheckListBox
*src
;
4145 src
= (wxCheckListBox
*) ptr
;
4146 dest
= (wxListBox
*) src
;
4147 return (void *) dest
;
4150 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
4151 wxCheckListBox
*src
;
4153 src
= (wxCheckListBox
*) ptr
;
4154 dest
= (wxControl
*) src
;
4155 return (void *) dest
;
4158 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
4159 wxCheckListBox
*src
;
4161 src
= (wxCheckListBox
*) ptr
;
4162 dest
= (wxWindow
*) src
;
4163 return (void *) dest
;
4166 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
4167 wxCheckListBox
*src
;
4169 src
= (wxCheckListBox
*) ptr
;
4170 dest
= (wxEvtHandler
*) src
;
4171 return (void *) dest
;
4174 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
4175 wxCheckListBox
*src
;
4177 src
= (wxCheckListBox
*) ptr
;
4178 dest
= (wxObject
*) src
;
4179 return (void *) dest
;
4182 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4183 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4185 wxCheckListBox
* _result
;
4188 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4189 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4190 int _arg4
= (int ) 0;
4191 wxString
* _arg5
= (wxString
*) NULL
;
4192 long _arg6
= (long ) 0;
4193 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4194 char * _arg8
= (char *) "listBox";
4195 PyObject
* _argo0
= 0;
4197 PyObject
* _obj2
= 0;
4199 PyObject
* _obj3
= 0;
4200 PyObject
* _obj5
= 0;
4201 PyObject
* _argo7
= 0;
4202 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
4218 if (! wxPoint_helper(_obj2
, &_arg2
))
4224 if (! wxSize_helper(_obj3
, &_arg3
))
4229 _arg5
= wxString_LIST_helper(_obj5
);
4230 if (_arg5
== NULL
) {
4235 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4236 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
4243 _arg4
= PyList_Size(_obj5
);
4250 wxPy_BEGIN_ALLOW_THREADS
;
4251 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4253 wxPy_END_ALLOW_THREADS
;
4254 if (PyErr_Occurred()) return NULL
;
4256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
4257 _resultobj
= Py_BuildValue("s",_ptemp
);
4260 _resultobj
= Py_None
;
4268 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4269 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4272 wxCheckListBox
* _arg0
;
4274 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self","uiIndex", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
4291 wxPy_END_ALLOW_THREADS
;
4292 if (PyErr_Occurred()) return NULL
;
4293 } _resultobj
= Py_BuildValue("i",_result
);
4297 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4298 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4300 wxCheckListBox
* _arg0
;
4302 int _arg2
= (int ) TRUE
;
4303 PyObject
* _argo0
= 0;
4304 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
4317 wxPy_BEGIN_ALLOW_THREADS
;
4318 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
4320 wxPy_END_ALLOW_THREADS
;
4321 if (PyErr_Occurred()) return NULL
;
4322 } Py_INCREF(Py_None
);
4323 _resultobj
= Py_None
;
4327 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4328 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4330 wxCheckListBox
* _arg0
;
4334 PyObject
* _argo0
= 0;
4335 PyObject
* _obj2
= 0;
4336 char *_kwnames
[] = { "self","choices","pos", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
4349 _arg2
= wxString_LIST_helper(_obj2
);
4350 if (_arg2
== NULL
) {
4356 _arg1
= PyList_Size(_obj2
);
4363 wxPy_BEGIN_ALLOW_THREADS
;
4364 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4366 wxPy_END_ALLOW_THREADS
;
4367 if (PyErr_Occurred()) return NULL
;
4368 } Py_INCREF(Py_None
);
4369 _resultobj
= Py_None
;
4376 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4377 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4380 wxCheckListBox
* _arg0
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4396 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
4398 wxPy_END_ALLOW_THREADS
;
4399 if (PyErr_Occurred()) return NULL
;
4400 } _resultobj
= Py_BuildValue("i",_result
);
4404 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4407 src
= (wxTextCtrl
*) ptr
;
4408 dest
= (wxControl
*) src
;
4409 return (void *) dest
;
4412 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4415 src
= (wxTextCtrl
*) ptr
;
4416 dest
= (wxWindow
*) src
;
4417 return (void *) dest
;
4420 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4423 src
= (wxTextCtrl
*) ptr
;
4424 dest
= (wxEvtHandler
*) src
;
4425 return (void *) dest
;
4428 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
4431 src
= (wxTextCtrl
*) ptr
;
4432 dest
= (wxObject
*) src
;
4433 return (void *) dest
;
4436 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4437 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4439 wxTextCtrl
* _result
;
4442 char * _arg2
= (char *) "";
4443 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4444 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4445 long _arg5
= (long ) 0;
4446 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
4447 char * _arg7
= (char *) "text";
4448 PyObject
* _argo0
= 0;
4450 PyObject
* _obj3
= 0;
4452 PyObject
* _obj4
= 0;
4453 PyObject
* _argo6
= 0;
4454 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4470 if (! wxPoint_helper(_obj3
, &_arg3
))
4476 if (! wxSize_helper(_obj4
, &_arg4
))
4480 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4481 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4487 wxPy_BEGIN_ALLOW_THREADS
;
4488 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4490 wxPy_END_ALLOW_THREADS
;
4491 if (PyErr_Occurred()) return NULL
;
4493 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4494 _resultobj
= Py_BuildValue("s",_ptemp
);
4497 _resultobj
= Py_None
;
4502 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4503 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4520 wxPy_BEGIN_ALLOW_THREADS
;
4521 wxTextCtrl_Clear(_arg0
);
4523 wxPy_END_ALLOW_THREADS
;
4524 if (PyErr_Occurred()) return NULL
;
4525 } Py_INCREF(Py_None
);
4526 _resultobj
= Py_None
;
4530 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4531 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4534 PyObject
* _argo0
= 0;
4535 char *_kwnames
[] = { "self", NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
4541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4548 wxPy_BEGIN_ALLOW_THREADS
;
4549 wxTextCtrl_Copy(_arg0
);
4551 wxPy_END_ALLOW_THREADS
;
4552 if (PyErr_Occurred()) return NULL
;
4553 } Py_INCREF(Py_None
);
4554 _resultobj
= Py_None
;
4558 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4559 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
* _resultobj
;
4562 PyObject
* _argo0
= 0;
4563 char *_kwnames
[] = { "self", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 wxTextCtrl_Cut(_arg0
);
4579 wxPy_END_ALLOW_THREADS
;
4580 if (PyErr_Occurred()) return NULL
;
4581 } Py_INCREF(Py_None
);
4582 _resultobj
= Py_None
;
4586 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4587 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4590 PyObject
* _argo0
= 0;
4591 char *_kwnames
[] = { "self", NULL
};
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
4597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4604 wxPy_BEGIN_ALLOW_THREADS
;
4605 wxTextCtrl_DiscardEdits(_arg0
);
4607 wxPy_END_ALLOW_THREADS
;
4608 if (PyErr_Occurred()) return NULL
;
4609 } Py_INCREF(Py_None
);
4610 _resultobj
= Py_None
;
4614 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4615 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4619 PyObject
* _argo0
= 0;
4620 char *_kwnames
[] = { "self", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
4626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
4633 wxPy_BEGIN_ALLOW_THREADS
;
4634 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
4636 wxPy_END_ALLOW_THREADS
;
4637 if (PyErr_Occurred()) return NULL
;
4638 } _resultobj
= Py_BuildValue("l",_result
);
4642 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
4643 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4647 PyObject
* _argo0
= 0;
4648 char *_kwnames
[] = { "self", NULL
};
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
4654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
4661 wxPy_BEGIN_ALLOW_THREADS
;
4662 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
4664 wxPy_END_ALLOW_THREADS
;
4665 if (PyErr_Occurred()) return NULL
;
4666 } _resultobj
= Py_BuildValue("l",_result
);
4670 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
4671 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4676 PyObject
* _argo0
= 0;
4677 char *_kwnames
[] = { "self","lineNo", NULL
};
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
4683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
4693 wxPy_END_ALLOW_THREADS
;
4694 if (PyErr_Occurred()) return NULL
;
4695 } _resultobj
= Py_BuildValue("i",_result
);
4699 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4700 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
* _resultobj
;
4705 PyObject
* _argo0
= 0;
4706 char *_kwnames
[] = { "self","lineNo", NULL
};
4709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
4712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4719 wxPy_BEGIN_ALLOW_THREADS
;
4720 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
4722 wxPy_END_ALLOW_THREADS
;
4723 if (PyErr_Occurred()) return NULL
;
4725 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4733 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4734 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4735 PyObject
* _resultobj
;
4738 PyObject
* _argo0
= 0;
4739 char *_kwnames
[] = { "self", NULL
};
4742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
4745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4752 wxPy_BEGIN_ALLOW_THREADS
;
4753 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
4755 wxPy_END_ALLOW_THREADS
;
4756 if (PyErr_Occurred()) return NULL
;
4757 } _resultobj
= Py_BuildValue("i",_result
);
4761 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4762 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
* _resultobj
;
4766 PyObject
* _argo0
= 0;
4767 char *_kwnames
[] = { "self", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
4773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4780 wxPy_BEGIN_ALLOW_THREADS
;
4781 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
4783 wxPy_END_ALLOW_THREADS
;
4784 if (PyErr_Occurred()) return NULL
;
4786 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4794 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4795 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4799 PyObject
* _argo0
= 0;
4800 char *_kwnames
[] = { "self", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4813 wxPy_BEGIN_ALLOW_THREADS
;
4814 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
4816 wxPy_END_ALLOW_THREADS
;
4817 if (PyErr_Occurred()) return NULL
;
4818 } _resultobj
= Py_BuildValue("i",_result
);
4822 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4823 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4828 PyObject
* _argo0
= 0;
4829 PyObject
* _obj1
= 0;
4830 char *_kwnames
[] = { "self","filename", NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4843 #if PYTHON_API_VERSION >= 1009
4844 char* tmpPtr
; int tmpSize
;
4845 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4846 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4849 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4851 _arg1
= new wxString(tmpPtr
, tmpSize
);
4853 if (!PyString_Check(_obj1
)) {
4854 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4857 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4864 wxPy_END_ALLOW_THREADS
;
4865 if (PyErr_Occurred()) return NULL
;
4866 } _resultobj
= Py_BuildValue("i",_result
);
4874 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4875 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4878 PyObject
* _argo0
= 0;
4879 char *_kwnames
[] = { "self", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4892 wxPy_BEGIN_ALLOW_THREADS
;
4893 wxTextCtrl_Paste(_arg0
);
4895 wxPy_END_ALLOW_THREADS
;
4896 if (PyErr_Occurred()) return NULL
;
4897 } Py_INCREF(Py_None
);
4898 _resultobj
= Py_None
;
4902 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4903 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
* _resultobj
;
4911 PyObject
* _argo0
= 0;
4912 char *_kwnames
[] = { "self","pos", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4934 wxPy_END_ALLOW_THREADS
;
4935 if (PyErr_Occurred()) return NULL
;
4936 } Py_INCREF(Py_None
);
4937 _resultobj
= Py_None
;
4940 o
= PyInt_FromLong((long) (*_arg2
));
4941 _resultobj
= t_output_helper(_resultobj
, o
);
4945 o
= PyInt_FromLong((long) (*_arg3
));
4946 _resultobj
= t_output_helper(_resultobj
, o
);
4951 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4952 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
* _resultobj
;
4957 PyObject
* _argo0
= 0;
4958 char *_kwnames
[] = { "self","from","to", NULL
};
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4971 wxPy_BEGIN_ALLOW_THREADS
;
4972 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4974 wxPy_END_ALLOW_THREADS
;
4975 if (PyErr_Occurred()) return NULL
;
4976 } Py_INCREF(Py_None
);
4977 _resultobj
= Py_None
;
4981 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4982 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4988 PyObject
* _argo0
= 0;
4989 PyObject
* _obj3
= 0;
4990 char *_kwnames
[] = { "self","from","to","value", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
5003 #if PYTHON_API_VERSION >= 1009
5004 char* tmpPtr
; int tmpSize
;
5005 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5009 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5011 _arg3
= new wxString(tmpPtr
, tmpSize
);
5013 if (!PyString_Check(_obj3
)) {
5014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5017 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5021 wxPy_BEGIN_ALLOW_THREADS
;
5022 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
5024 wxPy_END_ALLOW_THREADS
;
5025 if (PyErr_Occurred()) return NULL
;
5026 } Py_INCREF(Py_None
);
5027 _resultobj
= Py_None
;
5035 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
5036 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5041 PyObject
* _argo0
= 0;
5042 PyObject
* _obj1
= 0;
5043 char *_kwnames
[] = { "self","filename", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
5049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
5056 #if PYTHON_API_VERSION >= 1009
5057 char* tmpPtr
; int tmpSize
;
5058 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5059 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5062 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5064 _arg1
= new wxString(tmpPtr
, tmpSize
);
5066 if (!PyString_Check(_obj1
)) {
5067 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5070 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5074 wxPy_BEGIN_ALLOW_THREADS
;
5075 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
5077 wxPy_END_ALLOW_THREADS
;
5078 if (PyErr_Occurred()) return NULL
;
5079 } _resultobj
= Py_BuildValue("i",_result
);
5087 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
5088 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5092 PyObject
* _argo0
= 0;
5094 char *_kwnames
[] = { "self","editable", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
5106 _arg1
= (bool ) tempbool1
;
5108 wxPy_BEGIN_ALLOW_THREADS
;
5109 wxTextCtrl_SetEditable(_arg0
,_arg1
);
5111 wxPy_END_ALLOW_THREADS
;
5112 if (PyErr_Occurred()) return NULL
;
5113 } Py_INCREF(Py_None
);
5114 _resultobj
= Py_None
;
5118 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
5119 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
* _resultobj
;
5123 PyObject
* _argo0
= 0;
5124 char *_kwnames
[] = { "self","pos", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
5137 wxPy_BEGIN_ALLOW_THREADS
;
5138 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
5140 wxPy_END_ALLOW_THREADS
;
5141 if (PyErr_Occurred()) return NULL
;
5142 } Py_INCREF(Py_None
);
5143 _resultobj
= Py_None
;
5147 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
5148 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
* _resultobj
;
5151 PyObject
* _argo0
= 0;
5152 char *_kwnames
[] = { "self", NULL
};
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
5158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
5165 wxPy_BEGIN_ALLOW_THREADS
;
5166 wxTextCtrl_SetInsertionPointEnd(_arg0
);
5168 wxPy_END_ALLOW_THREADS
;
5169 if (PyErr_Occurred()) return NULL
;
5170 } Py_INCREF(Py_None
);
5171 _resultobj
= Py_None
;
5175 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5176 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5181 PyObject
* _argo0
= 0;
5182 char *_kwnames
[] = { "self","from","to", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
5195 wxPy_BEGIN_ALLOW_THREADS
;
5196 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
5198 wxPy_END_ALLOW_THREADS
;
5199 if (PyErr_Occurred()) return NULL
;
5200 } Py_INCREF(Py_None
);
5201 _resultobj
= Py_None
;
5205 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5206 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
* _resultobj
;
5210 PyObject
* _argo0
= 0;
5211 PyObject
* _obj1
= 0;
5212 char *_kwnames
[] = { "self","value", NULL
};
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5225 #if PYTHON_API_VERSION >= 1009
5226 char* tmpPtr
; int tmpSize
;
5227 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5228 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5231 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5233 _arg1
= new wxString(tmpPtr
, tmpSize
);
5235 if (!PyString_Check(_obj1
)) {
5236 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5239 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5243 wxPy_BEGIN_ALLOW_THREADS
;
5244 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5246 wxPy_END_ALLOW_THREADS
;
5247 if (PyErr_Occurred()) return NULL
;
5248 } Py_INCREF(Py_None
);
5249 _resultobj
= Py_None
;
5257 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5258 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5262 PyObject
* _argo0
= 0;
5263 char *_kwnames
[] = { "self","pos", NULL
};
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
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_ShowPosition. Expected _wxTextCtrl_p.");
5276 wxPy_BEGIN_ALLOW_THREADS
;
5277 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
5279 wxPy_END_ALLOW_THREADS
;
5280 if (PyErr_Occurred()) return NULL
;
5281 } Py_INCREF(Py_None
);
5282 _resultobj
= Py_None
;
5286 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5287 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
* _resultobj
;
5291 PyObject
* _argo0
= 0;
5292 PyObject
* _obj1
= 0;
5293 char *_kwnames
[] = { "self","text", NULL
};
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
5299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5306 #if PYTHON_API_VERSION >= 1009
5307 char* tmpPtr
; int tmpSize
;
5308 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5312 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5314 _arg1
= new wxString(tmpPtr
, tmpSize
);
5316 if (!PyString_Check(_obj1
)) {
5317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5320 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5324 wxPy_BEGIN_ALLOW_THREADS
;
5325 wxTextCtrl_WriteText(_arg0
,*_arg1
);
5327 wxPy_END_ALLOW_THREADS
;
5328 if (PyErr_Occurred()) return NULL
;
5329 } Py_INCREF(Py_None
);
5330 _resultobj
= Py_None
;
5338 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5339 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5343 PyObject
* _argo0
= 0;
5344 PyObject
* _obj1
= 0;
5345 char *_kwnames
[] = { "self","text", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5358 #if PYTHON_API_VERSION >= 1009
5359 char* tmpPtr
; int tmpSize
;
5360 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5361 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5364 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5366 _arg1
= new wxString(tmpPtr
, tmpSize
);
5368 if (!PyString_Check(_obj1
)) {
5369 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5372 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5376 wxPy_BEGIN_ALLOW_THREADS
;
5377 wxTextCtrl_AppendText(_arg0
,*_arg1
);
5379 wxPy_END_ALLOW_THREADS
;
5380 if (PyErr_Occurred()) return NULL
;
5381 } Py_INCREF(Py_None
);
5382 _resultobj
= Py_None
;
5390 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5391 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5397 PyObject
* _argo0
= 0;
5398 char *_kwnames
[] = { "self","x","y", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
5411 wxPy_BEGIN_ALLOW_THREADS
;
5412 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
5414 wxPy_END_ALLOW_THREADS
;
5415 if (PyErr_Occurred()) return NULL
;
5416 } _resultobj
= Py_BuildValue("l",_result
);
5420 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5421 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
* _resultobj
;
5425 PyObject
* _argo0
= 0;
5426 char *_kwnames
[] = { "self", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
5432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
5439 wxPy_BEGIN_ALLOW_THREADS
;
5440 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
5442 wxPy_END_ALLOW_THREADS
;
5443 if (PyErr_Occurred()) return NULL
;
5444 } _resultobj
= Py_BuildValue("i",_result
);
5448 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5449 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5453 PyObject
* _argo0
= 0;
5454 char *_kwnames
[] = { "self", NULL
};
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
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_CanCut. Expected _wxTextCtrl_p.");
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
5470 wxPy_END_ALLOW_THREADS
;
5471 if (PyErr_Occurred()) return NULL
;
5472 } _resultobj
= Py_BuildValue("i",_result
);
5476 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5477 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
* _resultobj
;
5481 PyObject
* _argo0
= 0;
5482 char *_kwnames
[] = { "self", NULL
};
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5495 wxPy_BEGIN_ALLOW_THREADS
;
5496 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5498 wxPy_END_ALLOW_THREADS
;
5499 if (PyErr_Occurred()) return NULL
;
5500 } _resultobj
= Py_BuildValue("i",_result
);
5504 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5505 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5509 PyObject
* _argo0
= 0;
5510 char *_kwnames
[] = { "self", NULL
};
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
5516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5523 wxPy_BEGIN_ALLOW_THREADS
;
5524 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
5526 wxPy_END_ALLOW_THREADS
;
5527 if (PyErr_Occurred()) return NULL
;
5528 } _resultobj
= Py_BuildValue("i",_result
);
5532 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5533 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5537 PyObject
* _argo0
= 0;
5538 char *_kwnames
[] = { "self", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5551 wxPy_BEGIN_ALLOW_THREADS
;
5552 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
5554 wxPy_END_ALLOW_THREADS
;
5555 if (PyErr_Occurred()) return NULL
;
5556 } _resultobj
= Py_BuildValue("i",_result
);
5560 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5561 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5568 PyObject
* _argo0
= 0;
5569 char *_kwnames
[] = { "self", NULL
};
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
5581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5588 wxPy_BEGIN_ALLOW_THREADS
;
5589 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
5591 wxPy_END_ALLOW_THREADS
;
5592 if (PyErr_Occurred()) return NULL
;
5593 } Py_INCREF(Py_None
);
5594 _resultobj
= Py_None
;
5597 o
= PyInt_FromLong((long) (*_arg1
));
5598 _resultobj
= t_output_helper(_resultobj
, o
);
5602 o
= PyInt_FromLong((long) (*_arg2
));
5603 _resultobj
= t_output_helper(_resultobj
, o
);
5608 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5609 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5613 PyObject
* _argo0
= 0;
5614 char *_kwnames
[] = { "self", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
5627 wxPy_BEGIN_ALLOW_THREADS
;
5628 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
5630 wxPy_END_ALLOW_THREADS
;
5631 if (PyErr_Occurred()) return NULL
;
5632 } _resultobj
= Py_BuildValue("i",_result
);
5636 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5637 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5640 PyObject
* _argo0
= 0;
5641 char *_kwnames
[] = { "self", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 wxTextCtrl_Undo(_arg0
);
5657 wxPy_END_ALLOW_THREADS
;
5658 if (PyErr_Occurred()) return NULL
;
5659 } Py_INCREF(Py_None
);
5660 _resultobj
= Py_None
;
5664 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
5665 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5668 PyObject
* _argo0
= 0;
5669 char *_kwnames
[] = { "self", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
5682 wxPy_BEGIN_ALLOW_THREADS
;
5683 wxTextCtrl_Redo(_arg0
);
5685 wxPy_END_ALLOW_THREADS
;
5686 if (PyErr_Occurred()) return NULL
;
5687 } Py_INCREF(Py_None
);
5688 _resultobj
= Py_None
;
5692 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
5693 self
->AppendText(text
+ '\n');
5695 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5699 PyObject
* _argo0
= 0;
5700 PyObject
* _obj1
= 0;
5701 char *_kwnames
[] = { "self","text", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
5714 #if PYTHON_API_VERSION >= 1009
5715 char* tmpPtr
; int tmpSize
;
5716 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5720 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5722 _arg1
= new wxString(tmpPtr
, tmpSize
);
5724 if (!PyString_Check(_obj1
)) {
5725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5728 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5732 wxPy_BEGIN_ALLOW_THREADS
;
5733 wxTextCtrl_write(_arg0
,*_arg1
);
5735 wxPy_END_ALLOW_THREADS
;
5736 if (PyErr_Occurred()) return NULL
;
5737 } Py_INCREF(Py_None
);
5738 _resultobj
= Py_None
;
5746 static void *SwigwxScrollBarTowxControl(void *ptr
) {
5749 src
= (wxScrollBar
*) ptr
;
5750 dest
= (wxControl
*) src
;
5751 return (void *) dest
;
5754 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
5757 src
= (wxScrollBar
*) ptr
;
5758 dest
= (wxWindow
*) src
;
5759 return (void *) dest
;
5762 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
5765 src
= (wxScrollBar
*) ptr
;
5766 dest
= (wxEvtHandler
*) src
;
5767 return (void *) dest
;
5770 static void *SwigwxScrollBarTowxObject(void *ptr
) {
5773 src
= (wxScrollBar
*) ptr
;
5774 dest
= (wxObject
*) src
;
5775 return (void *) dest
;
5778 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5779 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5781 wxScrollBar
* _result
;
5783 wxWindowID _arg1
= (wxWindowID
) -1;
5784 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5785 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5786 long _arg4
= (long ) wxSB_HORIZONTAL
;
5787 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5788 char * _arg6
= (char *) "scrollBar";
5789 PyObject
* _argo0
= 0;
5791 PyObject
* _obj2
= 0;
5793 PyObject
* _obj3
= 0;
5794 PyObject
* _argo5
= 0;
5795 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
5811 if (! wxPoint_helper(_obj2
, &_arg2
))
5817 if (! wxSize_helper(_obj3
, &_arg3
))
5821 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
5828 wxPy_BEGIN_ALLOW_THREADS
;
5829 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5831 wxPy_END_ALLOW_THREADS
;
5832 if (PyErr_Occurred()) return NULL
;
5834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
5835 _resultobj
= Py_BuildValue("s",_ptemp
);
5838 _resultobj
= Py_None
;
5843 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5844 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5847 wxScrollBar
* _arg0
;
5848 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5862 wxPy_BEGIN_ALLOW_THREADS
;
5863 _result
= (int )wxScrollBar_GetRange(_arg0
);
5865 wxPy_END_ALLOW_THREADS
;
5866 if (PyErr_Occurred()) return NULL
;
5867 } _resultobj
= Py_BuildValue("i",_result
);
5871 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5872 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5875 wxScrollBar
* _arg0
;
5876 PyObject
* _argo0
= 0;
5877 char *_kwnames
[] = { "self", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5890 wxPy_BEGIN_ALLOW_THREADS
;
5891 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
5893 wxPy_END_ALLOW_THREADS
;
5894 if (PyErr_Occurred()) return NULL
;
5895 } _resultobj
= Py_BuildValue("i",_result
);
5899 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5900 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
* _resultobj
;
5903 wxScrollBar
* _arg0
;
5904 PyObject
* _argo0
= 0;
5905 char *_kwnames
[] = { "self", NULL
};
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
5911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5918 wxPy_BEGIN_ALLOW_THREADS
;
5919 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
5921 wxPy_END_ALLOW_THREADS
;
5922 if (PyErr_Occurred()) return NULL
;
5923 } _resultobj
= Py_BuildValue("i",_result
);
5927 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5928 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5931 wxScrollBar
* _arg0
;
5932 PyObject
* _argo0
= 0;
5933 char *_kwnames
[] = { "self", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5946 wxPy_BEGIN_ALLOW_THREADS
;
5947 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
5949 wxPy_END_ALLOW_THREADS
;
5950 if (PyErr_Occurred()) return NULL
;
5951 } _resultobj
= Py_BuildValue("i",_result
);
5955 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5956 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxScrollBar
* _arg0
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self","viewStart", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
5977 wxPy_END_ALLOW_THREADS
;
5978 if (PyErr_Occurred()) return NULL
;
5979 } Py_INCREF(Py_None
);
5980 _resultobj
= Py_None
;
5984 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5985 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5987 wxScrollBar
* _arg0
;
5992 bool _arg5
= (bool ) TRUE
;
5993 PyObject
* _argo0
= 0;
5994 int tempbool5
= (int) TRUE
;
5995 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
6007 _arg5
= (bool ) tempbool5
;
6009 wxPy_BEGIN_ALLOW_THREADS
;
6010 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6012 wxPy_END_ALLOW_THREADS
;
6013 if (PyErr_Occurred()) return NULL
;
6014 } Py_INCREF(Py_None
);
6015 _resultobj
= Py_None
;
6019 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
6022 src
= (wxSpinButton
*) ptr
;
6023 dest
= (wxControl
*) src
;
6024 return (void *) dest
;
6027 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
6030 src
= (wxSpinButton
*) ptr
;
6031 dest
= (wxWindow
*) src
;
6032 return (void *) dest
;
6035 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
6038 src
= (wxSpinButton
*) ptr
;
6039 dest
= (wxEvtHandler
*) src
;
6040 return (void *) dest
;
6043 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
6046 src
= (wxSpinButton
*) ptr
;
6047 dest
= (wxObject
*) src
;
6048 return (void *) dest
;
6051 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6052 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6054 wxSpinButton
* _result
;
6056 wxWindowID _arg1
= (wxWindowID
) -1;
6057 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6058 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6059 long _arg4
= (long ) wxSP_HORIZONTAL
;
6060 char * _arg5
= (char *) "spinButton";
6061 PyObject
* _argo0
= 0;
6063 PyObject
* _obj2
= 0;
6065 PyObject
* _obj3
= 0;
6066 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
6082 if (! wxPoint_helper(_obj2
, &_arg2
))
6088 if (! wxSize_helper(_obj3
, &_arg3
))
6092 wxPy_BEGIN_ALLOW_THREADS
;
6093 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6095 wxPy_END_ALLOW_THREADS
;
6096 if (PyErr_Occurred()) return NULL
;
6098 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
6099 _resultobj
= Py_BuildValue("s",_ptemp
);
6102 _resultobj
= Py_None
;
6107 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
6108 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6111 wxSpinButton
* _arg0
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= (int )wxSpinButton_GetMax(_arg0
);
6129 wxPy_END_ALLOW_THREADS
;
6130 if (PyErr_Occurred()) return NULL
;
6131 } _resultobj
= Py_BuildValue("i",_result
);
6135 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
6136 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6137 PyObject
* _resultobj
;
6139 wxSpinButton
* _arg0
;
6140 PyObject
* _argo0
= 0;
6141 char *_kwnames
[] = { "self", NULL
};
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
6147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
6154 wxPy_BEGIN_ALLOW_THREADS
;
6155 _result
= (int )wxSpinButton_GetMin(_arg0
);
6157 wxPy_END_ALLOW_THREADS
;
6158 if (PyErr_Occurred()) return NULL
;
6159 } _resultobj
= Py_BuildValue("i",_result
);
6163 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
6164 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6167 wxSpinButton
* _arg0
;
6168 PyObject
* _argo0
= 0;
6169 char *_kwnames
[] = { "self", NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
6175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
6182 wxPy_BEGIN_ALLOW_THREADS
;
6183 _result
= (int )wxSpinButton_GetValue(_arg0
);
6185 wxPy_END_ALLOW_THREADS
;
6186 if (PyErr_Occurred()) return NULL
;
6187 } _resultobj
= Py_BuildValue("i",_result
);
6191 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6192 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
* _resultobj
;
6194 wxSpinButton
* _arg0
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self","min","max", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
6211 wxPy_BEGIN_ALLOW_THREADS
;
6212 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
6214 wxPy_END_ALLOW_THREADS
;
6215 if (PyErr_Occurred()) return NULL
;
6216 } Py_INCREF(Py_None
);
6217 _resultobj
= Py_None
;
6221 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6222 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6224 wxSpinButton
* _arg0
;
6226 PyObject
* _argo0
= 0;
6227 char *_kwnames
[] = { "self","value", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
6240 wxPy_BEGIN_ALLOW_THREADS
;
6241 wxSpinButton_SetValue(_arg0
,_arg1
);
6243 wxPy_END_ALLOW_THREADS
;
6244 if (PyErr_Occurred()) return NULL
;
6245 } Py_INCREF(Py_None
);
6246 _resultobj
= Py_None
;
6250 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
6251 wxStaticBitmap
*src
;
6253 src
= (wxStaticBitmap
*) ptr
;
6254 dest
= (wxControl
*) src
;
6255 return (void *) dest
;
6258 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
6259 wxStaticBitmap
*src
;
6261 src
= (wxStaticBitmap
*) ptr
;
6262 dest
= (wxWindow
*) src
;
6263 return (void *) dest
;
6266 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
6267 wxStaticBitmap
*src
;
6269 src
= (wxStaticBitmap
*) ptr
;
6270 dest
= (wxEvtHandler
*) src
;
6271 return (void *) dest
;
6274 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
6275 wxStaticBitmap
*src
;
6277 src
= (wxStaticBitmap
*) ptr
;
6278 dest
= (wxObject
*) src
;
6279 return (void *) dest
;
6282 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6283 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6285 wxStaticBitmap
* _result
;
6289 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6290 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6291 long _arg5
= (long ) 0;
6292 char * _arg6
= (char *) "staticBitmap";
6293 PyObject
* _argo0
= 0;
6294 PyObject
* _argo2
= 0;
6296 PyObject
* _obj3
= 0;
6298 PyObject
* _obj4
= 0;
6299 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6313 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6322 if (! wxPoint_helper(_obj3
, &_arg3
))
6328 if (! wxSize_helper(_obj4
, &_arg4
))
6332 wxPy_BEGIN_ALLOW_THREADS
;
6333 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6335 wxPy_END_ALLOW_THREADS
;
6336 if (PyErr_Occurred()) return NULL
;
6338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
6339 _resultobj
= Py_BuildValue("s",_ptemp
);
6342 _resultobj
= Py_None
;
6347 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6348 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6351 wxStaticBitmap
* _arg0
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6367 wxPy_BEGIN_ALLOW_THREADS
;
6368 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
6369 _result
= (wxBitmap
*) &_result_ref
;
6371 wxPy_END_ALLOW_THREADS
;
6372 if (PyErr_Occurred()) return NULL
;
6374 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6375 _resultobj
= Py_BuildValue("s",_ptemp
);
6378 _resultobj
= Py_None
;
6383 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6384 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6386 wxStaticBitmap
* _arg0
;
6388 PyObject
* _argo0
= 0;
6389 PyObject
* _argo1
= 0;
6390 char *_kwnames
[] = { "self","bitmap", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
6396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
6403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
6410 wxPy_BEGIN_ALLOW_THREADS
;
6411 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
6413 wxPy_END_ALLOW_THREADS
;
6414 if (PyErr_Occurred()) return NULL
;
6415 } Py_INCREF(Py_None
);
6416 _resultobj
= Py_None
;
6420 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
6421 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6423 wxStaticBitmap
* _arg0
;
6425 PyObject
* _argo0
= 0;
6426 PyObject
* _argo1
= 0;
6427 char *_kwnames
[] = { "self","icon", NULL
};
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
6433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
6440 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6441 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
6447 wxPy_BEGIN_ALLOW_THREADS
;
6448 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
6450 wxPy_END_ALLOW_THREADS
;
6451 if (PyErr_Occurred()) return NULL
;
6452 } Py_INCREF(Py_None
);
6453 _resultobj
= Py_None
;
6457 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
6460 src
= (wxRadioBox
*) ptr
;
6461 dest
= (wxControl
*) src
;
6462 return (void *) dest
;
6465 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
6468 src
= (wxRadioBox
*) ptr
;
6469 dest
= (wxWindow
*) src
;
6470 return (void *) dest
;
6473 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
6476 src
= (wxRadioBox
*) ptr
;
6477 dest
= (wxEvtHandler
*) src
;
6478 return (void *) dest
;
6481 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
6484 src
= (wxRadioBox
*) ptr
;
6485 dest
= (wxObject
*) src
;
6486 return (void *) dest
;
6489 #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))
6490 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6492 wxRadioBox
* _result
;
6496 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6497 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6498 int _arg5
= (int ) 0;
6499 wxString
* _arg6
= (wxString
*) NULL
;
6500 int _arg7
= (int ) 0;
6501 long _arg8
= (long ) wxRA_HORIZONTAL
;
6502 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
6503 char * _arg10
= (char *) "radioBox";
6504 PyObject
* _argo0
= 0;
6505 PyObject
* _obj2
= 0;
6507 PyObject
* _obj3
= 0;
6509 PyObject
* _obj4
= 0;
6510 PyObject
* _obj6
= 0;
6511 PyObject
* _argo9
= 0;
6512 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
6519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
6526 #if PYTHON_API_VERSION >= 1009
6527 char* tmpPtr
; int tmpSize
;
6528 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6529 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6532 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6534 _arg2
= new wxString(tmpPtr
, tmpSize
);
6536 if (!PyString_Check(_obj2
)) {
6537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6540 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6546 if (! wxPoint_helper(_obj3
, &_arg3
))
6552 if (! wxSize_helper(_obj4
, &_arg4
))
6557 _arg6
= wxString_LIST_helper(_obj6
);
6558 if (_arg6
== NULL
) {
6563 if (_argo9
== Py_None
) { _arg9
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
6571 _arg5
= PyList_Size(_obj6
);
6578 wxPy_BEGIN_ALLOW_THREADS
;
6579 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
6581 wxPy_END_ALLOW_THREADS
;
6582 if (PyErr_Occurred()) return NULL
;
6584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
6585 _resultobj
= Py_BuildValue("s",_ptemp
);
6588 _resultobj
= Py_None
;
6600 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6601 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6605 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self","enable", NULL
};
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
6613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
6619 _arg1
= (bool ) tempbool1
;
6621 wxPy_BEGIN_ALLOW_THREADS
;
6622 wxRadioBox_Enable(_arg0
,_arg1
);
6624 wxPy_END_ALLOW_THREADS
;
6625 if (PyErr_Occurred()) return NULL
;
6626 } Py_INCREF(Py_None
);
6627 _resultobj
= Py_None
;
6631 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6632 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
* _resultobj
;
6637 PyObject
* _argo0
= 0;
6639 char *_kwnames
[] = { "self","n","enable", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
6651 _arg2
= (bool ) tempbool2
;
6653 wxPy_BEGIN_ALLOW_THREADS
;
6654 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
6656 wxPy_END_ALLOW_THREADS
;
6657 if (PyErr_Occurred()) return NULL
;
6658 } Py_INCREF(Py_None
);
6659 _resultobj
= Py_None
;
6663 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
6664 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6669 PyObject
* _argo0
= 0;
6670 PyObject
* _obj1
= 0;
6671 char *_kwnames
[] = { "self","string", NULL
};
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
6677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
6684 #if PYTHON_API_VERSION >= 1009
6685 char* tmpPtr
; int tmpSize
;
6686 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6690 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6692 _arg1
= new wxString(tmpPtr
, tmpSize
);
6694 if (!PyString_Check(_obj1
)) {
6695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6698 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6702 wxPy_BEGIN_ALLOW_THREADS
;
6703 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
6705 wxPy_END_ALLOW_THREADS
;
6706 if (PyErr_Occurred()) return NULL
;
6707 } _resultobj
= Py_BuildValue("i",_result
);
6715 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6716 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6721 PyObject
* _argo0
= 0;
6722 char *_kwnames
[] = { "self","n", NULL
};
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
6728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
6735 wxPy_BEGIN_ALLOW_THREADS
;
6736 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
6738 wxPy_END_ALLOW_THREADS
;
6739 if (PyErr_Occurred()) return NULL
;
6741 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6749 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
6750 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6754 PyObject
* _argo0
= 0;
6755 char *_kwnames
[] = { "self", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
6768 wxPy_BEGIN_ALLOW_THREADS
;
6769 _result
= (int )wxRadioBox_GetSelection(_arg0
);
6771 wxPy_END_ALLOW_THREADS
;
6772 if (PyErr_Occurred()) return NULL
;
6773 } _resultobj
= Py_BuildValue("i",_result
);
6777 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
6778 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6783 PyObject
* _argo0
= 0;
6784 char *_kwnames
[] = { "self","n", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
6797 wxPy_BEGIN_ALLOW_THREADS
;
6798 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
6800 wxPy_END_ALLOW_THREADS
;
6801 if (PyErr_Occurred()) return NULL
;
6803 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6811 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6812 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
* _resultobj
;
6816 PyObject
* _argo0
= 0;
6817 char *_kwnames
[] = { "self", NULL
};
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
6823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
6830 wxPy_BEGIN_ALLOW_THREADS
;
6831 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
6833 wxPy_END_ALLOW_THREADS
;
6834 if (PyErr_Occurred()) return NULL
;
6836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6844 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
6845 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6849 PyObject
* _argo0
= 0;
6850 char *_kwnames
[] = { "self", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
6863 wxPy_BEGIN_ALLOW_THREADS
;
6864 _result
= (int )wxRadioBox_Number(_arg0
);
6866 wxPy_END_ALLOW_THREADS
;
6867 if (PyErr_Occurred()) return NULL
;
6868 } _resultobj
= Py_BuildValue("i",_result
);
6872 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6873 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6874 PyObject
* _resultobj
;
6878 PyObject
* _argo0
= 0;
6879 PyObject
* _obj2
= 0;
6880 char *_kwnames
[] = { "self","n","label", NULL
};
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
6893 #if PYTHON_API_VERSION >= 1009
6894 char* tmpPtr
; int tmpSize
;
6895 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6899 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6901 _arg2
= new wxString(tmpPtr
, tmpSize
);
6903 if (!PyString_Check(_obj2
)) {
6904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6907 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6911 wxPy_BEGIN_ALLOW_THREADS
;
6912 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
6914 wxPy_END_ALLOW_THREADS
;
6915 if (PyErr_Occurred()) return NULL
;
6916 } Py_INCREF(Py_None
);
6917 _resultobj
= Py_None
;
6925 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6926 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
* _resultobj
;
6930 PyObject
* _argo0
= 0;
6931 char *_kwnames
[] = { "self","n", NULL
};
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
6937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6944 wxPy_BEGIN_ALLOW_THREADS
;
6945 wxRadioBox_SetSelection(_arg0
,_arg1
);
6947 wxPy_END_ALLOW_THREADS
;
6948 if (PyErr_Occurred()) return NULL
;
6949 } Py_INCREF(Py_None
);
6950 _resultobj
= Py_None
;
6954 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6955 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
* _resultobj
;
6959 PyObject
* _argo0
= 0;
6960 PyObject
* _obj1
= 0;
6961 char *_kwnames
[] = { "self","string", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6974 #if PYTHON_API_VERSION >= 1009
6975 char* tmpPtr
; int tmpSize
;
6976 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6980 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6982 _arg1
= new wxString(tmpPtr
, tmpSize
);
6984 if (!PyString_Check(_obj1
)) {
6985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6988 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6992 wxPy_BEGIN_ALLOW_THREADS
;
6993 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
6995 wxPy_END_ALLOW_THREADS
;
6996 if (PyErr_Occurred()) return NULL
;
6997 } Py_INCREF(Py_None
);
6998 _resultobj
= Py_None
;
7006 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
7007 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7011 PyObject
* _argo0
= 0;
7013 char *_kwnames
[] = { "self","show", NULL
};
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
7019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
7025 _arg1
= (bool ) tempbool1
;
7027 wxPy_BEGIN_ALLOW_THREADS
;
7028 wxRadioBox_Show(_arg0
,_arg1
);
7030 wxPy_END_ALLOW_THREADS
;
7031 if (PyErr_Occurred()) return NULL
;
7032 } Py_INCREF(Py_None
);
7033 _resultobj
= Py_None
;
7037 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
7038 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7039 PyObject
* _resultobj
;
7043 PyObject
* _argo0
= 0;
7045 char *_kwnames
[] = { "self","item","show", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
7057 _arg2
= (bool ) tempbool2
;
7059 wxPy_BEGIN_ALLOW_THREADS
;
7060 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
7062 wxPy_END_ALLOW_THREADS
;
7063 if (PyErr_Occurred()) return NULL
;
7064 } Py_INCREF(Py_None
);
7065 _resultobj
= Py_None
;
7069 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
7072 src
= (wxRadioButton
*) ptr
;
7073 dest
= (wxControl
*) src
;
7074 return (void *) dest
;
7077 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
7080 src
= (wxRadioButton
*) ptr
;
7081 dest
= (wxWindow
*) src
;
7082 return (void *) dest
;
7085 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
7088 src
= (wxRadioButton
*) ptr
;
7089 dest
= (wxEvtHandler
*) src
;
7090 return (void *) dest
;
7093 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
7096 src
= (wxRadioButton
*) ptr
;
7097 dest
= (wxObject
*) src
;
7098 return (void *) dest
;
7101 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7102 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
* _resultobj
;
7104 wxRadioButton
* _result
;
7108 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7109 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7110 long _arg5
= (long ) 0;
7111 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7112 char * _arg7
= (char *) "radioButton";
7113 PyObject
* _argo0
= 0;
7114 PyObject
* _obj2
= 0;
7116 PyObject
* _obj3
= 0;
7118 PyObject
* _obj4
= 0;
7119 PyObject
* _argo6
= 0;
7120 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
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_wxRadioButton. 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
))
7164 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
7171 wxPy_BEGIN_ALLOW_THREADS
;
7172 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7174 wxPy_END_ALLOW_THREADS
;
7175 if (PyErr_Occurred()) return NULL
;
7177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
7178 _resultobj
= Py_BuildValue("s",_ptemp
);
7181 _resultobj
= Py_None
;
7190 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
7191 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
* _resultobj
;
7194 wxRadioButton
* _arg0
;
7195 PyObject
* _argo0
= 0;
7196 char *_kwnames
[] = { "self", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
7209 wxPy_BEGIN_ALLOW_THREADS
;
7210 _result
= (bool )wxRadioButton_GetValue(_arg0
);
7212 wxPy_END_ALLOW_THREADS
;
7213 if (PyErr_Occurred()) return NULL
;
7214 } _resultobj
= Py_BuildValue("i",_result
);
7218 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7219 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
* _resultobj
;
7221 wxRadioButton
* _arg0
;
7223 PyObject
* _argo0
= 0;
7225 char *_kwnames
[] = { "self","value", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
7237 _arg1
= (bool ) tempbool1
;
7239 wxPy_BEGIN_ALLOW_THREADS
;
7240 wxRadioButton_SetValue(_arg0
,_arg1
);
7242 wxPy_END_ALLOW_THREADS
;
7243 if (PyErr_Occurred()) return NULL
;
7244 } Py_INCREF(Py_None
);
7245 _resultobj
= Py_None
;
7249 static void *SwigwxSliderTowxControl(void *ptr
) {
7252 src
= (wxSlider
*) ptr
;
7253 dest
= (wxControl
*) src
;
7254 return (void *) dest
;
7257 static void *SwigwxSliderTowxWindow(void *ptr
) {
7260 src
= (wxSlider
*) ptr
;
7261 dest
= (wxWindow
*) src
;
7262 return (void *) dest
;
7265 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
7268 src
= (wxSlider
*) ptr
;
7269 dest
= (wxEvtHandler
*) src
;
7270 return (void *) dest
;
7273 static void *SwigwxSliderTowxObject(void *ptr
) {
7276 src
= (wxSlider
*) ptr
;
7277 dest
= (wxObject
*) src
;
7278 return (void *) dest
;
7281 #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))
7282 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
* _resultobj
;
7290 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
7291 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
7292 long _arg7
= (long ) wxSL_HORIZONTAL
;
7293 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
7294 char * _arg9
= (char *) "slider";
7295 PyObject
* _argo0
= 0;
7297 PyObject
* _obj5
= 0;
7299 PyObject
* _obj6
= 0;
7300 PyObject
* _argo8
= 0;
7301 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
7308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7317 if (! wxPoint_helper(_obj5
, &_arg5
))
7323 if (! wxSize_helper(_obj6
, &_arg6
))
7327 if (_argo8
== Py_None
) { _arg8
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7334 wxPy_BEGIN_ALLOW_THREADS
;
7335 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
7337 wxPy_END_ALLOW_THREADS
;
7338 if (PyErr_Occurred()) return NULL
;
7340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
7341 _resultobj
= Py_BuildValue("s",_ptemp
);
7344 _resultobj
= Py_None
;
7349 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7350 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7353 PyObject
* _argo0
= 0;
7354 char *_kwnames
[] = { "self", NULL
};
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
7360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7367 wxPy_BEGIN_ALLOW_THREADS
;
7368 wxSlider_ClearSel(_arg0
);
7370 wxPy_END_ALLOW_THREADS
;
7371 if (PyErr_Occurred()) return NULL
;
7372 } Py_INCREF(Py_None
);
7373 _resultobj
= Py_None
;
7377 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7378 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7381 PyObject
* _argo0
= 0;
7382 char *_kwnames
[] = { "self", NULL
};
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
7388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
7395 wxPy_BEGIN_ALLOW_THREADS
;
7396 wxSlider_ClearTicks(_arg0
);
7398 wxPy_END_ALLOW_THREADS
;
7399 if (PyErr_Occurred()) return NULL
;
7400 } Py_INCREF(Py_None
);
7401 _resultobj
= Py_None
;
7405 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
7406 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7410 PyObject
* _argo0
= 0;
7411 char *_kwnames
[] = { "self", NULL
};
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
7417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
7424 wxPy_BEGIN_ALLOW_THREADS
;
7425 _result
= (int )wxSlider_GetLineSize(_arg0
);
7427 wxPy_END_ALLOW_THREADS
;
7428 if (PyErr_Occurred()) return NULL
;
7429 } _resultobj
= Py_BuildValue("i",_result
);
7433 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
7434 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7438 PyObject
* _argo0
= 0;
7439 char *_kwnames
[] = { "self", NULL
};
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
7445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
7452 wxPy_BEGIN_ALLOW_THREADS
;
7453 _result
= (int )wxSlider_GetMax(_arg0
);
7455 wxPy_END_ALLOW_THREADS
;
7456 if (PyErr_Occurred()) return NULL
;
7457 } _resultobj
= Py_BuildValue("i",_result
);
7461 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
7462 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
* _resultobj
;
7466 PyObject
* _argo0
= 0;
7467 char *_kwnames
[] = { "self", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
7473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
7480 wxPy_BEGIN_ALLOW_THREADS
;
7481 _result
= (int )wxSlider_GetMin(_arg0
);
7483 wxPy_END_ALLOW_THREADS
;
7484 if (PyErr_Occurred()) return NULL
;
7485 } _resultobj
= Py_BuildValue("i",_result
);
7489 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7490 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7494 PyObject
* _argo0
= 0;
7495 char *_kwnames
[] = { "self", NULL
};
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
7501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
7508 wxPy_BEGIN_ALLOW_THREADS
;
7509 _result
= (int )wxSlider_GetPageSize(_arg0
);
7511 wxPy_END_ALLOW_THREADS
;
7512 if (PyErr_Occurred()) return NULL
;
7513 } _resultobj
= Py_BuildValue("i",_result
);
7517 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
7518 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 PyObject
* _argo0
= 0;
7523 char *_kwnames
[] = { "self", NULL
};
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
7529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
7536 wxPy_BEGIN_ALLOW_THREADS
;
7537 _result
= (int )wxSlider_GetSelEnd(_arg0
);
7539 wxPy_END_ALLOW_THREADS
;
7540 if (PyErr_Occurred()) return NULL
;
7541 } _resultobj
= Py_BuildValue("i",_result
);
7545 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
7546 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7551 char *_kwnames
[] = { "self", NULL
};
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
7557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
7564 wxPy_BEGIN_ALLOW_THREADS
;
7565 _result
= (int )wxSlider_GetSelStart(_arg0
);
7567 wxPy_END_ALLOW_THREADS
;
7568 if (PyErr_Occurred()) return NULL
;
7569 } _resultobj
= Py_BuildValue("i",_result
);
7573 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
7574 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7578 PyObject
* _argo0
= 0;
7579 char *_kwnames
[] = { "self", NULL
};
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
7585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
7592 wxPy_BEGIN_ALLOW_THREADS
;
7593 _result
= (int )wxSlider_GetThumbLength(_arg0
);
7595 wxPy_END_ALLOW_THREADS
;
7596 if (PyErr_Occurred()) return NULL
;
7597 } _resultobj
= Py_BuildValue("i",_result
);
7601 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
7602 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
* _resultobj
;
7606 PyObject
* _argo0
= 0;
7607 char *_kwnames
[] = { "self", NULL
};
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
7613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
7620 wxPy_BEGIN_ALLOW_THREADS
;
7621 _result
= (int )wxSlider_GetTickFreq(_arg0
);
7623 wxPy_END_ALLOW_THREADS
;
7624 if (PyErr_Occurred()) return NULL
;
7625 } _resultobj
= Py_BuildValue("i",_result
);
7629 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
7630 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
* _resultobj
;
7634 PyObject
* _argo0
= 0;
7635 char *_kwnames
[] = { "self", NULL
};
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
7641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
7648 wxPy_BEGIN_ALLOW_THREADS
;
7649 _result
= (int )wxSlider_GetValue(_arg0
);
7651 wxPy_END_ALLOW_THREADS
;
7652 if (PyErr_Occurred()) return NULL
;
7653 } _resultobj
= Py_BuildValue("i",_result
);
7657 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7658 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
* _resultobj
;
7663 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
7677 wxPy_BEGIN_ALLOW_THREADS
;
7678 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
7680 wxPy_END_ALLOW_THREADS
;
7681 if (PyErr_Occurred()) return NULL
;
7682 } Py_INCREF(Py_None
);
7683 _resultobj
= Py_None
;
7687 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
7688 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
* _resultobj
;
7693 PyObject
* _argo0
= 0;
7694 char *_kwnames
[] = { "self","n","pos", NULL
};
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
7707 wxPy_BEGIN_ALLOW_THREADS
;
7708 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
7710 wxPy_END_ALLOW_THREADS
;
7711 if (PyErr_Occurred()) return NULL
;
7712 } Py_INCREF(Py_None
);
7713 _resultobj
= Py_None
;
7717 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
7718 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
* _resultobj
;
7722 PyObject
* _argo0
= 0;
7723 char *_kwnames
[] = { "self","lineSize", NULL
};
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
7729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
7736 wxPy_BEGIN_ALLOW_THREADS
;
7737 wxSlider_SetLineSize(_arg0
,_arg1
);
7739 wxPy_END_ALLOW_THREADS
;
7740 if (PyErr_Occurred()) return NULL
;
7741 } Py_INCREF(Py_None
);
7742 _resultobj
= Py_None
;
7746 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
7747 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
* _resultobj
;
7751 PyObject
* _argo0
= 0;
7752 char *_kwnames
[] = { "self","pageSize", NULL
};
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
7758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
7765 wxPy_BEGIN_ALLOW_THREADS
;
7766 wxSlider_SetPageSize(_arg0
,_arg1
);
7768 wxPy_END_ALLOW_THREADS
;
7769 if (PyErr_Occurred()) return NULL
;
7770 } Py_INCREF(Py_None
);
7771 _resultobj
= Py_None
;
7775 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7776 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
7781 PyObject
* _argo0
= 0;
7782 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
7795 wxPy_BEGIN_ALLOW_THREADS
;
7796 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
7798 wxPy_END_ALLOW_THREADS
;
7799 if (PyErr_Occurred()) return NULL
;
7800 } Py_INCREF(Py_None
);
7801 _resultobj
= Py_None
;
7805 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
7806 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
* _resultobj
;
7810 PyObject
* _argo0
= 0;
7811 char *_kwnames
[] = { "self","len", NULL
};
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
7817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
7824 wxPy_BEGIN_ALLOW_THREADS
;
7825 wxSlider_SetThumbLength(_arg0
,_arg1
);
7827 wxPy_END_ALLOW_THREADS
;
7828 if (PyErr_Occurred()) return NULL
;
7829 } Py_INCREF(Py_None
);
7830 _resultobj
= Py_None
;
7834 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
7835 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
* _resultobj
;
7839 PyObject
* _argo0
= 0;
7840 char *_kwnames
[] = { "self","tickPos", NULL
};
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
7846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
7853 wxPy_BEGIN_ALLOW_THREADS
;
7854 wxSlider_SetTick(_arg0
,_arg1
);
7856 wxPy_END_ALLOW_THREADS
;
7857 if (PyErr_Occurred()) return NULL
;
7858 } Py_INCREF(Py_None
);
7859 _resultobj
= Py_None
;
7863 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7864 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
* _resultobj
;
7868 PyObject
* _argo0
= 0;
7869 char *_kwnames
[] = { "self","value", NULL
};
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
7875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
7882 wxPy_BEGIN_ALLOW_THREADS
;
7883 wxSlider_SetValue(_arg0
,_arg1
);
7885 wxPy_END_ALLOW_THREADS
;
7886 if (PyErr_Occurred()) return NULL
;
7887 } Py_INCREF(Py_None
);
7888 _resultobj
= Py_None
;
7892 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
7895 src
= (wxSpinCtrl
*) ptr
;
7896 dest
= (wxSpinButton
*) src
;
7897 return (void *) dest
;
7900 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
7903 src
= (wxSpinCtrl
*) ptr
;
7904 dest
= (wxControl
*) src
;
7905 return (void *) dest
;
7908 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
7911 src
= (wxSpinCtrl
*) ptr
;
7912 dest
= (wxWindow
*) src
;
7913 return (void *) dest
;
7916 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
7919 src
= (wxSpinCtrl
*) ptr
;
7920 dest
= (wxEvtHandler
*) src
;
7921 return (void *) dest
;
7924 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
7927 src
= (wxSpinCtrl
*) ptr
;
7928 dest
= (wxObject
*) src
;
7929 return (void *) dest
;
7932 #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))
7933 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
* _resultobj
;
7935 wxSpinCtrl
* _result
;
7937 wxWindowID _arg1
= (wxWindowID
) -1;
7938 char * _arg2
= (char *) "";
7939 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7940 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7941 long _arg5
= (long ) wxSP_ARROW_KEYS
;
7942 int _arg6
= (int ) 0;
7943 int _arg7
= (int ) 100;
7944 int _arg8
= (int ) 0;
7945 char * _arg9
= (char *) "wxSpinCtrl";
7946 PyObject
* _argo0
= 0;
7948 PyObject
* _obj3
= 0;
7950 PyObject
* _obj4
= 0;
7951 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
7967 if (! wxPoint_helper(_obj3
, &_arg3
))
7973 if (! wxSize_helper(_obj4
, &_arg4
))
7977 wxPy_BEGIN_ALLOW_THREADS
;
7978 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7980 wxPy_END_ALLOW_THREADS
;
7981 if (PyErr_Occurred()) return NULL
;
7983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
7984 _resultobj
= Py_BuildValue("s",_ptemp
);
7987 _resultobj
= Py_None
;
7992 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
7993 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
* _resultobj
;
7997 PyObject
* _argo0
= 0;
7998 char *_kwnames
[] = { "self", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
8011 wxPy_BEGIN_ALLOW_THREADS
;
8012 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
8014 wxPy_END_ALLOW_THREADS
;
8015 if (PyErr_Occurred()) return NULL
;
8016 } _resultobj
= Py_BuildValue("i",_result
);
8020 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
8021 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
* _resultobj
;
8025 PyObject
* _argo0
= 0;
8026 char *_kwnames
[] = { "self", NULL
};
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
8032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
8039 wxPy_BEGIN_ALLOW_THREADS
;
8040 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
8042 wxPy_END_ALLOW_THREADS
;
8043 if (PyErr_Occurred()) return NULL
;
8044 } _resultobj
= Py_BuildValue("i",_result
);
8048 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
8049 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
* _resultobj
;
8053 PyObject
* _argo0
= 0;
8054 char *_kwnames
[] = { "self", NULL
};
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
8060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
8067 wxPy_BEGIN_ALLOW_THREADS
;
8068 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
8070 wxPy_END_ALLOW_THREADS
;
8071 if (PyErr_Occurred()) return NULL
;
8072 } _resultobj
= Py_BuildValue("i",_result
);
8076 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8077 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
* _resultobj
;
8082 PyObject
* _argo0
= 0;
8083 char *_kwnames
[] = { "self","min","max", NULL
};
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
8096 wxPy_BEGIN_ALLOW_THREADS
;
8097 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
8099 wxPy_END_ALLOW_THREADS
;
8100 if (PyErr_Occurred()) return NULL
;
8101 } Py_INCREF(Py_None
);
8102 _resultobj
= Py_None
;
8106 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8107 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
* _resultobj
;
8111 PyObject
* _argo0
= 0;
8112 char *_kwnames
[] = { "self","value", NULL
};
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
8118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
8125 wxPy_BEGIN_ALLOW_THREADS
;
8126 wxSpinCtrl_SetValue(_arg0
,_arg1
);
8128 wxPy_END_ALLOW_THREADS
;
8129 if (PyErr_Occurred()) return NULL
;
8130 } Py_INCREF(Py_None
);
8131 _resultobj
= Py_None
;
8135 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
8136 wxToggleButton
*src
;
8138 src
= (wxToggleButton
*) ptr
;
8139 dest
= (wxControl
*) src
;
8140 return (void *) dest
;
8143 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
8144 wxToggleButton
*src
;
8146 src
= (wxToggleButton
*) ptr
;
8147 dest
= (wxWindow
*) src
;
8148 return (void *) dest
;
8151 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
8152 wxToggleButton
*src
;
8154 src
= (wxToggleButton
*) ptr
;
8155 dest
= (wxEvtHandler
*) src
;
8156 return (void *) dest
;
8159 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
8160 wxToggleButton
*src
;
8162 src
= (wxToggleButton
*) ptr
;
8163 dest
= (wxObject
*) src
;
8164 return (void *) dest
;
8167 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
8168 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
* _resultobj
;
8170 wxToggleButton
* _result
;
8174 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8175 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8176 long _arg5
= (long ) 0;
8177 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8178 char * _arg7
= (char *) "toggle";
8179 PyObject
* _argo0
= 0;
8180 PyObject
* _obj2
= 0;
8182 PyObject
* _obj3
= 0;
8184 PyObject
* _obj4
= 0;
8185 PyObject
* _argo6
= 0;
8186 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
8190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
8200 #if PYTHON_API_VERSION >= 1009
8201 char* tmpPtr
; int tmpSize
;
8202 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8206 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8208 _arg2
= new wxString(tmpPtr
, tmpSize
);
8210 if (!PyString_Check(_obj2
)) {
8211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8214 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8220 if (! wxPoint_helper(_obj3
, &_arg3
))
8226 if (! wxSize_helper(_obj4
, &_arg4
))
8230 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8231 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
8237 wxPy_BEGIN_ALLOW_THREADS
;
8238 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8240 wxPy_END_ALLOW_THREADS
;
8241 if (PyErr_Occurred()) return NULL
;
8243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
8244 _resultobj
= Py_BuildValue("s",_ptemp
);
8247 _resultobj
= Py_None
;
8256 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8257 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
* _resultobj
;
8259 wxToggleButton
* _arg0
;
8261 PyObject
* _argo0
= 0;
8263 char *_kwnames
[] = { "self","value", NULL
};
8266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
8269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
8275 _arg1
= (bool ) tempbool1
;
8277 wxPy_BEGIN_ALLOW_THREADS
;
8278 wxToggleButton_SetValue(_arg0
,_arg1
);
8280 wxPy_END_ALLOW_THREADS
;
8281 if (PyErr_Occurred()) return NULL
;
8282 } Py_INCREF(Py_None
);
8283 _resultobj
= Py_None
;
8287 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
8288 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
* _resultobj
;
8291 wxToggleButton
* _arg0
;
8292 PyObject
* _argo0
= 0;
8293 char *_kwnames
[] = { "self", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
8306 wxPy_BEGIN_ALLOW_THREADS
;
8307 _result
= (bool )wxToggleButton_GetValue(_arg0
);
8309 wxPy_END_ALLOW_THREADS
;
8310 if (PyErr_Occurred()) return NULL
;
8311 } _resultobj
= Py_BuildValue("i",_result
);
8315 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
8316 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
* _resultobj
;
8318 wxToggleButton
* _arg0
;
8320 PyObject
* _argo0
= 0;
8321 PyObject
* _obj1
= 0;
8322 char *_kwnames
[] = { "self","label", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
8335 #if PYTHON_API_VERSION >= 1009
8336 char* tmpPtr
; int tmpSize
;
8337 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8341 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8343 _arg1
= new wxString(tmpPtr
, tmpSize
);
8345 if (!PyString_Check(_obj1
)) {
8346 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8349 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8353 wxPy_BEGIN_ALLOW_THREADS
;
8354 wxToggleButton_SetLabel(_arg0
,*_arg1
);
8356 wxPy_END_ALLOW_THREADS
;
8357 if (PyErr_Occurred()) return NULL
;
8358 } Py_INCREF(Py_None
);
8359 _resultobj
= Py_None
;
8367 static PyMethodDef controlscMethods
[] = {
8368 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8369 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8370 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8371 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
8372 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8373 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8374 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8375 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8376 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8377 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8378 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8379 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
8380 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8381 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8382 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8383 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8384 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8385 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8386 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8387 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8388 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8389 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
8390 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
8391 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8392 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8393 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8394 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8395 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
8396 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
8397 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
8398 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8399 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8400 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
8401 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
8402 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
8403 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8404 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8405 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8406 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8407 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8408 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8409 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8410 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8411 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8412 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
8413 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8414 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
8415 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
8416 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8417 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8418 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8419 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8420 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8421 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8422 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8423 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8424 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
8425 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8426 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8427 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8428 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8429 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8430 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8431 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
8432 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
8433 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
8434 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
8435 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
8436 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
8437 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8438 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
8439 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
8440 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
8441 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
8442 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
8443 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
8444 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
8445 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
8446 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
8447 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8448 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8449 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
8450 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8451 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
8452 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
8453 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8454 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8455 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
8456 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8457 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8458 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
8459 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8460 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
8461 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
8462 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
8463 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
8464 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8465 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
8466 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8467 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8468 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8469 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8470 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
8471 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8472 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
8473 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8474 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
8475 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8476 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
8477 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8478 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
8479 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
8480 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
8481 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8482 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8483 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8484 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8485 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8486 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8487 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8488 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8489 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
8490 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8491 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8492 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
8493 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
8494 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8495 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8496 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
8497 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
8498 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
8499 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8500 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
8501 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8502 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
8503 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8504 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
8505 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
8506 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
8507 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
8508 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8509 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
8510 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8511 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
8512 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8513 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8514 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8515 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8516 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8517 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8518 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8519 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8520 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8521 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
8522 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8523 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8524 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8525 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8526 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8527 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8528 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
8529 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
8530 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8531 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8532 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
8533 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
8534 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8535 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8536 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8537 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
8538 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8539 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8540 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
8541 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
8542 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8543 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8544 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
8545 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
8546 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
8547 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
8548 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
8549 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
8550 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
8551 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
8552 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
8553 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
8554 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
8555 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
8556 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
8557 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8558 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8559 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
8560 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
8561 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8562 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8563 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
8564 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
8565 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
8572 * This table is used by the pointer type-checker
8574 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8575 { "_signed_long","_long",0},
8576 { "_wxPrintQuality","_wxCoord",0},
8577 { "_wxPrintQuality","_int",0},
8578 { "_wxPrintQuality","_signed_int",0},
8579 { "_wxPrintQuality","_unsigned_int",0},
8580 { "_wxPrintQuality","_wxWindowID",0},
8581 { "_wxPrintQuality","_uint",0},
8582 { "_wxPrintQuality","_EBool",0},
8583 { "_wxPrintQuality","_size_t",0},
8584 { "_wxPrintQuality","_time_t",0},
8585 { "_byte","_unsigned_char",0},
8586 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8587 { "_long","_unsigned_long",0},
8588 { "_long","_signed_long",0},
8589 { "_size_t","_wxCoord",0},
8590 { "_size_t","_wxPrintQuality",0},
8591 { "_size_t","_time_t",0},
8592 { "_size_t","_unsigned_int",0},
8593 { "_size_t","_int",0},
8594 { "_size_t","_wxWindowID",0},
8595 { "_size_t","_uint",0},
8596 { "_uint","_wxCoord",0},
8597 { "_uint","_wxPrintQuality",0},
8598 { "_uint","_time_t",0},
8599 { "_uint","_size_t",0},
8600 { "_uint","_unsigned_int",0},
8601 { "_uint","_int",0},
8602 { "_uint","_wxWindowID",0},
8603 { "_wxChar","_char",0},
8604 { "_char","_wxChar",0},
8605 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8606 { "_EBool","_wxCoord",0},
8607 { "_EBool","_wxPrintQuality",0},
8608 { "_EBool","_signed_int",0},
8609 { "_EBool","_int",0},
8610 { "_EBool","_wxWindowID",0},
8611 { "_unsigned_long","_long",0},
8612 { "_signed_int","_wxCoord",0},
8613 { "_signed_int","_wxPrintQuality",0},
8614 { "_signed_int","_EBool",0},
8615 { "_signed_int","_wxWindowID",0},
8616 { "_signed_int","_int",0},
8617 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8618 { "_WXTYPE","_short",0},
8619 { "_WXTYPE","_signed_short",0},
8620 { "_WXTYPE","_unsigned_short",0},
8621 { "_unsigned_short","_WXTYPE",0},
8622 { "_unsigned_short","_short",0},
8623 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
8624 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
8625 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
8626 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
8627 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
8628 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
8629 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
8630 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
8631 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
8632 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
8633 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
8634 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
8635 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
8636 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
8637 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
8638 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
8639 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
8640 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
8641 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
8642 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
8643 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
8644 { "_signed_short","_WXTYPE",0},
8645 { "_signed_short","_short",0},
8646 { "_unsigned_char","_byte",0},
8647 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
8648 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8649 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8650 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8651 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8652 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8653 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8654 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8655 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8656 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8657 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8658 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8659 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8660 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8661 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8662 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8663 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8664 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8665 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8666 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
8667 { "_unsigned_int","_wxCoord",0},
8668 { "_unsigned_int","_wxPrintQuality",0},
8669 { "_unsigned_int","_time_t",0},
8670 { "_unsigned_int","_size_t",0},
8671 { "_unsigned_int","_uint",0},
8672 { "_unsigned_int","_wxWindowID",0},
8673 { "_unsigned_int","_int",0},
8674 { "_short","_WXTYPE",0},
8675 { "_short","_unsigned_short",0},
8676 { "_short","_signed_short",0},
8677 { "_wxWindowID","_wxCoord",0},
8678 { "_wxWindowID","_wxPrintQuality",0},
8679 { "_wxWindowID","_time_t",0},
8680 { "_wxWindowID","_size_t",0},
8681 { "_wxWindowID","_EBool",0},
8682 { "_wxWindowID","_uint",0},
8683 { "_wxWindowID","_int",0},
8684 { "_wxWindowID","_signed_int",0},
8685 { "_wxWindowID","_unsigned_int",0},
8686 { "_int","_wxCoord",0},
8687 { "_int","_wxPrintQuality",0},
8688 { "_int","_time_t",0},
8689 { "_int","_size_t",0},
8690 { "_int","_EBool",0},
8691 { "_int","_uint",0},
8692 { "_int","_wxWindowID",0},
8693 { "_int","_unsigned_int",0},
8694 { "_int","_signed_int",0},
8695 { "_time_t","_wxCoord",0},
8696 { "_time_t","_wxPrintQuality",0},
8697 { "_time_t","_unsigned_int",0},
8698 { "_time_t","_int",0},
8699 { "_time_t","_wxWindowID",0},
8700 { "_time_t","_uint",0},
8701 { "_time_t","_size_t",0},
8702 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8703 { "_wxCoord","_int",0},
8704 { "_wxCoord","_signed_int",0},
8705 { "_wxCoord","_unsigned_int",0},
8706 { "_wxCoord","_wxWindowID",0},
8707 { "_wxCoord","_uint",0},
8708 { "_wxCoord","_EBool",0},
8709 { "_wxCoord","_size_t",0},
8710 { "_wxCoord","_time_t",0},
8711 { "_wxCoord","_wxPrintQuality",0},
8712 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8713 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8714 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8715 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8716 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8717 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8718 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8719 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8720 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8721 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8722 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8723 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8724 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8725 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8726 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8727 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8728 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8729 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8730 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8731 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8732 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8733 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
8734 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8735 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8736 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8737 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8738 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8739 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8740 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8741 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8742 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8743 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8744 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8745 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8746 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8747 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8748 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8749 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8750 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8751 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8752 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8753 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8756 static PyObject
*SWIG_globals
;
8760 SWIGEXPORT(void) initcontrolsc() {
8762 SWIG_globals
= SWIG_newvarlink();
8763 m
= Py_InitModule("controlsc", controlscMethods
);
8764 d
= PyModule_GetDict(m
);
8765 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8766 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
8767 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
8770 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8771 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);