2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 #if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg
= "String or Unicode type required";
107 static char* wxStringErrorMsg
= "string type is required for parameter";
110 wxSize
wxButton_GetDefaultSize() {
111 return wxButton::GetDefaultSize();
116 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
118 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
122 static PyObject
*_wrap_wxDefaultValidator_get() {
126 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
127 pyobj
= PyString_FromString(ptemp
);
131 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
134 char *_kwnames
[] = { NULL
};
138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= new wxSize (wxButton_GetDefaultSize());
144 wxPy_END_ALLOW_THREADS
;
145 if (PyErr_Occurred()) return NULL
;
146 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
151 static void *SwigwxControlTowxWindow(void *ptr
) {
154 src
= (wxControl
*) ptr
;
155 dest
= (wxWindow
*) src
;
156 return (void *) dest
;
159 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
162 src
= (wxControl
*) ptr
;
163 dest
= (wxEvtHandler
*) src
;
164 return (void *) dest
;
167 static void *SwigwxControlTowxObject(void *ptr
) {
170 src
= (wxControl
*) ptr
;
171 dest
= (wxObject
*) src
;
172 return (void *) dest
;
175 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
176 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
177 PyObject
* _resultobj
;
181 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
182 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
183 long _arg4
= (long ) 0;
184 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
185 char * _arg6
= (char *) "control";
186 PyObject
* _argo0
= 0;
188 PyObject
* _obj2
= 0;
190 PyObject
* _obj3
= 0;
191 PyObject
* _argo5
= 0;
192 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
208 if (! wxPoint_helper(_obj2
, &_arg2
))
214 if (! wxSize_helper(_obj3
, &_arg3
))
218 if (_argo5
== Py_None
) { _arg5
= NULL
; }
219 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
225 wxPy_BEGIN_ALLOW_THREADS
;
226 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
228 wxPy_END_ALLOW_THREADS
;
229 if (PyErr_Occurred()) return NULL
;
231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
232 _resultobj
= Py_BuildValue("s",_ptemp
);
235 _resultobj
= Py_None
;
240 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
241 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
242 PyObject
* _resultobj
;
244 wxCommandEvent
* _arg1
;
245 PyObject
* _argo0
= 0;
246 PyObject
* _argo1
= 0;
247 char *_kwnames
[] = { "self","event", NULL
};
250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
260 if (_argo1
== Py_None
) { _arg1
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
267 wxPy_BEGIN_ALLOW_THREADS
;
268 wxControl_Command(_arg0
,*_arg1
);
270 wxPy_END_ALLOW_THREADS
;
271 if (PyErr_Occurred()) return NULL
;
272 } Py_INCREF(Py_None
);
273 _resultobj
= Py_None
;
277 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
278 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
279 PyObject
* _resultobj
;
282 PyObject
* _argo0
= 0;
283 char *_kwnames
[] = { "self", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
296 wxPy_BEGIN_ALLOW_THREADS
;
297 _result
= new wxString (wxControl_GetLabel(_arg0
));
299 wxPy_END_ALLOW_THREADS
;
300 if (PyErr_Occurred()) return NULL
;
302 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
310 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
311 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
315 PyObject
* _argo0
= 0;
316 PyObject
* _obj1
= 0;
317 char *_kwnames
[] = { "self","label", NULL
};
320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
330 #if PYTHON_API_VERSION >= 1009
331 char* tmpPtr
; int tmpSize
;
332 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
333 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
336 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
338 _arg1
= new wxString(tmpPtr
, tmpSize
);
340 if (!PyString_Check(_obj1
)) {
341 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
344 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
348 wxPy_BEGIN_ALLOW_THREADS
;
349 wxControl_SetLabel(_arg0
,*_arg1
);
351 wxPy_END_ALLOW_THREADS
;
352 if (PyErr_Occurred()) return NULL
;
353 } Py_INCREF(Py_None
);
354 _resultobj
= Py_None
;
362 static void *SwigwxButtonTowxControl(void *ptr
) {
365 src
= (wxButton
*) ptr
;
366 dest
= (wxControl
*) src
;
367 return (void *) dest
;
370 static void *SwigwxButtonTowxWindow(void *ptr
) {
373 src
= (wxButton
*) ptr
;
374 dest
= (wxWindow
*) src
;
375 return (void *) dest
;
378 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
381 src
= (wxButton
*) ptr
;
382 dest
= (wxEvtHandler
*) src
;
383 return (void *) dest
;
386 static void *SwigwxButtonTowxObject(void *ptr
) {
389 src
= (wxButton
*) ptr
;
390 dest
= (wxObject
*) src
;
391 return (void *) dest
;
394 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
395 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
396 PyObject
* _resultobj
;
401 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
402 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
403 long _arg5
= (long ) 0;
404 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
405 char * _arg7
= (char *) "button";
406 PyObject
* _argo0
= 0;
407 PyObject
* _obj2
= 0;
409 PyObject
* _obj3
= 0;
411 PyObject
* _obj4
= 0;
412 PyObject
* _argo6
= 0;
413 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
427 #if PYTHON_API_VERSION >= 1009
428 char* tmpPtr
; int tmpSize
;
429 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
435 _arg2
= new wxString(tmpPtr
, tmpSize
);
437 if (!PyString_Check(_obj2
)) {
438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
441 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
447 if (! wxPoint_helper(_obj3
, &_arg3
))
453 if (! wxSize_helper(_obj4
, &_arg4
))
457 if (_argo6
== Py_None
) { _arg6
= NULL
; }
458 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
464 wxPy_BEGIN_ALLOW_THREADS
;
465 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
467 wxPy_END_ALLOW_THREADS
;
468 if (PyErr_Occurred()) return NULL
;
470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
471 _resultobj
= Py_BuildValue("s",_ptemp
);
474 _resultobj
= Py_None
;
483 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
484 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
487 PyObject
* _argo0
= 0;
488 char *_kwnames
[] = { "self", NULL
};
491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
501 wxPy_BEGIN_ALLOW_THREADS
;
502 wxButton_SetDefault(_arg0
);
504 wxPy_END_ALLOW_THREADS
;
505 if (PyErr_Occurred()) return NULL
;
506 } Py_INCREF(Py_None
);
507 _resultobj
= Py_None
;
511 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
512 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
516 PyObject
* _argo0
= 0;
518 PyObject
* _obj1
= 0;
519 char *_kwnames
[] = { "self","colour", NULL
};
522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
533 if (! wxColour_helper(_obj1
, &_arg1
))
537 wxPy_BEGIN_ALLOW_THREADS
;
538 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
540 wxPy_END_ALLOW_THREADS
;
541 if (PyErr_Occurred()) return NULL
;
542 } Py_INCREF(Py_None
);
543 _resultobj
= Py_None
;
547 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
548 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
552 PyObject
* _argo0
= 0;
554 PyObject
* _obj1
= 0;
555 char *_kwnames
[] = { "self","colour", NULL
};
558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
569 if (! wxColour_helper(_obj1
, &_arg1
))
573 wxPy_BEGIN_ALLOW_THREADS
;
574 wxButton_SetForegroundColour(_arg0
,*_arg1
);
576 wxPy_END_ALLOW_THREADS
;
577 if (PyErr_Occurred()) return NULL
;
578 } Py_INCREF(Py_None
);
579 _resultobj
= Py_None
;
583 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
586 src
= (wxBitmapButton
*) ptr
;
587 dest
= (wxButton
*) src
;
588 return (void *) dest
;
591 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
594 src
= (wxBitmapButton
*) ptr
;
595 dest
= (wxControl
*) src
;
596 return (void *) dest
;
599 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
602 src
= (wxBitmapButton
*) ptr
;
603 dest
= (wxWindow
*) src
;
604 return (void *) dest
;
607 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
610 src
= (wxBitmapButton
*) ptr
;
611 dest
= (wxEvtHandler
*) src
;
612 return (void *) dest
;
615 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
618 src
= (wxBitmapButton
*) ptr
;
619 dest
= (wxObject
*) src
;
620 return (void *) dest
;
623 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
624 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
626 wxBitmapButton
* _result
;
630 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
631 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
632 long _arg5
= (long ) wxBU_AUTODRAW
;
633 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
634 char * _arg7
= (char *) "button";
635 PyObject
* _argo0
= 0;
636 PyObject
* _argo2
= 0;
638 PyObject
* _obj3
= 0;
640 PyObject
* _obj4
= 0;
641 PyObject
* _argo6
= 0;
642 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
656 if (_argo2
== Py_None
) { _arg2
= NULL
; }
657 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
665 if (! wxPoint_helper(_obj3
, &_arg3
))
671 if (! wxSize_helper(_obj4
, &_arg4
))
675 if (_argo6
== Py_None
) { _arg6
= NULL
; }
676 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
682 wxPy_BEGIN_ALLOW_THREADS
;
683 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
685 wxPy_END_ALLOW_THREADS
;
686 if (PyErr_Occurred()) return NULL
;
688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
689 _resultobj
= Py_BuildValue("s",_ptemp
);
692 _resultobj
= Py_None
;
697 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
698 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 wxBitmapButton
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
717 wxPy_BEGIN_ALLOW_THREADS
;
718 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
719 _result
= (wxBitmap
*) &_result_ref
;
721 wxPy_END_ALLOW_THREADS
;
722 if (PyErr_Occurred()) return NULL
;
724 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
725 _resultobj
= Py_BuildValue("s",_ptemp
);
728 _resultobj
= Py_None
;
733 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
734 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
735 PyObject
* _resultobj
;
737 wxBitmapButton
* _arg0
;
738 PyObject
* _argo0
= 0;
739 char *_kwnames
[] = { "self", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
753 wxPy_BEGIN_ALLOW_THREADS
;
754 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
755 _result
= (wxBitmap
*) &_result_ref
;
757 wxPy_END_ALLOW_THREADS
;
758 if (PyErr_Occurred()) return NULL
;
760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
761 _resultobj
= Py_BuildValue("s",_ptemp
);
764 _resultobj
= Py_None
;
769 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
770 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
773 wxBitmapButton
* _arg0
;
774 PyObject
* _argo0
= 0;
775 char *_kwnames
[] = { "self", NULL
};
779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
789 wxPy_BEGIN_ALLOW_THREADS
;
790 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
791 _result
= (wxBitmap
*) &_result_ref
;
793 wxPy_END_ALLOW_THREADS
;
794 if (PyErr_Occurred()) return NULL
;
796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
797 _resultobj
= Py_BuildValue("s",_ptemp
);
800 _resultobj
= Py_None
;
805 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
806 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
809 wxBitmapButton
* _arg0
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self", NULL
};
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
825 wxPy_BEGIN_ALLOW_THREADS
;
826 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
827 _result
= (wxBitmap
*) &_result_ref
;
829 wxPy_END_ALLOW_THREADS
;
830 if (PyErr_Occurred()) return NULL
;
832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
833 _resultobj
= Py_BuildValue("s",_ptemp
);
836 _resultobj
= Py_None
;
841 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
842 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 PyObject
* _resultobj
;
844 wxBitmapButton
* _arg0
;
846 PyObject
* _argo0
= 0;
847 PyObject
* _argo1
= 0;
848 char *_kwnames
[] = { "self","bitmap", NULL
};
851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
861 if (_argo1
== Py_None
) { _arg1
= NULL
; }
862 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
868 wxPy_BEGIN_ALLOW_THREADS
;
869 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
871 wxPy_END_ALLOW_THREADS
;
872 if (PyErr_Occurred()) return NULL
;
873 } Py_INCREF(Py_None
);
874 _resultobj
= Py_None
;
878 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
879 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxBitmapButton
* _arg0
;
883 PyObject
* _argo0
= 0;
884 PyObject
* _argo1
= 0;
885 char *_kwnames
[] = { "self","bitmap", NULL
};
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
898 if (_argo1
== Py_None
) { _arg1
= NULL
; }
899 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
905 wxPy_BEGIN_ALLOW_THREADS
;
906 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
908 wxPy_END_ALLOW_THREADS
;
909 if (PyErr_Occurred()) return NULL
;
910 } Py_INCREF(Py_None
);
911 _resultobj
= Py_None
;
915 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
916 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
918 wxBitmapButton
* _arg0
;
920 PyObject
* _argo0
= 0;
921 PyObject
* _argo1
= 0;
922 char *_kwnames
[] = { "self","bitmap", NULL
};
925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
942 wxPy_BEGIN_ALLOW_THREADS
;
943 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
945 wxPy_END_ALLOW_THREADS
;
946 if (PyErr_Occurred()) return NULL
;
947 } Py_INCREF(Py_None
);
948 _resultobj
= Py_None
;
952 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
953 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
955 wxBitmapButton
* _arg0
;
957 PyObject
* _argo0
= 0;
958 PyObject
* _argo1
= 0;
959 char *_kwnames
[] = { "self","bitmap", NULL
};
962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
972 if (_argo1
== Py_None
) { _arg1
= NULL
; }
973 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
979 wxPy_BEGIN_ALLOW_THREADS
;
980 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
982 wxPy_END_ALLOW_THREADS
;
983 if (PyErr_Occurred()) return NULL
;
984 } Py_INCREF(Py_None
);
985 _resultobj
= Py_None
;
989 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
990 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
991 PyObject
* _resultobj
;
992 wxBitmapButton
* _arg0
;
995 PyObject
* _argo0
= 0;
996 char *_kwnames
[] = { "self","x","y", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1012 wxPy_END_ALLOW_THREADS
;
1013 if (PyErr_Occurred()) return NULL
;
1014 } Py_INCREF(Py_None
);
1015 _resultobj
= Py_None
;
1019 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1020 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1023 wxBitmapButton
* _arg0
;
1024 PyObject
* _argo0
= 0;
1025 char *_kwnames
[] = { "self", NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1038 wxPy_BEGIN_ALLOW_THREADS
;
1039 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1041 wxPy_END_ALLOW_THREADS
;
1042 if (PyErr_Occurred()) return NULL
;
1043 } _resultobj
= Py_BuildValue("i",_result
);
1047 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1048 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1049 PyObject
* _resultobj
;
1051 wxBitmapButton
* _arg0
;
1052 PyObject
* _argo0
= 0;
1053 char *_kwnames
[] = { "self", NULL
};
1056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1066 wxPy_BEGIN_ALLOW_THREADS
;
1067 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1069 wxPy_END_ALLOW_THREADS
;
1070 if (PyErr_Occurred()) return NULL
;
1071 } _resultobj
= Py_BuildValue("i",_result
);
1075 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1078 src
= (wxCheckBox
*) ptr
;
1079 dest
= (wxControl
*) src
;
1080 return (void *) dest
;
1083 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1086 src
= (wxCheckBox
*) ptr
;
1087 dest
= (wxWindow
*) src
;
1088 return (void *) dest
;
1091 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1094 src
= (wxCheckBox
*) ptr
;
1095 dest
= (wxEvtHandler
*) src
;
1096 return (void *) dest
;
1099 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1102 src
= (wxCheckBox
*) ptr
;
1103 dest
= (wxObject
*) src
;
1104 return (void *) dest
;
1107 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1108 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1110 wxCheckBox
* _result
;
1114 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1115 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1116 long _arg5
= (long ) 0;
1117 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1118 char * _arg7
= (char *) "checkBox";
1119 PyObject
* _argo0
= 0;
1120 PyObject
* _obj2
= 0;
1122 PyObject
* _obj3
= 0;
1124 PyObject
* _obj4
= 0;
1125 PyObject
* _argo6
= 0;
1126 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1140 #if PYTHON_API_VERSION >= 1009
1141 char* tmpPtr
; int tmpSize
;
1142 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1143 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1146 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1148 _arg2
= new wxString(tmpPtr
, tmpSize
);
1150 if (!PyString_Check(_obj2
)) {
1151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1154 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1160 if (! wxPoint_helper(_obj3
, &_arg3
))
1166 if (! wxSize_helper(_obj4
, &_arg4
))
1170 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1177 wxPy_BEGIN_ALLOW_THREADS
;
1178 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1180 wxPy_END_ALLOW_THREADS
;
1181 if (PyErr_Occurred()) return NULL
;
1183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1184 _resultobj
= Py_BuildValue("s",_ptemp
);
1187 _resultobj
= Py_None
;
1196 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1197 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1198 PyObject
* _resultobj
;
1201 PyObject
* _argo0
= 0;
1202 char *_kwnames
[] = { "self", NULL
};
1205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1215 wxPy_BEGIN_ALLOW_THREADS
;
1216 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1218 wxPy_END_ALLOW_THREADS
;
1219 if (PyErr_Occurred()) return NULL
;
1220 } _resultobj
= Py_BuildValue("i",_result
);
1224 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1225 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1226 PyObject
* _resultobj
;
1229 PyObject
* _argo0
= 0;
1231 char *_kwnames
[] = { "self","state", NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1243 _arg1
= (bool ) tempbool1
;
1245 wxPy_BEGIN_ALLOW_THREADS
;
1246 wxCheckBox_SetValue(_arg0
,_arg1
);
1248 wxPy_END_ALLOW_THREADS
;
1249 if (PyErr_Occurred()) return NULL
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 static void *SwigwxChoiceTowxControl(void *ptr
) {
1258 src
= (wxChoice
*) ptr
;
1259 dest
= (wxControl
*) src
;
1260 return (void *) dest
;
1263 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1266 src
= (wxChoice
*) ptr
;
1267 dest
= (wxWindow
*) src
;
1268 return (void *) dest
;
1271 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1274 src
= (wxChoice
*) ptr
;
1275 dest
= (wxEvtHandler
*) src
;
1276 return (void *) dest
;
1279 static void *SwigwxChoiceTowxObject(void *ptr
) {
1282 src
= (wxChoice
*) ptr
;
1283 dest
= (wxObject
*) src
;
1284 return (void *) dest
;
1287 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1288 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1293 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1294 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1295 int _arg4
= (int ) 0;
1296 wxString
* _arg5
= (wxString
*) NULL
;
1297 long _arg6
= (long ) 0;
1298 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1299 char * _arg8
= (char *) "choice";
1300 PyObject
* _argo0
= 0;
1302 PyObject
* _obj2
= 0;
1304 PyObject
* _obj3
= 0;
1305 PyObject
* _obj5
= 0;
1306 PyObject
* _argo7
= 0;
1307 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1323 if (! wxPoint_helper(_obj2
, &_arg2
))
1329 if (! wxSize_helper(_obj3
, &_arg3
))
1334 _arg5
= wxString_LIST_helper(_obj5
);
1335 if (_arg5
== NULL
) {
1340 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1348 _arg4
= PyList_Size(_obj5
);
1355 wxPy_BEGIN_ALLOW_THREADS
;
1356 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1358 wxPy_END_ALLOW_THREADS
;
1359 if (PyErr_Occurred()) return NULL
;
1361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1362 _resultobj
= Py_BuildValue("s",_ptemp
);
1365 _resultobj
= Py_None
;
1373 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1374 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 PyObject
* _obj1
= 0;
1380 char *_kwnames
[] = { "self","item", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1393 #if PYTHON_API_VERSION >= 1009
1394 char* tmpPtr
; int tmpSize
;
1395 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1399 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1401 _arg1
= new wxString(tmpPtr
, tmpSize
);
1403 if (!PyString_Check(_obj1
)) {
1404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1407 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1411 wxPy_BEGIN_ALLOW_THREADS
;
1412 wxChoice_Append(_arg0
,*_arg1
);
1414 wxPy_END_ALLOW_THREADS
;
1415 if (PyErr_Occurred()) return NULL
;
1416 } Py_INCREF(Py_None
);
1417 _resultobj
= Py_None
;
1425 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1426 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1429 PyObject
* _argo0
= 0;
1430 char *_kwnames
[] = { "self", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 wxChoice_Clear(_arg0
);
1446 wxPy_END_ALLOW_THREADS
;
1447 if (PyErr_Occurred()) return NULL
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 #define wxChoice_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 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
4405 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4407 wxTextAttr
* _result
;
4408 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
4409 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
4410 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
4412 PyObject
* _obj0
= 0;
4414 PyObject
* _obj1
= 0;
4415 PyObject
* _argo2
= 0;
4416 char *_kwnames
[] = { "colText","colBack","font", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
4425 if (! wxColour_helper(_obj0
, &_arg0
))
4431 if (! wxColour_helper(_obj1
, &_arg1
))
4435 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
4445 wxPy_END_ALLOW_THREADS
;
4446 if (PyErr_Occurred()) return NULL
;
4448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
4449 _resultobj
= Py_BuildValue("s",_ptemp
);
4452 _resultobj
= Py_None
;
4457 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
4458 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4461 PyObject
* _argo0
= 0;
4462 char *_kwnames
[] = { "self", NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
4468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
4475 wxPy_BEGIN_ALLOW_THREADS
;
4476 delete_wxTextAttr(_arg0
);
4478 wxPy_END_ALLOW_THREADS
;
4479 if (PyErr_Occurred()) return NULL
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
4486 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
* _resultobj
;
4490 PyObject
* _argo0
= 0;
4492 PyObject
* _obj1
= 0;
4493 char *_kwnames
[] = { "self","colText", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
4507 if (! wxColour_helper(_obj1
, &_arg1
))
4511 wxPy_BEGIN_ALLOW_THREADS
;
4512 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
4514 wxPy_END_ALLOW_THREADS
;
4515 if (PyErr_Occurred()) return NULL
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
4522 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4526 PyObject
* _argo0
= 0;
4528 PyObject
* _obj1
= 0;
4529 char *_kwnames
[] = { "self","colBack", NULL
};
4532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
4535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
4543 if (! wxColour_helper(_obj1
, &_arg1
))
4547 wxPy_BEGIN_ALLOW_THREADS
;
4548 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
4550 wxPy_END_ALLOW_THREADS
;
4551 if (PyErr_Occurred()) return NULL
;
4552 } Py_INCREF(Py_None
);
4553 _resultobj
= Py_None
;
4557 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
4558 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4559 PyObject
* _resultobj
;
4562 PyObject
* _argo0
= 0;
4563 PyObject
* _argo1
= 0;
4564 char *_kwnames
[] = { "self","font", NULL
};
4567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
4570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
4577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
4584 wxPy_BEGIN_ALLOW_THREADS
;
4585 wxTextAttr_SetFont(_arg0
,*_arg1
);
4587 wxPy_END_ALLOW_THREADS
;
4588 if (PyErr_Occurred()) return NULL
;
4589 } Py_INCREF(Py_None
);
4590 _resultobj
= Py_None
;
4594 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
4595 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4599 PyObject
* _argo0
= 0;
4600 char *_kwnames
[] = { "self", NULL
};
4603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
4616 wxPy_END_ALLOW_THREADS
;
4617 if (PyErr_Occurred()) return NULL
;
4618 } _resultobj
= Py_BuildValue("i",_result
);
4622 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
4623 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4627 PyObject
* _argo0
= 0;
4628 char *_kwnames
[] = { "self", NULL
};
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
4634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
4641 wxPy_BEGIN_ALLOW_THREADS
;
4642 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
4644 wxPy_END_ALLOW_THREADS
;
4645 if (PyErr_Occurred()) return NULL
;
4646 } _resultobj
= Py_BuildValue("i",_result
);
4650 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
4651 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
* _resultobj
;
4655 PyObject
* _argo0
= 0;
4656 char *_kwnames
[] = { "self", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
4662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
4669 wxPy_BEGIN_ALLOW_THREADS
;
4670 _result
= (bool )wxTextAttr_HasFont(_arg0
);
4672 wxPy_END_ALLOW_THREADS
;
4673 if (PyErr_Occurred()) return NULL
;
4674 } _resultobj
= Py_BuildValue("i",_result
);
4678 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
4679 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4683 PyObject
* _argo0
= 0;
4684 char *_kwnames
[] = { "self", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 const wxColour
& _result_ref
= wxTextAttr_GetTextColour(_arg0
);
4700 _result
= (wxColour
*) &_result_ref
;
4702 wxPy_END_ALLOW_THREADS
;
4703 if (PyErr_Occurred()) return NULL
;
4705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4706 _resultobj
= Py_BuildValue("s",_ptemp
);
4709 _resultobj
= Py_None
;
4714 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
4715 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4719 PyObject
* _argo0
= 0;
4720 char *_kwnames
[] = { "self", NULL
};
4724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
4727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
4734 wxPy_BEGIN_ALLOW_THREADS
;
4735 const wxColour
& _result_ref
= wxTextAttr_GetBackgroundColour(_arg0
);
4736 _result
= (wxColour
*) &_result_ref
;
4738 wxPy_END_ALLOW_THREADS
;
4739 if (PyErr_Occurred()) return NULL
;
4741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
4742 _resultobj
= Py_BuildValue("s",_ptemp
);
4745 _resultobj
= Py_None
;
4750 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
4751 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
4770 wxPy_BEGIN_ALLOW_THREADS
;
4771 const wxFont
& _result_ref
= wxTextAttr_GetFont(_arg0
);
4772 _result
= (wxFont
*) &_result_ref
;
4774 wxPy_END_ALLOW_THREADS
;
4775 if (PyErr_Occurred()) return NULL
;
4777 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
4778 _resultobj
= Py_BuildValue("s",_ptemp
);
4781 _resultobj
= Py_None
;
4786 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4789 src
= (wxTextCtrl
*) ptr
;
4790 dest
= (wxControl
*) src
;
4791 return (void *) dest
;
4794 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4797 src
= (wxTextCtrl
*) ptr
;
4798 dest
= (wxWindow
*) src
;
4799 return (void *) dest
;
4802 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4805 src
= (wxTextCtrl
*) ptr
;
4806 dest
= (wxEvtHandler
*) src
;
4807 return (void *) dest
;
4810 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
4813 src
= (wxTextCtrl
*) ptr
;
4814 dest
= (wxObject
*) src
;
4815 return (void *) dest
;
4818 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4819 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4821 wxTextCtrl
* _result
;
4824 char * _arg2
= (char *) "";
4825 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4826 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4827 long _arg5
= (long ) 0;
4828 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
4829 char * _arg7
= (char *) "text";
4830 PyObject
* _argo0
= 0;
4832 PyObject
* _obj3
= 0;
4834 PyObject
* _obj4
= 0;
4835 PyObject
* _argo6
= 0;
4836 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4852 if (! wxPoint_helper(_obj3
, &_arg3
))
4858 if (! wxSize_helper(_obj4
, &_arg4
))
4862 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4869 wxPy_BEGIN_ALLOW_THREADS
;
4870 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4872 wxPy_END_ALLOW_THREADS
;
4873 if (PyErr_Occurred()) return NULL
;
4875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4876 _resultobj
= Py_BuildValue("s",_ptemp
);
4879 _resultobj
= Py_None
;
4884 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4885 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4888 PyObject
* _argo0
= 0;
4889 char *_kwnames
[] = { "self", NULL
};
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4902 wxPy_BEGIN_ALLOW_THREADS
;
4903 wxTextCtrl_Clear(_arg0
);
4905 wxPy_END_ALLOW_THREADS
;
4906 if (PyErr_Occurred()) return NULL
;
4907 } Py_INCREF(Py_None
);
4908 _resultobj
= Py_None
;
4912 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4913 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4916 PyObject
* _argo0
= 0;
4917 char *_kwnames
[] = { "self", NULL
};
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
4923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4930 wxPy_BEGIN_ALLOW_THREADS
;
4931 wxTextCtrl_Copy(_arg0
);
4933 wxPy_END_ALLOW_THREADS
;
4934 if (PyErr_Occurred()) return NULL
;
4935 } Py_INCREF(Py_None
);
4936 _resultobj
= Py_None
;
4940 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4941 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
* _resultobj
;
4944 PyObject
* _argo0
= 0;
4945 char *_kwnames
[] = { "self", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4958 wxPy_BEGIN_ALLOW_THREADS
;
4959 wxTextCtrl_Cut(_arg0
);
4961 wxPy_END_ALLOW_THREADS
;
4962 if (PyErr_Occurred()) return NULL
;
4963 } Py_INCREF(Py_None
);
4964 _resultobj
= Py_None
;
4968 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4969 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4972 PyObject
* _argo0
= 0;
4973 char *_kwnames
[] = { "self", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4986 wxPy_BEGIN_ALLOW_THREADS
;
4987 wxTextCtrl_DiscardEdits(_arg0
);
4989 wxPy_END_ALLOW_THREADS
;
4990 if (PyErr_Occurred()) return NULL
;
4991 } Py_INCREF(Py_None
);
4992 _resultobj
= Py_None
;
4996 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4997 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
5001 PyObject
* _argo0
= 0;
5002 char *_kwnames
[] = { "self", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
5015 wxPy_BEGIN_ALLOW_THREADS
;
5016 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
5018 wxPy_END_ALLOW_THREADS
;
5019 if (PyErr_Occurred()) return NULL
;
5020 } _resultobj
= Py_BuildValue("l",_result
);
5024 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
5025 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
* _resultobj
;
5029 PyObject
* _argo0
= 0;
5030 char *_kwnames
[] = { "self", NULL
};
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
5036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
5043 wxPy_BEGIN_ALLOW_THREADS
;
5044 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
5046 wxPy_END_ALLOW_THREADS
;
5047 if (PyErr_Occurred()) return NULL
;
5048 } _resultobj
= Py_BuildValue("l",_result
);
5052 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
5053 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5058 PyObject
* _argo0
= 0;
5059 char *_kwnames
[] = { "self","lineNo", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
5072 wxPy_BEGIN_ALLOW_THREADS
;
5073 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
5075 wxPy_END_ALLOW_THREADS
;
5076 if (PyErr_Occurred()) return NULL
;
5077 } _resultobj
= Py_BuildValue("i",_result
);
5081 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
5082 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
* _resultobj
;
5087 PyObject
* _argo0
= 0;
5088 char *_kwnames
[] = { "self","lineNo", NULL
};
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
5094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
5101 wxPy_BEGIN_ALLOW_THREADS
;
5102 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
5104 wxPy_END_ALLOW_THREADS
;
5105 if (PyErr_Occurred()) return NULL
;
5107 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5115 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
5116 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
* _resultobj
;
5120 PyObject
* _argo0
= 0;
5121 char *_kwnames
[] = { "self", NULL
};
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
5127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
5134 wxPy_BEGIN_ALLOW_THREADS
;
5135 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
5137 wxPy_END_ALLOW_THREADS
;
5138 if (PyErr_Occurred()) return NULL
;
5139 } _resultobj
= Py_BuildValue("i",_result
);
5143 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
5144 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5148 PyObject
* _argo0
= 0;
5149 char *_kwnames
[] = { "self", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
5162 wxPy_BEGIN_ALLOW_THREADS
;
5163 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
5165 wxPy_END_ALLOW_THREADS
;
5166 if (PyErr_Occurred()) return NULL
;
5168 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5176 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
5177 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5181 PyObject
* _argo0
= 0;
5182 char *_kwnames
[] = { "self", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
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_IsModified. Expected _wxTextCtrl_p.");
5195 wxPy_BEGIN_ALLOW_THREADS
;
5196 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
5198 wxPy_END_ALLOW_THREADS
;
5199 if (PyErr_Occurred()) return NULL
;
5200 } _resultobj
= Py_BuildValue("i",_result
);
5204 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
5205 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
* _resultobj
;
5210 PyObject
* _argo0
= 0;
5211 PyObject
* _obj1
= 0;
5212 char *_kwnames
[] = { "self","filename", NULL
};
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_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_LoadFile. 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 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
5246 wxPy_END_ALLOW_THREADS
;
5247 if (PyErr_Occurred()) return NULL
;
5248 } _resultobj
= Py_BuildValue("i",_result
);
5256 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
5257 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
* _resultobj
;
5260 PyObject
* _argo0
= 0;
5261 char *_kwnames
[] = { "self", NULL
};
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
5267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
5274 wxPy_BEGIN_ALLOW_THREADS
;
5275 wxTextCtrl_Paste(_arg0
);
5277 wxPy_END_ALLOW_THREADS
;
5278 if (PyErr_Occurred()) return NULL
;
5279 } Py_INCREF(Py_None
);
5280 _resultobj
= Py_None
;
5284 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
5285 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5293 PyObject
* _argo0
= 0;
5294 char *_kwnames
[] = { "self","pos", NULL
};
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
5306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
5313 wxPy_BEGIN_ALLOW_THREADS
;
5314 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
5316 wxPy_END_ALLOW_THREADS
;
5317 if (PyErr_Occurred()) return NULL
;
5318 } Py_INCREF(Py_None
);
5319 _resultobj
= Py_None
;
5322 o
= PyInt_FromLong((long) (*_arg2
));
5323 _resultobj
= t_output_helper(_resultobj
, o
);
5327 o
= PyInt_FromLong((long) (*_arg3
));
5328 _resultobj
= t_output_helper(_resultobj
, o
);
5333 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
5334 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
* _resultobj
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self","from","to", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
5356 wxPy_END_ALLOW_THREADS
;
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
5364 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5365 PyObject
* _resultobj
;
5370 PyObject
* _argo0
= 0;
5371 PyObject
* _obj3
= 0;
5372 char *_kwnames
[] = { "self","from","to","value", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
5385 #if PYTHON_API_VERSION >= 1009
5386 char* tmpPtr
; int tmpSize
;
5387 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
5388 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5391 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
5393 _arg3
= new wxString(tmpPtr
, tmpSize
);
5395 if (!PyString_Check(_obj3
)) {
5396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5399 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
5403 wxPy_BEGIN_ALLOW_THREADS
;
5404 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
5406 wxPy_END_ALLOW_THREADS
;
5407 if (PyErr_Occurred()) return NULL
;
5408 } Py_INCREF(Py_None
);
5409 _resultobj
= Py_None
;
5417 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
5418 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5423 PyObject
* _argo0
= 0;
5424 PyObject
* _obj1
= 0;
5425 char *_kwnames
[] = { "self","filename", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
5438 #if PYTHON_API_VERSION >= 1009
5439 char* tmpPtr
; int tmpSize
;
5440 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5441 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5444 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5446 _arg1
= new wxString(tmpPtr
, tmpSize
);
5448 if (!PyString_Check(_obj1
)) {
5449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5452 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5456 wxPy_BEGIN_ALLOW_THREADS
;
5457 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
5459 wxPy_END_ALLOW_THREADS
;
5460 if (PyErr_Occurred()) return NULL
;
5461 } _resultobj
= Py_BuildValue("i",_result
);
5469 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
5470 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
* _resultobj
;
5474 PyObject
* _argo0
= 0;
5476 char *_kwnames
[] = { "self","editable", NULL
};
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
5482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
5488 _arg1
= (bool ) tempbool1
;
5490 wxPy_BEGIN_ALLOW_THREADS
;
5491 wxTextCtrl_SetEditable(_arg0
,_arg1
);
5493 wxPy_END_ALLOW_THREADS
;
5494 if (PyErr_Occurred()) return NULL
;
5495 } Py_INCREF(Py_None
);
5496 _resultobj
= Py_None
;
5500 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
5501 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
* _resultobj
;
5505 PyObject
* _argo0
= 0;
5506 char *_kwnames
[] = { "self","pos", NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
5512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
5519 wxPy_BEGIN_ALLOW_THREADS
;
5520 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
5522 wxPy_END_ALLOW_THREADS
;
5523 if (PyErr_Occurred()) return NULL
;
5524 } Py_INCREF(Py_None
);
5525 _resultobj
= Py_None
;
5529 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
5530 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
* _resultobj
;
5533 PyObject
* _argo0
= 0;
5534 char *_kwnames
[] = { "self", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
5547 wxPy_BEGIN_ALLOW_THREADS
;
5548 wxTextCtrl_SetInsertionPointEnd(_arg0
);
5550 wxPy_END_ALLOW_THREADS
;
5551 if (PyErr_Occurred()) return NULL
;
5552 } Py_INCREF(Py_None
);
5553 _resultobj
= Py_None
;
5557 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5558 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
* _resultobj
;
5563 PyObject
* _argo0
= 0;
5564 char *_kwnames
[] = { "self","from","to", NULL
};
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
5577 wxPy_BEGIN_ALLOW_THREADS
;
5578 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
5580 wxPy_END_ALLOW_THREADS
;
5581 if (PyErr_Occurred()) return NULL
;
5582 } Py_INCREF(Py_None
);
5583 _resultobj
= Py_None
;
5587 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5588 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
* _resultobj
;
5592 PyObject
* _argo0
= 0;
5593 PyObject
* _obj1
= 0;
5594 char *_kwnames
[] = { "self","value", NULL
};
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5607 #if PYTHON_API_VERSION >= 1009
5608 char* tmpPtr
; int tmpSize
;
5609 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5613 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5615 _arg1
= new wxString(tmpPtr
, tmpSize
);
5617 if (!PyString_Check(_obj1
)) {
5618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5621 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5625 wxPy_BEGIN_ALLOW_THREADS
;
5626 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5628 wxPy_END_ALLOW_THREADS
;
5629 if (PyErr_Occurred()) return NULL
;
5630 } Py_INCREF(Py_None
);
5631 _resultobj
= Py_None
;
5639 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5640 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5644 PyObject
* _argo0
= 0;
5645 char *_kwnames
[] = { "self","pos", NULL
};
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
5651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
5658 wxPy_BEGIN_ALLOW_THREADS
;
5659 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
5661 wxPy_END_ALLOW_THREADS
;
5662 if (PyErr_Occurred()) return NULL
;
5663 } Py_INCREF(Py_None
);
5664 _resultobj
= Py_None
;
5668 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5669 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
* _resultobj
;
5673 PyObject
* _argo0
= 0;
5674 PyObject
* _obj1
= 0;
5675 char *_kwnames
[] = { "self","text", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5688 #if PYTHON_API_VERSION >= 1009
5689 char* tmpPtr
; int tmpSize
;
5690 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5691 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5694 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5696 _arg1
= new wxString(tmpPtr
, tmpSize
);
5698 if (!PyString_Check(_obj1
)) {
5699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5702 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5706 wxPy_BEGIN_ALLOW_THREADS
;
5707 wxTextCtrl_WriteText(_arg0
,*_arg1
);
5709 wxPy_END_ALLOW_THREADS
;
5710 if (PyErr_Occurred()) return NULL
;
5711 } Py_INCREF(Py_None
);
5712 _resultobj
= Py_None
;
5720 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5721 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5725 PyObject
* _argo0
= 0;
5726 PyObject
* _obj1
= 0;
5727 char *_kwnames
[] = { "self","text", NULL
};
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
5733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5740 #if PYTHON_API_VERSION >= 1009
5741 char* tmpPtr
; int tmpSize
;
5742 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5746 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5748 _arg1
= new wxString(tmpPtr
, tmpSize
);
5750 if (!PyString_Check(_obj1
)) {
5751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5754 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 wxTextCtrl_AppendText(_arg0
,*_arg1
);
5761 wxPy_END_ALLOW_THREADS
;
5762 if (PyErr_Occurred()) return NULL
;
5763 } Py_INCREF(Py_None
);
5764 _resultobj
= Py_None
;
5772 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5773 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
* _resultobj
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self","x","y", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
5796 wxPy_END_ALLOW_THREADS
;
5797 if (PyErr_Occurred()) return NULL
;
5798 } _resultobj
= Py_BuildValue("l",_result
);
5802 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5803 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5807 PyObject
* _argo0
= 0;
5808 char *_kwnames
[] = { "self", NULL
};
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
5814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
5821 wxPy_BEGIN_ALLOW_THREADS
;
5822 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
5824 wxPy_END_ALLOW_THREADS
;
5825 if (PyErr_Occurred()) return NULL
;
5826 } _resultobj
= Py_BuildValue("i",_result
);
5830 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5831 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
5852 wxPy_END_ALLOW_THREADS
;
5853 if (PyErr_Occurred()) return NULL
;
5854 } _resultobj
= Py_BuildValue("i",_result
);
5858 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5859 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5877 wxPy_BEGIN_ALLOW_THREADS
;
5878 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5880 wxPy_END_ALLOW_THREADS
;
5881 if (PyErr_Occurred()) return NULL
;
5882 } _resultobj
= Py_BuildValue("i",_result
);
5886 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5887 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
5908 wxPy_END_ALLOW_THREADS
;
5909 if (PyErr_Occurred()) return NULL
;
5910 } _resultobj
= Py_BuildValue("i",_result
);
5914 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5915 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
* _resultobj
;
5919 PyObject
* _argo0
= 0;
5920 char *_kwnames
[] = { "self", NULL
};
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
5926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5933 wxPy_BEGIN_ALLOW_THREADS
;
5934 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
5936 wxPy_END_ALLOW_THREADS
;
5937 if (PyErr_Occurred()) return NULL
;
5938 } _resultobj
= Py_BuildValue("i",_result
);
5942 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5943 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
* _resultobj
;
5950 PyObject
* _argo0
= 0;
5951 char *_kwnames
[] = { "self", NULL
};
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
5963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5970 wxPy_BEGIN_ALLOW_THREADS
;
5971 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
5973 wxPy_END_ALLOW_THREADS
;
5974 if (PyErr_Occurred()) return NULL
;
5975 } Py_INCREF(Py_None
);
5976 _resultobj
= Py_None
;
5979 o
= PyInt_FromLong((long) (*_arg1
));
5980 _resultobj
= t_output_helper(_resultobj
, o
);
5984 o
= PyInt_FromLong((long) (*_arg2
));
5985 _resultobj
= t_output_helper(_resultobj
, o
);
5990 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5991 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
* _resultobj
;
5995 PyObject
* _argo0
= 0;
5996 char *_kwnames
[] = { "self", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6009 wxPy_BEGIN_ALLOW_THREADS
;
6010 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6012 wxPy_END_ALLOW_THREADS
;
6013 if (PyErr_Occurred()) return NULL
;
6014 } _resultobj
= Py_BuildValue("i",_result
);
6018 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
6019 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
* _resultobj
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
6036 wxPy_BEGIN_ALLOW_THREADS
;
6037 wxTextCtrl_Undo(_arg0
);
6039 wxPy_END_ALLOW_THREADS
;
6040 if (PyErr_Occurred()) return NULL
;
6041 } Py_INCREF(Py_None
);
6042 _resultobj
= Py_None
;
6046 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
6047 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
* _resultobj
;
6050 PyObject
* _argo0
= 0;
6051 char *_kwnames
[] = { "self", NULL
};
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
6057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
6064 wxPy_BEGIN_ALLOW_THREADS
;
6065 wxTextCtrl_Redo(_arg0
);
6067 wxPy_END_ALLOW_THREADS
;
6068 if (PyErr_Occurred()) return NULL
;
6069 } Py_INCREF(Py_None
);
6070 _resultobj
= Py_None
;
6074 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6075 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
* _resultobj
;
6082 PyObject
* _argo0
= 0;
6083 PyObject
* _argo3
= 0;
6084 char *_kwnames
[] = { "self","start","end","style", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6097 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6104 wxPy_BEGIN_ALLOW_THREADS
;
6105 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6107 wxPy_END_ALLOW_THREADS
;
6108 if (PyErr_Occurred()) return NULL
;
6109 } _resultobj
= Py_BuildValue("i",_result
);
6113 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6114 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6119 PyObject
* _argo0
= 0;
6120 PyObject
* _argo1
= 0;
6121 char *_kwnames
[] = { "self","style", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6134 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6135 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6141 wxPy_BEGIN_ALLOW_THREADS
;
6142 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6144 wxPy_END_ALLOW_THREADS
;
6145 if (PyErr_Occurred()) return NULL
;
6146 } _resultobj
= Py_BuildValue("i",_result
);
6150 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6151 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
* _resultobj
;
6153 wxTextAttr
* _result
;
6155 PyObject
* _argo0
= 0;
6156 char *_kwnames
[] = { "self", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6170 wxPy_BEGIN_ALLOW_THREADS
;
6171 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6172 _result
= (wxTextAttr
*) &_result_ref
;
6174 wxPy_END_ALLOW_THREADS
;
6175 if (PyErr_Occurred()) return NULL
;
6177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6178 _resultobj
= Py_BuildValue("s",_ptemp
);
6181 _resultobj
= Py_None
;
6186 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
6187 self
->AppendText(text
);
6189 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6193 PyObject
* _argo0
= 0;
6194 PyObject
* _obj1
= 0;
6195 char *_kwnames
[] = { "self","text", NULL
};
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
6201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
6208 #if PYTHON_API_VERSION >= 1009
6209 char* tmpPtr
; int tmpSize
;
6210 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6214 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6216 _arg1
= new wxString(tmpPtr
, tmpSize
);
6218 if (!PyString_Check(_obj1
)) {
6219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6222 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6226 wxPy_BEGIN_ALLOW_THREADS
;
6227 wxTextCtrl_write(_arg0
,*_arg1
);
6229 wxPy_END_ALLOW_THREADS
;
6230 if (PyErr_Occurred()) return NULL
;
6231 } Py_INCREF(Py_None
);
6232 _resultobj
= Py_None
;
6240 static void *SwigwxScrollBarTowxControl(void *ptr
) {
6243 src
= (wxScrollBar
*) ptr
;
6244 dest
= (wxControl
*) src
;
6245 return (void *) dest
;
6248 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
6251 src
= (wxScrollBar
*) ptr
;
6252 dest
= (wxWindow
*) src
;
6253 return (void *) dest
;
6256 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
6259 src
= (wxScrollBar
*) ptr
;
6260 dest
= (wxEvtHandler
*) src
;
6261 return (void *) dest
;
6264 static void *SwigwxScrollBarTowxObject(void *ptr
) {
6267 src
= (wxScrollBar
*) ptr
;
6268 dest
= (wxObject
*) src
;
6269 return (void *) dest
;
6272 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6273 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6275 wxScrollBar
* _result
;
6277 wxWindowID _arg1
= (wxWindowID
) -1;
6278 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6279 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6280 long _arg4
= (long ) wxSB_HORIZONTAL
;
6281 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
6282 char * _arg6
= (char *) "scrollBar";
6283 PyObject
* _argo0
= 0;
6285 PyObject
* _obj2
= 0;
6287 PyObject
* _obj3
= 0;
6288 PyObject
* _argo5
= 0;
6289 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
6305 if (! wxPoint_helper(_obj2
, &_arg2
))
6311 if (! wxSize_helper(_obj3
, &_arg3
))
6315 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
6322 wxPy_BEGIN_ALLOW_THREADS
;
6323 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
6325 wxPy_END_ALLOW_THREADS
;
6326 if (PyErr_Occurred()) return NULL
;
6328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
6329 _resultobj
= Py_BuildValue("s",_ptemp
);
6332 _resultobj
= Py_None
;
6337 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
6338 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6341 wxScrollBar
* _arg0
;
6342 PyObject
* _argo0
= 0;
6343 char *_kwnames
[] = { "self", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
6356 wxPy_BEGIN_ALLOW_THREADS
;
6357 _result
= (int )wxScrollBar_GetRange(_arg0
);
6359 wxPy_END_ALLOW_THREADS
;
6360 if (PyErr_Occurred()) return NULL
;
6361 } _resultobj
= Py_BuildValue("i",_result
);
6365 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
6366 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6369 wxScrollBar
* _arg0
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
6384 wxPy_BEGIN_ALLOW_THREADS
;
6385 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
6387 wxPy_END_ALLOW_THREADS
;
6388 if (PyErr_Occurred()) return NULL
;
6389 } _resultobj
= Py_BuildValue("i",_result
);
6393 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
6394 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6397 wxScrollBar
* _arg0
;
6398 PyObject
* _argo0
= 0;
6399 char *_kwnames
[] = { "self", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
6412 wxPy_BEGIN_ALLOW_THREADS
;
6413 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
6415 wxPy_END_ALLOW_THREADS
;
6416 if (PyErr_Occurred()) return NULL
;
6417 } _resultobj
= Py_BuildValue("i",_result
);
6421 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
6422 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
* _resultobj
;
6425 wxScrollBar
* _arg0
;
6426 PyObject
* _argo0
= 0;
6427 char *_kwnames
[] = { "self", NULL
};
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
6433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
6440 wxPy_BEGIN_ALLOW_THREADS
;
6441 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
6443 wxPy_END_ALLOW_THREADS
;
6444 if (PyErr_Occurred()) return NULL
;
6445 } _resultobj
= Py_BuildValue("i",_result
);
6449 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
6450 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
* _resultobj
;
6452 wxScrollBar
* _arg0
;
6454 PyObject
* _argo0
= 0;
6455 char *_kwnames
[] = { "self","viewStart", NULL
};
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
6461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
6468 wxPy_BEGIN_ALLOW_THREADS
;
6469 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
6471 wxPy_END_ALLOW_THREADS
;
6472 if (PyErr_Occurred()) return NULL
;
6473 } Py_INCREF(Py_None
);
6474 _resultobj
= Py_None
;
6478 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6479 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6481 wxScrollBar
* _arg0
;
6486 bool _arg5
= (bool ) TRUE
;
6487 PyObject
* _argo0
= 0;
6488 int tempbool5
= (int) TRUE
;
6489 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
6495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
6497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
6501 _arg5
= (bool ) tempbool5
;
6503 wxPy_BEGIN_ALLOW_THREADS
;
6504 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
6506 wxPy_END_ALLOW_THREADS
;
6507 if (PyErr_Occurred()) return NULL
;
6508 } Py_INCREF(Py_None
);
6509 _resultobj
= Py_None
;
6513 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
6516 src
= (wxSpinButton
*) ptr
;
6517 dest
= (wxControl
*) src
;
6518 return (void *) dest
;
6521 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
6524 src
= (wxSpinButton
*) ptr
;
6525 dest
= (wxWindow
*) src
;
6526 return (void *) dest
;
6529 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
6532 src
= (wxSpinButton
*) ptr
;
6533 dest
= (wxEvtHandler
*) src
;
6534 return (void *) dest
;
6537 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
6540 src
= (wxSpinButton
*) ptr
;
6541 dest
= (wxObject
*) src
;
6542 return (void *) dest
;
6545 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6546 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
* _resultobj
;
6548 wxSpinButton
* _result
;
6550 wxWindowID _arg1
= (wxWindowID
) -1;
6551 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
6552 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
6553 long _arg4
= (long ) wxSP_HORIZONTAL
;
6554 char * _arg5
= (char *) "spinButton";
6555 PyObject
* _argo0
= 0;
6557 PyObject
* _obj2
= 0;
6559 PyObject
* _obj3
= 0;
6560 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
6567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
6576 if (! wxPoint_helper(_obj2
, &_arg2
))
6582 if (! wxSize_helper(_obj3
, &_arg3
))
6586 wxPy_BEGIN_ALLOW_THREADS
;
6587 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
6589 wxPy_END_ALLOW_THREADS
;
6590 if (PyErr_Occurred()) return NULL
;
6592 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
6593 _resultobj
= Py_BuildValue("s",_ptemp
);
6596 _resultobj
= Py_None
;
6601 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
6602 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6605 wxSpinButton
* _arg0
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self", NULL
};
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
6613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
6620 wxPy_BEGIN_ALLOW_THREADS
;
6621 _result
= (int )wxSpinButton_GetMax(_arg0
);
6623 wxPy_END_ALLOW_THREADS
;
6624 if (PyErr_Occurred()) return NULL
;
6625 } _resultobj
= Py_BuildValue("i",_result
);
6629 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
6630 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6633 wxSpinButton
* _arg0
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 _result
= (int )wxSpinButton_GetMin(_arg0
);
6651 wxPy_END_ALLOW_THREADS
;
6652 if (PyErr_Occurred()) return NULL
;
6653 } _resultobj
= Py_BuildValue("i",_result
);
6657 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
6658 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6661 wxSpinButton
* _arg0
;
6662 PyObject
* _argo0
= 0;
6663 char *_kwnames
[] = { "self", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
6676 wxPy_BEGIN_ALLOW_THREADS
;
6677 _result
= (int )wxSpinButton_GetValue(_arg0
);
6679 wxPy_END_ALLOW_THREADS
;
6680 if (PyErr_Occurred()) return NULL
;
6681 } _resultobj
= Py_BuildValue("i",_result
);
6685 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6686 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6688 wxSpinButton
* _arg0
;
6691 PyObject
* _argo0
= 0;
6692 char *_kwnames
[] = { "self","min","max", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
6705 wxPy_BEGIN_ALLOW_THREADS
;
6706 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
6708 wxPy_END_ALLOW_THREADS
;
6709 if (PyErr_Occurred()) return NULL
;
6710 } Py_INCREF(Py_None
);
6711 _resultobj
= Py_None
;
6715 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6716 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6718 wxSpinButton
* _arg0
;
6720 PyObject
* _argo0
= 0;
6721 char *_kwnames
[] = { "self","value", NULL
};
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
6727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
6729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
6734 wxPy_BEGIN_ALLOW_THREADS
;
6735 wxSpinButton_SetValue(_arg0
,_arg1
);
6737 wxPy_END_ALLOW_THREADS
;
6738 if (PyErr_Occurred()) return NULL
;
6739 } Py_INCREF(Py_None
);
6740 _resultobj
= Py_None
;
6744 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
6745 wxStaticBitmap
*src
;
6747 src
= (wxStaticBitmap
*) ptr
;
6748 dest
= (wxControl
*) src
;
6749 return (void *) dest
;
6752 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
6753 wxStaticBitmap
*src
;
6755 src
= (wxStaticBitmap
*) ptr
;
6756 dest
= (wxWindow
*) src
;
6757 return (void *) dest
;
6760 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
6761 wxStaticBitmap
*src
;
6763 src
= (wxStaticBitmap
*) ptr
;
6764 dest
= (wxEvtHandler
*) src
;
6765 return (void *) dest
;
6768 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
6769 wxStaticBitmap
*src
;
6771 src
= (wxStaticBitmap
*) ptr
;
6772 dest
= (wxObject
*) src
;
6773 return (void *) dest
;
6776 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6777 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6779 wxStaticBitmap
* _result
;
6783 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6784 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6785 long _arg5
= (long ) 0;
6786 char * _arg6
= (char *) "staticBitmap";
6787 PyObject
* _argo0
= 0;
6788 PyObject
* _argo2
= 0;
6790 PyObject
* _obj3
= 0;
6792 PyObject
* _obj4
= 0;
6793 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6807 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6816 if (! wxPoint_helper(_obj3
, &_arg3
))
6822 if (! wxSize_helper(_obj4
, &_arg4
))
6826 wxPy_BEGIN_ALLOW_THREADS
;
6827 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6829 wxPy_END_ALLOW_THREADS
;
6830 if (PyErr_Occurred()) return NULL
;
6832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
6833 _resultobj
= Py_BuildValue("s",_ptemp
);
6836 _resultobj
= Py_None
;
6841 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6842 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6845 wxStaticBitmap
* _arg0
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6861 wxPy_BEGIN_ALLOW_THREADS
;
6862 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
6863 _result
= (wxBitmap
*) &_result_ref
;
6865 wxPy_END_ALLOW_THREADS
;
6866 if (PyErr_Occurred()) return NULL
;
6868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6869 _resultobj
= Py_BuildValue("s",_ptemp
);
6872 _resultobj
= Py_None
;
6877 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6878 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
* _resultobj
;
6880 wxStaticBitmap
* _arg0
;
6882 PyObject
* _argo0
= 0;
6883 PyObject
* _argo1
= 0;
6884 char *_kwnames
[] = { "self","bitmap", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
6897 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
6904 wxPy_BEGIN_ALLOW_THREADS
;
6905 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
6907 wxPy_END_ALLOW_THREADS
;
6908 if (PyErr_Occurred()) return NULL
;
6909 } Py_INCREF(Py_None
);
6910 _resultobj
= Py_None
;
6914 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
6915 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
* _resultobj
;
6917 wxStaticBitmap
* _arg0
;
6919 PyObject
* _argo0
= 0;
6920 PyObject
* _argo1
= 0;
6921 char *_kwnames
[] = { "self","icon", NULL
};
6924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
6927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
6934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
6941 wxPy_BEGIN_ALLOW_THREADS
;
6942 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
6944 wxPy_END_ALLOW_THREADS
;
6945 if (PyErr_Occurred()) return NULL
;
6946 } Py_INCREF(Py_None
);
6947 _resultobj
= Py_None
;
6951 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
6954 src
= (wxRadioBox
*) ptr
;
6955 dest
= (wxControl
*) src
;
6956 return (void *) dest
;
6959 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
6962 src
= (wxRadioBox
*) ptr
;
6963 dest
= (wxWindow
*) src
;
6964 return (void *) dest
;
6967 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
6970 src
= (wxRadioBox
*) ptr
;
6971 dest
= (wxEvtHandler
*) src
;
6972 return (void *) dest
;
6975 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
6978 src
= (wxRadioBox
*) ptr
;
6979 dest
= (wxObject
*) src
;
6980 return (void *) dest
;
6983 #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))
6984 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6986 wxRadioBox
* _result
;
6990 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6991 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6992 int _arg5
= (int ) 0;
6993 wxString
* _arg6
= (wxString
*) NULL
;
6994 int _arg7
= (int ) 0;
6995 long _arg8
= (long ) wxRA_HORIZONTAL
;
6996 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
6997 char * _arg10
= (char *) "radioBox";
6998 PyObject
* _argo0
= 0;
6999 PyObject
* _obj2
= 0;
7001 PyObject
* _obj3
= 0;
7003 PyObject
* _obj4
= 0;
7004 PyObject
* _obj6
= 0;
7005 PyObject
* _argo9
= 0;
7006 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
7013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
7020 #if PYTHON_API_VERSION >= 1009
7021 char* tmpPtr
; int tmpSize
;
7022 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7026 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7028 _arg2
= new wxString(tmpPtr
, tmpSize
);
7030 if (!PyString_Check(_obj2
)) {
7031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7034 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7040 if (! wxPoint_helper(_obj3
, &_arg3
))
7046 if (! wxSize_helper(_obj4
, &_arg4
))
7051 _arg6
= wxString_LIST_helper(_obj6
);
7052 if (_arg6
== NULL
) {
7057 if (_argo9
== Py_None
) { _arg9
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
7065 _arg5
= PyList_Size(_obj6
);
7072 wxPy_BEGIN_ALLOW_THREADS
;
7073 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
7075 wxPy_END_ALLOW_THREADS
;
7076 if (PyErr_Occurred()) return NULL
;
7078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
7079 _resultobj
= Py_BuildValue("s",_ptemp
);
7082 _resultobj
= Py_None
;
7094 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
7095 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
* _resultobj
;
7099 PyObject
* _argo0
= 0;
7101 char *_kwnames
[] = { "self","enable", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
7113 _arg1
= (bool ) tempbool1
;
7115 wxPy_BEGIN_ALLOW_THREADS
;
7116 wxRadioBox_Enable(_arg0
,_arg1
);
7118 wxPy_END_ALLOW_THREADS
;
7119 if (PyErr_Occurred()) return NULL
;
7120 } Py_INCREF(Py_None
);
7121 _resultobj
= Py_None
;
7125 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
7126 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7131 PyObject
* _argo0
= 0;
7133 char *_kwnames
[] = { "self","n","enable", NULL
};
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
7145 _arg2
= (bool ) tempbool2
;
7147 wxPy_BEGIN_ALLOW_THREADS
;
7148 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
7150 wxPy_END_ALLOW_THREADS
;
7151 if (PyErr_Occurred()) return NULL
;
7152 } Py_INCREF(Py_None
);
7153 _resultobj
= Py_None
;
7157 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
7158 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
* _resultobj
;
7163 PyObject
* _argo0
= 0;
7164 PyObject
* _obj1
= 0;
7165 char *_kwnames
[] = { "self","string", NULL
};
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
7171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
7178 #if PYTHON_API_VERSION >= 1009
7179 char* tmpPtr
; int tmpSize
;
7180 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7181 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7184 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7186 _arg1
= new wxString(tmpPtr
, tmpSize
);
7188 if (!PyString_Check(_obj1
)) {
7189 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7192 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7196 wxPy_BEGIN_ALLOW_THREADS
;
7197 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
7199 wxPy_END_ALLOW_THREADS
;
7200 if (PyErr_Occurred()) return NULL
;
7201 } _resultobj
= Py_BuildValue("i",_result
);
7209 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
7210 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7211 PyObject
* _resultobj
;
7215 PyObject
* _argo0
= 0;
7216 char *_kwnames
[] = { "self","n", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
7229 wxPy_BEGIN_ALLOW_THREADS
;
7230 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
7232 wxPy_END_ALLOW_THREADS
;
7233 if (PyErr_Occurred()) return NULL
;
7235 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7243 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
7244 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
7255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
7262 wxPy_BEGIN_ALLOW_THREADS
;
7263 _result
= (int )wxRadioBox_GetSelection(_arg0
);
7265 wxPy_END_ALLOW_THREADS
;
7266 if (PyErr_Occurred()) return NULL
;
7267 } _resultobj
= Py_BuildValue("i",_result
);
7271 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
7272 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7277 PyObject
* _argo0
= 0;
7278 char *_kwnames
[] = { "self","n", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
7291 wxPy_BEGIN_ALLOW_THREADS
;
7292 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
7294 wxPy_END_ALLOW_THREADS
;
7295 if (PyErr_Occurred()) return NULL
;
7297 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7305 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7306 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
* _resultobj
;
7310 PyObject
* _argo0
= 0;
7311 char *_kwnames
[] = { "self", NULL
};
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
7317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
7324 wxPy_BEGIN_ALLOW_THREADS
;
7325 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
7327 wxPy_END_ALLOW_THREADS
;
7328 if (PyErr_Occurred()) return NULL
;
7330 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7338 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
7339 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
* _resultobj
;
7343 PyObject
* _argo0
= 0;
7344 char *_kwnames
[] = { "self", NULL
};
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
7350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
7357 wxPy_BEGIN_ALLOW_THREADS
;
7358 _result
= (int )wxRadioBox_Number(_arg0
);
7360 wxPy_END_ALLOW_THREADS
;
7361 if (PyErr_Occurred()) return NULL
;
7362 } _resultobj
= Py_BuildValue("i",_result
);
7366 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
7367 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
* _resultobj
;
7372 PyObject
* _argo0
= 0;
7373 PyObject
* _obj2
= 0;
7374 char *_kwnames
[] = { "self","n","label", NULL
};
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
7380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
7387 #if PYTHON_API_VERSION >= 1009
7388 char* tmpPtr
; int tmpSize
;
7389 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7393 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7395 _arg2
= new wxString(tmpPtr
, tmpSize
);
7397 if (!PyString_Check(_obj2
)) {
7398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7401 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7405 wxPy_BEGIN_ALLOW_THREADS
;
7406 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
7408 wxPy_END_ALLOW_THREADS
;
7409 if (PyErr_Occurred()) return NULL
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7419 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
7420 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7421 PyObject
* _resultobj
;
7424 PyObject
* _argo0
= 0;
7425 char *_kwnames
[] = { "self","n", NULL
};
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
7431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
7438 wxPy_BEGIN_ALLOW_THREADS
;
7439 wxRadioBox_SetSelection(_arg0
,_arg1
);
7441 wxPy_END_ALLOW_THREADS
;
7442 if (PyErr_Occurred()) return NULL
;
7443 } Py_INCREF(Py_None
);
7444 _resultobj
= Py_None
;
7448 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
7449 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
* _resultobj
;
7453 PyObject
* _argo0
= 0;
7454 PyObject
* _obj1
= 0;
7455 char *_kwnames
[] = { "self","string", NULL
};
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
7461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
7468 #if PYTHON_API_VERSION >= 1009
7469 char* tmpPtr
; int tmpSize
;
7470 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7474 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7476 _arg1
= new wxString(tmpPtr
, tmpSize
);
7478 if (!PyString_Check(_obj1
)) {
7479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7482 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7486 wxPy_BEGIN_ALLOW_THREADS
;
7487 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
7489 wxPy_END_ALLOW_THREADS
;
7490 if (PyErr_Occurred()) return NULL
;
7491 } Py_INCREF(Py_None
);
7492 _resultobj
= Py_None
;
7500 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
7501 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
* _resultobj
;
7505 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self","show", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
7519 _arg1
= (bool ) tempbool1
;
7521 wxPy_BEGIN_ALLOW_THREADS
;
7522 wxRadioBox_Show(_arg0
,_arg1
);
7524 wxPy_END_ALLOW_THREADS
;
7525 if (PyErr_Occurred()) return NULL
;
7526 } Py_INCREF(Py_None
);
7527 _resultobj
= Py_None
;
7531 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
7532 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
* _resultobj
;
7537 PyObject
* _argo0
= 0;
7539 char *_kwnames
[] = { "self","item","show", NULL
};
7542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
7545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
7547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
7551 _arg2
= (bool ) tempbool2
;
7553 wxPy_BEGIN_ALLOW_THREADS
;
7554 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
7556 wxPy_END_ALLOW_THREADS
;
7557 if (PyErr_Occurred()) return NULL
;
7558 } Py_INCREF(Py_None
);
7559 _resultobj
= Py_None
;
7563 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
7566 src
= (wxRadioButton
*) ptr
;
7567 dest
= (wxControl
*) src
;
7568 return (void *) dest
;
7571 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
7574 src
= (wxRadioButton
*) ptr
;
7575 dest
= (wxWindow
*) src
;
7576 return (void *) dest
;
7579 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
7582 src
= (wxRadioButton
*) ptr
;
7583 dest
= (wxEvtHandler
*) src
;
7584 return (void *) dest
;
7587 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
7590 src
= (wxRadioButton
*) ptr
;
7591 dest
= (wxObject
*) src
;
7592 return (void *) dest
;
7595 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7596 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
* _resultobj
;
7598 wxRadioButton
* _result
;
7602 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7603 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7604 long _arg5
= (long ) 0;
7605 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7606 char * _arg7
= (char *) "radioButton";
7607 PyObject
* _argo0
= 0;
7608 PyObject
* _obj2
= 0;
7610 PyObject
* _obj3
= 0;
7612 PyObject
* _obj4
= 0;
7613 PyObject
* _argo6
= 0;
7614 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
7628 #if PYTHON_API_VERSION >= 1009
7629 char* tmpPtr
; int tmpSize
;
7630 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7634 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7636 _arg2
= new wxString(tmpPtr
, tmpSize
);
7638 if (!PyString_Check(_obj2
)) {
7639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7642 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7648 if (! wxPoint_helper(_obj3
, &_arg3
))
7654 if (! wxSize_helper(_obj4
, &_arg4
))
7658 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7659 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
7665 wxPy_BEGIN_ALLOW_THREADS
;
7666 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7668 wxPy_END_ALLOW_THREADS
;
7669 if (PyErr_Occurred()) return NULL
;
7671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
7672 _resultobj
= Py_BuildValue("s",_ptemp
);
7675 _resultobj
= Py_None
;
7684 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
7685 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
* _resultobj
;
7688 wxRadioButton
* _arg0
;
7689 PyObject
* _argo0
= 0;
7690 char *_kwnames
[] = { "self", NULL
};
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
7696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
7703 wxPy_BEGIN_ALLOW_THREADS
;
7704 _result
= (bool )wxRadioButton_GetValue(_arg0
);
7706 wxPy_END_ALLOW_THREADS
;
7707 if (PyErr_Occurred()) return NULL
;
7708 } _resultobj
= Py_BuildValue("i",_result
);
7712 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7713 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
* _resultobj
;
7715 wxRadioButton
* _arg0
;
7717 PyObject
* _argo0
= 0;
7719 char *_kwnames
[] = { "self","value", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
7731 _arg1
= (bool ) tempbool1
;
7733 wxPy_BEGIN_ALLOW_THREADS
;
7734 wxRadioButton_SetValue(_arg0
,_arg1
);
7736 wxPy_END_ALLOW_THREADS
;
7737 if (PyErr_Occurred()) return NULL
;
7738 } Py_INCREF(Py_None
);
7739 _resultobj
= Py_None
;
7743 static void *SwigwxSliderTowxControl(void *ptr
) {
7746 src
= (wxSlider
*) ptr
;
7747 dest
= (wxControl
*) src
;
7748 return (void *) dest
;
7751 static void *SwigwxSliderTowxWindow(void *ptr
) {
7754 src
= (wxSlider
*) ptr
;
7755 dest
= (wxWindow
*) src
;
7756 return (void *) dest
;
7759 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
7762 src
= (wxSlider
*) ptr
;
7763 dest
= (wxEvtHandler
*) src
;
7764 return (void *) dest
;
7767 static void *SwigwxSliderTowxObject(void *ptr
) {
7770 src
= (wxSlider
*) ptr
;
7771 dest
= (wxObject
*) src
;
7772 return (void *) dest
;
7775 #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))
7776 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
7784 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
7785 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
7786 long _arg7
= (long ) wxSL_HORIZONTAL
;
7787 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
7788 char * _arg9
= (char *) "slider";
7789 PyObject
* _argo0
= 0;
7791 PyObject
* _obj5
= 0;
7793 PyObject
* _obj6
= 0;
7794 PyObject
* _argo8
= 0;
7795 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
7802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7811 if (! wxPoint_helper(_obj5
, &_arg5
))
7817 if (! wxSize_helper(_obj6
, &_arg6
))
7821 if (_argo8
== Py_None
) { _arg8
= NULL
; }
7822 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
7823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7828 wxPy_BEGIN_ALLOW_THREADS
;
7829 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
7831 wxPy_END_ALLOW_THREADS
;
7832 if (PyErr_Occurred()) return NULL
;
7834 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
7835 _resultobj
= Py_BuildValue("s",_ptemp
);
7838 _resultobj
= Py_None
;
7843 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7844 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
* _resultobj
;
7847 PyObject
* _argo0
= 0;
7848 char *_kwnames
[] = { "self", NULL
};
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
7854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7861 wxPy_BEGIN_ALLOW_THREADS
;
7862 wxSlider_ClearSel(_arg0
);
7864 wxPy_END_ALLOW_THREADS
;
7865 if (PyErr_Occurred()) return NULL
;
7866 } Py_INCREF(Py_None
);
7867 _resultobj
= Py_None
;
7871 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7872 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
* _resultobj
;
7875 PyObject
* _argo0
= 0;
7876 char *_kwnames
[] = { "self", NULL
};
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
7882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
7889 wxPy_BEGIN_ALLOW_THREADS
;
7890 wxSlider_ClearTicks(_arg0
);
7892 wxPy_END_ALLOW_THREADS
;
7893 if (PyErr_Occurred()) return NULL
;
7894 } Py_INCREF(Py_None
);
7895 _resultobj
= Py_None
;
7899 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
7900 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7904 PyObject
* _argo0
= 0;
7905 char *_kwnames
[] = { "self", NULL
};
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
7911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
7918 wxPy_BEGIN_ALLOW_THREADS
;
7919 _result
= (int )wxSlider_GetLineSize(_arg0
);
7921 wxPy_END_ALLOW_THREADS
;
7922 if (PyErr_Occurred()) return NULL
;
7923 } _resultobj
= Py_BuildValue("i",_result
);
7927 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
7928 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7932 PyObject
* _argo0
= 0;
7933 char *_kwnames
[] = { "self", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
7946 wxPy_BEGIN_ALLOW_THREADS
;
7947 _result
= (int )wxSlider_GetMax(_arg0
);
7949 wxPy_END_ALLOW_THREADS
;
7950 if (PyErr_Occurred()) return NULL
;
7951 } _resultobj
= Py_BuildValue("i",_result
);
7955 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
7956 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
7974 wxPy_BEGIN_ALLOW_THREADS
;
7975 _result
= (int )wxSlider_GetMin(_arg0
);
7977 wxPy_END_ALLOW_THREADS
;
7978 if (PyErr_Occurred()) return NULL
;
7979 } _resultobj
= Py_BuildValue("i",_result
);
7983 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7984 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7988 PyObject
* _argo0
= 0;
7989 char *_kwnames
[] = { "self", NULL
};
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
7995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
8002 wxPy_BEGIN_ALLOW_THREADS
;
8003 _result
= (int )wxSlider_GetPageSize(_arg0
);
8005 wxPy_END_ALLOW_THREADS
;
8006 if (PyErr_Occurred()) return NULL
;
8007 } _resultobj
= Py_BuildValue("i",_result
);
8011 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
8012 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8016 PyObject
* _argo0
= 0;
8017 char *_kwnames
[] = { "self", NULL
};
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
8023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
8030 wxPy_BEGIN_ALLOW_THREADS
;
8031 _result
= (int )wxSlider_GetSelEnd(_arg0
);
8033 wxPy_END_ALLOW_THREADS
;
8034 if (PyErr_Occurred()) return NULL
;
8035 } _resultobj
= Py_BuildValue("i",_result
);
8039 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
8040 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8044 PyObject
* _argo0
= 0;
8045 char *_kwnames
[] = { "self", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
8058 wxPy_BEGIN_ALLOW_THREADS
;
8059 _result
= (int )wxSlider_GetSelStart(_arg0
);
8061 wxPy_END_ALLOW_THREADS
;
8062 if (PyErr_Occurred()) return NULL
;
8063 } _resultobj
= Py_BuildValue("i",_result
);
8067 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
8068 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8072 PyObject
* _argo0
= 0;
8073 char *_kwnames
[] = { "self", NULL
};
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
8079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
8086 wxPy_BEGIN_ALLOW_THREADS
;
8087 _result
= (int )wxSlider_GetThumbLength(_arg0
);
8089 wxPy_END_ALLOW_THREADS
;
8090 if (PyErr_Occurred()) return NULL
;
8091 } _resultobj
= Py_BuildValue("i",_result
);
8095 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
8096 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8100 PyObject
* _argo0
= 0;
8101 char *_kwnames
[] = { "self", NULL
};
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
8107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
8114 wxPy_BEGIN_ALLOW_THREADS
;
8115 _result
= (int )wxSlider_GetTickFreq(_arg0
);
8117 wxPy_END_ALLOW_THREADS
;
8118 if (PyErr_Occurred()) return NULL
;
8119 } _resultobj
= Py_BuildValue("i",_result
);
8123 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
8124 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
* _resultobj
;
8128 PyObject
* _argo0
= 0;
8129 char *_kwnames
[] = { "self", NULL
};
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
8135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
8142 wxPy_BEGIN_ALLOW_THREADS
;
8143 _result
= (int )wxSlider_GetValue(_arg0
);
8145 wxPy_END_ALLOW_THREADS
;
8146 if (PyErr_Occurred()) return NULL
;
8147 } _resultobj
= Py_BuildValue("i",_result
);
8151 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8152 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
* _resultobj
;
8157 PyObject
* _argo0
= 0;
8158 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
8171 wxPy_BEGIN_ALLOW_THREADS
;
8172 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
8174 wxPy_END_ALLOW_THREADS
;
8175 if (PyErr_Occurred()) return NULL
;
8176 } Py_INCREF(Py_None
);
8177 _resultobj
= Py_None
;
8181 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
8182 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8183 PyObject
* _resultobj
;
8187 PyObject
* _argo0
= 0;
8188 char *_kwnames
[] = { "self","n","pos", NULL
};
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
8201 wxPy_BEGIN_ALLOW_THREADS
;
8202 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
8204 wxPy_END_ALLOW_THREADS
;
8205 if (PyErr_Occurred()) return NULL
;
8206 } Py_INCREF(Py_None
);
8207 _resultobj
= Py_None
;
8211 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
8212 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
* _resultobj
;
8216 PyObject
* _argo0
= 0;
8217 char *_kwnames
[] = { "self","lineSize", NULL
};
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
8223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
8230 wxPy_BEGIN_ALLOW_THREADS
;
8231 wxSlider_SetLineSize(_arg0
,_arg1
);
8233 wxPy_END_ALLOW_THREADS
;
8234 if (PyErr_Occurred()) return NULL
;
8235 } Py_INCREF(Py_None
);
8236 _resultobj
= Py_None
;
8240 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
8241 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8245 PyObject
* _argo0
= 0;
8246 char *_kwnames
[] = { "self","pageSize", NULL
};
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
8252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
8259 wxPy_BEGIN_ALLOW_THREADS
;
8260 wxSlider_SetPageSize(_arg0
,_arg1
);
8262 wxPy_END_ALLOW_THREADS
;
8263 if (PyErr_Occurred()) return NULL
;
8264 } Py_INCREF(Py_None
);
8265 _resultobj
= Py_None
;
8269 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8270 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
* _resultobj
;
8275 PyObject
* _argo0
= 0;
8276 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
8279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
8289 wxPy_BEGIN_ALLOW_THREADS
;
8290 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
8292 wxPy_END_ALLOW_THREADS
;
8293 if (PyErr_Occurred()) return NULL
;
8294 } Py_INCREF(Py_None
);
8295 _resultobj
= Py_None
;
8299 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
8300 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
* _resultobj
;
8304 PyObject
* _argo0
= 0;
8305 char *_kwnames
[] = { "self","len", NULL
};
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
8311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
8318 wxPy_BEGIN_ALLOW_THREADS
;
8319 wxSlider_SetThumbLength(_arg0
,_arg1
);
8321 wxPy_END_ALLOW_THREADS
;
8322 if (PyErr_Occurred()) return NULL
;
8323 } Py_INCREF(Py_None
);
8324 _resultobj
= Py_None
;
8328 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
8329 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
* _resultobj
;
8333 PyObject
* _argo0
= 0;
8334 char *_kwnames
[] = { "self","tickPos", NULL
};
8337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
8340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
8347 wxPy_BEGIN_ALLOW_THREADS
;
8348 wxSlider_SetTick(_arg0
,_arg1
);
8350 wxPy_END_ALLOW_THREADS
;
8351 if (PyErr_Occurred()) return NULL
;
8352 } Py_INCREF(Py_None
);
8353 _resultobj
= Py_None
;
8357 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8358 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
* _resultobj
;
8362 PyObject
* _argo0
= 0;
8363 char *_kwnames
[] = { "self","value", NULL
};
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
8369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
8371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
8376 wxPy_BEGIN_ALLOW_THREADS
;
8377 wxSlider_SetValue(_arg0
,_arg1
);
8379 wxPy_END_ALLOW_THREADS
;
8380 if (PyErr_Occurred()) return NULL
;
8381 } Py_INCREF(Py_None
);
8382 _resultobj
= Py_None
;
8386 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
8389 src
= (wxSpinCtrl
*) ptr
;
8390 dest
= (wxSpinButton
*) src
;
8391 return (void *) dest
;
8394 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
8397 src
= (wxSpinCtrl
*) ptr
;
8398 dest
= (wxControl
*) src
;
8399 return (void *) dest
;
8402 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
8405 src
= (wxSpinCtrl
*) ptr
;
8406 dest
= (wxWindow
*) src
;
8407 return (void *) dest
;
8410 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
8413 src
= (wxSpinCtrl
*) ptr
;
8414 dest
= (wxEvtHandler
*) src
;
8415 return (void *) dest
;
8418 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
8421 src
= (wxSpinCtrl
*) ptr
;
8422 dest
= (wxObject
*) src
;
8423 return (void *) dest
;
8426 #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))
8427 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
* _resultobj
;
8429 wxSpinCtrl
* _result
;
8431 wxWindowID _arg1
= (wxWindowID
) -1;
8432 char * _arg2
= (char *) "";
8433 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8434 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8435 long _arg5
= (long ) wxSP_ARROW_KEYS
;
8436 int _arg6
= (int ) 0;
8437 int _arg7
= (int ) 100;
8438 int _arg8
= (int ) 0;
8439 char * _arg9
= (char *) "wxSpinCtrl";
8440 PyObject
* _argo0
= 0;
8442 PyObject
* _obj3
= 0;
8444 PyObject
* _obj4
= 0;
8445 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
8452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
8461 if (! wxPoint_helper(_obj3
, &_arg3
))
8467 if (! wxSize_helper(_obj4
, &_arg4
))
8471 wxPy_BEGIN_ALLOW_THREADS
;
8472 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
8474 wxPy_END_ALLOW_THREADS
;
8475 if (PyErr_Occurred()) return NULL
;
8477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
8478 _resultobj
= Py_BuildValue("s",_ptemp
);
8481 _resultobj
= Py_None
;
8486 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
8487 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
* _resultobj
;
8491 PyObject
* _argo0
= 0;
8492 char *_kwnames
[] = { "self", NULL
};
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
8498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
8505 wxPy_BEGIN_ALLOW_THREADS
;
8506 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
8508 wxPy_END_ALLOW_THREADS
;
8509 if (PyErr_Occurred()) return NULL
;
8510 } _resultobj
= Py_BuildValue("i",_result
);
8514 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
8515 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
* _resultobj
;
8519 PyObject
* _argo0
= 0;
8520 char *_kwnames
[] = { "self", NULL
};
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
8526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
8533 wxPy_BEGIN_ALLOW_THREADS
;
8534 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
8536 wxPy_END_ALLOW_THREADS
;
8537 if (PyErr_Occurred()) return NULL
;
8538 } _resultobj
= Py_BuildValue("i",_result
);
8542 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
8543 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
* _resultobj
;
8547 PyObject
* _argo0
= 0;
8548 char *_kwnames
[] = { "self", NULL
};
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
8554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
8561 wxPy_BEGIN_ALLOW_THREADS
;
8562 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
8564 wxPy_END_ALLOW_THREADS
;
8565 if (PyErr_Occurred()) return NULL
;
8566 } _resultobj
= Py_BuildValue("i",_result
);
8570 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8571 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
* _resultobj
;
8576 PyObject
* _argo0
= 0;
8577 char *_kwnames
[] = { "self","min","max", NULL
};
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
8590 wxPy_BEGIN_ALLOW_THREADS
;
8591 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
8593 wxPy_END_ALLOW_THREADS
;
8594 if (PyErr_Occurred()) return NULL
;
8595 } Py_INCREF(Py_None
);
8596 _resultobj
= Py_None
;
8600 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8601 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
* _resultobj
;
8605 PyObject
* _argo0
= 0;
8606 char *_kwnames
[] = { "self","value", NULL
};
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
8612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
8614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
8619 wxPy_BEGIN_ALLOW_THREADS
;
8620 wxSpinCtrl_SetValue(_arg0
,_arg1
);
8622 wxPy_END_ALLOW_THREADS
;
8623 if (PyErr_Occurred()) return NULL
;
8624 } Py_INCREF(Py_None
);
8625 _resultobj
= Py_None
;
8629 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
8630 wxToggleButton
*src
;
8632 src
= (wxToggleButton
*) ptr
;
8633 dest
= (wxControl
*) src
;
8634 return (void *) dest
;
8637 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
8638 wxToggleButton
*src
;
8640 src
= (wxToggleButton
*) ptr
;
8641 dest
= (wxWindow
*) src
;
8642 return (void *) dest
;
8645 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
8646 wxToggleButton
*src
;
8648 src
= (wxToggleButton
*) ptr
;
8649 dest
= (wxEvtHandler
*) src
;
8650 return (void *) dest
;
8653 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
8654 wxToggleButton
*src
;
8656 src
= (wxToggleButton
*) ptr
;
8657 dest
= (wxObject
*) src
;
8658 return (void *) dest
;
8661 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
8662 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8663 PyObject
* _resultobj
;
8664 wxToggleButton
* _result
;
8668 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8669 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8670 long _arg5
= (long ) 0;
8671 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8672 char * _arg7
= (char *) "toggle";
8673 PyObject
* _argo0
= 0;
8674 PyObject
* _obj2
= 0;
8676 PyObject
* _obj3
= 0;
8678 PyObject
* _obj4
= 0;
8679 PyObject
* _argo6
= 0;
8680 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
8694 #if PYTHON_API_VERSION >= 1009
8695 char* tmpPtr
; int tmpSize
;
8696 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8700 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8702 _arg2
= new wxString(tmpPtr
, tmpSize
);
8704 if (!PyString_Check(_obj2
)) {
8705 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8708 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8714 if (! wxPoint_helper(_obj3
, &_arg3
))
8720 if (! wxSize_helper(_obj4
, &_arg4
))
8724 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8725 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
8731 wxPy_BEGIN_ALLOW_THREADS
;
8732 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8734 wxPy_END_ALLOW_THREADS
;
8735 if (PyErr_Occurred()) return NULL
;
8737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
8738 _resultobj
= Py_BuildValue("s",_ptemp
);
8741 _resultobj
= Py_None
;
8750 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8751 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
* _resultobj
;
8753 wxToggleButton
* _arg0
;
8755 PyObject
* _argo0
= 0;
8757 char *_kwnames
[] = { "self","value", NULL
};
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
8763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
8769 _arg1
= (bool ) tempbool1
;
8771 wxPy_BEGIN_ALLOW_THREADS
;
8772 wxToggleButton_SetValue(_arg0
,_arg1
);
8774 wxPy_END_ALLOW_THREADS
;
8775 if (PyErr_Occurred()) return NULL
;
8776 } Py_INCREF(Py_None
);
8777 _resultobj
= Py_None
;
8781 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
8782 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
* _resultobj
;
8785 wxToggleButton
* _arg0
;
8786 PyObject
* _argo0
= 0;
8787 char *_kwnames
[] = { "self", NULL
};
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
8793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
8800 wxPy_BEGIN_ALLOW_THREADS
;
8801 _result
= (bool )wxToggleButton_GetValue(_arg0
);
8803 wxPy_END_ALLOW_THREADS
;
8804 if (PyErr_Occurred()) return NULL
;
8805 } _resultobj
= Py_BuildValue("i",_result
);
8809 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
8810 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
* _resultobj
;
8812 wxToggleButton
* _arg0
;
8814 PyObject
* _argo0
= 0;
8815 PyObject
* _obj1
= 0;
8816 char *_kwnames
[] = { "self","label", NULL
};
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
8822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
8824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
8829 #if PYTHON_API_VERSION >= 1009
8830 char* tmpPtr
; int tmpSize
;
8831 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8835 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8837 _arg1
= new wxString(tmpPtr
, tmpSize
);
8839 if (!PyString_Check(_obj1
)) {
8840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8843 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8847 wxPy_BEGIN_ALLOW_THREADS
;
8848 wxToggleButton_SetLabel(_arg0
,*_arg1
);
8850 wxPy_END_ALLOW_THREADS
;
8851 if (PyErr_Occurred()) return NULL
;
8852 } Py_INCREF(Py_None
);
8853 _resultobj
= Py_None
;
8861 static PyMethodDef controlscMethods
[] = {
8862 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8863 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8864 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8865 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
8866 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8867 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8868 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8869 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8870 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8871 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8872 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8873 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
8874 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8875 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8876 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8877 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8878 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8879 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8880 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8881 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8882 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8883 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
8884 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
8885 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8886 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8887 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8888 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8889 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
8890 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
8891 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
8892 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8893 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8894 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
8895 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
8896 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
8897 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8898 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8899 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8900 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8901 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8902 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8903 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8904 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8905 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8906 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
8907 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8908 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
8909 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
8910 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8911 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8912 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8913 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8914 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8915 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8916 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8917 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8918 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
8919 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8920 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8921 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8922 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8923 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8924 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8925 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
8926 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
8927 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
8928 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
8929 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
8930 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
8931 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
8932 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
8933 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
8934 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8935 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
8936 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
8937 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
8938 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
8939 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
8940 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
8941 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
8942 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
8943 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
8944 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8945 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8946 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
8947 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8948 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
8949 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
8950 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8951 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8952 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
8953 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8954 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8955 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
8956 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8957 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
8958 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
8959 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
8960 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
8961 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8962 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
8963 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8964 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8965 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8966 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8967 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
8968 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8969 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8970 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
8971 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8972 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8973 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
8974 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8975 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
8976 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
8977 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
8978 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
8979 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8980 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
8981 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8982 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
8983 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8984 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
8985 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8986 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
8987 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
8988 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
8989 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8990 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8991 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8992 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8993 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8994 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8995 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8996 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8997 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
8998 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8999 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9000 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
9001 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
9002 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9003 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9004 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
9005 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
9006 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
9007 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9008 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
9009 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
9010 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
9011 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9012 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
9013 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
9014 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
9015 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
9016 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9017 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
9018 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9019 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
9020 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
9021 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
9022 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
9023 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
9024 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
9025 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9026 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9027 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
9028 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9029 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
9030 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
9031 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
9032 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
9033 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
9034 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
9035 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9036 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
9037 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
9038 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9039 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9040 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
9041 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
9042 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
9043 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
9044 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
9045 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
9046 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
9047 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
9048 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
9049 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
9050 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
9051 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
9052 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
9053 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
9054 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
9055 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
9056 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
9057 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
9058 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
9059 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
9060 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
9061 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
9062 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
9063 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
9064 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
9065 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9066 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
9067 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
9068 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
9069 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9070 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
9071 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
9072 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
9073 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
9080 * This table is used by the pointer type-checker
9082 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
9083 { "_signed_long","_long",0},
9084 { "_wxPrintQuality","_wxCoord",0},
9085 { "_wxPrintQuality","_int",0},
9086 { "_wxPrintQuality","_signed_int",0},
9087 { "_wxPrintQuality","_unsigned_int",0},
9088 { "_wxPrintQuality","_wxWindowID",0},
9089 { "_wxPrintQuality","_uint",0},
9090 { "_wxPrintQuality","_EBool",0},
9091 { "_wxPrintQuality","_size_t",0},
9092 { "_wxPrintQuality","_time_t",0},
9093 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9094 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9095 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9096 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9097 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
9098 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
9099 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9100 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9101 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9102 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9103 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9104 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9105 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9106 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9107 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9108 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9109 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9110 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9111 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9112 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9113 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
9114 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
9115 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9116 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9117 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9118 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9119 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9120 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9121 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
9122 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
9123 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9124 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9125 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
9126 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
9127 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9128 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9129 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9130 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9131 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
9132 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
9133 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
9134 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
9135 { "_byte","_unsigned_char",0},
9136 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
9137 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
9138 { "_long","_unsigned_long",0},
9139 { "_long","_signed_long",0},
9140 { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
9141 { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
9142 { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9143 { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9144 { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
9145 { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject
},
9146 { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
9147 { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
9148 { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
9149 { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
9150 { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9151 { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9152 { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
9153 { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
9154 { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
9155 { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
9156 { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9157 { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9158 { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9159 { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9160 { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
9161 { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
9162 { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
9163 { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
9164 { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
9165 { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
9166 { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
9167 { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
9168 { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
9169 { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
9170 { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
9171 { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
9172 { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
9173 { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
9174 { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
9175 { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
9176 { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9177 { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9178 { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
9179 { "_class_wxObject","_wxButton",SwigwxButtonTowxObject
},
9180 { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject
},
9181 { "_class_wxObject","_wxControl",SwigwxControlTowxObject
},
9182 { "_size_t","_wxCoord",0},
9183 { "_size_t","_wxPrintQuality",0},
9184 { "_size_t","_time_t",0},
9185 { "_size_t","_unsigned_int",0},
9186 { "_size_t","_int",0},
9187 { "_size_t","_wxWindowID",0},
9188 { "_size_t","_uint",0},
9189 { "_uint","_wxCoord",0},
9190 { "_uint","_wxPrintQuality",0},
9191 { "_uint","_time_t",0},
9192 { "_uint","_size_t",0},
9193 { "_uint","_unsigned_int",0},
9194 { "_uint","_int",0},
9195 { "_uint","_wxWindowID",0},
9196 { "_wxChar","_char",0},
9197 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9198 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9199 { "_char","_wxChar",0},
9200 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9201 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9202 { "_EBool","_wxCoord",0},
9203 { "_EBool","_wxPrintQuality",0},
9204 { "_EBool","_signed_int",0},
9205 { "_EBool","_int",0},
9206 { "_EBool","_wxWindowID",0},
9207 { "_unsigned_long","_long",0},
9208 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9209 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
9210 { "_signed_int","_wxCoord",0},
9211 { "_signed_int","_wxPrintQuality",0},
9212 { "_signed_int","_EBool",0},
9213 { "_signed_int","_wxWindowID",0},
9214 { "_signed_int","_int",0},
9215 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9216 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9217 { "_WXTYPE","_short",0},
9218 { "_WXTYPE","_signed_short",0},
9219 { "_WXTYPE","_unsigned_short",0},
9220 { "_unsigned_short","_WXTYPE",0},
9221 { "_unsigned_short","_short",0},
9222 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9223 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9224 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9225 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9226 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
9227 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
9228 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9229 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9230 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9231 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9232 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9233 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9234 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9235 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9236 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
9237 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
9238 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9239 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9240 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9241 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9242 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
9243 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
9244 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
9245 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
9246 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
9247 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
9248 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9249 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9250 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
9251 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
9252 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
9253 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
9254 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
9255 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
9256 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9257 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9258 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9259 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9260 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
9261 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
9262 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
9263 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
9264 { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject
},
9265 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
9266 { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9267 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
9268 { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject
},
9269 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
9270 { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject
},
9271 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
9272 { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject
},
9273 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
9274 { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9275 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
9276 { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject
},
9277 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
9278 { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject
},
9279 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
9280 { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9281 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
9282 { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9283 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
9284 { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject
},
9285 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
9286 { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject
},
9287 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
9288 { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject
},
9289 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
9290 { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject
},
9291 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
9292 { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject
},
9293 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
9294 { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject
},
9295 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
9296 { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject
},
9297 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
9298 { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject
},
9299 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
9300 { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9301 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
9302 { "_wxObject","_class_wxButton",SwigwxButtonTowxObject
},
9303 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
9304 { "_wxObject","_class_wxControl",SwigwxControlTowxObject
},
9305 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
9306 { "_signed_short","_WXTYPE",0},
9307 { "_signed_short","_short",0},
9308 { "_unsigned_char","_byte",0},
9309 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
9310 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
9311 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9312 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9313 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
9314 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
9315 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
9316 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
9317 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
9318 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
9319 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9320 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9321 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
9322 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
9323 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
9324 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
9325 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9326 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9327 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9328 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9329 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
9330 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
9331 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
9332 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
9333 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
9334 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
9335 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
9336 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
9337 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
9338 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
9339 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
9340 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
9341 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
9342 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
9343 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
9344 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
9345 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9346 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9347 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
9348 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
9349 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9350 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
9351 { "_unsigned_int","_wxCoord",0},
9352 { "_unsigned_int","_wxPrintQuality",0},
9353 { "_unsigned_int","_time_t",0},
9354 { "_unsigned_int","_size_t",0},
9355 { "_unsigned_int","_uint",0},
9356 { "_unsigned_int","_wxWindowID",0},
9357 { "_unsigned_int","_int",0},
9358 { "_short","_WXTYPE",0},
9359 { "_short","_unsigned_short",0},
9360 { "_short","_signed_short",0},
9361 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
9362 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
9363 { "_wxWindowID","_wxCoord",0},
9364 { "_wxWindowID","_wxPrintQuality",0},
9365 { "_wxWindowID","_time_t",0},
9366 { "_wxWindowID","_size_t",0},
9367 { "_wxWindowID","_EBool",0},
9368 { "_wxWindowID","_uint",0},
9369 { "_wxWindowID","_int",0},
9370 { "_wxWindowID","_signed_int",0},
9371 { "_wxWindowID","_unsigned_int",0},
9372 { "_int","_wxCoord",0},
9373 { "_int","_wxPrintQuality",0},
9374 { "_int","_time_t",0},
9375 { "_int","_size_t",0},
9376 { "_int","_EBool",0},
9377 { "_int","_uint",0},
9378 { "_int","_wxWindowID",0},
9379 { "_int","_unsigned_int",0},
9380 { "_int","_signed_int",0},
9381 { "_time_t","_wxCoord",0},
9382 { "_time_t","_wxPrintQuality",0},
9383 { "_time_t","_unsigned_int",0},
9384 { "_time_t","_int",0},
9385 { "_time_t","_wxWindowID",0},
9386 { "_time_t","_uint",0},
9387 { "_time_t","_size_t",0},
9388 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9389 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
9390 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
9391 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
9392 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9393 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
9394 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
9395 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
9396 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
9397 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
9398 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
9399 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
9400 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9401 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
9402 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
9403 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
9404 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
9405 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
9406 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9407 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
9408 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9409 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
9410 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
9411 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
9412 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
9413 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
9414 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
9415 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
9416 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
9417 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
9418 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
9419 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
9420 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
9421 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
9422 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
9423 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
9424 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
9425 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
9426 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9427 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
9428 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
9429 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
9430 { "_wxCoord","_int",0},
9431 { "_wxCoord","_signed_int",0},
9432 { "_wxCoord","_unsigned_int",0},
9433 { "_wxCoord","_wxWindowID",0},
9434 { "_wxCoord","_uint",0},
9435 { "_wxCoord","_EBool",0},
9436 { "_wxCoord","_size_t",0},
9437 { "_wxCoord","_time_t",0},
9438 { "_wxCoord","_wxPrintQuality",0},
9439 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9440 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
9441 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9442 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
9443 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
9444 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
9445 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9446 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
9447 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9448 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
9449 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9450 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
9451 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9452 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
9453 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9454 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
9455 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9456 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
9457 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9458 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
9459 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
9460 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
9461 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9462 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
9463 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9464 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
9465 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9466 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
9467 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
9468 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
9469 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9470 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
9471 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
9472 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
9473 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9474 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
9475 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9476 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
9477 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
9478 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
9479 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
9480 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
9481 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9482 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
9483 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9484 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
9485 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
9486 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
9487 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9488 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
9489 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9490 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
9491 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9492 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
9493 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9494 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
9495 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
9496 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
9497 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9498 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
9499 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9500 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
9501 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
9502 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
9503 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
9504 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
9505 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
9506 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
9507 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9508 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
9509 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
9510 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
9511 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
9512 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
9513 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
9514 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
9515 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9516 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
9517 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9518 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
9519 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
9520 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
9521 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
9522 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
9525 static PyObject
*SWIG_globals
;
9529 SWIGEXPORT(void) initcontrolsc() {
9531 SWIG_globals
= SWIG_newvarlink();
9532 m
= Py_InitModule("controlsc", controlscMethods
);
9533 d
= PyModule_GetDict(m
);
9534 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
9535 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
9536 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
9539 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
9540 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);