2 * FILE : gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrolsc
54 #define SWIG_name "controlsc"
57 #include <wx/slider.h>
58 #include <wx/spinbutt.h>
59 #include <wx/spinctrl.h>
60 #include <wx/dynarray.h>
61 #include <wx/statline.h>
62 //#include <wx/toggbutt.h>
66 #include <wx/checklst.h>
71 #include <wx/checklst.h>
75 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
80 } else if (target
== Py_None
) {
84 if (!PyList_Check(target
)) {
86 target
= PyList_New(0);
87 PyList_Append(target
, o2
);
90 PyList_Append(target
,o
);
96 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
102 } else if (target
== Py_None
) {
106 if (!PyTuple_Check(target
)) {
108 target
= PyTuple_New(1);
109 PyTuple_SetItem(target
, 0, o2
);
112 PyTuple_SetItem(o3
, 0, o
);
115 target
= PySequence_Concat(o2
, o3
);
122 static char* wxStringErrorMsg
= "string type is required for parameter";
124 wxValidator wxPyDefaultValidator
; // Non-const default because of SWIG
126 wxSize
wxButton_GetDefaultSize() {
127 return wxButton::GetDefaultSize();
132 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
134 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
138 static PyObject
*_wrap_wxDefaultValidator_get() {
142 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
143 pyobj
= PyString_FromString(ptemp
);
147 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
148 PyObject
* _resultobj
;
150 char *_kwnames
[] = { NULL
};
154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
157 wxPy_BEGIN_ALLOW_THREADS
;
158 _result
= new wxSize (wxButton_GetDefaultSize());
160 wxPy_END_ALLOW_THREADS
;
161 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
162 _resultobj
= Py_BuildValue("s",_ptemp
);
166 static void *SwigwxControlTowxWindow(void *ptr
) {
169 src
= (wxControl
*) ptr
;
170 dest
= (wxWindow
*) src
;
171 return (void *) dest
;
174 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
177 src
= (wxControl
*) ptr
;
178 dest
= (wxEvtHandler
*) src
;
179 return (void *) dest
;
182 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
183 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
188 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
189 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
190 long _arg4
= (long ) 0;
191 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
192 char * _arg6
= (char *) "control";
193 PyObject
* _argo0
= 0;
195 PyObject
* _obj2
= 0;
197 PyObject
* _obj3
= 0;
198 PyObject
* _argo5
= 0;
199 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
215 if (! wxPoint_helper(_obj2
, &_arg2
))
221 if (! wxSize_helper(_obj3
, &_arg3
))
225 if (_argo5
== Py_None
) { _arg5
= NULL
; }
226 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
232 wxPy_BEGIN_ALLOW_THREADS
;
233 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
235 wxPy_END_ALLOW_THREADS
;
237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
238 _resultobj
= Py_BuildValue("s",_ptemp
);
241 _resultobj
= Py_None
;
246 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
247 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
248 PyObject
* _resultobj
;
250 wxCommandEvent
* _arg1
;
251 PyObject
* _argo0
= 0;
252 PyObject
* _argo1
= 0;
253 char *_kwnames
[] = { "self","event", NULL
};
256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
273 wxPy_BEGIN_ALLOW_THREADS
;
274 wxControl_Command(_arg0
,*_arg1
);
276 wxPy_END_ALLOW_THREADS
;
277 } Py_INCREF(Py_None
);
278 _resultobj
= Py_None
;
282 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
283 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
287 PyObject
* _argo0
= 0;
288 char *_kwnames
[] = { "self", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
301 wxPy_BEGIN_ALLOW_THREADS
;
302 _result
= new wxString (wxControl_GetLabel(_arg0
));
304 wxPy_END_ALLOW_THREADS
;
306 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
314 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
315 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
316 PyObject
* _resultobj
;
319 PyObject
* _argo0
= 0;
320 PyObject
* _obj1
= 0;
321 char *_kwnames
[] = { "self","label", NULL
};
324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
334 if (!PyString_Check(_obj1
)) {
335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
338 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
341 wxPy_BEGIN_ALLOW_THREADS
;
342 wxControl_SetLabel(_arg0
,*_arg1
);
344 wxPy_END_ALLOW_THREADS
;
345 } Py_INCREF(Py_None
);
346 _resultobj
= Py_None
;
354 static void *SwigwxButtonTowxControl(void *ptr
) {
357 src
= (wxButton
*) ptr
;
358 dest
= (wxControl
*) src
;
359 return (void *) dest
;
362 static void *SwigwxButtonTowxWindow(void *ptr
) {
365 src
= (wxButton
*) ptr
;
366 dest
= (wxWindow
*) src
;
367 return (void *) dest
;
370 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
373 src
= (wxButton
*) ptr
;
374 dest
= (wxEvtHandler
*) src
;
375 return (void *) dest
;
378 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
379 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
385 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
386 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
387 long _arg5
= (long ) 0;
388 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
389 char * _arg7
= (char *) "button";
390 PyObject
* _argo0
= 0;
391 PyObject
* _obj2
= 0;
393 PyObject
* _obj3
= 0;
395 PyObject
* _obj4
= 0;
396 PyObject
* _argo6
= 0;
397 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
411 if (!PyString_Check(_obj2
)) {
412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
415 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
420 if (! wxPoint_helper(_obj3
, &_arg3
))
426 if (! wxSize_helper(_obj4
, &_arg4
))
430 if (_argo6
== Py_None
) { _arg6
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
437 wxPy_BEGIN_ALLOW_THREADS
;
438 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
440 wxPy_END_ALLOW_THREADS
;
442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
443 _resultobj
= Py_BuildValue("s",_ptemp
);
446 _resultobj
= Py_None
;
455 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
456 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
459 PyObject
* _argo0
= 0;
460 char *_kwnames
[] = { "self", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
473 wxPy_BEGIN_ALLOW_THREADS
;
474 wxButton_SetDefault(_arg0
);
476 wxPy_END_ALLOW_THREADS
;
477 } Py_INCREF(Py_None
);
478 _resultobj
= Py_None
;
482 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
483 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
484 PyObject
* _resultobj
;
487 PyObject
* _argo0
= 0;
489 PyObject
* _obj1
= 0;
490 char *_kwnames
[] = { "self","colour", NULL
};
493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
504 if (! wxColour_helper(_obj1
, &_arg1
))
508 wxPy_BEGIN_ALLOW_THREADS
;
509 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
511 wxPy_END_ALLOW_THREADS
;
512 } Py_INCREF(Py_None
);
513 _resultobj
= Py_None
;
517 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
518 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
522 PyObject
* _argo0
= 0;
524 PyObject
* _obj1
= 0;
525 char *_kwnames
[] = { "self","colour", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
539 if (! wxColour_helper(_obj1
, &_arg1
))
543 wxPy_BEGIN_ALLOW_THREADS
;
544 wxButton_SetForegroundColour(_arg0
,*_arg1
);
546 wxPy_END_ALLOW_THREADS
;
547 } Py_INCREF(Py_None
);
548 _resultobj
= Py_None
;
552 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
555 src
= (wxBitmapButton
*) ptr
;
556 dest
= (wxButton
*) src
;
557 return (void *) dest
;
560 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
563 src
= (wxBitmapButton
*) ptr
;
564 dest
= (wxControl
*) src
;
565 return (void *) dest
;
568 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
571 src
= (wxBitmapButton
*) ptr
;
572 dest
= (wxWindow
*) src
;
573 return (void *) dest
;
576 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
579 src
= (wxBitmapButton
*) ptr
;
580 dest
= (wxEvtHandler
*) src
;
581 return (void *) dest
;
584 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
585 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxBitmapButton
* _result
;
591 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
592 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
593 long _arg5
= (long ) wxBU_AUTODRAW
;
594 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
595 char * _arg7
= (char *) "button";
596 PyObject
* _argo0
= 0;
597 PyObject
* _argo2
= 0;
599 PyObject
* _obj3
= 0;
601 PyObject
* _obj4
= 0;
602 PyObject
* _argo6
= 0;
603 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
617 if (_argo2
== Py_None
) { _arg2
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
626 if (! wxPoint_helper(_obj3
, &_arg3
))
632 if (! wxSize_helper(_obj4
, &_arg4
))
636 if (_argo6
== Py_None
) { _arg6
= NULL
; }
637 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
643 wxPy_BEGIN_ALLOW_THREADS
;
644 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
646 wxPy_END_ALLOW_THREADS
;
648 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
649 _resultobj
= Py_BuildValue("s",_ptemp
);
652 _resultobj
= Py_None
;
657 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
658 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
661 wxBitmapButton
* _arg0
;
662 PyObject
* _argo0
= 0;
663 char *_kwnames
[] = { "self", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
677 wxPy_BEGIN_ALLOW_THREADS
;
678 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
679 _result
= (wxBitmap
*) &_result_ref
;
681 wxPy_END_ALLOW_THREADS
;
683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
684 _resultobj
= Py_BuildValue("s",_ptemp
);
687 _resultobj
= Py_None
;
692 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
693 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
694 PyObject
* _resultobj
;
696 wxBitmapButton
* _arg0
;
697 PyObject
* _argo0
= 0;
698 char *_kwnames
[] = { "self", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
712 wxPy_BEGIN_ALLOW_THREADS
;
713 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
714 _result
= (wxBitmap
*) &_result_ref
;
716 wxPy_END_ALLOW_THREADS
;
718 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
719 _resultobj
= Py_BuildValue("s",_ptemp
);
722 _resultobj
= Py_None
;
727 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
728 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
731 wxBitmapButton
* _arg0
;
732 PyObject
* _argo0
= 0;
733 char *_kwnames
[] = { "self", NULL
};
737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
747 wxPy_BEGIN_ALLOW_THREADS
;
748 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
749 _result
= (wxBitmap
*) &_result_ref
;
751 wxPy_END_ALLOW_THREADS
;
753 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
754 _resultobj
= Py_BuildValue("s",_ptemp
);
757 _resultobj
= Py_None
;
762 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
763 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
764 PyObject
* _resultobj
;
766 wxBitmapButton
* _arg0
;
767 PyObject
* _argo0
= 0;
768 char *_kwnames
[] = { "self", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
782 wxPy_BEGIN_ALLOW_THREADS
;
783 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
784 _result
= (wxBitmap
*) &_result_ref
;
786 wxPy_END_ALLOW_THREADS
;
788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
789 _resultobj
= Py_BuildValue("s",_ptemp
);
792 _resultobj
= Py_None
;
797 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
798 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
799 PyObject
* _resultobj
;
800 wxBitmapButton
* _arg0
;
802 PyObject
* _argo0
= 0;
803 PyObject
* _argo1
= 0;
804 char *_kwnames
[] = { "self","bitmap", NULL
};
807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
824 wxPy_BEGIN_ALLOW_THREADS
;
825 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
827 wxPy_END_ALLOW_THREADS
;
828 } Py_INCREF(Py_None
);
829 _resultobj
= Py_None
;
833 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
834 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
836 wxBitmapButton
* _arg0
;
838 PyObject
* _argo0
= 0;
839 PyObject
* _argo1
= 0;
840 char *_kwnames
[] = { "self","bitmap", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
860 wxPy_BEGIN_ALLOW_THREADS
;
861 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
863 wxPy_END_ALLOW_THREADS
;
864 } Py_INCREF(Py_None
);
865 _resultobj
= Py_None
;
869 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
870 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
872 wxBitmapButton
* _arg0
;
874 PyObject
* _argo0
= 0;
875 PyObject
* _argo1
= 0;
876 char *_kwnames
[] = { "self","bitmap", NULL
};
879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
896 wxPy_BEGIN_ALLOW_THREADS
;
897 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
899 wxPy_END_ALLOW_THREADS
;
900 } Py_INCREF(Py_None
);
901 _resultobj
= Py_None
;
905 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
906 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxBitmapButton
* _arg0
;
910 PyObject
* _argo0
= 0;
911 PyObject
* _argo1
= 0;
912 char *_kwnames
[] = { "self","bitmap", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
925 if (_argo1
== Py_None
) { _arg1
= NULL
; }
926 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
932 wxPy_BEGIN_ALLOW_THREADS
;
933 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
935 wxPy_END_ALLOW_THREADS
;
936 } Py_INCREF(Py_None
);
937 _resultobj
= Py_None
;
941 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
942 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
943 PyObject
* _resultobj
;
944 wxBitmapButton
* _arg0
;
947 PyObject
* _argo0
= 0;
948 char *_kwnames
[] = { "self","x","y", NULL
};
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
961 wxPy_BEGIN_ALLOW_THREADS
;
962 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
964 wxPy_END_ALLOW_THREADS
;
965 } Py_INCREF(Py_None
);
966 _resultobj
= Py_None
;
970 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
971 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
974 wxBitmapButton
* _arg0
;
975 PyObject
* _argo0
= 0;
976 char *_kwnames
[] = { "self", NULL
};
979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
989 wxPy_BEGIN_ALLOW_THREADS
;
990 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
992 wxPy_END_ALLOW_THREADS
;
993 } _resultobj
= Py_BuildValue("i",_result
);
997 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
998 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
999 PyObject
* _resultobj
;
1001 wxBitmapButton
* _arg0
;
1002 PyObject
* _argo0
= 0;
1003 char *_kwnames
[] = { "self", NULL
};
1006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1016 wxPy_BEGIN_ALLOW_THREADS
;
1017 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1019 wxPy_END_ALLOW_THREADS
;
1020 } _resultobj
= Py_BuildValue("i",_result
);
1024 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1027 src
= (wxCheckBox
*) ptr
;
1028 dest
= (wxControl
*) src
;
1029 return (void *) dest
;
1032 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1035 src
= (wxCheckBox
*) ptr
;
1036 dest
= (wxWindow
*) src
;
1037 return (void *) dest
;
1040 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1043 src
= (wxCheckBox
*) ptr
;
1044 dest
= (wxEvtHandler
*) src
;
1045 return (void *) dest
;
1048 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1049 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1050 PyObject
* _resultobj
;
1051 wxCheckBox
* _result
;
1055 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
1056 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
1057 long _arg5
= (long ) 0;
1058 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
1059 char * _arg7
= (char *) "checkBox";
1060 PyObject
* _argo0
= 0;
1061 PyObject
* _obj2
= 0;
1063 PyObject
* _obj3
= 0;
1065 PyObject
* _obj4
= 0;
1066 PyObject
* _argo6
= 0;
1067 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1081 if (!PyString_Check(_obj2
)) {
1082 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1085 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
1090 if (! wxPoint_helper(_obj3
, &_arg3
))
1096 if (! wxSize_helper(_obj4
, &_arg4
))
1100 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1110 wxPy_END_ALLOW_THREADS
;
1112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1113 _resultobj
= Py_BuildValue("s",_ptemp
);
1116 _resultobj
= Py_None
;
1125 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1126 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
* _resultobj
;
1130 PyObject
* _argo0
= 0;
1131 char *_kwnames
[] = { "self", NULL
};
1134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1147 wxPy_END_ALLOW_THREADS
;
1148 } _resultobj
= Py_BuildValue("i",_result
);
1152 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1153 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1157 PyObject
* _argo0
= 0;
1159 char *_kwnames
[] = { "self","state", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1171 _arg1
= (bool ) tempbool1
;
1173 wxPy_BEGIN_ALLOW_THREADS
;
1174 wxCheckBox_SetValue(_arg0
,_arg1
);
1176 wxPy_END_ALLOW_THREADS
;
1177 } Py_INCREF(Py_None
);
1178 _resultobj
= Py_None
;
1182 static void *SwigwxChoiceTowxControl(void *ptr
) {
1185 src
= (wxChoice
*) ptr
;
1186 dest
= (wxControl
*) src
;
1187 return (void *) dest
;
1190 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1193 src
= (wxChoice
*) ptr
;
1194 dest
= (wxWindow
*) src
;
1195 return (void *) dest
;
1198 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1201 src
= (wxChoice
*) ptr
;
1202 dest
= (wxEvtHandler
*) src
;
1203 return (void *) dest
;
1206 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1207 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1212 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
1213 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
1214 int _arg4
= (int ) 0;
1215 wxString
* _arg5
= (wxString
*) NULL
;
1216 long _arg6
= (long ) 0;
1217 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
1218 char * _arg8
= (char *) "choice";
1219 PyObject
* _argo0
= 0;
1221 PyObject
* _obj2
= 0;
1223 PyObject
* _obj3
= 0;
1224 PyObject
* _obj5
= 0;
1225 PyObject
* _argo7
= 0;
1226 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1242 if (! wxPoint_helper(_obj2
, &_arg2
))
1248 if (! wxSize_helper(_obj3
, &_arg3
))
1253 _arg5
= wxString_LIST_helper(_obj5
);
1254 if (_arg5
== NULL
) {
1259 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1267 _arg4
= PyList_Size(_obj5
);
1274 wxPy_BEGIN_ALLOW_THREADS
;
1275 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1277 wxPy_END_ALLOW_THREADS
;
1279 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1280 _resultobj
= Py_BuildValue("s",_ptemp
);
1283 _resultobj
= Py_None
;
1291 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1292 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
* _resultobj
;
1296 PyObject
* _argo0
= 0;
1297 PyObject
* _obj1
= 0;
1298 char *_kwnames
[] = { "self","item", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1311 if (!PyString_Check(_obj1
)) {
1312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1315 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 wxChoice_Append(_arg0
,*_arg1
);
1321 wxPy_END_ALLOW_THREADS
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1331 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1332 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 wxChoice_Clear(_arg0
);
1352 wxPy_END_ALLOW_THREADS
;
1353 } Py_INCREF(Py_None
);
1354 _resultobj
= Py_None
;
1358 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1359 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1364 PyObject
* _argo0
= 0;
1365 PyObject
* _obj1
= 0;
1366 char *_kwnames
[] = { "self","string", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1379 if (!PyString_Check(_obj1
)) {
1380 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1383 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1389 wxPy_END_ALLOW_THREADS
;
1390 } _resultobj
= Py_BuildValue("i",_result
);
1398 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1399 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
* _resultobj
;
1403 PyObject
* _argo0
= 0;
1404 char *_kwnames
[] = { "self", NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
1410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1417 wxPy_BEGIN_ALLOW_THREADS
;
1418 _result
= (int )wxChoice_GetColumns(_arg0
);
1420 wxPy_END_ALLOW_THREADS
;
1421 } _resultobj
= Py_BuildValue("i",_result
);
1425 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1426 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
* _resultobj
;
1430 PyObject
* _argo0
= 0;
1431 char *_kwnames
[] = { "self", NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
1437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (int )wxChoice_GetSelection(_arg0
);
1447 wxPy_END_ALLOW_THREADS
;
1448 } _resultobj
= Py_BuildValue("i",_result
);
1452 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1453 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1458 PyObject
* _argo0
= 0;
1459 char *_kwnames
[] = { "self","n", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
1465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1472 wxPy_BEGIN_ALLOW_THREADS
;
1473 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1475 wxPy_END_ALLOW_THREADS
;
1477 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1485 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1486 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1490 PyObject
* _argo0
= 0;
1491 char *_kwnames
[] = { "self", NULL
};
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1507 wxPy_END_ALLOW_THREADS
;
1509 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1517 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1518 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Number",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= (int )wxChoice_Number(_arg0
);
1539 wxPy_END_ALLOW_THREADS
;
1540 } _resultobj
= Py_BuildValue("i",_result
);
1544 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1545 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1548 int _arg1
= (int ) 1;
1549 PyObject
* _argo0
= 0;
1550 char *_kwnames
[] = { "self","n", NULL
};
1553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1563 wxPy_BEGIN_ALLOW_THREADS
;
1564 wxChoice_SetColumns(_arg0
,_arg1
);
1566 wxPy_END_ALLOW_THREADS
;
1567 } Py_INCREF(Py_None
);
1568 _resultobj
= Py_None
;
1572 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1573 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self","n", NULL
};
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1591 wxPy_BEGIN_ALLOW_THREADS
;
1592 wxChoice_SetSelection(_arg0
,_arg1
);
1594 wxPy_END_ALLOW_THREADS
;
1595 } Py_INCREF(Py_None
);
1596 _resultobj
= Py_None
;
1600 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1601 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1605 PyObject
* _argo0
= 0;
1606 PyObject
* _obj1
= 0;
1607 char *_kwnames
[] = { "self","string", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1620 if (!PyString_Check(_obj1
)) {
1621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1624 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1640 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1643 src
= (wxComboBox
*) ptr
;
1644 dest
= (wxChoice
*) src
;
1645 return (void *) dest
;
1648 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1651 src
= (wxComboBox
*) ptr
;
1652 dest
= (wxControl
*) src
;
1653 return (void *) dest
;
1656 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1659 src
= (wxComboBox
*) ptr
;
1660 dest
= (wxWindow
*) src
;
1661 return (void *) dest
;
1664 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1667 src
= (wxComboBox
*) ptr
;
1668 dest
= (wxEvtHandler
*) src
;
1669 return (void *) dest
;
1672 #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))
1673 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1675 wxComboBox
* _result
;
1678 char * _arg2
= (char *) "";
1679 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
1680 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
1681 int _arg5
= (int ) 0;
1682 wxString
* _arg6
= (wxString
*) NULL
;
1683 long _arg7
= (long ) 0;
1684 wxValidator
* _arg8
= (wxValidator
*) &wxPyDefaultValidator
;
1685 char * _arg9
= (char *) "comboBox";
1686 PyObject
* _argo0
= 0;
1688 PyObject
* _obj3
= 0;
1690 PyObject
* _obj4
= 0;
1691 PyObject
* _obj6
= 0;
1692 PyObject
* _argo8
= 0;
1693 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1709 if (! wxPoint_helper(_obj3
, &_arg3
))
1715 if (! wxSize_helper(_obj4
, &_arg4
))
1720 _arg6
= wxString_LIST_helper(_obj6
);
1721 if (_arg6
== NULL
) {
1726 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1734 _arg5
= PyList_Size(_obj6
);
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1744 wxPy_END_ALLOW_THREADS
;
1746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1747 _resultobj
= Py_BuildValue("s",_ptemp
);
1750 _resultobj
= Py_None
;
1758 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1759 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1763 PyObject
* _argo0
= 0;
1764 PyObject
* _obj1
= 0;
1765 char *_kwnames
[] = { "self","item", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1778 if (!PyString_Check(_obj1
)) {
1779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1782 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1785 wxPy_BEGIN_ALLOW_THREADS
;
1786 wxComboBox_Append(_arg0
,*_arg1
);
1788 wxPy_END_ALLOW_THREADS
;
1789 } Py_INCREF(Py_None
);
1790 _resultobj
= Py_None
;
1798 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1799 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1802 PyObject
* _argo0
= 0;
1803 char *_kwnames
[] = { "self", NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
1809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1816 wxPy_BEGIN_ALLOW_THREADS
;
1817 wxComboBox_Clear(_arg0
);
1819 wxPy_END_ALLOW_THREADS
;
1820 } Py_INCREF(Py_None
);
1821 _resultobj
= Py_None
;
1825 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1826 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1827 PyObject
* _resultobj
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 wxComboBox_Copy(_arg0
);
1846 wxPy_END_ALLOW_THREADS
;
1847 } Py_INCREF(Py_None
);
1848 _resultobj
= Py_None
;
1852 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1853 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1854 PyObject
* _resultobj
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 wxComboBox_Cut(_arg0
);
1873 wxPy_END_ALLOW_THREADS
;
1874 } Py_INCREF(Py_None
);
1875 _resultobj
= Py_None
;
1879 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1880 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
* _resultobj
;
1884 PyObject
* _argo0
= 0;
1885 char *_kwnames
[] = { "self","n", NULL
};
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
1891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1898 wxPy_BEGIN_ALLOW_THREADS
;
1899 wxComboBox_Delete(_arg0
,_arg1
);
1901 wxPy_END_ALLOW_THREADS
;
1902 } Py_INCREF(Py_None
);
1903 _resultobj
= Py_None
;
1907 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1908 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1913 PyObject
* _argo0
= 0;
1914 PyObject
* _obj1
= 0;
1915 char *_kwnames
[] = { "self","string", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
1928 if (!PyString_Check(_obj1
)) {
1929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1932 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } _resultobj
= Py_BuildValue("i",_result
);
1947 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
1948 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1952 PyObject
* _argo0
= 0;
1953 char *_kwnames
[] = { "self", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
1959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
1969 wxPy_END_ALLOW_THREADS
;
1970 } _resultobj
= Py_BuildValue("l",_result
);
1974 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
1975 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1979 PyObject
* _argo0
= 0;
1980 char *_kwnames
[] = { "self", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
1986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
1993 wxPy_BEGIN_ALLOW_THREADS
;
1994 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
1996 wxPy_END_ALLOW_THREADS
;
1997 } _resultobj
= Py_BuildValue("l",_result
);
2001 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2002 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2006 PyObject
* _argo0
= 0;
2007 char *_kwnames
[] = { "self", NULL
};
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
2013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2020 wxPy_BEGIN_ALLOW_THREADS
;
2021 _result
= (int )wxComboBox_GetSelection(_arg0
);
2023 wxPy_END_ALLOW_THREADS
;
2024 } _resultobj
= Py_BuildValue("i",_result
);
2028 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2029 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2034 PyObject
* _argo0
= 0;
2035 char *_kwnames
[] = { "self","n", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_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_GetString. Expected _wxComboBox_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2051 wxPy_END_ALLOW_THREADS
;
2053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2061 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2062 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2066 PyObject
* _argo0
= 0;
2067 char *_kwnames
[] = { "self", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2083 wxPy_END_ALLOW_THREADS
;
2085 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2093 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2094 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
* _resultobj
;
2098 PyObject
* _argo0
= 0;
2099 char *_kwnames
[] = { "self", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2112 wxPy_BEGIN_ALLOW_THREADS
;
2113 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2115 wxPy_END_ALLOW_THREADS
;
2117 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2125 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
2126 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "self", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Number",_kwnames
,&_argo0
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (int )wxComboBox_Number(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2153 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2156 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2170 wxPy_BEGIN_ALLOW_THREADS
;
2171 wxComboBox_Paste(_arg0
);
2173 wxPy_END_ALLOW_THREADS
;
2174 } Py_INCREF(Py_None
);
2175 _resultobj
= Py_None
;
2179 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2180 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2186 PyObject
* _argo0
= 0;
2187 PyObject
* _obj3
= 0;
2188 char *_kwnames
[] = { "self","from","to","text", NULL
};
2191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2201 if (!PyString_Check(_obj3
)) {
2202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2205 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
2208 wxPy_BEGIN_ALLOW_THREADS
;
2209 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2211 wxPy_END_ALLOW_THREADS
;
2212 } Py_INCREF(Py_None
);
2213 _resultobj
= Py_None
;
2221 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2222 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self","from","to", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2251 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2255 PyObject
* _argo0
= 0;
2256 char *_kwnames
[] = { "self","pos", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2269 wxPy_BEGIN_ALLOW_THREADS
;
2270 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2272 wxPy_END_ALLOW_THREADS
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2279 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "self", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 wxComboBox_SetInsertionPointEnd(_arg0
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2306 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
* _resultobj
;
2310 PyObject
* _argo0
= 0;
2311 char *_kwnames
[] = { "self","n", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxComboBox_SetSelection(_arg0
,_arg1
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2333 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2334 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2339 PyObject
* _argo0
= 0;
2340 char *_kwnames
[] = { "self","from","to", NULL
};
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2353 wxPy_BEGIN_ALLOW_THREADS
;
2354 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2356 wxPy_END_ALLOW_THREADS
;
2357 } Py_INCREF(Py_None
);
2358 _resultobj
= Py_None
;
2362 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2363 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
* _resultobj
;
2367 PyObject
* _argo0
= 0;
2368 PyObject
* _obj1
= 0;
2369 char *_kwnames
[] = { "self","text", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2382 if (!PyString_Check(_obj1
)) {
2383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2386 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 wxComboBox_SetValue(_arg0
,*_arg1
);
2392 wxPy_END_ALLOW_THREADS
;
2393 } Py_INCREF(Py_None
);
2394 _resultobj
= Py_None
;
2402 static void *SwigwxGaugeTowxControl(void *ptr
) {
2405 src
= (wxGauge
*) ptr
;
2406 dest
= (wxControl
*) src
;
2407 return (void *) dest
;
2410 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2413 src
= (wxGauge
*) ptr
;
2414 dest
= (wxWindow
*) src
;
2415 return (void *) dest
;
2418 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2421 src
= (wxGauge
*) ptr
;
2422 dest
= (wxEvtHandler
*) src
;
2423 return (void *) dest
;
2426 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2427 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2428 PyObject
* _resultobj
;
2433 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2434 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2435 long _arg5
= (long ) wxGA_HORIZONTAL
;
2436 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
2437 char * _arg7
= (char *) "gauge";
2438 PyObject
* _argo0
= 0;
2440 PyObject
* _obj3
= 0;
2442 PyObject
* _obj4
= 0;
2443 PyObject
* _argo6
= 0;
2444 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2460 if (! wxPoint_helper(_obj3
, &_arg3
))
2466 if (! wxSize_helper(_obj4
, &_arg4
))
2470 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2477 wxPy_BEGIN_ALLOW_THREADS
;
2478 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2480 wxPy_END_ALLOW_THREADS
;
2482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2483 _resultobj
= Py_BuildValue("s",_ptemp
);
2486 _resultobj
= Py_None
;
2491 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2492 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2496 PyObject
* _argo0
= 0;
2497 char *_kwnames
[] = { "self", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2510 wxPy_BEGIN_ALLOW_THREADS
;
2511 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2513 wxPy_END_ALLOW_THREADS
;
2514 } _resultobj
= Py_BuildValue("i",_result
);
2518 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2519 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
* _resultobj
;
2523 PyObject
* _argo0
= 0;
2524 char *_kwnames
[] = { "self", NULL
};
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2537 wxPy_BEGIN_ALLOW_THREADS
;
2538 _result
= (int )wxGauge_GetRange(_arg0
);
2540 wxPy_END_ALLOW_THREADS
;
2541 } _resultobj
= Py_BuildValue("i",_result
);
2545 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2546 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2550 PyObject
* _argo0
= 0;
2551 char *_kwnames
[] = { "self", NULL
};
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2564 wxPy_BEGIN_ALLOW_THREADS
;
2565 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2567 wxPy_END_ALLOW_THREADS
;
2568 } _resultobj
= Py_BuildValue("i",_result
);
2572 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2573 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
* _resultobj
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2591 wxPy_BEGIN_ALLOW_THREADS
;
2592 _result
= (int )wxGauge_GetValue(_arg0
);
2594 wxPy_END_ALLOW_THREADS
;
2595 } _resultobj
= Py_BuildValue("i",_result
);
2599 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2600 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2604 PyObject
* _argo0
= 0;
2605 char *_kwnames
[] = { "self","width", NULL
};
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2618 wxPy_BEGIN_ALLOW_THREADS
;
2619 wxGauge_SetBezelFace(_arg0
,_arg1
);
2621 wxPy_END_ALLOW_THREADS
;
2622 } Py_INCREF(Py_None
);
2623 _resultobj
= Py_None
;
2627 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2628 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
* _resultobj
;
2632 PyObject
* _argo0
= 0;
2633 char *_kwnames
[] = { "self","range", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2646 wxPy_BEGIN_ALLOW_THREADS
;
2647 wxGauge_SetRange(_arg0
,_arg1
);
2649 wxPy_END_ALLOW_THREADS
;
2650 } Py_INCREF(Py_None
);
2651 _resultobj
= Py_None
;
2655 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2656 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
* _resultobj
;
2660 PyObject
* _argo0
= 0;
2661 char *_kwnames
[] = { "self","width", NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2674 wxPy_BEGIN_ALLOW_THREADS
;
2675 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2677 wxPy_END_ALLOW_THREADS
;
2678 } Py_INCREF(Py_None
);
2679 _resultobj
= Py_None
;
2683 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2684 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2688 PyObject
* _argo0
= 0;
2689 char *_kwnames
[] = { "self","pos", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2702 wxPy_BEGIN_ALLOW_THREADS
;
2703 wxGauge_SetValue(_arg0
,_arg1
);
2705 wxPy_END_ALLOW_THREADS
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2711 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2714 src
= (wxStaticBox
*) ptr
;
2715 dest
= (wxControl
*) src
;
2716 return (void *) dest
;
2719 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2722 src
= (wxStaticBox
*) ptr
;
2723 dest
= (wxWindow
*) src
;
2724 return (void *) dest
;
2727 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2730 src
= (wxStaticBox
*) ptr
;
2731 dest
= (wxEvtHandler
*) src
;
2732 return (void *) dest
;
2735 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2736 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2738 wxStaticBox
* _result
;
2742 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2743 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2744 long _arg5
= (long ) 0;
2745 char * _arg6
= (char *) "staticBox";
2746 PyObject
* _argo0
= 0;
2747 PyObject
* _obj2
= 0;
2749 PyObject
* _obj3
= 0;
2751 PyObject
* _obj4
= 0;
2752 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2766 if (!PyString_Check(_obj2
)) {
2767 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2770 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2775 if (! wxPoint_helper(_obj3
, &_arg3
))
2781 if (! wxSize_helper(_obj4
, &_arg4
))
2785 wxPy_BEGIN_ALLOW_THREADS
;
2786 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2788 wxPy_END_ALLOW_THREADS
;
2790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2791 _resultobj
= Py_BuildValue("s",_ptemp
);
2794 _resultobj
= Py_None
;
2803 static void *SwigwxStaticLineTowxControl(void *ptr
) {
2806 src
= (wxStaticLine
*) ptr
;
2807 dest
= (wxControl
*) src
;
2808 return (void *) dest
;
2811 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
2814 src
= (wxStaticLine
*) ptr
;
2815 dest
= (wxWindow
*) src
;
2816 return (void *) dest
;
2819 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
2822 src
= (wxStaticLine
*) ptr
;
2823 dest
= (wxEvtHandler
*) src
;
2824 return (void *) dest
;
2827 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2828 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2830 wxStaticLine
* _result
;
2833 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2834 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2835 long _arg4
= (long ) wxLI_HORIZONTAL
;
2836 char * _arg5
= (char *) "staticLine";
2837 PyObject
* _argo0
= 0;
2839 PyObject
* _obj2
= 0;
2841 PyObject
* _obj3
= 0;
2842 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2858 if (! wxPoint_helper(_obj2
, &_arg2
))
2864 if (! wxSize_helper(_obj3
, &_arg3
))
2868 wxPy_BEGIN_ALLOW_THREADS
;
2869 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2871 wxPy_END_ALLOW_THREADS
;
2873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
2874 _resultobj
= Py_BuildValue("s",_ptemp
);
2877 _resultobj
= Py_None
;
2882 static void *SwigwxStaticTextTowxControl(void *ptr
) {
2885 src
= (wxStaticText
*) ptr
;
2886 dest
= (wxControl
*) src
;
2887 return (void *) dest
;
2890 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
2893 src
= (wxStaticText
*) ptr
;
2894 dest
= (wxWindow
*) src
;
2895 return (void *) dest
;
2898 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
2901 src
= (wxStaticText
*) ptr
;
2902 dest
= (wxEvtHandler
*) src
;
2903 return (void *) dest
;
2906 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2907 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
* _resultobj
;
2909 wxStaticText
* _result
;
2913 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2914 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2915 long _arg5
= (long ) 0;
2916 char * _arg6
= (char *) "staticText";
2917 PyObject
* _argo0
= 0;
2918 PyObject
* _obj2
= 0;
2920 PyObject
* _obj3
= 0;
2922 PyObject
* _obj4
= 0;
2923 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
2937 if (!PyString_Check(_obj2
)) {
2938 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2941 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2946 if (! wxPoint_helper(_obj3
, &_arg3
))
2952 if (! wxSize_helper(_obj4
, &_arg4
))
2956 wxPy_BEGIN_ALLOW_THREADS
;
2957 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2959 wxPy_END_ALLOW_THREADS
;
2961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
2962 _resultobj
= Py_BuildValue("s",_ptemp
);
2965 _resultobj
= Py_None
;
2974 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
2975 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2978 wxStaticText
* _arg0
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
2993 wxPy_BEGIN_ALLOW_THREADS
;
2994 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
2996 wxPy_END_ALLOW_THREADS
;
2998 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3006 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3007 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3009 wxStaticText
* _arg0
;
3011 PyObject
* _argo0
= 0;
3012 PyObject
* _obj1
= 0;
3013 char *_kwnames
[] = { "self","label", NULL
};
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
3019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3026 if (!PyString_Check(_obj1
)) {
3027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3030 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3033 wxPy_BEGIN_ALLOW_THREADS
;
3034 wxStaticText_SetLabel(_arg0
,*_arg1
);
3036 wxPy_END_ALLOW_THREADS
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3046 static void *SwigwxListBoxTowxControl(void *ptr
) {
3049 src
= (wxListBox
*) ptr
;
3050 dest
= (wxControl
*) src
;
3051 return (void *) dest
;
3054 static void *SwigwxListBoxTowxWindow(void *ptr
) {
3057 src
= (wxListBox
*) ptr
;
3058 dest
= (wxWindow
*) src
;
3059 return (void *) dest
;
3062 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
3065 src
= (wxListBox
*) ptr
;
3066 dest
= (wxEvtHandler
*) src
;
3067 return (void *) dest
;
3070 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3071 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3072 PyObject
* _resultobj
;
3073 wxListBox
* _result
;
3076 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3077 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3079 wxString
* _arg5
= (wxString
*) NULL
;
3080 long _arg6
= (long ) 0;
3081 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
3082 char * _arg8
= (char *) "listBox";
3083 PyObject
* _argo0
= 0;
3085 PyObject
* _obj2
= 0;
3087 PyObject
* _obj3
= 0;
3088 PyObject
* _obj5
= 0;
3089 PyObject
* _argo7
= 0;
3090 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3106 if (! wxPoint_helper(_obj2
, &_arg2
))
3112 if (! wxSize_helper(_obj3
, &_arg3
))
3117 _arg5
= wxString_LIST_helper(_obj5
);
3118 if (_arg5
== NULL
) {
3123 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3131 _arg4
= PyList_Size(_obj5
);
3138 wxPy_BEGIN_ALLOW_THREADS
;
3139 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3141 wxPy_END_ALLOW_THREADS
;
3143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
3144 _resultobj
= Py_BuildValue("s",_ptemp
);
3147 _resultobj
= Py_None
;
3155 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3156 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
* _resultobj
;
3160 PyObject
* _argo0
= 0;
3161 PyObject
* _obj1
= 0;
3162 char *_kwnames
[] = { "self","item", NULL
};
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
3168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3175 if (!PyString_Check(_obj1
)) {
3176 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3179 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3182 wxPy_BEGIN_ALLOW_THREADS
;
3183 wxListBox_Append(_arg0
,*_arg1
);
3185 wxPy_END_ALLOW_THREADS
;
3186 } Py_INCREF(Py_None
);
3187 _resultobj
= Py_None
;
3195 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3196 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3199 PyObject
* _argo0
= 0;
3200 char *_kwnames
[] = { "self", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 wxListBox_Clear(_arg0
);
3216 wxPy_END_ALLOW_THREADS
;
3217 } Py_INCREF(Py_None
);
3218 _resultobj
= Py_None
;
3222 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3223 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self","n", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3241 wxPy_BEGIN_ALLOW_THREADS
;
3242 wxListBox_Delete(_arg0
,_arg1
);
3244 wxPy_END_ALLOW_THREADS
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3251 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3255 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self","n", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 wxListBox_Deselect(_arg0
,_arg1
);
3272 wxPy_END_ALLOW_THREADS
;
3273 } Py_INCREF(Py_None
);
3274 _resultobj
= Py_None
;
3278 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3279 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
* _resultobj
;
3284 PyObject
* _argo0
= 0;
3285 PyObject
* _obj1
= 0;
3286 char *_kwnames
[] = { "self","string", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3299 if (!PyString_Check(_obj1
)) {
3300 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3303 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3309 wxPy_END_ALLOW_THREADS
;
3310 } _resultobj
= Py_BuildValue("i",_result
);
3318 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3319 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3323 PyObject
* _argo0
= 0;
3324 char *_kwnames
[] = { "self", NULL
};
3327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3337 wxPy_BEGIN_ALLOW_THREADS
;
3338 _result
= (int )wxListBox_GetSelection(_arg0
);
3340 wxPy_END_ALLOW_THREADS
;
3341 } _resultobj
= Py_BuildValue("i",_result
);
3345 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3347 self
->GetSelections(lst
);
3348 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3349 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
3350 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3354 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3358 PyObject
* _argo0
= 0;
3359 char *_kwnames
[] = { "self", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3375 wxPy_END_ALLOW_THREADS
;
3377 _resultobj
= _result
;
3382 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3383 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _obj2
= 0;
3391 char *_kwnames
[] = { "self","choices","pos", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3404 _arg2
= wxString_LIST_helper(_obj2
);
3405 if (_arg2
== NULL
) {
3411 _arg1
= PyList_Size(_obj2
);
3418 wxPy_BEGIN_ALLOW_THREADS
;
3419 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3421 wxPy_END_ALLOW_THREADS
;
3422 } Py_INCREF(Py_None
);
3423 _resultobj
= Py_None
;
3430 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3431 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3436 PyObject
* _argo0
= 0;
3437 char *_kwnames
[] = { "self","n", NULL
};
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3450 wxPy_BEGIN_ALLOW_THREADS
;
3451 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3453 wxPy_END_ALLOW_THREADS
;
3455 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3463 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3464 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3468 PyObject
* _argo0
= 0;
3469 char *_kwnames
[] = { "self", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3482 wxPy_BEGIN_ALLOW_THREADS
;
3483 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3485 wxPy_END_ALLOW_THREADS
;
3487 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3495 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3496 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3500 PyObject
* _argo0
= 0;
3501 char *_kwnames
[] = { "self", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Number",_kwnames
,&_argo0
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3514 wxPy_BEGIN_ALLOW_THREADS
;
3515 _result
= (int )wxListBox_Number(_arg0
);
3517 wxPy_END_ALLOW_THREADS
;
3518 } _resultobj
= Py_BuildValue("i",_result
);
3522 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3523 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
* _resultobj
;
3528 PyObject
* _argo0
= 0;
3529 char *_kwnames
[] = { "self","n", NULL
};
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_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_Selected. Expected _wxListBox_p.");
3542 wxPy_BEGIN_ALLOW_THREADS
;
3543 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3545 wxPy_END_ALLOW_THREADS
;
3546 } _resultobj
= Py_BuildValue("i",_result
);
3550 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3551 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3556 PyObject
* _argo0
= 0;
3557 PyObject
* _obj2
= 0;
3558 char *_kwnames
[] = { "self","choices", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
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_Set. Expected _wxListBox_p.");
3572 _arg2
= wxString_LIST_helper(_obj2
);
3573 if (_arg2
== NULL
) {
3579 _arg1
= PyList_Size(_obj2
);
3586 wxPy_BEGIN_ALLOW_THREADS
;
3587 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3589 wxPy_END_ALLOW_THREADS
;
3590 } Py_INCREF(Py_None
);
3591 _resultobj
= Py_None
;
3598 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3599 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3603 PyObject
* _argo0
= 0;
3604 char *_kwnames
[] = { "self","n", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3617 wxPy_BEGIN_ALLOW_THREADS
;
3618 wxListBox_SetFirstItem(_arg0
,_arg1
);
3620 wxPy_END_ALLOW_THREADS
;
3621 } Py_INCREF(Py_None
);
3622 _resultobj
= Py_None
;
3626 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3627 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3628 PyObject
* _resultobj
;
3631 PyObject
* _argo0
= 0;
3632 PyObject
* _obj1
= 0;
3633 char *_kwnames
[] = { "self","string", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3646 if (!PyString_Check(_obj1
)) {
3647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3650 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3656 wxPy_END_ALLOW_THREADS
;
3657 } Py_INCREF(Py_None
);
3658 _resultobj
= Py_None
;
3666 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3667 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3671 bool _arg2
= (bool ) TRUE
;
3672 PyObject
* _argo0
= 0;
3673 int tempbool2
= (int) TRUE
;
3674 char *_kwnames
[] = { "self","n","select", NULL
};
3677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3686 _arg2
= (bool ) tempbool2
;
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
3691 wxPy_END_ALLOW_THREADS
;
3692 } Py_INCREF(Py_None
);
3693 _resultobj
= Py_None
;
3697 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3698 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3703 PyObject
* _argo0
= 0;
3704 PyObject
* _obj2
= 0;
3705 char *_kwnames
[] = { "self","n","string", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3718 if (!PyString_Check(_obj2
)) {
3719 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3722 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3725 wxPy_BEGIN_ALLOW_THREADS
;
3726 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
3728 wxPy_END_ALLOW_THREADS
;
3729 } Py_INCREF(Py_None
);
3730 _resultobj
= Py_None
;
3738 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3739 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3743 bool _arg2
= (bool ) TRUE
;
3744 PyObject
* _argo0
= 0;
3745 PyObject
* _obj1
= 0;
3746 int tempbool2
= (int) TRUE
;
3747 char *_kwnames
[] = { "self","string","select", NULL
};
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3760 if (!PyString_Check(_obj1
)) {
3761 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3764 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3766 _arg2
= (bool ) tempbool2
;
3768 wxPy_BEGIN_ALLOW_THREADS
;
3769 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
3771 wxPy_END_ALLOW_THREADS
;
3772 } Py_INCREF(Py_None
);
3773 _resultobj
= Py_None
;
3781 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
3782 wxCheckListBox
*src
;
3784 src
= (wxCheckListBox
*) ptr
;
3785 dest
= (wxListBox
*) src
;
3786 return (void *) dest
;
3789 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
3790 wxCheckListBox
*src
;
3792 src
= (wxCheckListBox
*) ptr
;
3793 dest
= (wxControl
*) src
;
3794 return (void *) dest
;
3797 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
3798 wxCheckListBox
*src
;
3800 src
= (wxCheckListBox
*) ptr
;
3801 dest
= (wxWindow
*) src
;
3802 return (void *) dest
;
3805 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
3806 wxCheckListBox
*src
;
3808 src
= (wxCheckListBox
*) ptr
;
3809 dest
= (wxEvtHandler
*) src
;
3810 return (void *) dest
;
3813 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3814 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3816 wxCheckListBox
* _result
;
3819 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3820 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3821 int _arg4
= (int ) 0;
3822 wxString
* _arg5
= (wxString
*) NULL
;
3823 long _arg6
= (long ) 0;
3824 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
3825 char * _arg8
= (char *) "listBox";
3826 PyObject
* _argo0
= 0;
3828 PyObject
* _obj2
= 0;
3830 PyObject
* _obj3
= 0;
3831 PyObject
* _obj5
= 0;
3832 PyObject
* _argo7
= 0;
3833 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
3849 if (! wxPoint_helper(_obj2
, &_arg2
))
3855 if (! wxSize_helper(_obj3
, &_arg3
))
3860 _arg5
= wxString_LIST_helper(_obj5
);
3861 if (_arg5
== NULL
) {
3866 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3867 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
3874 _arg4
= PyList_Size(_obj5
);
3881 wxPy_BEGIN_ALLOW_THREADS
;
3882 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3884 wxPy_END_ALLOW_THREADS
;
3886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
3887 _resultobj
= Py_BuildValue("s",_ptemp
);
3890 _resultobj
= Py_None
;
3898 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3899 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxCheckListBox
* _arg0
;
3904 PyObject
* _argo0
= 0;
3905 char *_kwnames
[] = { "self","uiIndex", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
3918 wxPy_BEGIN_ALLOW_THREADS
;
3919 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
3921 wxPy_END_ALLOW_THREADS
;
3922 } _resultobj
= Py_BuildValue("i",_result
);
3926 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3927 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
* _resultobj
;
3929 wxCheckListBox
* _arg0
;
3931 int _arg2
= (int ) TRUE
;
3932 PyObject
* _argo0
= 0;
3933 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
3946 wxPy_BEGIN_ALLOW_THREADS
;
3947 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
3949 wxPy_END_ALLOW_THREADS
;
3950 } Py_INCREF(Py_None
);
3951 _resultobj
= Py_None
;
3955 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3956 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
* _resultobj
;
3958 wxCheckListBox
* _arg0
;
3962 PyObject
* _argo0
= 0;
3963 PyObject
* _obj2
= 0;
3964 char *_kwnames
[] = { "self","choices","pos", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
3977 _arg2
= wxString_LIST_helper(_obj2
);
3978 if (_arg2
== NULL
) {
3984 _arg1
= PyList_Size(_obj2
);
3991 wxPy_BEGIN_ALLOW_THREADS
;
3992 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3994 wxPy_END_ALLOW_THREADS
;
3995 } Py_INCREF(Py_None
);
3996 _resultobj
= Py_None
;
4003 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4004 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4007 wxCheckListBox
* _arg0
;
4008 PyObject
* _argo0
= 0;
4009 char *_kwnames
[] = { "self", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4022 wxPy_BEGIN_ALLOW_THREADS
;
4023 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
4025 wxPy_END_ALLOW_THREADS
;
4026 } _resultobj
= Py_BuildValue("i",_result
);
4030 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4033 src
= (wxTextCtrl
*) ptr
;
4034 dest
= (wxControl
*) src
;
4035 return (void *) dest
;
4038 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4041 src
= (wxTextCtrl
*) ptr
;
4042 dest
= (wxWindow
*) src
;
4043 return (void *) dest
;
4046 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4049 src
= (wxTextCtrl
*) ptr
;
4050 dest
= (wxEvtHandler
*) src
;
4051 return (void *) dest
;
4054 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4055 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4057 wxTextCtrl
* _result
;
4060 char * _arg2
= (char *) "";
4061 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
4062 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
4063 long _arg5
= (long ) 0;
4064 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
4065 char * _arg7
= (char *) "text";
4066 PyObject
* _argo0
= 0;
4068 PyObject
* _obj3
= 0;
4070 PyObject
* _obj4
= 0;
4071 PyObject
* _argo6
= 0;
4072 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4088 if (! wxPoint_helper(_obj3
, &_arg3
))
4094 if (! wxSize_helper(_obj4
, &_arg4
))
4098 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4099 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4105 wxPy_BEGIN_ALLOW_THREADS
;
4106 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4108 wxPy_END_ALLOW_THREADS
;
4110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4111 _resultobj
= Py_BuildValue("s",_ptemp
);
4114 _resultobj
= Py_None
;
4119 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4120 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
* _resultobj
;
4123 PyObject
* _argo0
= 0;
4124 char *_kwnames
[] = { "self", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4137 wxPy_BEGIN_ALLOW_THREADS
;
4138 wxTextCtrl_Clear(_arg0
);
4140 wxPy_END_ALLOW_THREADS
;
4141 } Py_INCREF(Py_None
);
4142 _resultobj
= Py_None
;
4146 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4147 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
* _resultobj
;
4150 PyObject
* _argo0
= 0;
4151 char *_kwnames
[] = { "self", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 wxTextCtrl_Copy(_arg0
);
4167 wxPy_END_ALLOW_THREADS
;
4168 } Py_INCREF(Py_None
);
4169 _resultobj
= Py_None
;
4173 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4174 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
* _resultobj
;
4177 PyObject
* _argo0
= 0;
4178 char *_kwnames
[] = { "self", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4191 wxPy_BEGIN_ALLOW_THREADS
;
4192 wxTextCtrl_Cut(_arg0
);
4194 wxPy_END_ALLOW_THREADS
;
4195 } Py_INCREF(Py_None
);
4196 _resultobj
= Py_None
;
4200 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4201 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4204 PyObject
* _argo0
= 0;
4205 char *_kwnames
[] = { "self", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxTextCtrl_DiscardEdits(_arg0
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4228 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
4249 wxPy_END_ALLOW_THREADS
;
4250 } _resultobj
= Py_BuildValue("l",_result
);
4254 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
4255 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4259 PyObject
* _argo0
= 0;
4260 char *_kwnames
[] = { "self", NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
4266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
4273 wxPy_BEGIN_ALLOW_THREADS
;
4274 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
4276 wxPy_END_ALLOW_THREADS
;
4277 } _resultobj
= Py_BuildValue("l",_result
);
4281 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
4282 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
* _resultobj
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self","lineNo", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } _resultobj
= Py_BuildValue("i",_result
);
4309 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4310 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4315 PyObject
* _argo0
= 0;
4316 char *_kwnames
[] = { "self","lineNo", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4329 wxPy_BEGIN_ALLOW_THREADS
;
4330 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
4332 wxPy_END_ALLOW_THREADS
;
4334 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4342 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4343 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
* _resultobj
;
4347 PyObject
* _argo0
= 0;
4348 char *_kwnames
[] = { "self", NULL
};
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
4354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4361 wxPy_BEGIN_ALLOW_THREADS
;
4362 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
4364 wxPy_END_ALLOW_THREADS
;
4365 } _resultobj
= Py_BuildValue("i",_result
);
4369 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4370 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4374 PyObject
* _argo0
= 0;
4375 char *_kwnames
[] = { "self", NULL
};
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
4381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4388 wxPy_BEGIN_ALLOW_THREADS
;
4389 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
4391 wxPy_END_ALLOW_THREADS
;
4393 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4401 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4402 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4406 PyObject
* _argo0
= 0;
4407 char *_kwnames
[] = { "self", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4420 wxPy_BEGIN_ALLOW_THREADS
;
4421 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
4423 wxPy_END_ALLOW_THREADS
;
4424 } _resultobj
= Py_BuildValue("i",_result
);
4428 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4429 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4434 PyObject
* _argo0
= 0;
4435 PyObject
* _obj1
= 0;
4436 char *_kwnames
[] = { "self","filename", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4449 if (!PyString_Check(_obj1
)) {
4450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4453 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4456 wxPy_BEGIN_ALLOW_THREADS
;
4457 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4459 wxPy_END_ALLOW_THREADS
;
4460 } _resultobj
= Py_BuildValue("i",_result
);
4468 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4469 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4472 PyObject
* _argo0
= 0;
4473 char *_kwnames
[] = { "self", NULL
};
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
4479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4486 wxPy_BEGIN_ALLOW_THREADS
;
4487 wxTextCtrl_Paste(_arg0
);
4489 wxPy_END_ALLOW_THREADS
;
4490 } Py_INCREF(Py_None
);
4491 _resultobj
= Py_None
;
4495 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4496 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
* _resultobj
;
4504 PyObject
* _argo0
= 0;
4505 char *_kwnames
[] = { "self","pos", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4524 wxPy_BEGIN_ALLOW_THREADS
;
4525 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4527 wxPy_END_ALLOW_THREADS
;
4528 } Py_INCREF(Py_None
);
4529 _resultobj
= Py_None
;
4532 o
= PyInt_FromLong((long) (*_arg2
));
4533 _resultobj
= t_output_helper(_resultobj
, o
);
4537 o
= PyInt_FromLong((long) (*_arg3
));
4538 _resultobj
= t_output_helper(_resultobj
, o
);
4543 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4544 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4549 PyObject
* _argo0
= 0;
4550 char *_kwnames
[] = { "self","from","to", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4563 wxPy_BEGIN_ALLOW_THREADS
;
4564 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4566 wxPy_END_ALLOW_THREADS
;
4567 } Py_INCREF(Py_None
);
4568 _resultobj
= Py_None
;
4572 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4573 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
* _resultobj
;
4579 PyObject
* _argo0
= 0;
4580 PyObject
* _obj3
= 0;
4581 char *_kwnames
[] = { "self","from","to","value", NULL
};
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4594 if (!PyString_Check(_obj3
)) {
4595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4598 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4601 wxPy_BEGIN_ALLOW_THREADS
;
4602 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
4604 wxPy_END_ALLOW_THREADS
;
4605 } Py_INCREF(Py_None
);
4606 _resultobj
= Py_None
;
4614 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4615 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4620 PyObject
* _argo0
= 0;
4621 PyObject
* _obj1
= 0;
4622 char *_kwnames
[] = { "self","filename", NULL
};
4625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
4628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4635 if (!PyString_Check(_obj1
)) {
4636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4639 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4642 wxPy_BEGIN_ALLOW_THREADS
;
4643 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
4645 wxPy_END_ALLOW_THREADS
;
4646 } _resultobj
= Py_BuildValue("i",_result
);
4654 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4655 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4659 PyObject
* _argo0
= 0;
4661 char *_kwnames
[] = { "self","editable", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4673 _arg1
= (bool ) tempbool1
;
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 wxTextCtrl_SetEditable(_arg0
,_arg1
);
4678 wxPy_END_ALLOW_THREADS
;
4679 } Py_INCREF(Py_None
);
4680 _resultobj
= Py_None
;
4684 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4685 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4689 PyObject
* _argo0
= 0;
4690 char *_kwnames
[] = { "self","pos", NULL
};
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
4696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4703 wxPy_BEGIN_ALLOW_THREADS
;
4704 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
4706 wxPy_END_ALLOW_THREADS
;
4707 } Py_INCREF(Py_None
);
4708 _resultobj
= Py_None
;
4712 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4713 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 wxTextCtrl_SetInsertionPointEnd(_arg0
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4740 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4745 PyObject
* _argo0
= 0;
4746 char *_kwnames
[] = { "self","from","to", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4759 wxPy_BEGIN_ALLOW_THREADS
;
4760 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
4762 wxPy_END_ALLOW_THREADS
;
4763 } Py_INCREF(Py_None
);
4764 _resultobj
= Py_None
;
4768 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4769 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4773 PyObject
* _argo0
= 0;
4774 PyObject
* _obj1
= 0;
4775 char *_kwnames
[] = { "self","value", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
4788 if (!PyString_Check(_obj1
)) {
4789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4792 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4795 wxPy_BEGIN_ALLOW_THREADS
;
4796 wxTextCtrl_SetValue(_arg0
,*_arg1
);
4798 wxPy_END_ALLOW_THREADS
;
4799 } Py_INCREF(Py_None
);
4800 _resultobj
= Py_None
;
4808 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
4809 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
* _resultobj
;
4813 PyObject
* _argo0
= 0;
4814 char *_kwnames
[] = { "self","pos", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
4827 wxPy_BEGIN_ALLOW_THREADS
;
4828 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
4830 wxPy_END_ALLOW_THREADS
;
4831 } Py_INCREF(Py_None
);
4832 _resultobj
= Py_None
;
4836 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
4837 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4841 PyObject
* _argo0
= 0;
4842 PyObject
* _obj1
= 0;
4843 char *_kwnames
[] = { "self","text", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
4856 if (!PyString_Check(_obj1
)) {
4857 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4860 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4863 wxPy_BEGIN_ALLOW_THREADS
;
4864 wxTextCtrl_WriteText(_arg0
,*_arg1
);
4866 wxPy_END_ALLOW_THREADS
;
4867 } Py_INCREF(Py_None
);
4868 _resultobj
= Py_None
;
4876 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
4877 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
* _resultobj
;
4881 PyObject
* _argo0
= 0;
4882 PyObject
* _obj1
= 0;
4883 char *_kwnames
[] = { "self","text", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
4896 if (!PyString_Check(_obj1
)) {
4897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4900 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 wxTextCtrl_AppendText(_arg0
,*_arg1
);
4906 wxPy_END_ALLOW_THREADS
;
4907 } Py_INCREF(Py_None
);
4908 _resultobj
= Py_None
;
4916 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
4917 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4923 PyObject
* _argo0
= 0;
4924 char *_kwnames
[] = { "self","x","y", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
4940 wxPy_END_ALLOW_THREADS
;
4941 } _resultobj
= Py_BuildValue("l",_result
);
4945 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
4946 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4950 PyObject
* _argo0
= 0;
4951 char *_kwnames
[] = { "self", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
4964 wxPy_BEGIN_ALLOW_THREADS
;
4965 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
4967 wxPy_END_ALLOW_THREADS
;
4968 } _resultobj
= Py_BuildValue("i",_result
);
4972 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
4973 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4977 PyObject
* _argo0
= 0;
4978 char *_kwnames
[] = { "self", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
4991 wxPy_BEGIN_ALLOW_THREADS
;
4992 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
4994 wxPy_END_ALLOW_THREADS
;
4995 } _resultobj
= Py_BuildValue("i",_result
);
4999 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5000 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
* _resultobj
;
5004 PyObject
* _argo0
= 0;
5005 char *_kwnames
[] = { "self", NULL
};
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5018 wxPy_BEGIN_ALLOW_THREADS
;
5019 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5021 wxPy_END_ALLOW_THREADS
;
5022 } _resultobj
= Py_BuildValue("i",_result
);
5026 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5027 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5031 PyObject
* _argo0
= 0;
5032 char *_kwnames
[] = { "self", NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
5038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5045 wxPy_BEGIN_ALLOW_THREADS
;
5046 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
5048 wxPy_END_ALLOW_THREADS
;
5049 } _resultobj
= Py_BuildValue("i",_result
);
5053 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5054 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5058 PyObject
* _argo0
= 0;
5059 char *_kwnames
[] = { "self", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5072 wxPy_BEGIN_ALLOW_THREADS
;
5073 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
5075 wxPy_END_ALLOW_THREADS
;
5076 } _resultobj
= Py_BuildValue("i",_result
);
5080 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5081 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
* _resultobj
;
5088 PyObject
* _argo0
= 0;
5089 char *_kwnames
[] = { "self", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5108 wxPy_BEGIN_ALLOW_THREADS
;
5109 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
5111 wxPy_END_ALLOW_THREADS
;
5112 } Py_INCREF(Py_None
);
5113 _resultobj
= Py_None
;
5116 o
= PyInt_FromLong((long) (*_arg1
));
5117 _resultobj
= t_output_helper(_resultobj
, o
);
5121 o
= PyInt_FromLong((long) (*_arg2
));
5122 _resultobj
= t_output_helper(_resultobj
, o
);
5127 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5128 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
* _resultobj
;
5132 PyObject
* _argo0
= 0;
5133 char *_kwnames
[] = { "self", NULL
};
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
5146 wxPy_BEGIN_ALLOW_THREADS
;
5147 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
5149 wxPy_END_ALLOW_THREADS
;
5150 } _resultobj
= Py_BuildValue("i",_result
);
5154 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5155 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5158 PyObject
* _argo0
= 0;
5159 char *_kwnames
[] = { "self", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
5172 wxPy_BEGIN_ALLOW_THREADS
;
5173 wxTextCtrl_Undo(_arg0
);
5175 wxPy_END_ALLOW_THREADS
;
5176 } Py_INCREF(Py_None
);
5177 _resultobj
= Py_None
;
5181 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
5182 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5185 PyObject
* _argo0
= 0;
5186 char *_kwnames
[] = { "self", NULL
};
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
5192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
5199 wxPy_BEGIN_ALLOW_THREADS
;
5200 wxTextCtrl_Redo(_arg0
);
5202 wxPy_END_ALLOW_THREADS
;
5203 } Py_INCREF(Py_None
);
5204 _resultobj
= Py_None
;
5208 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
5209 self
->AppendText(text
+ '\n');
5211 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5215 PyObject
* _argo0
= 0;
5216 PyObject
* _obj1
= 0;
5217 char *_kwnames
[] = { "self","text", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
5230 if (!PyString_Check(_obj1
)) {
5231 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5234 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5237 wxPy_BEGIN_ALLOW_THREADS
;
5238 wxTextCtrl_write(_arg0
,*_arg1
);
5240 wxPy_END_ALLOW_THREADS
;
5241 } Py_INCREF(Py_None
);
5242 _resultobj
= Py_None
;
5250 static void *SwigwxScrollBarTowxControl(void *ptr
) {
5253 src
= (wxScrollBar
*) ptr
;
5254 dest
= (wxControl
*) src
;
5255 return (void *) dest
;
5258 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
5261 src
= (wxScrollBar
*) ptr
;
5262 dest
= (wxWindow
*) src
;
5263 return (void *) dest
;
5266 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
5269 src
= (wxScrollBar
*) ptr
;
5270 dest
= (wxEvtHandler
*) src
;
5271 return (void *) dest
;
5274 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5275 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5277 wxScrollBar
* _result
;
5279 wxWindowID _arg1
= (wxWindowID
) -1;
5280 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5281 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5282 long _arg4
= (long ) wxSB_HORIZONTAL
;
5283 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
5284 char * _arg6
= (char *) "scrollBar";
5285 PyObject
* _argo0
= 0;
5287 PyObject
* _obj2
= 0;
5289 PyObject
* _obj3
= 0;
5290 PyObject
* _argo5
= 0;
5291 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
5307 if (! wxPoint_helper(_obj2
, &_arg2
))
5313 if (! wxSize_helper(_obj3
, &_arg3
))
5317 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5318 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
5324 wxPy_BEGIN_ALLOW_THREADS
;
5325 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5327 wxPy_END_ALLOW_THREADS
;
5329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
5330 _resultobj
= Py_BuildValue("s",_ptemp
);
5333 _resultobj
= Py_None
;
5338 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5339 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5342 wxScrollBar
* _arg0
;
5343 PyObject
* _argo0
= 0;
5344 char *_kwnames
[] = { "self", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5357 wxPy_BEGIN_ALLOW_THREADS
;
5358 _result
= (int )wxScrollBar_GetRange(_arg0
);
5360 wxPy_END_ALLOW_THREADS
;
5361 } _resultobj
= Py_BuildValue("i",_result
);
5365 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5366 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5369 wxScrollBar
* _arg0
;
5370 PyObject
* _argo0
= 0;
5371 char *_kwnames
[] = { "self", NULL
};
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
5377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5384 wxPy_BEGIN_ALLOW_THREADS
;
5385 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
5387 wxPy_END_ALLOW_THREADS
;
5388 } _resultobj
= Py_BuildValue("i",_result
);
5392 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5393 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
* _resultobj
;
5396 wxScrollBar
* _arg0
;
5397 PyObject
* _argo0
= 0;
5398 char *_kwnames
[] = { "self", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5411 wxPy_BEGIN_ALLOW_THREADS
;
5412 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
5414 wxPy_END_ALLOW_THREADS
;
5415 } _resultobj
= Py_BuildValue("i",_result
);
5419 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5420 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
* _resultobj
;
5423 wxScrollBar
* _arg0
;
5424 PyObject
* _argo0
= 0;
5425 char *_kwnames
[] = { "self", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5438 wxPy_BEGIN_ALLOW_THREADS
;
5439 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
5441 wxPy_END_ALLOW_THREADS
;
5442 } _resultobj
= Py_BuildValue("i",_result
);
5446 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5447 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
* _resultobj
;
5449 wxScrollBar
* _arg0
;
5451 PyObject
* _argo0
= 0;
5452 char *_kwnames
[] = { "self","viewStart", NULL
};
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
5458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5465 wxPy_BEGIN_ALLOW_THREADS
;
5466 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
5468 wxPy_END_ALLOW_THREADS
;
5469 } Py_INCREF(Py_None
);
5470 _resultobj
= Py_None
;
5474 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5475 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5477 wxScrollBar
* _arg0
;
5482 bool _arg5
= (bool ) TRUE
;
5483 PyObject
* _argo0
= 0;
5484 int tempbool5
= (int) TRUE
;
5485 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
5491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5497 _arg5
= (bool ) tempbool5
;
5499 wxPy_BEGIN_ALLOW_THREADS
;
5500 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5502 wxPy_END_ALLOW_THREADS
;
5503 } Py_INCREF(Py_None
);
5504 _resultobj
= Py_None
;
5508 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
5511 src
= (wxSpinButton
*) ptr
;
5512 dest
= (wxControl
*) src
;
5513 return (void *) dest
;
5516 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
5519 src
= (wxSpinButton
*) ptr
;
5520 dest
= (wxWindow
*) src
;
5521 return (void *) dest
;
5524 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
5527 src
= (wxSpinButton
*) ptr
;
5528 dest
= (wxEvtHandler
*) src
;
5529 return (void *) dest
;
5532 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5533 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5535 wxSpinButton
* _result
;
5537 wxWindowID _arg1
= (wxWindowID
) -1;
5538 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5539 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5540 long _arg4
= (long ) wxSP_HORIZONTAL
;
5541 char * _arg5
= (char *) "spinButton";
5542 PyObject
* _argo0
= 0;
5544 PyObject
* _obj2
= 0;
5546 PyObject
* _obj3
= 0;
5547 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5563 if (! wxPoint_helper(_obj2
, &_arg2
))
5569 if (! wxSize_helper(_obj3
, &_arg3
))
5573 wxPy_BEGIN_ALLOW_THREADS
;
5574 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5576 wxPy_END_ALLOW_THREADS
;
5578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
5579 _resultobj
= Py_BuildValue("s",_ptemp
);
5582 _resultobj
= Py_None
;
5587 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5588 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
* _resultobj
;
5591 wxSpinButton
* _arg0
;
5592 PyObject
* _argo0
= 0;
5593 char *_kwnames
[] = { "self", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
5599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5606 wxPy_BEGIN_ALLOW_THREADS
;
5607 _result
= (int )wxSpinButton_GetMax(_arg0
);
5609 wxPy_END_ALLOW_THREADS
;
5610 } _resultobj
= Py_BuildValue("i",_result
);
5614 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5615 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5618 wxSpinButton
* _arg0
;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "self", NULL
};
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
5626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5633 wxPy_BEGIN_ALLOW_THREADS
;
5634 _result
= (int )wxSpinButton_GetMin(_arg0
);
5636 wxPy_END_ALLOW_THREADS
;
5637 } _resultobj
= Py_BuildValue("i",_result
);
5641 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5642 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5645 wxSpinButton
* _arg0
;
5646 PyObject
* _argo0
= 0;
5647 char *_kwnames
[] = { "self", NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
5653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5660 wxPy_BEGIN_ALLOW_THREADS
;
5661 _result
= (int )wxSpinButton_GetValue(_arg0
);
5663 wxPy_END_ALLOW_THREADS
;
5664 } _resultobj
= Py_BuildValue("i",_result
);
5668 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5669 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
* _resultobj
;
5671 wxSpinButton
* _arg0
;
5674 PyObject
* _argo0
= 0;
5675 char *_kwnames
[] = { "self","min","max", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5688 wxPy_BEGIN_ALLOW_THREADS
;
5689 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
5691 wxPy_END_ALLOW_THREADS
;
5692 } Py_INCREF(Py_None
);
5693 _resultobj
= Py_None
;
5697 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5698 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5700 wxSpinButton
* _arg0
;
5702 PyObject
* _argo0
= 0;
5703 char *_kwnames
[] = { "self","value", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
5709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5716 wxPy_BEGIN_ALLOW_THREADS
;
5717 wxSpinButton_SetValue(_arg0
,_arg1
);
5719 wxPy_END_ALLOW_THREADS
;
5720 } Py_INCREF(Py_None
);
5721 _resultobj
= Py_None
;
5725 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
5726 wxStaticBitmap
*src
;
5728 src
= (wxStaticBitmap
*) ptr
;
5729 dest
= (wxControl
*) src
;
5730 return (void *) dest
;
5733 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
5734 wxStaticBitmap
*src
;
5736 src
= (wxStaticBitmap
*) ptr
;
5737 dest
= (wxWindow
*) src
;
5738 return (void *) dest
;
5741 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
5742 wxStaticBitmap
*src
;
5744 src
= (wxStaticBitmap
*) ptr
;
5745 dest
= (wxEvtHandler
*) src
;
5746 return (void *) dest
;
5749 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5750 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5752 wxStaticBitmap
* _result
;
5756 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5757 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5758 long _arg5
= (long ) 0;
5759 char * _arg6
= (char *) "staticBitmap";
5760 PyObject
* _argo0
= 0;
5761 PyObject
* _argo2
= 0;
5763 PyObject
* _obj3
= 0;
5765 PyObject
* _obj4
= 0;
5766 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
5780 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5781 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
5789 if (! wxPoint_helper(_obj3
, &_arg3
))
5795 if (! wxSize_helper(_obj4
, &_arg4
))
5799 wxPy_BEGIN_ALLOW_THREADS
;
5800 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5802 wxPy_END_ALLOW_THREADS
;
5804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
5805 _resultobj
= Py_BuildValue("s",_ptemp
);
5808 _resultobj
= Py_None
;
5813 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
5814 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
* _resultobj
;
5817 wxStaticBitmap
* _arg0
;
5818 PyObject
* _argo0
= 0;
5819 char *_kwnames
[] = { "self", NULL
};
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
5826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
5833 wxPy_BEGIN_ALLOW_THREADS
;
5834 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
5835 _result
= (wxBitmap
*) &_result_ref
;
5837 wxPy_END_ALLOW_THREADS
;
5839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5840 _resultobj
= Py_BuildValue("s",_ptemp
);
5843 _resultobj
= Py_None
;
5848 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
5849 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
* _resultobj
;
5851 wxStaticBitmap
* _arg0
;
5853 PyObject
* _argo0
= 0;
5854 PyObject
* _argo1
= 0;
5855 char *_kwnames
[] = { "self","bitmap", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
5868 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
5875 wxPy_BEGIN_ALLOW_THREADS
;
5876 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
5878 wxPy_END_ALLOW_THREADS
;
5879 } Py_INCREF(Py_None
);
5880 _resultobj
= Py_None
;
5884 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
5885 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5887 wxStaticBitmap
* _arg0
;
5889 PyObject
* _argo0
= 0;
5890 PyObject
* _argo1
= 0;
5891 char *_kwnames
[] = { "self","icon", NULL
};
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
5897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
5904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
5911 wxPy_BEGIN_ALLOW_THREADS
;
5912 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
5914 wxPy_END_ALLOW_THREADS
;
5915 } Py_INCREF(Py_None
);
5916 _resultobj
= Py_None
;
5920 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
5923 src
= (wxRadioBox
*) ptr
;
5924 dest
= (wxControl
*) src
;
5925 return (void *) dest
;
5928 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
5931 src
= (wxRadioBox
*) ptr
;
5932 dest
= (wxWindow
*) src
;
5933 return (void *) dest
;
5936 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
5939 src
= (wxRadioBox
*) ptr
;
5940 dest
= (wxEvtHandler
*) src
;
5941 return (void *) dest
;
5944 #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))
5945 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5947 wxRadioBox
* _result
;
5951 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5952 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5953 int _arg5
= (int ) 0;
5954 wxString
* _arg6
= (wxString
*) NULL
;
5955 int _arg7
= (int ) 0;
5956 long _arg8
= (long ) wxRA_HORIZONTAL
;
5957 wxValidator
* _arg9
= (wxValidator
*) &wxPyDefaultValidator
;
5958 char * _arg10
= (char *) "radioBox";
5959 PyObject
* _argo0
= 0;
5960 PyObject
* _obj2
= 0;
5962 PyObject
* _obj3
= 0;
5964 PyObject
* _obj4
= 0;
5965 PyObject
* _obj6
= 0;
5966 PyObject
* _argo9
= 0;
5967 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
5974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
5981 if (!PyString_Check(_obj2
)) {
5982 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5985 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5990 if (! wxPoint_helper(_obj3
, &_arg3
))
5996 if (! wxSize_helper(_obj4
, &_arg4
))
6001 _arg6
= wxString_LIST_helper(_obj6
);
6002 if (_arg6
== NULL
) {
6007 if (_argo9
== Py_None
) { _arg9
= NULL
; }
6008 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
6009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
6015 _arg5
= PyList_Size(_obj6
);
6022 wxPy_BEGIN_ALLOW_THREADS
;
6023 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
6025 wxPy_END_ALLOW_THREADS
;
6027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
6028 _resultobj
= Py_BuildValue("s",_ptemp
);
6031 _resultobj
= Py_None
;
6043 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6044 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
* _resultobj
;
6048 PyObject
* _argo0
= 0;
6050 char *_kwnames
[] = { "self","enable", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
6062 _arg1
= (bool ) tempbool1
;
6064 wxPy_BEGIN_ALLOW_THREADS
;
6065 wxRadioBox_Enable(_arg0
,_arg1
);
6067 wxPy_END_ALLOW_THREADS
;
6068 } Py_INCREF(Py_None
);
6069 _resultobj
= Py_None
;
6073 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6074 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
* _resultobj
;
6079 PyObject
* _argo0
= 0;
6081 char *_kwnames
[] = { "self","n","enable", NULL
};
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
6093 _arg2
= (bool ) tempbool2
;
6095 wxPy_BEGIN_ALLOW_THREADS
;
6096 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
6098 wxPy_END_ALLOW_THREADS
;
6099 } Py_INCREF(Py_None
);
6100 _resultobj
= Py_None
;
6104 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
6105 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
* _resultobj
;
6110 PyObject
* _argo0
= 0;
6111 PyObject
* _obj1
= 0;
6112 char *_kwnames
[] = { "self","string", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
6125 if (!PyString_Check(_obj1
)) {
6126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6129 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6132 wxPy_BEGIN_ALLOW_THREADS
;
6133 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
6135 wxPy_END_ALLOW_THREADS
;
6136 } _resultobj
= Py_BuildValue("i",_result
);
6144 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6145 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6150 PyObject
* _argo0
= 0;
6151 char *_kwnames
[] = { "self","n", NULL
};
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
6157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
6164 wxPy_BEGIN_ALLOW_THREADS
;
6165 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
6167 wxPy_END_ALLOW_THREADS
;
6169 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6177 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
6178 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6182 PyObject
* _argo0
= 0;
6183 char *_kwnames
[] = { "self", NULL
};
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
6189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
6196 wxPy_BEGIN_ALLOW_THREADS
;
6197 _result
= (int )wxRadioBox_GetSelection(_arg0
);
6199 wxPy_END_ALLOW_THREADS
;
6200 } _resultobj
= Py_BuildValue("i",_result
);
6204 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
6205 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
* _resultobj
;
6210 PyObject
* _argo0
= 0;
6211 char *_kwnames
[] = { "self","n", NULL
};
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
6217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
6224 wxPy_BEGIN_ALLOW_THREADS
;
6225 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
6227 wxPy_END_ALLOW_THREADS
;
6229 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6237 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6238 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
* _resultobj
;
6242 PyObject
* _argo0
= 0;
6243 char *_kwnames
[] = { "self", NULL
};
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
6249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
6256 wxPy_BEGIN_ALLOW_THREADS
;
6257 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
6259 wxPy_END_ALLOW_THREADS
;
6261 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6269 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
6270 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6274 PyObject
* _argo0
= 0;
6275 char *_kwnames
[] = { "self", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
6288 wxPy_BEGIN_ALLOW_THREADS
;
6289 _result
= (int )wxRadioBox_Number(_arg0
);
6291 wxPy_END_ALLOW_THREADS
;
6292 } _resultobj
= Py_BuildValue("i",_result
);
6296 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6297 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
* _resultobj
;
6302 PyObject
* _argo0
= 0;
6303 PyObject
* _obj2
= 0;
6304 char *_kwnames
[] = { "self","n","label", NULL
};
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
6317 if (!PyString_Check(_obj2
)) {
6318 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6321 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6324 wxPy_BEGIN_ALLOW_THREADS
;
6325 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
6327 wxPy_END_ALLOW_THREADS
;
6328 } Py_INCREF(Py_None
);
6329 _resultobj
= Py_None
;
6337 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6338 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
* _resultobj
;
6342 PyObject
* _argo0
= 0;
6343 char *_kwnames
[] = { "self","n", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6356 wxPy_BEGIN_ALLOW_THREADS
;
6357 wxRadioBox_SetSelection(_arg0
,_arg1
);
6359 wxPy_END_ALLOW_THREADS
;
6360 } Py_INCREF(Py_None
);
6361 _resultobj
= Py_None
;
6365 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6366 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6370 PyObject
* _argo0
= 0;
6371 PyObject
* _obj1
= 0;
6372 char *_kwnames
[] = { "self","string", NULL
};
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
6378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6385 if (!PyString_Check(_obj1
)) {
6386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6389 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6392 wxPy_BEGIN_ALLOW_THREADS
;
6393 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
6395 wxPy_END_ALLOW_THREADS
;
6396 } Py_INCREF(Py_None
);
6397 _resultobj
= Py_None
;
6405 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6406 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
* _resultobj
;
6410 PyObject
* _argo0
= 0;
6412 char *_kwnames
[] = { "self","show", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6424 _arg1
= (bool ) tempbool1
;
6426 wxPy_BEGIN_ALLOW_THREADS
;
6427 wxRadioBox_Show(_arg0
,_arg1
);
6429 wxPy_END_ALLOW_THREADS
;
6430 } Py_INCREF(Py_None
);
6431 _resultobj
= Py_None
;
6435 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6436 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6437 PyObject
* _resultobj
;
6441 PyObject
* _argo0
= 0;
6443 char *_kwnames
[] = { "self","item","show", NULL
};
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6455 _arg2
= (bool ) tempbool2
;
6457 wxPy_BEGIN_ALLOW_THREADS
;
6458 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
6460 wxPy_END_ALLOW_THREADS
;
6461 } Py_INCREF(Py_None
);
6462 _resultobj
= Py_None
;
6466 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
6469 src
= (wxRadioButton
*) ptr
;
6470 dest
= (wxControl
*) src
;
6471 return (void *) dest
;
6474 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
6477 src
= (wxRadioButton
*) ptr
;
6478 dest
= (wxWindow
*) src
;
6479 return (void *) dest
;
6482 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
6485 src
= (wxRadioButton
*) ptr
;
6486 dest
= (wxEvtHandler
*) src
;
6487 return (void *) dest
;
6490 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6491 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6493 wxRadioButton
* _result
;
6497 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
6498 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
6499 long _arg5
= (long ) 0;
6500 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
6501 char * _arg7
= (char *) "radioButton";
6502 PyObject
* _argo0
= 0;
6503 PyObject
* _obj2
= 0;
6505 PyObject
* _obj3
= 0;
6507 PyObject
* _obj4
= 0;
6508 PyObject
* _argo6
= 0;
6509 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6523 if (!PyString_Check(_obj2
)) {
6524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6527 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6532 if (! wxPoint_helper(_obj3
, &_arg3
))
6538 if (! wxSize_helper(_obj4
, &_arg4
))
6542 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6543 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
6549 wxPy_BEGIN_ALLOW_THREADS
;
6550 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6552 wxPy_END_ALLOW_THREADS
;
6554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
6555 _resultobj
= Py_BuildValue("s",_ptemp
);
6558 _resultobj
= Py_None
;
6567 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
6568 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6571 wxRadioButton
* _arg0
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
6586 wxPy_BEGIN_ALLOW_THREADS
;
6587 _result
= (bool )wxRadioButton_GetValue(_arg0
);
6589 wxPy_END_ALLOW_THREADS
;
6590 } _resultobj
= Py_BuildValue("i",_result
);
6594 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6595 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
* _resultobj
;
6597 wxRadioButton
* _arg0
;
6599 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self","value", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6613 _arg1
= (bool ) tempbool1
;
6615 wxPy_BEGIN_ALLOW_THREADS
;
6616 wxRadioButton_SetValue(_arg0
,_arg1
);
6618 wxPy_END_ALLOW_THREADS
;
6619 } Py_INCREF(Py_None
);
6620 _resultobj
= Py_None
;
6624 static void *SwigwxSliderTowxControl(void *ptr
) {
6627 src
= (wxSlider
*) ptr
;
6628 dest
= (wxControl
*) src
;
6629 return (void *) dest
;
6632 static void *SwigwxSliderTowxWindow(void *ptr
) {
6635 src
= (wxSlider
*) ptr
;
6636 dest
= (wxWindow
*) src
;
6637 return (void *) dest
;
6640 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
6643 src
= (wxSlider
*) ptr
;
6644 dest
= (wxEvtHandler
*) src
;
6645 return (void *) dest
;
6648 #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))
6649 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
* _resultobj
;
6657 wxPoint
* _arg5
= (wxPoint
*) &wxPyDefaultPosition
;
6658 wxSize
* _arg6
= (wxSize
*) &wxPyDefaultSize
;
6659 long _arg7
= (long ) wxSL_HORIZONTAL
;
6660 wxValidator
* _arg8
= (wxValidator
*) &wxPyDefaultValidator
;
6661 char * _arg9
= (char *) "slider";
6662 PyObject
* _argo0
= 0;
6664 PyObject
* _obj5
= 0;
6666 PyObject
* _obj6
= 0;
6667 PyObject
* _argo8
= 0;
6668 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
6684 if (! wxPoint_helper(_obj5
, &_arg5
))
6690 if (! wxSize_helper(_obj6
, &_arg6
))
6694 if (_argo8
== Py_None
) { _arg8
= NULL
; }
6695 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
6696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
6701 wxPy_BEGIN_ALLOW_THREADS
;
6702 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
6704 wxPy_END_ALLOW_THREADS
;
6706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
6707 _resultobj
= Py_BuildValue("s",_ptemp
);
6710 _resultobj
= Py_None
;
6715 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
6716 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6717 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
6733 wxPy_BEGIN_ALLOW_THREADS
;
6734 wxSlider_ClearSel(_arg0
);
6736 wxPy_END_ALLOW_THREADS
;
6737 } Py_INCREF(Py_None
);
6738 _resultobj
= Py_None
;
6742 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
6743 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6746 PyObject
* _argo0
= 0;
6747 char *_kwnames
[] = { "self", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
6760 wxPy_BEGIN_ALLOW_THREADS
;
6761 wxSlider_ClearTicks(_arg0
);
6763 wxPy_END_ALLOW_THREADS
;
6764 } Py_INCREF(Py_None
);
6765 _resultobj
= Py_None
;
6769 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
6770 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
* _resultobj
;
6774 PyObject
* _argo0
= 0;
6775 char *_kwnames
[] = { "self", NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
6781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
6788 wxPy_BEGIN_ALLOW_THREADS
;
6789 _result
= (int )wxSlider_GetLineSize(_arg0
);
6791 wxPy_END_ALLOW_THREADS
;
6792 } _resultobj
= Py_BuildValue("i",_result
);
6796 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
6797 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
* _resultobj
;
6801 PyObject
* _argo0
= 0;
6802 char *_kwnames
[] = { "self", NULL
};
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
6808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
6815 wxPy_BEGIN_ALLOW_THREADS
;
6816 _result
= (int )wxSlider_GetMax(_arg0
);
6818 wxPy_END_ALLOW_THREADS
;
6819 } _resultobj
= Py_BuildValue("i",_result
);
6823 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
6824 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6825 PyObject
* _resultobj
;
6828 PyObject
* _argo0
= 0;
6829 char *_kwnames
[] = { "self", NULL
};
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
6835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
6842 wxPy_BEGIN_ALLOW_THREADS
;
6843 _result
= (int )wxSlider_GetMin(_arg0
);
6845 wxPy_END_ALLOW_THREADS
;
6846 } _resultobj
= Py_BuildValue("i",_result
);
6850 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
6851 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
* _resultobj
;
6855 PyObject
* _argo0
= 0;
6856 char *_kwnames
[] = { "self", NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
6862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
6869 wxPy_BEGIN_ALLOW_THREADS
;
6870 _result
= (int )wxSlider_GetPageSize(_arg0
);
6872 wxPy_END_ALLOW_THREADS
;
6873 } _resultobj
= Py_BuildValue("i",_result
);
6877 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
6878 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
* _resultobj
;
6882 PyObject
* _argo0
= 0;
6883 char *_kwnames
[] = { "self", NULL
};
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
6889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
6896 wxPy_BEGIN_ALLOW_THREADS
;
6897 _result
= (int )wxSlider_GetSelEnd(_arg0
);
6899 wxPy_END_ALLOW_THREADS
;
6900 } _resultobj
= Py_BuildValue("i",_result
);
6904 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
6905 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
* _resultobj
;
6909 PyObject
* _argo0
= 0;
6910 char *_kwnames
[] = { "self", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
6923 wxPy_BEGIN_ALLOW_THREADS
;
6924 _result
= (int )wxSlider_GetSelStart(_arg0
);
6926 wxPy_END_ALLOW_THREADS
;
6927 } _resultobj
= Py_BuildValue("i",_result
);
6931 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
6932 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
* _resultobj
;
6936 PyObject
* _argo0
= 0;
6937 char *_kwnames
[] = { "self", NULL
};
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
6943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
6950 wxPy_BEGIN_ALLOW_THREADS
;
6951 _result
= (int )wxSlider_GetThumbLength(_arg0
);
6953 wxPy_END_ALLOW_THREADS
;
6954 } _resultobj
= Py_BuildValue("i",_result
);
6958 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
6959 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6963 PyObject
* _argo0
= 0;
6964 char *_kwnames
[] = { "self", NULL
};
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
6970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
6977 wxPy_BEGIN_ALLOW_THREADS
;
6978 _result
= (int )wxSlider_GetTickFreq(_arg0
);
6980 wxPy_END_ALLOW_THREADS
;
6981 } _resultobj
= Py_BuildValue("i",_result
);
6985 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
6986 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
* _resultobj
;
6990 PyObject
* _argo0
= 0;
6991 char *_kwnames
[] = { "self", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
7004 wxPy_BEGIN_ALLOW_THREADS
;
7005 _result
= (int )wxSlider_GetValue(_arg0
);
7007 wxPy_END_ALLOW_THREADS
;
7008 } _resultobj
= Py_BuildValue("i",_result
);
7012 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7013 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7018 PyObject
* _argo0
= 0;
7019 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
7032 wxPy_BEGIN_ALLOW_THREADS
;
7033 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
7035 wxPy_END_ALLOW_THREADS
;
7036 } Py_INCREF(Py_None
);
7037 _resultobj
= Py_None
;
7041 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
7042 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7047 PyObject
* _argo0
= 0;
7048 char *_kwnames
[] = { "self","n","pos", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
7061 wxPy_BEGIN_ALLOW_THREADS
;
7062 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
7064 wxPy_END_ALLOW_THREADS
;
7065 } Py_INCREF(Py_None
);
7066 _resultobj
= Py_None
;
7070 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
7071 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
* _resultobj
;
7075 PyObject
* _argo0
= 0;
7076 char *_kwnames
[] = { "self","lineSize", NULL
};
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
7082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
7089 wxPy_BEGIN_ALLOW_THREADS
;
7090 wxSlider_SetLineSize(_arg0
,_arg1
);
7092 wxPy_END_ALLOW_THREADS
;
7093 } Py_INCREF(Py_None
);
7094 _resultobj
= Py_None
;
7098 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
7099 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
* _resultobj
;
7103 PyObject
* _argo0
= 0;
7104 char *_kwnames
[] = { "self","pageSize", NULL
};
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
7110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
7117 wxPy_BEGIN_ALLOW_THREADS
;
7118 wxSlider_SetPageSize(_arg0
,_arg1
);
7120 wxPy_END_ALLOW_THREADS
;
7121 } Py_INCREF(Py_None
);
7122 _resultobj
= Py_None
;
7126 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7127 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
* _resultobj
;
7132 PyObject
* _argo0
= 0;
7133 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
7146 wxPy_BEGIN_ALLOW_THREADS
;
7147 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
7149 wxPy_END_ALLOW_THREADS
;
7150 } Py_INCREF(Py_None
);
7151 _resultobj
= Py_None
;
7155 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
7156 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
* _resultobj
;
7160 PyObject
* _argo0
= 0;
7161 char *_kwnames
[] = { "self","len", NULL
};
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
7167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
7174 wxPy_BEGIN_ALLOW_THREADS
;
7175 wxSlider_SetThumbLength(_arg0
,_arg1
);
7177 wxPy_END_ALLOW_THREADS
;
7178 } Py_INCREF(Py_None
);
7179 _resultobj
= Py_None
;
7183 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
7184 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
* _resultobj
;
7188 PyObject
* _argo0
= 0;
7189 char *_kwnames
[] = { "self","tickPos", NULL
};
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
7195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
7202 wxPy_BEGIN_ALLOW_THREADS
;
7203 wxSlider_SetTick(_arg0
,_arg1
);
7205 wxPy_END_ALLOW_THREADS
;
7206 } Py_INCREF(Py_None
);
7207 _resultobj
= Py_None
;
7211 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7212 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
* _resultobj
;
7216 PyObject
* _argo0
= 0;
7217 char *_kwnames
[] = { "self","value", NULL
};
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
7223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
7230 wxPy_BEGIN_ALLOW_THREADS
;
7231 wxSlider_SetValue(_arg0
,_arg1
);
7233 wxPy_END_ALLOW_THREADS
;
7234 } Py_INCREF(Py_None
);
7235 _resultobj
= Py_None
;
7239 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
7242 src
= (wxSpinCtrl
*) ptr
;
7243 dest
= (wxSpinButton
*) src
;
7244 return (void *) dest
;
7247 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
7250 src
= (wxSpinCtrl
*) ptr
;
7251 dest
= (wxControl
*) src
;
7252 return (void *) dest
;
7255 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
7258 src
= (wxSpinCtrl
*) ptr
;
7259 dest
= (wxWindow
*) src
;
7260 return (void *) dest
;
7263 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
7266 src
= (wxSpinCtrl
*) ptr
;
7267 dest
= (wxEvtHandler
*) src
;
7268 return (void *) dest
;
7271 #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))
7272 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7274 wxSpinCtrl
* _result
;
7276 wxWindowID _arg1
= (wxWindowID
) -1;
7277 char * _arg2
= (char *) "";
7278 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
7279 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
7280 long _arg5
= (long ) wxSP_ARROW_KEYS
;
7281 int _arg6
= (int ) 0;
7282 int _arg7
= (int ) 100;
7283 int _arg8
= (int ) 0;
7284 char * _arg9
= (char *) "wxSpinCtrl";
7285 PyObject
* _argo0
= 0;
7287 PyObject
* _obj3
= 0;
7289 PyObject
* _obj4
= 0;
7290 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
7306 if (! wxPoint_helper(_obj3
, &_arg3
))
7312 if (! wxSize_helper(_obj4
, &_arg4
))
7316 wxPy_BEGIN_ALLOW_THREADS
;
7317 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7319 wxPy_END_ALLOW_THREADS
;
7321 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
7322 _resultobj
= Py_BuildValue("s",_ptemp
);
7325 _resultobj
= Py_None
;
7330 static PyMethodDef controlscMethods
[] = {
7331 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7332 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7333 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
7334 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
7335 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7336 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7337 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
7338 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
7339 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7340 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7341 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
7342 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
7343 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
7344 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
7345 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7346 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7347 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7348 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
7349 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
7350 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
7351 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
7352 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7353 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7354 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
7355 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
7356 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
7357 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7358 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7359 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
7360 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7361 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7362 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7363 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7364 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
7365 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7366 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
7367 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7368 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
7369 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
7370 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7371 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7372 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7373 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7374 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7375 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7376 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
7377 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
7378 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
7379 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
7380 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
7381 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
7382 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
7383 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
7384 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
7385 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
7386 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
7387 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
7388 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
7389 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
7390 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
7391 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7392 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
7393 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
7394 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
7395 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
7396 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
7397 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
7398 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
7399 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
7400 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
7401 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7402 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7403 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
7404 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7405 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
7406 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
7407 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7408 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7409 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
7410 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
7411 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
7412 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
7413 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7414 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
7415 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
7416 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
7417 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
7418 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7419 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
7420 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
7421 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
7422 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7423 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7424 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
7425 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
7426 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
7427 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
7428 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
7429 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7430 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
7431 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7432 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
7433 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
7434 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
7435 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
7436 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7437 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7438 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7439 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
7440 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
7441 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7442 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7443 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
7444 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7445 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7446 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
7447 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
7448 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7449 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7450 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
7451 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
7452 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
7453 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7454 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
7455 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
7456 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
7457 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7458 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
7459 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
7460 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
7461 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
7462 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7463 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
7464 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7465 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
7466 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7467 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
7468 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
7469 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
7470 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
7471 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7472 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7473 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
7526 * This table is used by the pointer type-checker
7528 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7529 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7530 { "_wxEvent","_class_wxEvent",0},
7531 { "_class_wxActivateEvent","_wxActivateEvent",0},
7532 { "_signed_long","_long",0},
7533 { "_wxMenuEvent","_class_wxMenuEvent",0},
7534 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7535 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7536 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7537 { "_wxPrintQuality","_wxCoord",0},
7538 { "_wxPrintQuality","_int",0},
7539 { "_wxPrintQuality","_signed_int",0},
7540 { "_wxPrintQuality","_unsigned_int",0},
7541 { "_wxPrintQuality","_wxWindowID",0},
7542 { "_wxPrintQuality","_uint",0},
7543 { "_wxPrintQuality","_EBool",0},
7544 { "_wxPrintQuality","_size_t",0},
7545 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7546 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
7547 { "_class_wxRegionIterator","_wxRegionIterator",0},
7548 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7549 { "_class_wxMenuBar","_wxMenuBar",0},
7550 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
7551 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
7552 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
7553 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
7554 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7555 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7556 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7557 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7558 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7559 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7560 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7561 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7562 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7563 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7564 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7565 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7566 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7567 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7568 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
7569 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
7570 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7571 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7572 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7573 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7574 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7575 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7576 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
7577 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
7578 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7579 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7580 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
7581 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
7582 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7583 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7584 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7585 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7586 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
7587 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
7588 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
7589 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
7590 { "_class_wxEvtHandler","_wxEvtHandler",0},
7591 { "_wxPaintEvent","_class_wxPaintEvent",0},
7592 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7593 { "_wxCursor","_class_wxCursor",0},
7594 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7595 { "_wxMask","_class_wxMask",0},
7596 { "_wxPen","_class_wxPen",0},
7597 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7598 { "_byte","_unsigned_char",0},
7599 { "_wxDataObject","_class_wxDataObject",0},
7600 { "_wxStaticBox","_class_wxStaticBox",0},
7601 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7602 { "_wxPyDropSource","_class_wxPyDropSource",0},
7603 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
7604 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
7605 { "_wxChoice","_class_wxChoice",0},
7606 { "_wxSlider","_class_wxSlider",0},
7607 { "_long","_unsigned_long",0},
7608 { "_long","_signed_long",0},
7609 { "_wxImageList","_class_wxImageList",0},
7610 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7611 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7612 { "_wxBitmapButton","_class_wxBitmapButton",0},
7613 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7614 { "_class_wxClipboard","_wxClipboard",0},
7615 { "_class_wxGauge","_wxGauge",0},
7616 { "_wxDC","_class_wxDC",0},
7617 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
7618 { "_wxSpinEvent","_class_wxSpinEvent",0},
7619 { "_size_t","_wxCoord",0},
7620 { "_size_t","_wxPrintQuality",0},
7621 { "_size_t","_unsigned_int",0},
7622 { "_size_t","_int",0},
7623 { "_size_t","_wxWindowID",0},
7624 { "_size_t","_uint",0},
7625 { "_class_wxRealPoint","_wxRealPoint",0},
7626 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
7627 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
7628 { "_class_wxMenuItem","_wxMenuItem",0},
7629 { "_class_wxPaintEvent","_wxPaintEvent",0},
7630 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
7631 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7632 { "_wxPanel","_class_wxPanel",0},
7633 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7634 { "_wxCheckBox","_class_wxCheckBox",0},
7635 { "_wxPyEvent","_class_wxPyEvent",0},
7636 { "_wxTextCtrl","_class_wxTextCtrl",0},
7637 { "_class_wxMask","_wxMask",0},
7638 { "_wxTextDataObject","_class_wxTextDataObject",0},
7639 { "_class_wxKeyEvent","_wxKeyEvent",0},
7640 { "_wxColour","_class_wxColour",0},
7641 { "_class_wxDialog","_wxDialog",0},
7642 { "_class_wxFileDataObject","_wxFileDataObject",0},
7643 { "_wxIdleEvent","_class_wxIdleEvent",0},
7644 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
7645 { "_class_wxDataObject","_wxDataObject",0},
7646 { "_wxStaticLine","_class_wxStaticLine",0},
7647 { "_wxBrush","_class_wxBrush",0},
7648 { "_wxDataFormat","_class_wxDataFormat",0},
7649 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
7650 { "_wxShowEvent","_class_wxShowEvent",0},
7651 { "_uint","_wxCoord",0},
7652 { "_uint","_wxPrintQuality",0},
7653 { "_uint","_size_t",0},
7654 { "_uint","_unsigned_int",0},
7655 { "_uint","_int",0},
7656 { "_uint","_wxWindowID",0},
7657 { "_wxChar","_char",0},
7658 { "_wxPyValidator","_class_wxPyValidator",0},
7659 { "_class_wxEvent","_wxEvent",0},
7660 { "_wxCheckListBox","_class_wxCheckListBox",0},
7661 { "_wxRect","_class_wxRect",0},
7662 { "_wxCommandEvent","_class_wxCommandEvent",0},
7663 { "_wxSizeEvent","_class_wxSizeEvent",0},
7664 { "_wxPoint","_class_wxPoint",0},
7665 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7666 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7667 { "_class_wxButton","_wxButton",0},
7668 { "_wxRadioBox","_class_wxRadioBox",0},
7669 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
7670 { "_char","_wxChar",0},
7671 { "_wxBitmap","_class_wxBitmap",0},
7672 { "_wxWindowDC","_class_wxWindowDC",0},
7673 { "_wxTimerEvent","_class_wxTimerEvent",0},
7674 { "_wxScrollBar","_class_wxScrollBar",0},
7675 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
7676 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
7677 { "_wxSpinButton","_class_wxSpinButton",0},
7678 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7679 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7680 { "_class_wxValidator","_wxValidator",0},
7681 { "_class_wxPyEvent","_wxPyEvent",0},
7682 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7683 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
7684 { "_wxDropTarget","_class_wxDropTarget",0},
7685 { "_class_wxStaticLine","_wxStaticLine",0},
7686 { "_wxScrollEvent","_class_wxScrollEvent",0},
7687 { "_EBool","_wxCoord",0},
7688 { "_EBool","_wxPrintQuality",0},
7689 { "_EBool","_signed_int",0},
7690 { "_EBool","_int",0},
7691 { "_EBool","_wxWindowID",0},
7692 { "_class_wxRegion","_wxRegion",0},
7693 { "_class_wxDataFormat","_wxDataFormat",0},
7694 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
7695 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
7696 { "_wxStaticText","_class_wxStaticText",0},
7697 { "_wxFont","_class_wxFont",0},
7698 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
7699 { "_wxCloseEvent","_class_wxCloseEvent",0},
7700 { "_unsigned_long","_long",0},
7701 { "_class_wxRect","_wxRect",0},
7702 { "_class_wxDC","_wxDC",0},
7703 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
7704 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
7705 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
7706 { "_wxFocusEvent","_class_wxFocusEvent",0},
7707 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
7708 { "_class_wxTimerEvent","_wxTimerEvent",0},
7709 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
7710 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
7711 { "_class_wxSpinButton","_wxSpinButton",0},
7712 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7713 { "_class_wxPanel","_wxPanel",0},
7714 { "_class_wxCheckBox","_wxCheckBox",0},
7715 { "_wxComboBox","_class_wxComboBox",0},
7716 { "_wxRadioButton","_class_wxRadioButton",0},
7717 { "_signed_int","_wxCoord",0},
7718 { "_signed_int","_wxPrintQuality",0},
7719 { "_signed_int","_EBool",0},
7720 { "_signed_int","_wxWindowID",0},
7721 { "_signed_int","_int",0},
7722 { "_class_wxTextCtrl","_wxTextCtrl",0},
7723 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7724 { "_class_wxTextDataObject","_wxTextDataObject",0},
7725 { "_wxMenu","_class_wxMenu",0},
7726 { "_class_wxMoveEvent","_wxMoveEvent",0},
7727 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7728 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7729 { "_wxListBox","_class_wxListBox",0},
7730 { "_wxScreenDC","_class_wxScreenDC",0},
7731 { "_WXTYPE","_short",0},
7732 { "_WXTYPE","_signed_short",0},
7733 { "_WXTYPE","_unsigned_short",0},
7734 { "_class_wxDropTarget","_wxDropTarget",0},
7735 { "_class_wxBrush","_wxBrush",0},
7736 { "_unsigned_short","_WXTYPE",0},
7737 { "_unsigned_short","_short",0},
7738 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
7739 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
7740 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
7741 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
7742 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7743 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7744 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7745 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7746 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7747 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7748 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7749 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7750 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
7751 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
7752 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7753 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7754 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7755 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7756 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
7757 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
7758 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
7759 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
7760 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
7761 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
7762 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7763 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7764 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
7765 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
7766 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
7767 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
7768 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
7769 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
7770 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7771 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7772 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7773 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7774 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
7775 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
7776 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
7777 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
7778 { "_class_wxWindow","_wxWindow",0},
7779 { "_class_wxStaticText","_wxStaticText",0},
7780 { "_class_wxFont","_wxFont",0},
7781 { "_wxClipboard","_class_wxClipboard",0},
7782 { "_class_wxPyValidator","_wxPyValidator",0},
7783 { "_class_wxCloseEvent","_wxCloseEvent",0},
7784 { "_wxBusyInfo","_class_wxBusyInfo",0},
7785 { "_class_wxMenuEvent","_wxMenuEvent",0},
7786 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
7787 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
7788 { "_wxClientDC","_class_wxClientDC",0},
7789 { "_wxMouseEvent","_class_wxMouseEvent",0},
7790 { "_class_wxPoint","_wxPoint",0},
7791 { "_wxRealPoint","_class_wxRealPoint",0},
7792 { "_class_wxRadioBox","_wxRadioBox",0},
7793 { "_signed_short","_WXTYPE",0},
7794 { "_signed_short","_short",0},
7795 { "_wxMemoryDC","_class_wxMemoryDC",0},
7796 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
7797 { "_wxPaintDC","_class_wxPaintDC",0},
7798 { "_class_wxWindowDC","_wxWindowDC",0},
7799 { "_class_wxFocusEvent","_wxFocusEvent",0},
7800 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7801 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7802 { "_class_wxCursor","_wxCursor",0},
7803 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
7804 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
7805 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7806 { "_unsigned_char","_byte",0},
7807 { "_class_wxMenu","_wxMenu",0},
7808 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
7809 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
7810 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
7811 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
7812 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
7813 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
7814 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
7815 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
7816 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7817 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7818 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
7819 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
7820 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
7821 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
7822 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7823 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7824 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7825 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7826 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
7827 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
7828 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
7829 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
7830 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
7831 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
7832 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
7833 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
7834 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
7835 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
7836 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
7837 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
7838 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
7839 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
7840 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
7841 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
7842 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7843 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7844 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
7845 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
7846 { "_wxControl","_class_wxControl",0},
7847 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7848 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7849 { "_class_wxListBox","_wxListBox",0},
7850 { "_unsigned_int","_wxCoord",0},
7851 { "_unsigned_int","_wxPrintQuality",0},
7852 { "_unsigned_int","_size_t",0},
7853 { "_unsigned_int","_uint",0},
7854 { "_unsigned_int","_wxWindowID",0},
7855 { "_unsigned_int","_int",0},
7856 { "_wxIcon","_class_wxIcon",0},
7857 { "_wxDialog","_class_wxDialog",0},
7858 { "_class_wxPen","_wxPen",0},
7859 { "_short","_WXTYPE",0},
7860 { "_short","_unsigned_short",0},
7861 { "_short","_signed_short",0},
7862 { "_class_wxStaticBox","_wxStaticBox",0},
7863 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
7864 { "_class_wxPyDropSource","_wxPyDropSource",0},
7865 { "_class_wxScrollEvent","_wxScrollEvent",0},
7866 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7867 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
7868 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
7869 { "_class_wxChoice","_wxChoice",0},
7870 { "_class_wxSlider","_wxSlider",0},
7871 { "_class_wxImageList","_wxImageList",0},
7872 { "_class_wxBitmapButton","_wxBitmapButton",0},
7873 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
7874 { "_wxWindowID","_wxCoord",0},
7875 { "_wxWindowID","_wxPrintQuality",0},
7876 { "_wxWindowID","_size_t",0},
7877 { "_wxWindowID","_EBool",0},
7878 { "_wxWindowID","_uint",0},
7879 { "_wxWindowID","_int",0},
7880 { "_wxWindowID","_signed_int",0},
7881 { "_wxWindowID","_unsigned_int",0},
7882 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
7883 { "_int","_wxCoord",0},
7884 { "_int","_wxPrintQuality",0},
7885 { "_int","_size_t",0},
7886 { "_int","_EBool",0},
7887 { "_int","_uint",0},
7888 { "_int","_wxWindowID",0},
7889 { "_int","_unsigned_int",0},
7890 { "_int","_signed_int",0},
7891 { "_class_wxMouseEvent","_wxMouseEvent",0},
7892 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
7893 { "_class_wxSpinEvent","_wxSpinEvent",0},
7894 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
7895 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
7896 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7897 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7898 { "_wxButton","_class_wxButton",0},
7899 { "_wxSize","_class_wxSize",0},
7900 { "_wxRegionIterator","_class_wxRegionIterator",0},
7901 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
7902 { "_class_wxPaintDC","_wxPaintDC",0},
7903 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7904 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
7905 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7906 { "_class_wxComboBox","_wxComboBox",0},
7907 { "_class_wxRadioButton","_wxRadioButton",0},
7908 { "_wxValidator","_class_wxValidator",0},
7909 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7910 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7911 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
7912 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
7913 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
7914 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
7915 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
7916 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
7917 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
7918 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
7919 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7920 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7921 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
7922 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
7923 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
7924 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
7925 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7926 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7927 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7928 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7929 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
7930 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
7931 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
7932 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
7933 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
7934 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
7935 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
7936 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
7937 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
7938 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
7939 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
7940 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
7941 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
7942 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
7943 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
7944 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
7945 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7946 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7947 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
7948 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
7949 { "_class_wxControl","_wxControl",0},
7950 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
7951 { "_class_wxIcon","_wxIcon",0},
7952 { "_class_wxColour","_wxColour",0},
7953 { "_class_wxScreenDC","_wxScreenDC",0},
7954 { "_wxPalette","_class_wxPalette",0},
7955 { "_class_wxIdleEvent","_wxIdleEvent",0},
7956 { "_wxCoord","_int",0},
7957 { "_wxCoord","_signed_int",0},
7958 { "_wxCoord","_unsigned_int",0},
7959 { "_wxCoord","_wxWindowID",0},
7960 { "_wxCoord","_uint",0},
7961 { "_wxCoord","_EBool",0},
7962 { "_wxCoord","_size_t",0},
7963 { "_wxCoord","_wxPrintQuality",0},
7964 { "_wxEraseEvent","_class_wxEraseEvent",0},
7965 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
7966 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7967 { "_wxRegion","_class_wxRegion",0},
7968 { "_class_wxShowEvent","_wxShowEvent",0},
7969 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
7970 { "_wxActivateEvent","_class_wxActivateEvent",0},
7971 { "_wxGauge","_class_wxGauge",0},
7972 { "_class_wxCheckListBox","_wxCheckListBox",0},
7973 { "_class_wxBusyInfo","_wxBusyInfo",0},
7974 { "_class_wxCommandEvent","_wxCommandEvent",0},
7975 { "_class_wxClientDC","_wxClientDC",0},
7976 { "_class_wxSizeEvent","_wxSizeEvent",0},
7977 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
7978 { "_class_wxSize","_wxSize",0},
7979 { "_class_wxBitmap","_wxBitmap",0},
7980 { "_class_wxMemoryDC","_wxMemoryDC",0},
7981 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
7982 { "_wxMenuBar","_class_wxMenuBar",0},
7983 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
7984 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
7985 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
7986 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
7987 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7988 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7989 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7990 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7991 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7992 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7993 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7994 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7995 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7996 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7997 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7998 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7999 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8000 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8001 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8002 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8003 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8004 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8005 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8006 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8007 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8008 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8009 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8010 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8011 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8012 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8013 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8014 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8015 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8016 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8017 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8018 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8019 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8020 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8021 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8022 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8023 { "_wxEvtHandler","_class_wxEvtHandler",0},
8024 { "_wxMenuItem","_class_wxMenuItem",0},
8025 { "_class_wxScrollBar","_wxScrollBar",0},
8026 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8027 { "_wxKeyEvent","_class_wxKeyEvent",0},
8028 { "_wxMoveEvent","_class_wxMoveEvent",0},
8029 { "_class_wxPalette","_wxPalette",0},
8030 { "_wxFileDataObject","_class_wxFileDataObject",0},
8031 { "_class_wxEraseEvent","_wxEraseEvent",0},
8032 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8033 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8034 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8035 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8036 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8037 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8038 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8039 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8040 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8041 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8042 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8043 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8044 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8045 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8046 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8047 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8048 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8049 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8050 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8051 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8052 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8053 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8054 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8055 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8056 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8057 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8058 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8059 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8060 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8061 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8062 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8063 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8064 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8065 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8066 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8067 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8068 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8069 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8070 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8071 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8072 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8073 { "_wxWindow","_class_wxWindow",0},
8074 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8077 static PyObject
*SWIG_globals
;
8081 SWIGEXPORT(void) initcontrolsc() {
8083 SWIG_globals
= SWIG_newvarlink();
8084 m
= Py_InitModule("controlsc", controlscMethods
);
8085 d
= PyModule_GetDict(m
);
8086 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8087 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
8090 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8091 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);