2 * FILE : msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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/dynarray.h>
60 #include <wx/statline.h>
64 #include <wx/checklst.h>
69 #include <wx/checklst.h>
73 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
78 } else if (target
== Py_None
) {
82 if (!PyList_Check(target
)) {
84 target
= PyList_New(0);
85 PyList_Append(target
, o2
);
88 PyList_Append(target
,o
);
94 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
100 } else if (target
== Py_None
) {
104 if (!PyTuple_Check(target
)) {
106 target
= PyTuple_New(1);
107 PyTuple_SetItem(target
, 0, o2
);
110 PyTuple_SetItem(o3
, 0, o
);
113 target
= PySequence_Concat(o2
, o3
);
121 extern byte
* byte_LIST_helper(PyObject
* source
);
122 extern int* int_LIST_helper(PyObject
* source
);
123 extern long* long_LIST_helper(PyObject
* source
);
124 extern char** string_LIST_helper(PyObject
* source
);
125 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
126 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
127 extern wxString
* wxString_LIST_helper(PyObject
* source
);
128 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
131 static char* wxStringErrorMsg
= "string type is required for parameter";
133 wxValidator wxPyDefaultValidator
; // Non-const default because of SWIG
137 static void *SwigwxControlTowxWindow(void *ptr
) {
140 src
= (wxControl
*) ptr
;
141 dest
= (wxWindow
*) src
;
142 return (void *) dest
;
145 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
148 src
= (wxControl
*) ptr
;
149 dest
= (wxEvtHandler
*) src
;
150 return (void *) dest
;
153 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
154 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
) {
155 PyObject
* _resultobj
;
157 wxCommandEvent
* _arg1
;
158 PyObject
* _argo0
= 0;
159 PyObject
* _argo1
= 0;
162 if(!PyArg_ParseTuple(args
,"OO:wxControl_Command",&_argo0
,&_argo1
))
165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
179 wxPy_BEGIN_ALLOW_THREADS
;
180 wxControl_Command(_arg0
,*_arg1
);
182 wxPy_END_ALLOW_THREADS
;
183 } Py_INCREF(Py_None
);
184 _resultobj
= Py_None
;
188 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
189 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
) {
190 PyObject
* _resultobj
;
193 PyObject
* _argo0
= 0;
196 if(!PyArg_ParseTuple(args
,"O:wxControl_GetLabel",&_argo0
))
199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
206 wxPy_BEGIN_ALLOW_THREADS
;
207 _result
= new wxString (wxControl_GetLabel(_arg0
));
209 wxPy_END_ALLOW_THREADS
;
211 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
219 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
220 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
) {
221 PyObject
* _resultobj
;
224 PyObject
* _argo0
= 0;
225 PyObject
* _obj1
= 0;
228 if(!PyArg_ParseTuple(args
,"OO:wxControl_SetLabel",&_argo0
,&_obj1
))
231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
238 if (!PyString_Check(_obj1
)) {
239 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
242 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
245 wxPy_BEGIN_ALLOW_THREADS
;
246 wxControl_SetLabel(_arg0
,*_arg1
);
248 wxPy_END_ALLOW_THREADS
;
249 } Py_INCREF(Py_None
);
250 _resultobj
= Py_None
;
258 static void *SwigwxButtonTowxControl(void *ptr
) {
261 src
= (wxButton
*) ptr
;
262 dest
= (wxControl
*) src
;
263 return (void *) dest
;
266 static void *SwigwxButtonTowxWindow(void *ptr
) {
269 src
= (wxButton
*) ptr
;
270 dest
= (wxWindow
*) src
;
271 return (void *) dest
;
274 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
277 src
= (wxButton
*) ptr
;
278 dest
= (wxEvtHandler
*) src
;
279 return (void *) dest
;
282 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
283 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
) {
284 PyObject
* _resultobj
;
289 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
290 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
291 long _arg5
= (long ) 0;
292 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
293 char * _arg7
= (char *) "button";
294 PyObject
* _argo0
= 0;
295 PyObject
* _obj2
= 0;
296 PyObject
* _argo3
= 0;
297 PyObject
* _argo4
= 0;
298 PyObject
* _argo6
= 0;
302 if(!PyArg_ParseTuple(args
,"OiO|OOlOs:new_wxButton",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_argo6
,&_arg7
))
305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
312 if (!PyString_Check(_obj2
)) {
313 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
316 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
319 if (_argo3
== Py_None
) { _arg3
= NULL
; }
320 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxButton. Expected _wxPoint_p.");
326 if (_argo4
== Py_None
) { _arg4
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxButton. Expected _wxSize_p.");
333 if (_argo6
== Py_None
) { _arg6
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
340 wxPy_BEGIN_ALLOW_THREADS
;
341 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
343 wxPy_END_ALLOW_THREADS
;
345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
346 _resultobj
= Py_BuildValue("s",_ptemp
);
349 _resultobj
= Py_None
;
358 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
359 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
) {
360 PyObject
* _resultobj
;
362 PyObject
* _argo0
= 0;
365 if(!PyArg_ParseTuple(args
,"O:wxButton_SetDefault",&_argo0
))
368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
375 wxPy_BEGIN_ALLOW_THREADS
;
376 wxButton_SetDefault(_arg0
);
378 wxPy_END_ALLOW_THREADS
;
379 } Py_INCREF(Py_None
);
380 _resultobj
= Py_None
;
384 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
387 src
= (wxBitmapButton
*) ptr
;
388 dest
= (wxButton
*) src
;
389 return (void *) dest
;
392 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
395 src
= (wxBitmapButton
*) ptr
;
396 dest
= (wxControl
*) src
;
397 return (void *) dest
;
400 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
403 src
= (wxBitmapButton
*) ptr
;
404 dest
= (wxWindow
*) src
;
405 return (void *) dest
;
408 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
411 src
= (wxBitmapButton
*) ptr
;
412 dest
= (wxEvtHandler
*) src
;
413 return (void *) dest
;
416 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
417 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
) {
418 PyObject
* _resultobj
;
419 wxBitmapButton
* _result
;
423 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
424 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
425 long _arg5
= (long ) wxBU_AUTODRAW
;
426 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
427 char * _arg7
= (char *) "button";
428 PyObject
* _argo0
= 0;
429 PyObject
* _argo2
= 0;
430 PyObject
* _argo3
= 0;
431 PyObject
* _argo4
= 0;
432 PyObject
* _argo6
= 0;
436 if(!PyArg_ParseTuple(args
,"OiO|OOlOs:new_wxBitmapButton",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
,&_arg5
,&_argo6
,&_arg7
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
446 if (_argo2
== Py_None
) { _arg2
= NULL
; }
447 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
453 if (_argo3
== Py_None
) { _arg3
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxBitmapButton. Expected _wxPoint_p.");
460 if (_argo4
== Py_None
) { _arg4
= NULL
; }
461 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxBitmapButton. Expected _wxSize_p.");
467 if (_argo6
== Py_None
) { _arg6
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
474 wxPy_BEGIN_ALLOW_THREADS
;
475 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
477 wxPy_END_ALLOW_THREADS
;
479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
480 _resultobj
= Py_BuildValue("s",_ptemp
);
483 _resultobj
= Py_None
;
488 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
489 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
) {
490 PyObject
* _resultobj
;
492 wxBitmapButton
* _arg0
;
493 PyObject
* _argo0
= 0;
497 if(!PyArg_ParseTuple(args
,"O:wxBitmapButton_GetBitmapLabel",&_argo0
))
500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
507 wxPy_BEGIN_ALLOW_THREADS
;
508 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
509 _result
= (wxBitmap
*) &_result_ref
;
511 wxPy_END_ALLOW_THREADS
;
513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
514 _resultobj
= Py_BuildValue("s",_ptemp
);
517 _resultobj
= Py_None
;
522 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
523 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
) {
524 PyObject
* _resultobj
;
526 wxBitmapButton
* _arg0
;
527 PyObject
* _argo0
= 0;
531 if(!PyArg_ParseTuple(args
,"O:wxBitmapButton_GetBitmapDisabled",&_argo0
))
534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
541 wxPy_BEGIN_ALLOW_THREADS
;
542 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
543 _result
= (wxBitmap
*) &_result_ref
;
545 wxPy_END_ALLOW_THREADS
;
547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
548 _resultobj
= Py_BuildValue("s",_ptemp
);
551 _resultobj
= Py_None
;
556 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
557 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
) {
558 PyObject
* _resultobj
;
560 wxBitmapButton
* _arg0
;
561 PyObject
* _argo0
= 0;
565 if(!PyArg_ParseTuple(args
,"O:wxBitmapButton_GetBitmapFocus",&_argo0
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
575 wxPy_BEGIN_ALLOW_THREADS
;
576 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
577 _result
= (wxBitmap
*) &_result_ref
;
579 wxPy_END_ALLOW_THREADS
;
581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
582 _resultobj
= Py_BuildValue("s",_ptemp
);
585 _resultobj
= Py_None
;
590 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
591 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
) {
592 PyObject
* _resultobj
;
594 wxBitmapButton
* _arg0
;
595 PyObject
* _argo0
= 0;
599 if(!PyArg_ParseTuple(args
,"O:wxBitmapButton_GetBitmapSelected",&_argo0
))
602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
609 wxPy_BEGIN_ALLOW_THREADS
;
610 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
611 _result
= (wxBitmap
*) &_result_ref
;
613 wxPy_END_ALLOW_THREADS
;
615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
616 _resultobj
= Py_BuildValue("s",_ptemp
);
619 _resultobj
= Py_None
;
624 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
625 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
) {
626 PyObject
* _resultobj
;
627 wxBitmapButton
* _arg0
;
629 PyObject
* _argo0
= 0;
630 PyObject
* _argo1
= 0;
633 if(!PyArg_ParseTuple(args
,"OO:wxBitmapButton_SetBitmapDisabled",&_argo0
,&_argo1
))
636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
650 wxPy_BEGIN_ALLOW_THREADS
;
651 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
653 wxPy_END_ALLOW_THREADS
;
654 } Py_INCREF(Py_None
);
655 _resultobj
= Py_None
;
659 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
660 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
) {
661 PyObject
* _resultobj
;
662 wxBitmapButton
* _arg0
;
664 PyObject
* _argo0
= 0;
665 PyObject
* _argo1
= 0;
668 if(!PyArg_ParseTuple(args
,"OO:wxBitmapButton_SetBitmapFocus",&_argo0
,&_argo1
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
685 wxPy_BEGIN_ALLOW_THREADS
;
686 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
688 wxPy_END_ALLOW_THREADS
;
689 } Py_INCREF(Py_None
);
690 _resultobj
= Py_None
;
694 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
695 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
) {
696 PyObject
* _resultobj
;
697 wxBitmapButton
* _arg0
;
699 PyObject
* _argo0
= 0;
700 PyObject
* _argo1
= 0;
703 if(!PyArg_ParseTuple(args
,"OO:wxBitmapButton_SetBitmapSelected",&_argo0
,&_argo1
))
706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
720 wxPy_BEGIN_ALLOW_THREADS
;
721 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
723 wxPy_END_ALLOW_THREADS
;
724 } Py_INCREF(Py_None
);
725 _resultobj
= Py_None
;
729 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
730 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
) {
731 PyObject
* _resultobj
;
732 wxBitmapButton
* _arg0
;
734 PyObject
* _argo0
= 0;
735 PyObject
* _argo1
= 0;
738 if(!PyArg_ParseTuple(args
,"OO:wxBitmapButton_SetBitmapLabel",&_argo0
,&_argo1
))
741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
755 wxPy_BEGIN_ALLOW_THREADS
;
756 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
758 wxPy_END_ALLOW_THREADS
;
759 } Py_INCREF(Py_None
);
760 _resultobj
= Py_None
;
764 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
767 src
= (wxCheckBox
*) ptr
;
768 dest
= (wxControl
*) src
;
769 return (void *) dest
;
772 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
775 src
= (wxCheckBox
*) ptr
;
776 dest
= (wxWindow
*) src
;
777 return (void *) dest
;
780 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
783 src
= (wxCheckBox
*) ptr
;
784 dest
= (wxEvtHandler
*) src
;
785 return (void *) dest
;
788 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
789 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
) {
790 PyObject
* _resultobj
;
791 wxCheckBox
* _result
;
795 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
796 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
797 long _arg5
= (long ) 0;
798 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
799 char * _arg7
= (char *) "checkBox";
800 PyObject
* _argo0
= 0;
801 PyObject
* _obj2
= 0;
802 PyObject
* _argo3
= 0;
803 PyObject
* _argo4
= 0;
804 PyObject
* _argo6
= 0;
808 if(!PyArg_ParseTuple(args
,"OiO|OOlOs:new_wxCheckBox",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_argo6
,&_arg7
))
811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
818 if (!PyString_Check(_obj2
)) {
819 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
822 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
825 if (_argo3
== Py_None
) { _arg3
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCheckBox. Expected _wxPoint_p.");
832 if (_argo4
== Py_None
) { _arg4
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxCheckBox. Expected _wxSize_p.");
839 if (_argo6
== Py_None
) { _arg6
= NULL
; }
840 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
846 wxPy_BEGIN_ALLOW_THREADS
;
847 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
849 wxPy_END_ALLOW_THREADS
;
851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
852 _resultobj
= Py_BuildValue("s",_ptemp
);
855 _resultobj
= Py_None
;
864 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
865 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
) {
866 PyObject
* _resultobj
;
869 PyObject
* _argo0
= 0;
872 if(!PyArg_ParseTuple(args
,"O:wxCheckBox_GetValue",&_argo0
))
875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
882 wxPy_BEGIN_ALLOW_THREADS
;
883 _result
= (bool )wxCheckBox_GetValue(_arg0
);
885 wxPy_END_ALLOW_THREADS
;
886 } _resultobj
= Py_BuildValue("i",_result
);
890 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
891 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
) {
892 PyObject
* _resultobj
;
895 PyObject
* _argo0
= 0;
899 if(!PyArg_ParseTuple(args
,"Oi:wxCheckBox_SetValue",&_argo0
,&tempbool1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
908 _arg1
= (bool ) tempbool1
;
910 wxPy_BEGIN_ALLOW_THREADS
;
911 wxCheckBox_SetValue(_arg0
,_arg1
);
913 wxPy_END_ALLOW_THREADS
;
914 } Py_INCREF(Py_None
);
915 _resultobj
= Py_None
;
919 static void *SwigwxChoiceTowxControl(void *ptr
) {
922 src
= (wxChoice
*) ptr
;
923 dest
= (wxControl
*) src
;
924 return (void *) dest
;
927 static void *SwigwxChoiceTowxWindow(void *ptr
) {
930 src
= (wxChoice
*) ptr
;
931 dest
= (wxWindow
*) src
;
932 return (void *) dest
;
935 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
938 src
= (wxChoice
*) ptr
;
939 dest
= (wxEvtHandler
*) src
;
940 return (void *) dest
;
943 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
944 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
) {
945 PyObject
* _resultobj
;
949 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
950 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
951 int _arg4
= (int ) 0;
952 wxString
* _arg5
= (wxString
*) NULL
;
953 long _arg6
= (long ) 0;
954 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
955 char * _arg8
= (char *) "choice";
956 PyObject
* _argo0
= 0;
957 PyObject
* _argo2
= 0;
958 PyObject
* _argo3
= 0;
959 PyObject
* _obj5
= 0;
960 PyObject
* _argo7
= 0;
964 if(!PyArg_ParseTuple(args
,"Oi|OOOlOs:new_wxChoice",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
974 if (_argo2
== Py_None
) { _arg2
= NULL
; }
975 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxChoice. Expected _wxPoint_p.");
981 if (_argo3
== Py_None
) { _arg3
= NULL
; }
982 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxChoice. Expected _wxSize_p.");
989 _arg5
= wxString_LIST_helper(_obj5
);
995 if (_argo7
== Py_None
) { _arg7
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1003 _arg4
= PyList_Size(_obj5
);
1010 wxPy_BEGIN_ALLOW_THREADS
;
1011 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1013 wxPy_END_ALLOW_THREADS
;
1015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1016 _resultobj
= Py_BuildValue("s",_ptemp
);
1019 _resultobj
= Py_None
;
1027 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1028 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
) {
1029 PyObject
* _resultobj
;
1032 PyObject
* _argo0
= 0;
1033 PyObject
* _obj1
= 0;
1036 if(!PyArg_ParseTuple(args
,"OO:wxChoice_Append",&_argo0
,&_obj1
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1046 if (!PyString_Check(_obj1
)) {
1047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1050 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1053 wxPy_BEGIN_ALLOW_THREADS
;
1054 wxChoice_Append(_arg0
,*_arg1
);
1056 wxPy_END_ALLOW_THREADS
;
1057 } Py_INCREF(Py_None
);
1058 _resultobj
= Py_None
;
1066 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1067 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
) {
1068 PyObject
* _resultobj
;
1070 PyObject
* _argo0
= 0;
1073 if(!PyArg_ParseTuple(args
,"O:wxChoice_Clear",&_argo0
))
1076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1083 wxPy_BEGIN_ALLOW_THREADS
;
1084 wxChoice_Clear(_arg0
);
1086 wxPy_END_ALLOW_THREADS
;
1087 } Py_INCREF(Py_None
);
1088 _resultobj
= Py_None
;
1092 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1093 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
) {
1094 PyObject
* _resultobj
;
1098 PyObject
* _argo0
= 0;
1099 PyObject
* _obj1
= 0;
1102 if(!PyArg_ParseTuple(args
,"OO:wxChoice_FindString",&_argo0
,&_obj1
))
1105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1112 if (!PyString_Check(_obj1
)) {
1113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1116 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1119 wxPy_BEGIN_ALLOW_THREADS
;
1120 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1122 wxPy_END_ALLOW_THREADS
;
1123 } _resultobj
= Py_BuildValue("i",_result
);
1131 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1132 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
) {
1133 PyObject
* _resultobj
;
1136 PyObject
* _argo0
= 0;
1139 if(!PyArg_ParseTuple(args
,"O:wxChoice_GetColumns",&_argo0
))
1142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1149 wxPy_BEGIN_ALLOW_THREADS
;
1150 _result
= (int )wxChoice_GetColumns(_arg0
);
1152 wxPy_END_ALLOW_THREADS
;
1153 } _resultobj
= Py_BuildValue("i",_result
);
1157 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1158 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
) {
1159 PyObject
* _resultobj
;
1162 PyObject
* _argo0
= 0;
1165 if(!PyArg_ParseTuple(args
,"O:wxChoice_GetSelection",&_argo0
))
1168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (int )wxChoice_GetSelection(_arg0
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1184 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
) {
1185 PyObject
* _resultobj
;
1189 PyObject
* _argo0
= 0;
1192 if(!PyArg_ParseTuple(args
,"Oi:wxChoice_GetString",&_argo0
,&_arg1
))
1195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1205 wxPy_END_ALLOW_THREADS
;
1207 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1215 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1216 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
) {
1217 PyObject
* _resultobj
;
1220 PyObject
* _argo0
= 0;
1223 if(!PyArg_ParseTuple(args
,"O:wxChoice_GetStringSelection",&_argo0
))
1226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1233 wxPy_BEGIN_ALLOW_THREADS
;
1234 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1236 wxPy_END_ALLOW_THREADS
;
1238 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1246 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1247 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
) {
1248 PyObject
* _resultobj
;
1251 PyObject
* _argo0
= 0;
1254 if(!PyArg_ParseTuple(args
,"O:wxChoice_Number",&_argo0
))
1257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1264 wxPy_BEGIN_ALLOW_THREADS
;
1265 _result
= (int )wxChoice_Number(_arg0
);
1267 wxPy_END_ALLOW_THREADS
;
1268 } _resultobj
= Py_BuildValue("i",_result
);
1272 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1273 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
) {
1274 PyObject
* _resultobj
;
1276 int _arg1
= (int ) 1;
1277 PyObject
* _argo0
= 0;
1280 if(!PyArg_ParseTuple(args
,"O|i:wxChoice_SetColumns",&_argo0
,&_arg1
))
1283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 wxChoice_SetColumns(_arg0
,_arg1
);
1293 wxPy_END_ALLOW_THREADS
;
1294 } Py_INCREF(Py_None
);
1295 _resultobj
= Py_None
;
1299 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1300 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
) {
1301 PyObject
* _resultobj
;
1304 PyObject
* _argo0
= 0;
1307 if(!PyArg_ParseTuple(args
,"Oi:wxChoice_SetSelection",&_argo0
,&_arg1
))
1310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 wxChoice_SetSelection(_arg0
,_arg1
);
1320 wxPy_END_ALLOW_THREADS
;
1321 } Py_INCREF(Py_None
);
1322 _resultobj
= Py_None
;
1326 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1327 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
) {
1328 PyObject
* _resultobj
;
1331 PyObject
* _argo0
= 0;
1332 PyObject
* _obj1
= 0;
1335 if(!PyArg_ParseTuple(args
,"OO:wxChoice_SetStringSelection",&_argo0
,&_obj1
))
1338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1345 if (!PyString_Check(_obj1
)) {
1346 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1349 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1355 wxPy_END_ALLOW_THREADS
;
1356 } Py_INCREF(Py_None
);
1357 _resultobj
= Py_None
;
1365 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1368 src
= (wxComboBox
*) ptr
;
1369 dest
= (wxChoice
*) src
;
1370 return (void *) dest
;
1373 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1376 src
= (wxComboBox
*) ptr
;
1377 dest
= (wxControl
*) src
;
1378 return (void *) dest
;
1381 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1384 src
= (wxComboBox
*) ptr
;
1385 dest
= (wxWindow
*) src
;
1386 return (void *) dest
;
1389 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1392 src
= (wxComboBox
*) ptr
;
1393 dest
= (wxEvtHandler
*) src
;
1394 return (void *) dest
;
1397 #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))
1398 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
) {
1399 PyObject
* _resultobj
;
1400 wxComboBox
* _result
;
1403 char * _arg2
= (char *) "";
1404 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
1405 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
1406 int _arg5
= (int ) 0;
1407 wxString
* _arg6
= (wxString
*) NULL
;
1408 long _arg7
= (long ) 0;
1409 wxValidator
* _arg8
= (wxValidator
*) &wxPyDefaultValidator
;
1410 char * _arg9
= (char *) "comboBox";
1411 PyObject
* _argo0
= 0;
1412 PyObject
* _argo3
= 0;
1413 PyObject
* _argo4
= 0;
1414 PyObject
* _obj6
= 0;
1415 PyObject
* _argo8
= 0;
1419 if(!PyArg_ParseTuple(args
,"Oi|sOOOlOs:new_wxComboBox",&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1429 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxComboBox. Expected _wxPoint_p.");
1436 if (_argo4
== Py_None
) { _arg4
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxComboBox. Expected _wxSize_p.");
1444 _arg6
= wxString_LIST_helper(_obj6
);
1445 if (_arg6
== NULL
) {
1450 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1451 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1458 _arg5
= PyList_Size(_obj6
);
1465 wxPy_BEGIN_ALLOW_THREADS
;
1466 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1468 wxPy_END_ALLOW_THREADS
;
1470 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1474 _resultobj
= Py_None
;
1482 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1483 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
) {
1484 PyObject
* _resultobj
;
1487 PyObject
* _argo0
= 0;
1488 PyObject
* _obj1
= 0;
1491 if(!PyArg_ParseTuple(args
,"OO:wxComboBox_Append",&_argo0
,&_obj1
))
1494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1501 if (!PyString_Check(_obj1
)) {
1502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1505 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1508 wxPy_BEGIN_ALLOW_THREADS
;
1509 wxComboBox_Append(_arg0
,*_arg1
);
1511 wxPy_END_ALLOW_THREADS
;
1512 } Py_INCREF(Py_None
);
1513 _resultobj
= Py_None
;
1521 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1522 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
) {
1523 PyObject
* _resultobj
;
1525 PyObject
* _argo0
= 0;
1528 if(!PyArg_ParseTuple(args
,"O:wxComboBox_Clear",&_argo0
))
1531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1538 wxPy_BEGIN_ALLOW_THREADS
;
1539 wxComboBox_Clear(_arg0
);
1541 wxPy_END_ALLOW_THREADS
;
1542 } Py_INCREF(Py_None
);
1543 _resultobj
= Py_None
;
1547 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1548 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
) {
1549 PyObject
* _resultobj
;
1551 PyObject
* _argo0
= 0;
1554 if(!PyArg_ParseTuple(args
,"O:wxComboBox_Copy",&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 wxComboBox_Copy(_arg0
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } Py_INCREF(Py_None
);
1569 _resultobj
= Py_None
;
1573 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1574 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
) {
1575 PyObject
* _resultobj
;
1577 PyObject
* _argo0
= 0;
1580 if(!PyArg_ParseTuple(args
,"O:wxComboBox_Cut",&_argo0
))
1583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1590 wxPy_BEGIN_ALLOW_THREADS
;
1591 wxComboBox_Cut(_arg0
);
1593 wxPy_END_ALLOW_THREADS
;
1594 } Py_INCREF(Py_None
);
1595 _resultobj
= Py_None
;
1599 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1600 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
) {
1601 PyObject
* _resultobj
;
1604 PyObject
* _argo0
= 0;
1607 if(!PyArg_ParseTuple(args
,"Oi:wxComboBox_Delete",&_argo0
,&_arg1
))
1610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1617 wxPy_BEGIN_ALLOW_THREADS
;
1618 wxComboBox_Delete(_arg0
,_arg1
);
1620 wxPy_END_ALLOW_THREADS
;
1621 } Py_INCREF(Py_None
);
1622 _resultobj
= Py_None
;
1626 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1627 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
) {
1628 PyObject
* _resultobj
;
1632 PyObject
* _argo0
= 0;
1633 PyObject
* _obj1
= 0;
1636 if(!PyArg_ParseTuple(args
,"OO:wxComboBox_FindString",&_argo0
,&_obj1
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
1646 if (!PyString_Check(_obj1
)) {
1647 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1650 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1653 wxPy_BEGIN_ALLOW_THREADS
;
1654 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
1656 wxPy_END_ALLOW_THREADS
;
1657 } _resultobj
= Py_BuildValue("i",_result
);
1665 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
1666 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
) {
1667 PyObject
* _resultobj
;
1670 PyObject
* _argo0
= 0;
1673 if(!PyArg_ParseTuple(args
,"O:wxComboBox_GetInsertionPoint",&_argo0
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
1683 wxPy_BEGIN_ALLOW_THREADS
;
1684 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
1686 wxPy_END_ALLOW_THREADS
;
1687 } _resultobj
= Py_BuildValue("l",_result
);
1691 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
1692 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
) {
1693 PyObject
* _resultobj
;
1696 PyObject
* _argo0
= 0;
1699 if(!PyArg_ParseTuple(args
,"O:wxComboBox_GetLastPosition",&_argo0
))
1702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
1712 wxPy_END_ALLOW_THREADS
;
1713 } _resultobj
= Py_BuildValue("l",_result
);
1717 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
1718 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
) {
1719 PyObject
* _resultobj
;
1722 PyObject
* _argo0
= 0;
1725 if(!PyArg_ParseTuple(args
,"O:wxComboBox_GetSelection",&_argo0
))
1728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
1735 wxPy_BEGIN_ALLOW_THREADS
;
1736 _result
= (int )wxComboBox_GetSelection(_arg0
);
1738 wxPy_END_ALLOW_THREADS
;
1739 } _resultobj
= Py_BuildValue("i",_result
);
1743 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1744 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
) {
1745 PyObject
* _resultobj
;
1749 PyObject
* _argo0
= 0;
1752 if(!PyArg_ParseTuple(args
,"Oi:wxComboBox_GetString",&_argo0
,&_arg1
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
1762 wxPy_BEGIN_ALLOW_THREADS
;
1763 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
1765 wxPy_END_ALLOW_THREADS
;
1767 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1775 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1776 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
) {
1777 PyObject
* _resultobj
;
1780 PyObject
* _argo0
= 0;
1783 if(!PyArg_ParseTuple(args
,"O:wxComboBox_GetStringSelection",&_argo0
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
1793 wxPy_BEGIN_ALLOW_THREADS
;
1794 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
1796 wxPy_END_ALLOW_THREADS
;
1798 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1806 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
1807 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
) {
1808 PyObject
* _resultobj
;
1811 PyObject
* _argo0
= 0;
1814 if(!PyArg_ParseTuple(args
,"O:wxComboBox_GetValue",&_argo0
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= new wxString (wxComboBox_GetValue(_arg0
));
1827 wxPy_END_ALLOW_THREADS
;
1829 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1837 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
1838 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
) {
1839 PyObject
* _resultobj
;
1842 PyObject
* _argo0
= 0;
1845 if(!PyArg_ParseTuple(args
,"O:wxComboBox_Number",&_argo0
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 _result
= (int )wxComboBox_Number(_arg0
);
1858 wxPy_END_ALLOW_THREADS
;
1859 } _resultobj
= Py_BuildValue("i",_result
);
1863 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
1864 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
) {
1865 PyObject
* _resultobj
;
1867 PyObject
* _argo0
= 0;
1870 if(!PyArg_ParseTuple(args
,"O:wxComboBox_Paste",&_argo0
))
1873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 wxComboBox_Paste(_arg0
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } Py_INCREF(Py_None
);
1885 _resultobj
= Py_None
;
1889 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1890 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
) {
1891 PyObject
* _resultobj
;
1896 PyObject
* _argo0
= 0;
1897 PyObject
* _obj3
= 0;
1900 if(!PyArg_ParseTuple(args
,"OllO:wxComboBox_Replace",&_argo0
,&_arg1
,&_arg2
,&_obj3
))
1903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
1910 if (!PyString_Check(_obj3
)) {
1911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1914 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
1920 wxPy_END_ALLOW_THREADS
;
1921 } Py_INCREF(Py_None
);
1922 _resultobj
= Py_None
;
1930 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
1931 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
) {
1932 PyObject
* _resultobj
;
1936 PyObject
* _argo0
= 0;
1939 if(!PyArg_ParseTuple(args
,"Oll:wxComboBox_Remove",&_argo0
,&_arg1
,&_arg2
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } Py_INCREF(Py_None
);
1954 _resultobj
= Py_None
;
1958 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
1959 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
) {
1960 PyObject
* _resultobj
;
1963 PyObject
* _argo0
= 0;
1966 if(!PyArg_ParseTuple(args
,"Ol:wxComboBox_SetInsertionPoint",&_argo0
,&_arg1
))
1969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
1976 wxPy_BEGIN_ALLOW_THREADS
;
1977 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
1979 wxPy_END_ALLOW_THREADS
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1985 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
1986 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
) {
1987 PyObject
* _resultobj
;
1989 PyObject
* _argo0
= 0;
1992 if(!PyArg_ParseTuple(args
,"O:wxComboBox_SetInsertionPointEnd",&_argo0
))
1995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 wxComboBox_SetInsertionPointEnd(_arg0
);
2005 wxPy_END_ALLOW_THREADS
;
2006 } Py_INCREF(Py_None
);
2007 _resultobj
= Py_None
;
2011 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2012 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
) {
2013 PyObject
* _resultobj
;
2016 PyObject
* _argo0
= 0;
2019 if(!PyArg_ParseTuple(args
,"Oi:wxComboBox_SetSelection",&_argo0
,&_arg1
))
2022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2029 wxPy_BEGIN_ALLOW_THREADS
;
2030 wxComboBox_SetSelection(_arg0
,_arg1
);
2032 wxPy_END_ALLOW_THREADS
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2039 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
) {
2040 PyObject
* _resultobj
;
2044 PyObject
* _argo0
= 0;
2047 if(!PyArg_ParseTuple(args
,"Oll:wxComboBox_SetMark",&_argo0
,&_arg1
,&_arg2
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2067 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
) {
2068 PyObject
* _resultobj
;
2071 PyObject
* _argo0
= 0;
2072 PyObject
* _obj1
= 0;
2075 if(!PyArg_ParseTuple(args
,"OO:wxComboBox_SetValue",&_argo0
,&_obj1
))
2078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2085 if (!PyString_Check(_obj1
)) {
2086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2089 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2092 wxPy_BEGIN_ALLOW_THREADS
;
2093 wxComboBox_SetValue(_arg0
,*_arg1
);
2095 wxPy_END_ALLOW_THREADS
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2105 static void *SwigwxGaugeTowxControl(void *ptr
) {
2108 src
= (wxGauge
*) ptr
;
2109 dest
= (wxControl
*) src
;
2110 return (void *) dest
;
2113 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2116 src
= (wxGauge
*) ptr
;
2117 dest
= (wxWindow
*) src
;
2118 return (void *) dest
;
2121 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2124 src
= (wxGauge
*) ptr
;
2125 dest
= (wxEvtHandler
*) src
;
2126 return (void *) dest
;
2129 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2130 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
) {
2131 PyObject
* _resultobj
;
2136 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2137 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2138 long _arg5
= (long ) wxGA_HORIZONTAL
;
2139 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
2140 char * _arg7
= (char *) "gauge";
2141 PyObject
* _argo0
= 0;
2142 PyObject
* _argo3
= 0;
2143 PyObject
* _argo4
= 0;
2144 PyObject
* _argo6
= 0;
2148 if(!PyArg_ParseTuple(args
,"Oii|OOlOs:new_wxGauge",&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_argo6
,&_arg7
))
2151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2158 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2159 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
2160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxGauge. Expected _wxPoint_p.");
2165 if (_argo4
== Py_None
) { _arg4
= NULL
; }
2166 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxGauge. Expected _wxSize_p.");
2172 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2182 wxPy_END_ALLOW_THREADS
;
2184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2185 _resultobj
= Py_BuildValue("s",_ptemp
);
2188 _resultobj
= Py_None
;
2193 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2194 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
) {
2195 PyObject
* _resultobj
;
2198 PyObject
* _argo0
= 0;
2201 if(!PyArg_ParseTuple(args
,"O:wxGauge_GetBezelFace",&_argo0
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2220 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _argo0
= 0;
2227 if(!PyArg_ParseTuple(args
,"O:wxGauge_GetRange",&_argo0
))
2230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2237 wxPy_BEGIN_ALLOW_THREADS
;
2238 _result
= (int )wxGauge_GetRange(_arg0
);
2240 wxPy_END_ALLOW_THREADS
;
2241 } _resultobj
= Py_BuildValue("i",_result
);
2245 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2246 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
) {
2247 PyObject
* _resultobj
;
2250 PyObject
* _argo0
= 0;
2253 if(!PyArg_ParseTuple(args
,"O:wxGauge_GetShadowWidth",&_argo0
))
2256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2263 wxPy_BEGIN_ALLOW_THREADS
;
2264 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2266 wxPy_END_ALLOW_THREADS
;
2267 } _resultobj
= Py_BuildValue("i",_result
);
2271 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2272 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
) {
2273 PyObject
* _resultobj
;
2276 PyObject
* _argo0
= 0;
2279 if(!PyArg_ParseTuple(args
,"O:wxGauge_GetValue",&_argo0
))
2282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2289 wxPy_BEGIN_ALLOW_THREADS
;
2290 _result
= (int )wxGauge_GetValue(_arg0
);
2292 wxPy_END_ALLOW_THREADS
;
2293 } _resultobj
= Py_BuildValue("i",_result
);
2297 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2298 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
) {
2299 PyObject
* _resultobj
;
2302 PyObject
* _argo0
= 0;
2305 if(!PyArg_ParseTuple(args
,"Oi:wxGauge_SetBezelFace",&_argo0
,&_arg1
))
2308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2315 wxPy_BEGIN_ALLOW_THREADS
;
2316 wxGauge_SetBezelFace(_arg0
,_arg1
);
2318 wxPy_END_ALLOW_THREADS
;
2319 } Py_INCREF(Py_None
);
2320 _resultobj
= Py_None
;
2324 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2325 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
) {
2326 PyObject
* _resultobj
;
2329 PyObject
* _argo0
= 0;
2332 if(!PyArg_ParseTuple(args
,"Oi:wxGauge_SetRange",&_argo0
,&_arg1
))
2335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2342 wxPy_BEGIN_ALLOW_THREADS
;
2343 wxGauge_SetRange(_arg0
,_arg1
);
2345 wxPy_END_ALLOW_THREADS
;
2346 } Py_INCREF(Py_None
);
2347 _resultobj
= Py_None
;
2351 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2352 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
) {
2353 PyObject
* _resultobj
;
2356 PyObject
* _argo0
= 0;
2359 if(!PyArg_ParseTuple(args
,"Oi:wxGauge_SetShadowWidth",&_argo0
,&_arg1
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2372 wxPy_END_ALLOW_THREADS
;
2373 } Py_INCREF(Py_None
);
2374 _resultobj
= Py_None
;
2378 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2379 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
) {
2380 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2386 if(!PyArg_ParseTuple(args
,"Oi:wxGauge_SetValue",&_argo0
,&_arg1
))
2389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2396 wxPy_BEGIN_ALLOW_THREADS
;
2397 wxGauge_SetValue(_arg0
,_arg1
);
2399 wxPy_END_ALLOW_THREADS
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2408 src
= (wxStaticBox
*) ptr
;
2409 dest
= (wxControl
*) src
;
2410 return (void *) dest
;
2413 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2416 src
= (wxStaticBox
*) ptr
;
2417 dest
= (wxWindow
*) src
;
2418 return (void *) dest
;
2421 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2424 src
= (wxStaticBox
*) ptr
;
2425 dest
= (wxEvtHandler
*) src
;
2426 return (void *) dest
;
2429 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2430 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
) {
2431 PyObject
* _resultobj
;
2432 wxStaticBox
* _result
;
2436 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2437 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2438 long _arg5
= (long ) 0;
2439 char * _arg6
= (char *) "staticBox";
2440 PyObject
* _argo0
= 0;
2441 PyObject
* _obj2
= 0;
2442 PyObject
* _argo3
= 0;
2443 PyObject
* _argo4
= 0;
2447 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxStaticBox",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
2450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2457 if (!PyString_Check(_obj2
)) {
2458 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2461 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2464 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStaticBox. Expected _wxPoint_p.");
2471 if (_argo4
== Py_None
) { _arg4
= NULL
; }
2472 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
2473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxStaticBox. Expected _wxSize_p.");
2478 wxPy_BEGIN_ALLOW_THREADS
;
2479 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2481 wxPy_END_ALLOW_THREADS
;
2483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2484 _resultobj
= Py_BuildValue("s",_ptemp
);
2487 _resultobj
= Py_None
;
2496 static void *SwigwxStaticLineTowxControl(void *ptr
) {
2499 src
= (wxStaticLine
*) ptr
;
2500 dest
= (wxControl
*) src
;
2501 return (void *) dest
;
2504 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
2507 src
= (wxStaticLine
*) ptr
;
2508 dest
= (wxWindow
*) src
;
2509 return (void *) dest
;
2512 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
2515 src
= (wxStaticLine
*) ptr
;
2516 dest
= (wxEvtHandler
*) src
;
2517 return (void *) dest
;
2520 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2521 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
) {
2522 PyObject
* _resultobj
;
2523 wxStaticLine
* _result
;
2526 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2527 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2528 long _arg4
= (long ) wxLI_HORIZONTAL
;
2529 char * _arg5
= (char *) "staticLine";
2530 PyObject
* _argo0
= 0;
2531 PyObject
* _argo2
= 0;
2532 PyObject
* _argo3
= 0;
2536 if(!PyArg_ParseTuple(args
,"Oi|OOls:new_wxStaticLine",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2546 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2547 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticLine. Expected _wxPoint_p.");
2553 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2554 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
2555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStaticLine. Expected _wxSize_p.");
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2563 wxPy_END_ALLOW_THREADS
;
2565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
2566 _resultobj
= Py_BuildValue("s",_ptemp
);
2569 _resultobj
= Py_None
;
2574 static void *SwigwxStaticTextTowxControl(void *ptr
) {
2577 src
= (wxStaticText
*) ptr
;
2578 dest
= (wxControl
*) src
;
2579 return (void *) dest
;
2582 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
2585 src
= (wxStaticText
*) ptr
;
2586 dest
= (wxWindow
*) src
;
2587 return (void *) dest
;
2590 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
2593 src
= (wxStaticText
*) ptr
;
2594 dest
= (wxEvtHandler
*) src
;
2595 return (void *) dest
;
2598 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2599 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
) {
2600 PyObject
* _resultobj
;
2601 wxStaticText
* _result
;
2605 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2606 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2607 long _arg5
= (long ) 0;
2608 char * _arg6
= (char *) "staticText";
2609 PyObject
* _argo0
= 0;
2610 PyObject
* _obj2
= 0;
2611 PyObject
* _argo3
= 0;
2612 PyObject
* _argo4
= 0;
2616 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxStaticText",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
2626 if (!PyString_Check(_obj2
)) {
2627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2630 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2633 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2634 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStaticText. Expected _wxPoint_p.");
2640 if (_argo4
== Py_None
) { _arg4
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxStaticText. Expected _wxSize_p.");
2647 wxPy_BEGIN_ALLOW_THREADS
;
2648 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2650 wxPy_END_ALLOW_THREADS
;
2652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
2653 _resultobj
= Py_BuildValue("s",_ptemp
);
2656 _resultobj
= Py_None
;
2665 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
2666 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
) {
2667 PyObject
* _resultobj
;
2669 wxStaticText
* _arg0
;
2670 PyObject
* _argo0
= 0;
2673 if(!PyArg_ParseTuple(args
,"O:wxStaticText_GetLabel",&_argo0
))
2676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
2683 wxPy_BEGIN_ALLOW_THREADS
;
2684 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
2686 wxPy_END_ALLOW_THREADS
;
2688 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2696 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2697 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
) {
2698 PyObject
* _resultobj
;
2699 wxStaticText
* _arg0
;
2701 PyObject
* _argo0
= 0;
2702 PyObject
* _obj1
= 0;
2705 if(!PyArg_ParseTuple(args
,"OO:wxStaticText_SetLabel",&_argo0
,&_obj1
))
2708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
2710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
2715 if (!PyString_Check(_obj1
)) {
2716 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2719 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2722 wxPy_BEGIN_ALLOW_THREADS
;
2723 wxStaticText_SetLabel(_arg0
,*_arg1
);
2725 wxPy_END_ALLOW_THREADS
;
2726 } Py_INCREF(Py_None
);
2727 _resultobj
= Py_None
;
2735 static void *SwigwxListBoxTowxControl(void *ptr
) {
2738 src
= (wxListBox
*) ptr
;
2739 dest
= (wxControl
*) src
;
2740 return (void *) dest
;
2743 static void *SwigwxListBoxTowxWindow(void *ptr
) {
2746 src
= (wxListBox
*) ptr
;
2747 dest
= (wxWindow
*) src
;
2748 return (void *) dest
;
2751 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
2754 src
= (wxListBox
*) ptr
;
2755 dest
= (wxEvtHandler
*) src
;
2756 return (void *) dest
;
2759 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2760 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
) {
2761 PyObject
* _resultobj
;
2762 wxListBox
* _result
;
2765 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2766 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2768 wxString
* _arg5
= (wxString
*) NULL
;
2769 long _arg6
= (long ) 0;
2770 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
2771 char * _arg8
= (char *) "listBox";
2772 PyObject
* _argo0
= 0;
2773 PyObject
* _argo2
= 0;
2774 PyObject
* _argo3
= 0;
2775 PyObject
* _obj5
= 0;
2776 PyObject
* _argo7
= 0;
2780 if(!PyArg_ParseTuple(args
,"Oi|OOOlOs:new_wxListBox",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
2790 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxListBox. Expected _wxPoint_p.");
2797 if (_argo3
== Py_None
) { _arg3
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxListBox. Expected _wxSize_p.");
2805 _arg5
= wxString_LIST_helper(_obj5
);
2806 if (_arg5
== NULL
) {
2811 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
2819 _arg4
= PyList_Size(_obj5
);
2826 wxPy_BEGIN_ALLOW_THREADS
;
2827 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2829 wxPy_END_ALLOW_THREADS
;
2831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
2832 _resultobj
= Py_BuildValue("s",_ptemp
);
2835 _resultobj
= Py_None
;
2843 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
2844 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
) {
2845 PyObject
* _resultobj
;
2848 PyObject
* _argo0
= 0;
2849 PyObject
* _obj1
= 0;
2852 if(!PyArg_ParseTuple(args
,"OO:wxListBox_Append",&_argo0
,&_obj1
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
2862 if (!PyString_Check(_obj1
)) {
2863 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2866 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2869 wxPy_BEGIN_ALLOW_THREADS
;
2870 wxListBox_Append(_arg0
,*_arg1
);
2872 wxPy_END_ALLOW_THREADS
;
2873 } Py_INCREF(Py_None
);
2874 _resultobj
= Py_None
;
2882 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
2883 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
) {
2884 PyObject
* _resultobj
;
2886 PyObject
* _argo0
= 0;
2889 if(!PyArg_ParseTuple(args
,"O:wxListBox_Clear",&_argo0
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
2899 wxPy_BEGIN_ALLOW_THREADS
;
2900 wxListBox_Clear(_arg0
);
2902 wxPy_END_ALLOW_THREADS
;
2903 } Py_INCREF(Py_None
);
2904 _resultobj
= Py_None
;
2908 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2909 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
) {
2910 PyObject
* _resultobj
;
2913 PyObject
* _argo0
= 0;
2916 if(!PyArg_ParseTuple(args
,"Oi:wxListBox_Delete",&_argo0
,&_arg1
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 wxListBox_Delete(_arg0
,_arg1
);
2929 wxPy_END_ALLOW_THREADS
;
2930 } Py_INCREF(Py_None
);
2931 _resultobj
= Py_None
;
2935 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
2936 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
) {
2937 PyObject
* _resultobj
;
2940 PyObject
* _argo0
= 0;
2943 if(!PyArg_ParseTuple(args
,"Oi:wxListBox_Deselect",&_argo0
,&_arg1
))
2946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
2953 wxPy_BEGIN_ALLOW_THREADS
;
2954 wxListBox_Deselect(_arg0
,_arg1
);
2956 wxPy_END_ALLOW_THREADS
;
2957 } Py_INCREF(Py_None
);
2958 _resultobj
= Py_None
;
2962 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2963 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
) {
2964 PyObject
* _resultobj
;
2968 PyObject
* _argo0
= 0;
2969 PyObject
* _obj1
= 0;
2972 if(!PyArg_ParseTuple(args
,"OO:wxListBox_FindString",&_argo0
,&_obj1
))
2975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
2982 if (!PyString_Check(_obj1
)) {
2983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2986 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2989 wxPy_BEGIN_ALLOW_THREADS
;
2990 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
2992 wxPy_END_ALLOW_THREADS
;
2993 } _resultobj
= Py_BuildValue("i",_result
);
3001 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3002 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
) {
3003 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3009 if(!PyArg_ParseTuple(args
,"O:wxListBox_GetSelection",&_argo0
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3019 wxPy_BEGIN_ALLOW_THREADS
;
3020 _result
= (int )wxListBox_GetSelection(_arg0
);
3022 wxPy_END_ALLOW_THREADS
;
3023 } _resultobj
= Py_BuildValue("i",_result
);
3027 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3029 self
->GetSelections(lst
);
3030 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3031 for(int i
=0; i
<lst
.GetCount(); i
++) {
3032 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3036 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
) {
3037 PyObject
* _resultobj
;
3040 PyObject
* _argo0
= 0;
3043 if(!PyArg_ParseTuple(args
,"O:wxListBox_GetSelections",&_argo0
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3053 wxPy_BEGIN_ALLOW_THREADS
;
3054 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3056 wxPy_END_ALLOW_THREADS
;
3058 _resultobj
= _result
;
3063 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3064 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
) {
3065 PyObject
* _resultobj
;
3069 PyObject
* _argo0
= 0;
3072 if(!PyArg_ParseTuple(args
,"Oi:wxListBox_GetString",&_argo0
,&_arg1
))
3075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3082 wxPy_BEGIN_ALLOW_THREADS
;
3083 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3085 wxPy_END_ALLOW_THREADS
;
3087 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3095 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3096 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
) {
3097 PyObject
* _resultobj
;
3100 PyObject
* _argo0
= 0;
3103 if(!PyArg_ParseTuple(args
,"O:wxListBox_GetStringSelection",&_argo0
))
3106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3113 wxPy_BEGIN_ALLOW_THREADS
;
3114 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3116 wxPy_END_ALLOW_THREADS
;
3118 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3126 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3127 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
) {
3128 PyObject
* _resultobj
;
3131 PyObject
* _argo0
= 0;
3134 if(!PyArg_ParseTuple(args
,"O:wxListBox_Number",&_argo0
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3144 wxPy_BEGIN_ALLOW_THREADS
;
3145 _result
= (int )wxListBox_Number(_arg0
);
3147 wxPy_END_ALLOW_THREADS
;
3148 } _resultobj
= Py_BuildValue("i",_result
);
3152 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3153 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
) {
3154 PyObject
* _resultobj
;
3158 PyObject
* _argo0
= 0;
3161 if(!PyArg_ParseTuple(args
,"Oi:wxListBox_Selected",&_argo0
,&_arg1
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3174 wxPy_END_ALLOW_THREADS
;
3175 } _resultobj
= Py_BuildValue("i",_result
);
3179 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3180 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
) {
3181 PyObject
* _resultobj
;
3185 PyObject
* _argo0
= 0;
3186 PyObject
* _obj2
= 0;
3189 if(!PyArg_ParseTuple(args
,"OO:wxListBox_Set",&_argo0
,&_obj2
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3200 _arg2
= wxString_LIST_helper(_obj2
);
3201 if (_arg2
== NULL
) {
3207 _arg1
= PyList_Size(_obj2
);
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } Py_INCREF(Py_None
);
3219 _resultobj
= Py_None
;
3226 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3227 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
) {
3228 PyObject
* _resultobj
;
3231 PyObject
* _argo0
= 0;
3234 if(!PyArg_ParseTuple(args
,"Oi:wxListBox_SetFirstItem",&_argo0
,&_arg1
))
3237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3244 wxPy_BEGIN_ALLOW_THREADS
;
3245 wxListBox_SetFirstItem(_arg0
,_arg1
);
3247 wxPy_END_ALLOW_THREADS
;
3248 } Py_INCREF(Py_None
);
3249 _resultobj
= Py_None
;
3253 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3254 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
) {
3255 PyObject
* _resultobj
;
3258 PyObject
* _argo0
= 0;
3259 PyObject
* _obj1
= 0;
3262 if(!PyArg_ParseTuple(args
,"OO:wxListBox_SetFirstItemStr",&_argo0
,&_obj1
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3272 if (!PyString_Check(_obj1
)) {
3273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3276 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3279 wxPy_BEGIN_ALLOW_THREADS
;
3280 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3282 wxPy_END_ALLOW_THREADS
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3292 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3293 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
) {
3294 PyObject
* _resultobj
;
3297 bool _arg2
= (bool ) TRUE
;
3298 PyObject
* _argo0
= 0;
3299 int tempbool2
= (int) TRUE
;
3302 if(!PyArg_ParseTuple(args
,"Oi|i:wxListBox_SetSelection",&_argo0
,&_arg1
,&tempbool2
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3311 _arg2
= (bool ) tempbool2
;
3313 wxPy_BEGIN_ALLOW_THREADS
;
3314 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
3316 wxPy_END_ALLOW_THREADS
;
3317 } Py_INCREF(Py_None
);
3318 _resultobj
= Py_None
;
3322 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3323 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
) {
3324 PyObject
* _resultobj
;
3328 PyObject
* _argo0
= 0;
3329 PyObject
* _obj2
= 0;
3332 if(!PyArg_ParseTuple(args
,"OiO:wxListBox_SetString",&_argo0
,&_arg1
,&_obj2
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3342 if (!PyString_Check(_obj2
)) {
3343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3346 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3349 wxPy_BEGIN_ALLOW_THREADS
;
3350 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
3352 wxPy_END_ALLOW_THREADS
;
3353 } Py_INCREF(Py_None
);
3354 _resultobj
= Py_None
;
3362 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3363 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
) {
3364 PyObject
* _resultobj
;
3367 bool _arg2
= (bool ) TRUE
;
3368 PyObject
* _argo0
= 0;
3369 PyObject
* _obj1
= 0;
3370 int tempbool2
= (int) TRUE
;
3373 if(!PyArg_ParseTuple(args
,"OO|i:wxListBox_SetStringSelection",&_argo0
,&_obj1
,&tempbool2
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3383 if (!PyString_Check(_obj1
)) {
3384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3387 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3389 _arg2
= (bool ) tempbool2
;
3391 wxPy_BEGIN_ALLOW_THREADS
;
3392 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
3394 wxPy_END_ALLOW_THREADS
;
3395 } Py_INCREF(Py_None
);
3396 _resultobj
= Py_None
;
3404 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
3405 wxCheckListBox
*src
;
3407 src
= (wxCheckListBox
*) ptr
;
3408 dest
= (wxListBox
*) src
;
3409 return (void *) dest
;
3412 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
3413 wxCheckListBox
*src
;
3415 src
= (wxCheckListBox
*) ptr
;
3416 dest
= (wxControl
*) src
;
3417 return (void *) dest
;
3420 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
3421 wxCheckListBox
*src
;
3423 src
= (wxCheckListBox
*) ptr
;
3424 dest
= (wxWindow
*) src
;
3425 return (void *) dest
;
3428 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
3429 wxCheckListBox
*src
;
3431 src
= (wxCheckListBox
*) ptr
;
3432 dest
= (wxEvtHandler
*) src
;
3433 return (void *) dest
;
3436 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3437 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
) {
3438 PyObject
* _resultobj
;
3439 wxCheckListBox
* _result
;
3442 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3443 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3444 int _arg4
= (int ) 0;
3445 wxString
* _arg5
= (wxString
*) NULL
;
3446 long _arg6
= (long ) 0;
3447 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
3448 char * _arg8
= (char *) "listBox";
3449 PyObject
* _argo0
= 0;
3450 PyObject
* _argo2
= 0;
3451 PyObject
* _argo3
= 0;
3452 PyObject
* _obj5
= 0;
3453 PyObject
* _argo7
= 0;
3457 if(!PyArg_ParseTuple(args
,"Oi|OOOlOs:new_wxCheckListBox",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
3467 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxCheckListBox. Expected _wxPoint_p.");
3474 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxCheckListBox. Expected _wxSize_p.");
3482 _arg5
= wxString_LIST_helper(_obj5
);
3483 if (_arg5
== NULL
) {
3488 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
3496 _arg4
= PyList_Size(_obj5
);
3503 wxPy_BEGIN_ALLOW_THREADS
;
3504 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3506 wxPy_END_ALLOW_THREADS
;
3508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
3509 _resultobj
= Py_BuildValue("s",_ptemp
);
3512 _resultobj
= Py_None
;
3520 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3521 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
) {
3522 PyObject
* _resultobj
;
3524 wxCheckListBox
* _arg0
;
3526 PyObject
* _argo0
= 0;
3529 if(!PyArg_ParseTuple(args
,"Oi:wxCheckListBox_IsChecked",&_argo0
,&_arg1
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
3539 wxPy_BEGIN_ALLOW_THREADS
;
3540 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
3542 wxPy_END_ALLOW_THREADS
;
3543 } _resultobj
= Py_BuildValue("i",_result
);
3547 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3548 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
) {
3549 PyObject
* _resultobj
;
3550 wxCheckListBox
* _arg0
;
3552 bool _arg2
= (bool ) TRUE
;
3553 PyObject
* _argo0
= 0;
3554 int tempbool2
= (int) TRUE
;
3557 if(!PyArg_ParseTuple(args
,"Oi|i:wxCheckListBox_Check",&_argo0
,&_arg1
,&tempbool2
))
3560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
3566 _arg2
= (bool ) tempbool2
;
3568 wxPy_BEGIN_ALLOW_THREADS
;
3569 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
3571 wxPy_END_ALLOW_THREADS
;
3572 } Py_INCREF(Py_None
);
3573 _resultobj
= Py_None
;
3577 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
3578 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
) {
3579 PyObject
* _resultobj
;
3581 wxCheckListBox
* _arg0
;
3582 PyObject
* _argo0
= 0;
3585 if(!PyArg_ParseTuple(args
,"O:wxCheckListBox_GetItemHeight",&_argo0
))
3588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
3595 wxPy_BEGIN_ALLOW_THREADS
;
3596 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
3598 wxPy_END_ALLOW_THREADS
;
3599 } _resultobj
= Py_BuildValue("i",_result
);
3603 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
3606 src
= (wxTextCtrl
*) ptr
;
3607 dest
= (wxControl
*) src
;
3608 return (void *) dest
;
3611 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
3614 src
= (wxTextCtrl
*) ptr
;
3615 dest
= (wxWindow
*) src
;
3616 return (void *) dest
;
3619 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
3622 src
= (wxTextCtrl
*) ptr
;
3623 dest
= (wxEvtHandler
*) src
;
3624 return (void *) dest
;
3627 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3628 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
) {
3629 PyObject
* _resultobj
;
3630 wxTextCtrl
* _result
;
3633 char * _arg2
= (char *) "";
3634 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3635 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3636 long _arg5
= (long ) 0;
3637 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
3638 char * _arg7
= (char *) "text";
3639 PyObject
* _argo0
= 0;
3640 PyObject
* _argo3
= 0;
3641 PyObject
* _argo4
= 0;
3642 PyObject
* _argo6
= 0;
3646 if(!PyArg_ParseTuple(args
,"Oi|sOOlOs:new_wxTextCtrl",&_argo0
,&_arg1
,&_arg2
,&_argo3
,&_argo4
,&_arg5
,&_argo6
,&_arg7
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
3656 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3657 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
3658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxTextCtrl. Expected _wxPoint_p.");
3663 if (_argo4
== Py_None
) { _arg4
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxTextCtrl. Expected _wxSize_p.");
3670 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3680 wxPy_END_ALLOW_THREADS
;
3682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3683 _resultobj
= Py_BuildValue("s",_ptemp
);
3686 _resultobj
= Py_None
;
3691 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
3692 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
) {
3693 PyObject
* _resultobj
;
3695 PyObject
* _argo0
= 0;
3698 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_Clear",&_argo0
))
3701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
3708 wxPy_BEGIN_ALLOW_THREADS
;
3709 wxTextCtrl_Clear(_arg0
);
3711 wxPy_END_ALLOW_THREADS
;
3712 } Py_INCREF(Py_None
);
3713 _resultobj
= Py_None
;
3717 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
3718 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
) {
3719 PyObject
* _resultobj
;
3721 PyObject
* _argo0
= 0;
3724 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_Copy",&_argo0
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 wxTextCtrl_Copy(_arg0
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
3744 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
) {
3745 PyObject
* _resultobj
;
3747 PyObject
* _argo0
= 0;
3750 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_Cut",&_argo0
))
3753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
3760 wxPy_BEGIN_ALLOW_THREADS
;
3761 wxTextCtrl_Cut(_arg0
);
3763 wxPy_END_ALLOW_THREADS
;
3764 } Py_INCREF(Py_None
);
3765 _resultobj
= Py_None
;
3769 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
3770 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
) {
3771 PyObject
* _resultobj
;
3773 PyObject
* _argo0
= 0;
3776 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_DiscardEdits",&_argo0
))
3779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
3786 wxPy_BEGIN_ALLOW_THREADS
;
3787 wxTextCtrl_DiscardEdits(_arg0
);
3789 wxPy_END_ALLOW_THREADS
;
3790 } Py_INCREF(Py_None
);
3791 _resultobj
= Py_None
;
3795 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3796 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
) {
3797 PyObject
* _resultobj
;
3800 PyObject
* _argo0
= 0;
3803 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_GetInsertionPoint",&_argo0
))
3806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
3816 wxPy_END_ALLOW_THREADS
;
3817 } _resultobj
= Py_BuildValue("l",_result
);
3821 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3822 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
) {
3823 PyObject
* _resultobj
;
3826 PyObject
* _argo0
= 0;
3829 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_GetLastPosition",&_argo0
))
3832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } _resultobj
= Py_BuildValue("l",_result
);
3847 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
3848 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
) {
3849 PyObject
* _resultobj
;
3853 PyObject
* _argo0
= 0;
3856 if(!PyArg_ParseTuple(args
,"Ol:wxTextCtrl_GetLineLength",&_argo0
,&_arg1
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } _resultobj
= Py_BuildValue("i",_result
);
3874 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
3875 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
) {
3876 PyObject
* _resultobj
;
3880 PyObject
* _argo0
= 0;
3883 if(!PyArg_ParseTuple(args
,"Ol:wxTextCtrl_GetLineText",&_argo0
,&_arg1
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
3896 wxPy_END_ALLOW_THREADS
;
3898 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3906 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
3907 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
) {
3908 PyObject
* _resultobj
;
3911 PyObject
* _argo0
= 0;
3914 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_GetNumberOfLines",&_argo0
))
3917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
3924 wxPy_BEGIN_ALLOW_THREADS
;
3925 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
3927 wxPy_END_ALLOW_THREADS
;
3928 } _resultobj
= Py_BuildValue("i",_result
);
3932 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
3933 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
) {
3934 PyObject
* _resultobj
;
3937 PyObject
* _argo0
= 0;
3940 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_GetValue",&_argo0
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
3950 wxPy_BEGIN_ALLOW_THREADS
;
3951 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
3953 wxPy_END_ALLOW_THREADS
;
3955 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3963 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
3964 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
) {
3965 PyObject
* _resultobj
;
3968 PyObject
* _argo0
= 0;
3971 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_IsModified",&_argo0
))
3974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
3981 wxPy_BEGIN_ALLOW_THREADS
;
3982 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
3984 wxPy_END_ALLOW_THREADS
;
3985 } _resultobj
= Py_BuildValue("i",_result
);
3989 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
3990 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
) {
3991 PyObject
* _resultobj
;
3995 PyObject
* _argo0
= 0;
3996 PyObject
* _obj1
= 0;
3999 if(!PyArg_ParseTuple(args
,"OO:wxTextCtrl_LoadFile",&_argo0
,&_obj1
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4009 if (!PyString_Check(_obj1
)) {
4010 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4013 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4016 wxPy_BEGIN_ALLOW_THREADS
;
4017 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4019 wxPy_END_ALLOW_THREADS
;
4020 } _resultobj
= Py_BuildValue("i",_result
);
4028 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4029 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
) {
4030 PyObject
* _resultobj
;
4032 PyObject
* _argo0
= 0;
4035 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_Paste",&_argo0
))
4038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4045 wxPy_BEGIN_ALLOW_THREADS
;
4046 wxTextCtrl_Paste(_arg0
);
4048 wxPy_END_ALLOW_THREADS
;
4049 } Py_INCREF(Py_None
);
4050 _resultobj
= Py_None
;
4054 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4055 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
) {
4056 PyObject
* _resultobj
;
4063 PyObject
* _argo0
= 0;
4072 if(!PyArg_ParseTuple(args
,"Ol:wxTextCtrl_PositionToXY",&_argo0
,&_arg1
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4085 wxPy_END_ALLOW_THREADS
;
4086 } Py_INCREF(Py_None
);
4087 _resultobj
= Py_None
;
4090 o
= PyInt_FromLong((long) (*_arg2
));
4091 _resultobj
= t_output_helper(_resultobj
, o
);
4095 o
= PyInt_FromLong((long) (*_arg3
));
4096 _resultobj
= t_output_helper(_resultobj
, o
);
4101 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4102 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
) {
4103 PyObject
* _resultobj
;
4107 PyObject
* _argo0
= 0;
4110 if(!PyArg_ParseTuple(args
,"Oll:wxTextCtrl_Remove",&_argo0
,&_arg1
,&_arg2
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4120 wxPy_BEGIN_ALLOW_THREADS
;
4121 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4123 wxPy_END_ALLOW_THREADS
;
4124 } Py_INCREF(Py_None
);
4125 _resultobj
= Py_None
;
4129 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4130 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
) {
4131 PyObject
* _resultobj
;
4136 PyObject
* _argo0
= 0;
4137 PyObject
* _obj3
= 0;
4140 if(!PyArg_ParseTuple(args
,"OllO:wxTextCtrl_Replace",&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4150 if (!PyString_Check(_obj3
)) {
4151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4154 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4157 wxPy_BEGIN_ALLOW_THREADS
;
4158 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
4160 wxPy_END_ALLOW_THREADS
;
4161 } Py_INCREF(Py_None
);
4162 _resultobj
= Py_None
;
4170 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4171 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
) {
4172 PyObject
* _resultobj
;
4176 PyObject
* _argo0
= 0;
4177 PyObject
* _obj1
= 0;
4180 if(!PyArg_ParseTuple(args
,"OO:wxTextCtrl_SaveFile",&_argo0
,&_obj1
))
4183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4190 if (!PyString_Check(_obj1
)) {
4191 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4194 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4197 wxPy_BEGIN_ALLOW_THREADS
;
4198 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
4200 wxPy_END_ALLOW_THREADS
;
4201 } _resultobj
= Py_BuildValue("i",_result
);
4209 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4210 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
) {
4211 PyObject
* _resultobj
;
4214 PyObject
* _argo0
= 0;
4218 if(!PyArg_ParseTuple(args
,"Oi:wxTextCtrl_SetEditable",&_argo0
,&tempbool1
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4227 _arg1
= (bool ) tempbool1
;
4229 wxPy_BEGIN_ALLOW_THREADS
;
4230 wxTextCtrl_SetEditable(_arg0
,_arg1
);
4232 wxPy_END_ALLOW_THREADS
;
4233 } Py_INCREF(Py_None
);
4234 _resultobj
= Py_None
;
4238 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4239 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
) {
4240 PyObject
* _resultobj
;
4243 PyObject
* _argo0
= 0;
4246 if(!PyArg_ParseTuple(args
,"Ol:wxTextCtrl_SetInsertionPoint",&_argo0
,&_arg1
))
4249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4256 wxPy_BEGIN_ALLOW_THREADS
;
4257 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
4259 wxPy_END_ALLOW_THREADS
;
4260 } Py_INCREF(Py_None
);
4261 _resultobj
= Py_None
;
4265 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4266 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
) {
4267 PyObject
* _resultobj
;
4269 PyObject
* _argo0
= 0;
4272 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_SetInsertionPointEnd",&_argo0
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4282 wxPy_BEGIN_ALLOW_THREADS
;
4283 wxTextCtrl_SetInsertionPointEnd(_arg0
);
4285 wxPy_END_ALLOW_THREADS
;
4286 } Py_INCREF(Py_None
);
4287 _resultobj
= Py_None
;
4291 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4292 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
) {
4293 PyObject
* _resultobj
;
4297 PyObject
* _argo0
= 0;
4300 if(!PyArg_ParseTuple(args
,"Oll:wxTextCtrl_SetSelection",&_argo0
,&_arg1
,&_arg2
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4310 wxPy_BEGIN_ALLOW_THREADS
;
4311 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
4313 wxPy_END_ALLOW_THREADS
;
4314 } Py_INCREF(Py_None
);
4315 _resultobj
= Py_None
;
4319 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4320 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
) {
4321 PyObject
* _resultobj
;
4324 PyObject
* _argo0
= 0;
4325 PyObject
* _obj1
= 0;
4328 if(!PyArg_ParseTuple(args
,"OO:wxTextCtrl_SetValue",&_argo0
,&_obj1
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
4338 if (!PyString_Check(_obj1
)) {
4339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4342 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4345 wxPy_BEGIN_ALLOW_THREADS
;
4346 wxTextCtrl_SetValue(_arg0
,*_arg1
);
4348 wxPy_END_ALLOW_THREADS
;
4349 } Py_INCREF(Py_None
);
4350 _resultobj
= Py_None
;
4358 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
4359 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
) {
4360 PyObject
* _resultobj
;
4363 PyObject
* _argo0
= 0;
4366 if(!PyArg_ParseTuple(args
,"Ol:wxTextCtrl_ShowPosition",&_argo0
,&_arg1
))
4369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
4376 wxPy_BEGIN_ALLOW_THREADS
;
4377 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
4379 wxPy_END_ALLOW_THREADS
;
4380 } Py_INCREF(Py_None
);
4381 _resultobj
= Py_None
;
4385 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
4386 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
) {
4387 PyObject
* _resultobj
;
4390 PyObject
* _argo0
= 0;
4391 PyObject
* _obj1
= 0;
4394 if(!PyArg_ParseTuple(args
,"OO:wxTextCtrl_WriteText",&_argo0
,&_obj1
))
4397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
4404 if (!PyString_Check(_obj1
)) {
4405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4408 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4411 wxPy_BEGIN_ALLOW_THREADS
;
4412 wxTextCtrl_WriteText(_arg0
,*_arg1
);
4414 wxPy_END_ALLOW_THREADS
;
4415 } Py_INCREF(Py_None
);
4416 _resultobj
= Py_None
;
4424 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
4425 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
) {
4426 PyObject
* _resultobj
;
4429 PyObject
* _argo0
= 0;
4430 PyObject
* _obj1
= 0;
4433 if(!PyArg_ParseTuple(args
,"OO:wxTextCtrl_AppendText",&_argo0
,&_obj1
))
4436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
4443 if (!PyString_Check(_obj1
)) {
4444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4447 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4450 wxPy_BEGIN_ALLOW_THREADS
;
4451 wxTextCtrl_AppendText(_arg0
,*_arg1
);
4453 wxPy_END_ALLOW_THREADS
;
4454 } Py_INCREF(Py_None
);
4455 _resultobj
= Py_None
;
4463 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
4464 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
) {
4465 PyObject
* _resultobj
;
4470 PyObject
* _argo0
= 0;
4473 if(!PyArg_ParseTuple(args
,"Oll:wxTextCtrl_XYToPosition",&_argo0
,&_arg1
,&_arg2
))
4476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
4483 wxPy_BEGIN_ALLOW_THREADS
;
4484 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
4486 wxPy_END_ALLOW_THREADS
;
4487 } _resultobj
= Py_BuildValue("l",_result
);
4491 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
4492 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
) {
4493 PyObject
* _resultobj
;
4496 PyObject
* _argo0
= 0;
4499 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_CanCopy",&_argo0
))
4502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
4509 wxPy_BEGIN_ALLOW_THREADS
;
4510 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
4512 wxPy_END_ALLOW_THREADS
;
4513 } _resultobj
= Py_BuildValue("i",_result
);
4517 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
4518 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
) {
4519 PyObject
* _resultobj
;
4522 PyObject
* _argo0
= 0;
4525 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_CanCut",&_argo0
))
4528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
4535 wxPy_BEGIN_ALLOW_THREADS
;
4536 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
4538 wxPy_END_ALLOW_THREADS
;
4539 } _resultobj
= Py_BuildValue("i",_result
);
4543 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4544 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
) {
4545 PyObject
* _resultobj
;
4548 PyObject
* _argo0
= 0;
4551 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_CanPaste",&_argo0
))
4554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
4561 wxPy_BEGIN_ALLOW_THREADS
;
4562 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
4564 wxPy_END_ALLOW_THREADS
;
4565 } _resultobj
= Py_BuildValue("i",_result
);
4569 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
4570 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
) {
4571 PyObject
* _resultobj
;
4574 PyObject
* _argo0
= 0;
4577 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_CanRedo",&_argo0
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
4587 wxPy_BEGIN_ALLOW_THREADS
;
4588 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
4590 wxPy_END_ALLOW_THREADS
;
4591 } _resultobj
= Py_BuildValue("i",_result
);
4595 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4596 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
) {
4597 PyObject
* _resultobj
;
4600 PyObject
* _argo0
= 0;
4603 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_CanUndo",&_argo0
))
4606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
4613 wxPy_BEGIN_ALLOW_THREADS
;
4614 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
4616 wxPy_END_ALLOW_THREADS
;
4617 } _resultobj
= Py_BuildValue("i",_result
);
4621 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
4622 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
) {
4623 PyObject
* _resultobj
;
4629 PyObject
* _argo0
= 0;
4638 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_GetSelection",&_argo0
))
4641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
4648 wxPy_BEGIN_ALLOW_THREADS
;
4649 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
4651 wxPy_END_ALLOW_THREADS
;
4652 } Py_INCREF(Py_None
);
4653 _resultobj
= Py_None
;
4656 o
= PyInt_FromLong((long) (*_arg1
));
4657 _resultobj
= t_output_helper(_resultobj
, o
);
4661 o
= PyInt_FromLong((long) (*_arg2
));
4662 _resultobj
= t_output_helper(_resultobj
, o
);
4667 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
4668 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
) {
4669 PyObject
* _resultobj
;
4672 PyObject
* _argo0
= 0;
4675 if(!PyArg_ParseTuple(args
,"O:wxTextCtrl_IsEditable",&_argo0
))
4678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
4685 wxPy_BEGIN_ALLOW_THREADS
;
4686 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
4688 wxPy_END_ALLOW_THREADS
;
4689 } _resultobj
= Py_BuildValue("i",_result
);
4693 static void *SwigwxScrollBarTowxControl(void *ptr
) {
4696 src
= (wxScrollBar
*) ptr
;
4697 dest
= (wxControl
*) src
;
4698 return (void *) dest
;
4701 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
4704 src
= (wxScrollBar
*) ptr
;
4705 dest
= (wxWindow
*) src
;
4706 return (void *) dest
;
4709 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
4712 src
= (wxScrollBar
*) ptr
;
4713 dest
= (wxEvtHandler
*) src
;
4714 return (void *) dest
;
4717 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4718 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
) {
4719 PyObject
* _resultobj
;
4720 wxScrollBar
* _result
;
4722 wxWindowID _arg1
= (wxWindowID
) -1;
4723 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4724 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4725 long _arg4
= (long ) wxSB_HORIZONTAL
;
4726 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
4727 char * _arg6
= (char *) "scrollBar";
4728 PyObject
* _argo0
= 0;
4729 PyObject
* _argo2
= 0;
4730 PyObject
* _argo3
= 0;
4731 PyObject
* _argo5
= 0;
4735 if(!PyArg_ParseTuple(args
,"O|iOOlOs:new_wxScrollBar",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_argo5
,&_arg6
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
4745 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4746 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxScrollBar. Expected _wxPoint_p.");
4752 if (_argo3
== Py_None
) { _arg3
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxScrollBar. Expected _wxSize_p.");
4759 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4760 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
4761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
4766 wxPy_BEGIN_ALLOW_THREADS
;
4767 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
4769 wxPy_END_ALLOW_THREADS
;
4771 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
4772 _resultobj
= Py_BuildValue("s",_ptemp
);
4775 _resultobj
= Py_None
;
4780 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
4781 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
) {
4782 PyObject
* _resultobj
;
4784 wxScrollBar
* _arg0
;
4785 PyObject
* _argo0
= 0;
4788 if(!PyArg_ParseTuple(args
,"O:wxScrollBar_GetRange",&_argo0
))
4791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
4798 wxPy_BEGIN_ALLOW_THREADS
;
4799 _result
= (int )wxScrollBar_GetRange(_arg0
);
4801 wxPy_END_ALLOW_THREADS
;
4802 } _resultobj
= Py_BuildValue("i",_result
);
4806 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
4807 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
) {
4808 PyObject
* _resultobj
;
4810 wxScrollBar
* _arg0
;
4811 PyObject
* _argo0
= 0;
4814 if(!PyArg_ParseTuple(args
,"O:wxScrollBar_GetPageSize",&_argo0
))
4817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
4824 wxPy_BEGIN_ALLOW_THREADS
;
4825 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
4827 wxPy_END_ALLOW_THREADS
;
4828 } _resultobj
= Py_BuildValue("i",_result
);
4832 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
4833 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
) {
4834 PyObject
* _resultobj
;
4836 wxScrollBar
* _arg0
;
4837 PyObject
* _argo0
= 0;
4840 if(!PyArg_ParseTuple(args
,"O:wxScrollBar_GetThumbPosition",&_argo0
))
4843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
4850 wxPy_BEGIN_ALLOW_THREADS
;
4851 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
4853 wxPy_END_ALLOW_THREADS
;
4854 } _resultobj
= Py_BuildValue("i",_result
);
4858 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
4859 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
) {
4860 PyObject
* _resultobj
;
4862 wxScrollBar
* _arg0
;
4863 PyObject
* _argo0
= 0;
4866 if(!PyArg_ParseTuple(args
,"O:wxScrollBar_GetThumbSize",&_argo0
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } _resultobj
= Py_BuildValue("i",_result
);
4884 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
4885 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
) {
4886 PyObject
* _resultobj
;
4887 wxScrollBar
* _arg0
;
4889 PyObject
* _argo0
= 0;
4892 if(!PyArg_ParseTuple(args
,"Oi:wxScrollBar_SetThumbPosition",&_argo0
,&_arg1
))
4895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
4902 wxPy_BEGIN_ALLOW_THREADS
;
4903 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
4905 wxPy_END_ALLOW_THREADS
;
4906 } Py_INCREF(Py_None
);
4907 _resultobj
= Py_None
;
4911 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4912 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
) {
4913 PyObject
* _resultobj
;
4914 wxScrollBar
* _arg0
;
4919 bool _arg5
= (bool ) TRUE
;
4920 PyObject
* _argo0
= 0;
4921 int tempbool5
= (int) TRUE
;
4924 if(!PyArg_ParseTuple(args
,"Oiiii|i:wxScrollBar_SetScrollbar",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
4927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
4933 _arg5
= (bool ) tempbool5
;
4935 wxPy_BEGIN_ALLOW_THREADS
;
4936 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
4938 wxPy_END_ALLOW_THREADS
;
4939 } Py_INCREF(Py_None
);
4940 _resultobj
= Py_None
;
4944 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
4947 src
= (wxSpinButton
*) ptr
;
4948 dest
= (wxControl
*) src
;
4949 return (void *) dest
;
4952 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
4955 src
= (wxSpinButton
*) ptr
;
4956 dest
= (wxWindow
*) src
;
4957 return (void *) dest
;
4960 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
4963 src
= (wxSpinButton
*) ptr
;
4964 dest
= (wxEvtHandler
*) src
;
4965 return (void *) dest
;
4968 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4969 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
) {
4970 PyObject
* _resultobj
;
4971 wxSpinButton
* _result
;
4973 wxWindowID _arg1
= (wxWindowID
) -1;
4974 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4975 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4976 long _arg4
= (long ) wxSP_HORIZONTAL
;
4977 char * _arg5
= (char *) "spinButton";
4978 PyObject
* _argo0
= 0;
4979 PyObject
* _argo2
= 0;
4980 PyObject
* _argo3
= 0;
4984 if(!PyArg_ParseTuple(args
,"O|iOOls:new_wxSpinButton",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_arg4
,&_arg5
))
4987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
4994 if (_argo2
== Py_None
) { _arg2
= NULL
; }
4995 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPoint_p")) {
4996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxSpinButton. Expected _wxPoint_p.");
5001 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxSize_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxSpinButton. Expected _wxSize_p.");
5008 wxPy_BEGIN_ALLOW_THREADS
;
5009 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5011 wxPy_END_ALLOW_THREADS
;
5013 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
5014 _resultobj
= Py_BuildValue("s",_ptemp
);
5017 _resultobj
= Py_None
;
5022 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5023 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
) {
5024 PyObject
* _resultobj
;
5026 wxSpinButton
* _arg0
;
5027 PyObject
* _argo0
= 0;
5030 if(!PyArg_ParseTuple(args
,"O:wxSpinButton_GetMax",&_argo0
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 _result
= (int )wxSpinButton_GetMax(_arg0
);
5043 wxPy_END_ALLOW_THREADS
;
5044 } _resultobj
= Py_BuildValue("i",_result
);
5048 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5049 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
) {
5050 PyObject
* _resultobj
;
5052 wxSpinButton
* _arg0
;
5053 PyObject
* _argo0
= 0;
5056 if(!PyArg_ParseTuple(args
,"O:wxSpinButton_GetMin",&_argo0
))
5059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5066 wxPy_BEGIN_ALLOW_THREADS
;
5067 _result
= (int )wxSpinButton_GetMin(_arg0
);
5069 wxPy_END_ALLOW_THREADS
;
5070 } _resultobj
= Py_BuildValue("i",_result
);
5074 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5075 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
) {
5076 PyObject
* _resultobj
;
5078 wxSpinButton
* _arg0
;
5079 PyObject
* _argo0
= 0;
5082 if(!PyArg_ParseTuple(args
,"O:wxSpinButton_GetValue",&_argo0
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5092 wxPy_BEGIN_ALLOW_THREADS
;
5093 _result
= (int )wxSpinButton_GetValue(_arg0
);
5095 wxPy_END_ALLOW_THREADS
;
5096 } _resultobj
= Py_BuildValue("i",_result
);
5100 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5101 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
) {
5102 PyObject
* _resultobj
;
5103 wxSpinButton
* _arg0
;
5106 PyObject
* _argo0
= 0;
5109 if(!PyArg_ParseTuple(args
,"Oii:wxSpinButton_SetRange",&_argo0
,&_arg1
,&_arg2
))
5112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
5122 wxPy_END_ALLOW_THREADS
;
5123 } Py_INCREF(Py_None
);
5124 _resultobj
= Py_None
;
5128 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5129 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
) {
5130 PyObject
* _resultobj
;
5131 wxSpinButton
* _arg0
;
5133 PyObject
* _argo0
= 0;
5136 if(!PyArg_ParseTuple(args
,"Oi:wxSpinButton_SetValue",&_argo0
,&_arg1
))
5139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5146 wxPy_BEGIN_ALLOW_THREADS
;
5147 wxSpinButton_SetValue(_arg0
,_arg1
);
5149 wxPy_END_ALLOW_THREADS
;
5150 } Py_INCREF(Py_None
);
5151 _resultobj
= Py_None
;
5155 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
5156 wxStaticBitmap
*src
;
5158 src
= (wxStaticBitmap
*) ptr
;
5159 dest
= (wxControl
*) src
;
5160 return (void *) dest
;
5163 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
5164 wxStaticBitmap
*src
;
5166 src
= (wxStaticBitmap
*) ptr
;
5167 dest
= (wxWindow
*) src
;
5168 return (void *) dest
;
5171 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
5172 wxStaticBitmap
*src
;
5174 src
= (wxStaticBitmap
*) ptr
;
5175 dest
= (wxEvtHandler
*) src
;
5176 return (void *) dest
;
5179 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5180 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
) {
5181 PyObject
* _resultobj
;
5182 wxStaticBitmap
* _result
;
5186 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5187 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5188 long _arg5
= (long ) 0;
5189 char * _arg6
= (char *) "staticBitmap";
5190 PyObject
* _argo0
= 0;
5191 PyObject
* _argo2
= 0;
5192 PyObject
* _argo3
= 0;
5193 PyObject
* _argo4
= 0;
5197 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxStaticBitmap",&_argo0
,&_arg1
,&_argo2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
5200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
5207 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5208 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
5214 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5215 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
5216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxStaticBitmap. Expected _wxPoint_p.");
5221 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxStaticBitmap. Expected _wxSize_p.");
5228 wxPy_BEGIN_ALLOW_THREADS
;
5229 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5231 wxPy_END_ALLOW_THREADS
;
5233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
5234 _resultobj
= Py_BuildValue("s",_ptemp
);
5237 _resultobj
= Py_None
;
5242 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
5243 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
) {
5244 PyObject
* _resultobj
;
5246 wxStaticBitmap
* _arg0
;
5247 PyObject
* _argo0
= 0;
5251 if(!PyArg_ParseTuple(args
,"O:wxStaticBitmap_GetBitmap",&_argo0
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
5261 wxPy_BEGIN_ALLOW_THREADS
;
5262 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
5263 _result
= (wxBitmap
*) &_result_ref
;
5265 wxPy_END_ALLOW_THREADS
;
5267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5268 _resultobj
= Py_BuildValue("s",_ptemp
);
5271 _resultobj
= Py_None
;
5276 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
5277 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
) {
5278 PyObject
* _resultobj
;
5279 wxStaticBitmap
* _arg0
;
5281 PyObject
* _argo0
= 0;
5282 PyObject
* _argo1
= 0;
5285 if(!PyArg_ParseTuple(args
,"OO:wxStaticBitmap_SetBitmap",&_argo0
,&_argo1
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
5295 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5296 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
5302 wxPy_BEGIN_ALLOW_THREADS
;
5303 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
5305 wxPy_END_ALLOW_THREADS
;
5306 } Py_INCREF(Py_None
);
5307 _resultobj
= Py_None
;
5311 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
5312 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
) {
5313 PyObject
* _resultobj
;
5314 wxStaticBitmap
* _arg0
;
5316 PyObject
* _argo0
= 0;
5317 PyObject
* _argo1
= 0;
5320 if(!PyArg_ParseTuple(args
,"OO:wxStaticBitmap_SetIcon",&_argo0
,&_argo1
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
5330 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
5337 wxPy_BEGIN_ALLOW_THREADS
;
5338 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
5340 wxPy_END_ALLOW_THREADS
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5346 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
5349 src
= (wxRadioBox
*) ptr
;
5350 dest
= (wxControl
*) src
;
5351 return (void *) dest
;
5354 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
5357 src
= (wxRadioBox
*) ptr
;
5358 dest
= (wxWindow
*) src
;
5359 return (void *) dest
;
5362 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
5365 src
= (wxRadioBox
*) ptr
;
5366 dest
= (wxEvtHandler
*) src
;
5367 return (void *) dest
;
5370 #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))
5371 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
) {
5372 PyObject
* _resultobj
;
5373 wxRadioBox
* _result
;
5377 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5378 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5379 int _arg5
= (int ) 0;
5380 wxString
* _arg6
= (wxString
*) NULL
;
5381 int _arg7
= (int ) 0;
5382 long _arg8
= (long ) wxRA_HORIZONTAL
;
5383 wxValidator
* _arg9
= (wxValidator
*) &wxPyDefaultValidator
;
5384 char * _arg10
= (char *) "radioBox";
5385 PyObject
* _argo0
= 0;
5386 PyObject
* _obj2
= 0;
5387 PyObject
* _argo3
= 0;
5388 PyObject
* _argo4
= 0;
5389 PyObject
* _obj6
= 0;
5390 PyObject
* _argo9
= 0;
5394 if(!PyArg_ParseTuple(args
,"OiO|OOOilOs:new_wxRadioBox",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
5397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
5404 if (!PyString_Check(_obj2
)) {
5405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5408 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5411 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5412 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
5413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxRadioBox. Expected _wxPoint_p.");
5418 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxRadioBox. Expected _wxSize_p.");
5426 _arg6
= wxString_LIST_helper(_obj6
);
5427 if (_arg6
== NULL
) {
5432 if (_argo9
== Py_None
) { _arg9
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
5440 _arg5
= PyList_Size(_obj6
);
5447 wxPy_BEGIN_ALLOW_THREADS
;
5448 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
5450 wxPy_END_ALLOW_THREADS
;
5452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
5453 _resultobj
= Py_BuildValue("s",_ptemp
);
5456 _resultobj
= Py_None
;
5468 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5469 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
) {
5470 PyObject
* _resultobj
;
5473 PyObject
* _argo0
= 0;
5477 if(!PyArg_ParseTuple(args
,"Oi:wxRadioBox_Enable",&_argo0
,&tempbool1
))
5480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
5486 _arg1
= (bool ) tempbool1
;
5488 wxPy_BEGIN_ALLOW_THREADS
;
5489 wxRadioBox_Enable(_arg0
,_arg1
);
5491 wxPy_END_ALLOW_THREADS
;
5492 } Py_INCREF(Py_None
);
5493 _resultobj
= Py_None
;
5497 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5498 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
) {
5499 PyObject
* _resultobj
;
5503 PyObject
* _argo0
= 0;
5507 if(!PyArg_ParseTuple(args
,"Oii:wxRadioBox_EnableItem",&_argo0
,&_arg1
,&tempbool2
))
5510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
5516 _arg2
= (bool ) tempbool2
;
5518 wxPy_BEGIN_ALLOW_THREADS
;
5519 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
5521 wxPy_END_ALLOW_THREADS
;
5522 } Py_INCREF(Py_None
);
5523 _resultobj
= Py_None
;
5527 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
5528 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
) {
5529 PyObject
* _resultobj
;
5533 PyObject
* _argo0
= 0;
5534 PyObject
* _obj1
= 0;
5537 if(!PyArg_ParseTuple(args
,"OO:wxRadioBox_FindString",&_argo0
,&_obj1
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
5547 if (!PyString_Check(_obj1
)) {
5548 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5551 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
5557 wxPy_END_ALLOW_THREADS
;
5558 } _resultobj
= Py_BuildValue("i",_result
);
5566 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5567 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
) {
5568 PyObject
* _resultobj
;
5572 PyObject
* _argo0
= 0;
5575 if(!PyArg_ParseTuple(args
,"Oi:wxRadioBox_GetItemLabel",&_argo0
,&_arg1
))
5578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
5585 wxPy_BEGIN_ALLOW_THREADS
;
5586 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
5588 wxPy_END_ALLOW_THREADS
;
5590 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5598 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
5599 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
) {
5600 PyObject
* _resultobj
;
5603 PyObject
* _argo0
= 0;
5606 if(!PyArg_ParseTuple(args
,"O:wxRadioBox_GetSelection",&_argo0
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
5616 wxPy_BEGIN_ALLOW_THREADS
;
5617 _result
= (int )wxRadioBox_GetSelection(_arg0
);
5619 wxPy_END_ALLOW_THREADS
;
5620 } _resultobj
= Py_BuildValue("i",_result
);
5624 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
5625 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
) {
5626 PyObject
* _resultobj
;
5630 PyObject
* _argo0
= 0;
5633 if(!PyArg_ParseTuple(args
,"Oi:wxRadioBox_GetString",&_argo0
,&_arg1
))
5636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
5643 wxPy_BEGIN_ALLOW_THREADS
;
5644 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
5646 wxPy_END_ALLOW_THREADS
;
5648 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5656 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5657 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
) {
5658 PyObject
* _resultobj
;
5661 PyObject
* _argo0
= 0;
5664 if(!PyArg_ParseTuple(args
,"O:wxRadioBox_GetStringSelection",&_argo0
))
5667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
5674 wxPy_BEGIN_ALLOW_THREADS
;
5675 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
5677 wxPy_END_ALLOW_THREADS
;
5679 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5687 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
5688 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
) {
5689 PyObject
* _resultobj
;
5692 PyObject
* _argo0
= 0;
5695 if(!PyArg_ParseTuple(args
,"O:wxRadioBox_Number",&_argo0
))
5698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
5705 wxPy_BEGIN_ALLOW_THREADS
;
5706 _result
= (int )wxRadioBox_Number(_arg0
);
5708 wxPy_END_ALLOW_THREADS
;
5709 } _resultobj
= Py_BuildValue("i",_result
);
5713 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5714 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
) {
5715 PyObject
* _resultobj
;
5719 PyObject
* _argo0
= 0;
5720 PyObject
* _obj2
= 0;
5723 if(!PyArg_ParseTuple(args
,"OiO:wxRadioBox_SetItemLabel",&_argo0
,&_arg1
,&_obj2
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
5733 if (!PyString_Check(_obj2
)) {
5734 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5737 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5740 wxPy_BEGIN_ALLOW_THREADS
;
5741 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
5743 wxPy_END_ALLOW_THREADS
;
5744 } Py_INCREF(Py_None
);
5745 _resultobj
= Py_None
;
5753 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
5754 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
) {
5755 PyObject
* _resultobj
;
5758 PyObject
* _argo0
= 0;
5761 if(!PyArg_ParseTuple(args
,"Oi:wxRadioBox_SetSelection",&_argo0
,&_arg1
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
5771 wxPy_BEGIN_ALLOW_THREADS
;
5772 wxRadioBox_SetSelection(_arg0
,_arg1
);
5774 wxPy_END_ALLOW_THREADS
;
5775 } Py_INCREF(Py_None
);
5776 _resultobj
= Py_None
;
5780 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
5781 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
) {
5782 PyObject
* _resultobj
;
5785 PyObject
* _argo0
= 0;
5786 PyObject
* _obj1
= 0;
5789 if(!PyArg_ParseTuple(args
,"OO:wxRadioBox_SetStringSelection",&_argo0
,&_obj1
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
5799 if (!PyString_Check(_obj1
)) {
5800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5803 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5806 wxPy_BEGIN_ALLOW_THREADS
;
5807 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
5809 wxPy_END_ALLOW_THREADS
;
5810 } Py_INCREF(Py_None
);
5811 _resultobj
= Py_None
;
5819 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5820 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
) {
5821 PyObject
* _resultobj
;
5824 PyObject
* _argo0
= 0;
5828 if(!PyArg_ParseTuple(args
,"Oi:wxRadioBox_Show",&_argo0
,&tempbool1
))
5831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
5837 _arg1
= (bool ) tempbool1
;
5839 wxPy_BEGIN_ALLOW_THREADS
;
5840 wxRadioBox_Show(_arg0
,_arg1
);
5842 wxPy_END_ALLOW_THREADS
;
5843 } Py_INCREF(Py_None
);
5844 _resultobj
= Py_None
;
5848 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
5849 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
) {
5850 PyObject
* _resultobj
;
5854 PyObject
* _argo0
= 0;
5858 if(!PyArg_ParseTuple(args
,"Oii:wxRadioBox_ShowItem",&_argo0
,&_arg1
,&tempbool2
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
5867 _arg2
= (bool ) tempbool2
;
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } Py_INCREF(Py_None
);
5874 _resultobj
= Py_None
;
5878 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
5881 src
= (wxRadioButton
*) ptr
;
5882 dest
= (wxControl
*) src
;
5883 return (void *) dest
;
5886 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
5889 src
= (wxRadioButton
*) ptr
;
5890 dest
= (wxWindow
*) src
;
5891 return (void *) dest
;
5894 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
5897 src
= (wxRadioButton
*) ptr
;
5898 dest
= (wxEvtHandler
*) src
;
5899 return (void *) dest
;
5902 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5903 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
) {
5904 PyObject
* _resultobj
;
5905 wxRadioButton
* _result
;
5909 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5910 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5911 long _arg5
= (long ) 0;
5912 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
5913 char * _arg7
= (char *) "radioButton";
5914 PyObject
* _argo0
= 0;
5915 PyObject
* _obj2
= 0;
5916 PyObject
* _argo3
= 0;
5917 PyObject
* _argo4
= 0;
5918 PyObject
* _argo6
= 0;
5922 if(!PyArg_ParseTuple(args
,"OiO|OOlOs:new_wxRadioButton",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_argo6
,&_arg7
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
5932 if (!PyString_Check(_obj2
)) {
5933 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5936 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5939 if (_argo3
== Py_None
) { _arg3
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxRadioButton. Expected _wxPoint_p.");
5946 if (_argo4
== Py_None
) { _arg4
= NULL
; }
5947 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
5948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxRadioButton. Expected _wxSize_p.");
5953 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5954 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
5960 wxPy_BEGIN_ALLOW_THREADS
;
5961 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
5963 wxPy_END_ALLOW_THREADS
;
5965 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
5966 _resultobj
= Py_BuildValue("s",_ptemp
);
5969 _resultobj
= Py_None
;
5978 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
5979 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
) {
5980 PyObject
* _resultobj
;
5982 wxRadioButton
* _arg0
;
5983 PyObject
* _argo0
= 0;
5986 if(!PyArg_ParseTuple(args
,"O:wxRadioButton_GetValue",&_argo0
))
5989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
5991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
5996 wxPy_BEGIN_ALLOW_THREADS
;
5997 _result
= (bool )wxRadioButton_GetValue(_arg0
);
5999 wxPy_END_ALLOW_THREADS
;
6000 } _resultobj
= Py_BuildValue("i",_result
);
6004 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6005 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
) {
6006 PyObject
* _resultobj
;
6007 wxRadioButton
* _arg0
;
6009 PyObject
* _argo0
= 0;
6013 if(!PyArg_ParseTuple(args
,"Oi:wxRadioButton_SetValue",&_argo0
,&tempbool1
))
6016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6022 _arg1
= (bool ) tempbool1
;
6024 wxPy_BEGIN_ALLOW_THREADS
;
6025 wxRadioButton_SetValue(_arg0
,_arg1
);
6027 wxPy_END_ALLOW_THREADS
;
6028 } Py_INCREF(Py_None
);
6029 _resultobj
= Py_None
;
6033 static void *SwigwxSliderTowxControl(void *ptr
) {
6036 src
= (wxSlider
*) ptr
;
6037 dest
= (wxControl
*) src
;
6038 return (void *) dest
;
6041 static void *SwigwxSliderTowxWindow(void *ptr
) {
6044 src
= (wxSlider
*) ptr
;
6045 dest
= (wxWindow
*) src
;
6046 return (void *) dest
;
6049 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
6052 src
= (wxSlider
*) ptr
;
6053 dest
= (wxEvtHandler
*) src
;
6054 return (void *) dest
;
6057 #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))
6058 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
) {
6059 PyObject
* _resultobj
;
6066 wxPoint
* _arg5
= (wxPoint
*) &wxPyDefaultPosition
;
6067 wxSize
* _arg6
= (wxSize
*) &wxPyDefaultSize
;
6068 long _arg7
= (long ) wxSL_HORIZONTAL
;
6069 wxValidator
* _arg8
= (wxValidator
*) &wxPyDefaultValidator
;
6070 char * _arg9
= (char *) "slider";
6071 PyObject
* _argo0
= 0;
6072 PyObject
* _argo5
= 0;
6073 PyObject
* _argo6
= 0;
6074 PyObject
* _argo8
= 0;
6078 if(!PyArg_ParseTuple(args
,"Oiiii|OOlOs:new_wxSlider",&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_argo5
,&_argo6
,&_arg7
,&_argo8
,&_arg9
))
6081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
6088 if (_argo5
== Py_None
) { _arg5
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxPoint_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxSlider. Expected _wxPoint_p.");
6095 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6096 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxSize_p")) {
6097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxSlider. Expected _wxSize_p.");
6102 if (_argo8
== Py_None
) { _arg8
= NULL
; }
6103 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
6104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
6109 wxPy_BEGIN_ALLOW_THREADS
;
6110 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
6112 wxPy_END_ALLOW_THREADS
;
6114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
6115 _resultobj
= Py_BuildValue("s",_ptemp
);
6118 _resultobj
= Py_None
;
6123 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
6124 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
) {
6125 PyObject
* _resultobj
;
6127 PyObject
* _argo0
= 0;
6130 if(!PyArg_ParseTuple(args
,"O:wxSlider_ClearSel",&_argo0
))
6133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
6140 wxPy_BEGIN_ALLOW_THREADS
;
6141 wxSlider_ClearSel(_arg0
);
6143 wxPy_END_ALLOW_THREADS
;
6144 } Py_INCREF(Py_None
);
6145 _resultobj
= Py_None
;
6149 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
6150 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
) {
6151 PyObject
* _resultobj
;
6153 PyObject
* _argo0
= 0;
6156 if(!PyArg_ParseTuple(args
,"O:wxSlider_ClearTicks",&_argo0
))
6159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 wxSlider_ClearTicks(_arg0
);
6169 wxPy_END_ALLOW_THREADS
;
6170 } Py_INCREF(Py_None
);
6171 _resultobj
= Py_None
;
6175 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
6176 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
) {
6177 PyObject
* _resultobj
;
6180 PyObject
* _argo0
= 0;
6183 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetLineSize",&_argo0
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
6193 wxPy_BEGIN_ALLOW_THREADS
;
6194 _result
= (int )wxSlider_GetLineSize(_arg0
);
6196 wxPy_END_ALLOW_THREADS
;
6197 } _resultobj
= Py_BuildValue("i",_result
);
6201 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
6202 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
) {
6203 PyObject
* _resultobj
;
6206 PyObject
* _argo0
= 0;
6209 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetMax",&_argo0
))
6212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
6219 wxPy_BEGIN_ALLOW_THREADS
;
6220 _result
= (int )wxSlider_GetMax(_arg0
);
6222 wxPy_END_ALLOW_THREADS
;
6223 } _resultobj
= Py_BuildValue("i",_result
);
6227 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
6228 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
) {
6229 PyObject
* _resultobj
;
6232 PyObject
* _argo0
= 0;
6235 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetMin",&_argo0
))
6238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
6245 wxPy_BEGIN_ALLOW_THREADS
;
6246 _result
= (int )wxSlider_GetMin(_arg0
);
6248 wxPy_END_ALLOW_THREADS
;
6249 } _resultobj
= Py_BuildValue("i",_result
);
6253 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
6254 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
) {
6255 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6261 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetPageSize",&_argo0
))
6264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
6271 wxPy_BEGIN_ALLOW_THREADS
;
6272 _result
= (int )wxSlider_GetPageSize(_arg0
);
6274 wxPy_END_ALLOW_THREADS
;
6275 } _resultobj
= Py_BuildValue("i",_result
);
6279 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
6280 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
) {
6281 PyObject
* _resultobj
;
6284 PyObject
* _argo0
= 0;
6287 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetSelEnd",&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
6297 wxPy_BEGIN_ALLOW_THREADS
;
6298 _result
= (int )wxSlider_GetSelEnd(_arg0
);
6300 wxPy_END_ALLOW_THREADS
;
6301 } _resultobj
= Py_BuildValue("i",_result
);
6305 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
6306 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
) {
6307 PyObject
* _resultobj
;
6310 PyObject
* _argo0
= 0;
6313 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetSelStart",&_argo0
))
6316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
6323 wxPy_BEGIN_ALLOW_THREADS
;
6324 _result
= (int )wxSlider_GetSelStart(_arg0
);
6326 wxPy_END_ALLOW_THREADS
;
6327 } _resultobj
= Py_BuildValue("i",_result
);
6331 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
6332 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
) {
6333 PyObject
* _resultobj
;
6336 PyObject
* _argo0
= 0;
6339 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetThumbLength",&_argo0
))
6342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
6349 wxPy_BEGIN_ALLOW_THREADS
;
6350 _result
= (int )wxSlider_GetThumbLength(_arg0
);
6352 wxPy_END_ALLOW_THREADS
;
6353 } _resultobj
= Py_BuildValue("i",_result
);
6357 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
6358 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
) {
6359 PyObject
* _resultobj
;
6362 PyObject
* _argo0
= 0;
6365 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetTickFreq",&_argo0
))
6368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
6375 wxPy_BEGIN_ALLOW_THREADS
;
6376 _result
= (int )wxSlider_GetTickFreq(_arg0
);
6378 wxPy_END_ALLOW_THREADS
;
6379 } _resultobj
= Py_BuildValue("i",_result
);
6383 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
6384 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
) {
6385 PyObject
* _resultobj
;
6388 PyObject
* _argo0
= 0;
6391 if(!PyArg_ParseTuple(args
,"O:wxSlider_GetValue",&_argo0
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
6401 wxPy_BEGIN_ALLOW_THREADS
;
6402 _result
= (int )wxSlider_GetValue(_arg0
);
6404 wxPy_END_ALLOW_THREADS
;
6405 } _resultobj
= Py_BuildValue("i",_result
);
6409 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6410 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
) {
6411 PyObject
* _resultobj
;
6415 PyObject
* _argo0
= 0;
6418 if(!PyArg_ParseTuple(args
,"Oii:wxSlider_SetRange",&_argo0
,&_arg1
,&_arg2
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
6431 wxPy_END_ALLOW_THREADS
;
6432 } Py_INCREF(Py_None
);
6433 _resultobj
= Py_None
;
6437 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
6438 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
) {
6439 PyObject
* _resultobj
;
6443 PyObject
* _argo0
= 0;
6446 if(!PyArg_ParseTuple(args
,"Oii:wxSlider_SetTickFreq",&_argo0
,&_arg1
,&_arg2
))
6449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
6456 wxPy_BEGIN_ALLOW_THREADS
;
6457 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
6459 wxPy_END_ALLOW_THREADS
;
6460 } Py_INCREF(Py_None
);
6461 _resultobj
= Py_None
;
6465 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
6466 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
) {
6467 PyObject
* _resultobj
;
6470 PyObject
* _argo0
= 0;
6473 if(!PyArg_ParseTuple(args
,"Oi:wxSlider_SetLineSize",&_argo0
,&_arg1
))
6476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
6483 wxPy_BEGIN_ALLOW_THREADS
;
6484 wxSlider_SetLineSize(_arg0
,_arg1
);
6486 wxPy_END_ALLOW_THREADS
;
6487 } Py_INCREF(Py_None
);
6488 _resultobj
= Py_None
;
6492 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
6493 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
) {
6494 PyObject
* _resultobj
;
6497 PyObject
* _argo0
= 0;
6500 if(!PyArg_ParseTuple(args
,"Oi:wxSlider_SetPageSize",&_argo0
,&_arg1
))
6503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
6510 wxPy_BEGIN_ALLOW_THREADS
;
6511 wxSlider_SetPageSize(_arg0
,_arg1
);
6513 wxPy_END_ALLOW_THREADS
;
6514 } Py_INCREF(Py_None
);
6515 _resultobj
= Py_None
;
6519 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
6520 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
) {
6521 PyObject
* _resultobj
;
6525 PyObject
* _argo0
= 0;
6528 if(!PyArg_ParseTuple(args
,"Oii:wxSlider_SetSelection",&_argo0
,&_arg1
,&_arg2
))
6531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
6538 wxPy_BEGIN_ALLOW_THREADS
;
6539 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
6541 wxPy_END_ALLOW_THREADS
;
6542 } Py_INCREF(Py_None
);
6543 _resultobj
= Py_None
;
6547 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
6548 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6555 if(!PyArg_ParseTuple(args
,"Oi:wxSlider_SetThumbLength",&_argo0
,&_arg1
))
6558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
6565 wxPy_BEGIN_ALLOW_THREADS
;
6566 wxSlider_SetThumbLength(_arg0
,_arg1
);
6568 wxPy_END_ALLOW_THREADS
;
6569 } Py_INCREF(Py_None
);
6570 _resultobj
= Py_None
;
6574 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
6575 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
) {
6576 PyObject
* _resultobj
;
6579 PyObject
* _argo0
= 0;
6582 if(!PyArg_ParseTuple(args
,"Oi:wxSlider_SetTick",&_argo0
,&_arg1
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
6592 wxPy_BEGIN_ALLOW_THREADS
;
6593 wxSlider_SetTick(_arg0
,_arg1
);
6595 wxPy_END_ALLOW_THREADS
;
6596 } Py_INCREF(Py_None
);
6597 _resultobj
= Py_None
;
6601 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6602 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
) {
6603 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6609 if(!PyArg_ParseTuple(args
,"Oi:wxSlider_SetValue",&_argo0
,&_arg1
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
6619 wxPy_BEGIN_ALLOW_THREADS
;
6620 wxSlider_SetValue(_arg0
,_arg1
);
6622 wxPy_END_ALLOW_THREADS
;
6623 } Py_INCREF(Py_None
);
6624 _resultobj
= Py_None
;
6628 static PyMethodDef controlscMethods
[] = {
6629 { "wxSlider_SetValue", _wrap_wxSlider_SetValue
, METH_VARARGS
},
6630 { "wxSlider_SetTick", _wrap_wxSlider_SetTick
, METH_VARARGS
},
6631 { "wxSlider_SetThumbLength", _wrap_wxSlider_SetThumbLength
, METH_VARARGS
},
6632 { "wxSlider_SetSelection", _wrap_wxSlider_SetSelection
, METH_VARARGS
},
6633 { "wxSlider_SetPageSize", _wrap_wxSlider_SetPageSize
, METH_VARARGS
},
6634 { "wxSlider_SetLineSize", _wrap_wxSlider_SetLineSize
, METH_VARARGS
},
6635 { "wxSlider_SetTickFreq", _wrap_wxSlider_SetTickFreq
, METH_VARARGS
},
6636 { "wxSlider_SetRange", _wrap_wxSlider_SetRange
, METH_VARARGS
},
6637 { "wxSlider_GetValue", _wrap_wxSlider_GetValue
, METH_VARARGS
},
6638 { "wxSlider_GetTickFreq", _wrap_wxSlider_GetTickFreq
, METH_VARARGS
},
6639 { "wxSlider_GetThumbLength", _wrap_wxSlider_GetThumbLength
, METH_VARARGS
},
6640 { "wxSlider_GetSelStart", _wrap_wxSlider_GetSelStart
, METH_VARARGS
},
6641 { "wxSlider_GetSelEnd", _wrap_wxSlider_GetSelEnd
, METH_VARARGS
},
6642 { "wxSlider_GetPageSize", _wrap_wxSlider_GetPageSize
, METH_VARARGS
},
6643 { "wxSlider_GetMin", _wrap_wxSlider_GetMin
, METH_VARARGS
},
6644 { "wxSlider_GetMax", _wrap_wxSlider_GetMax
, METH_VARARGS
},
6645 { "wxSlider_GetLineSize", _wrap_wxSlider_GetLineSize
, METH_VARARGS
},
6646 { "wxSlider_ClearTicks", _wrap_wxSlider_ClearTicks
, METH_VARARGS
},
6647 { "wxSlider_ClearSel", _wrap_wxSlider_ClearSel
, METH_VARARGS
},
6648 { "new_wxSlider", _wrap_new_wxSlider
, METH_VARARGS
},
6649 { "wxRadioButton_SetValue", _wrap_wxRadioButton_SetValue
, METH_VARARGS
},
6650 { "wxRadioButton_GetValue", _wrap_wxRadioButton_GetValue
, METH_VARARGS
},
6651 { "new_wxRadioButton", _wrap_new_wxRadioButton
, METH_VARARGS
},
6652 { "wxRadioBox_ShowItem", _wrap_wxRadioBox_ShowItem
, METH_VARARGS
},
6653 { "wxRadioBox_Show", _wrap_wxRadioBox_Show
, METH_VARARGS
},
6654 { "wxRadioBox_SetStringSelection", _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
},
6655 { "wxRadioBox_SetSelection", _wrap_wxRadioBox_SetSelection
, METH_VARARGS
},
6656 { "wxRadioBox_SetItemLabel", _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
},
6657 { "wxRadioBox_Number", _wrap_wxRadioBox_Number
, METH_VARARGS
},
6658 { "wxRadioBox_GetStringSelection", _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
},
6659 { "wxRadioBox_GetString", _wrap_wxRadioBox_GetString
, METH_VARARGS
},
6660 { "wxRadioBox_GetSelection", _wrap_wxRadioBox_GetSelection
, METH_VARARGS
},
6661 { "wxRadioBox_GetItemLabel", _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
},
6662 { "wxRadioBox_FindString", _wrap_wxRadioBox_FindString
, METH_VARARGS
},
6663 { "wxRadioBox_EnableItem", _wrap_wxRadioBox_EnableItem
, METH_VARARGS
},
6664 { "wxRadioBox_Enable", _wrap_wxRadioBox_Enable
, METH_VARARGS
},
6665 { "new_wxRadioBox", _wrap_new_wxRadioBox
, METH_VARARGS
},
6666 { "wxStaticBitmap_SetIcon", _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
},
6667 { "wxStaticBitmap_SetBitmap", _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
},
6668 { "wxStaticBitmap_GetBitmap", _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
},
6669 { "new_wxStaticBitmap", _wrap_new_wxStaticBitmap
, METH_VARARGS
},
6670 { "wxSpinButton_SetValue", _wrap_wxSpinButton_SetValue
, METH_VARARGS
},
6671 { "wxSpinButton_SetRange", _wrap_wxSpinButton_SetRange
, METH_VARARGS
},
6672 { "wxSpinButton_GetValue", _wrap_wxSpinButton_GetValue
, METH_VARARGS
},
6673 { "wxSpinButton_GetMin", _wrap_wxSpinButton_GetMin
, METH_VARARGS
},
6674 { "wxSpinButton_GetMax", _wrap_wxSpinButton_GetMax
, METH_VARARGS
},
6675 { "new_wxSpinButton", _wrap_new_wxSpinButton
, METH_VARARGS
},
6676 { "wxScrollBar_SetScrollbar", _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
},
6677 { "wxScrollBar_SetThumbPosition", _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
},
6678 { "wxScrollBar_GetThumbSize", _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
},
6679 { "wxScrollBar_GetThumbPosition", _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
},
6680 { "wxScrollBar_GetPageSize", _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
},
6681 { "wxScrollBar_GetRange", _wrap_wxScrollBar_GetRange
, METH_VARARGS
},
6682 { "new_wxScrollBar", _wrap_new_wxScrollBar
, METH_VARARGS
},
6683 { "wxTextCtrl_IsEditable", _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
},
6684 { "wxTextCtrl_GetSelection", _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
},
6685 { "wxTextCtrl_CanUndo", _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
},
6686 { "wxTextCtrl_CanRedo", _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
},
6687 { "wxTextCtrl_CanPaste", _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
},
6688 { "wxTextCtrl_CanCut", _wrap_wxTextCtrl_CanCut
, METH_VARARGS
},
6689 { "wxTextCtrl_CanCopy", _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
},
6690 { "wxTextCtrl_XYToPosition", _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
},
6691 { "wxTextCtrl_AppendText", _wrap_wxTextCtrl_AppendText
, METH_VARARGS
},
6692 { "wxTextCtrl_WriteText", _wrap_wxTextCtrl_WriteText
, METH_VARARGS
},
6693 { "wxTextCtrl_ShowPosition", _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
},
6694 { "wxTextCtrl_SetValue", _wrap_wxTextCtrl_SetValue
, METH_VARARGS
},
6695 { "wxTextCtrl_SetSelection", _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
},
6696 { "wxTextCtrl_SetInsertionPointEnd", _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
},
6697 { "wxTextCtrl_SetInsertionPoint", _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
},
6698 { "wxTextCtrl_SetEditable", _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
},
6699 { "wxTextCtrl_SaveFile", _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
},
6700 { "wxTextCtrl_Replace", _wrap_wxTextCtrl_Replace
, METH_VARARGS
},
6701 { "wxTextCtrl_Remove", _wrap_wxTextCtrl_Remove
, METH_VARARGS
},
6702 { "wxTextCtrl_PositionToXY", _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
},
6703 { "wxTextCtrl_Paste", _wrap_wxTextCtrl_Paste
, METH_VARARGS
},
6704 { "wxTextCtrl_LoadFile", _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
},
6705 { "wxTextCtrl_IsModified", _wrap_wxTextCtrl_IsModified
, METH_VARARGS
},
6706 { "wxTextCtrl_GetValue", _wrap_wxTextCtrl_GetValue
, METH_VARARGS
},
6707 { "wxTextCtrl_GetNumberOfLines", _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
},
6708 { "wxTextCtrl_GetLineText", _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
},
6709 { "wxTextCtrl_GetLineLength", _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
},
6710 { "wxTextCtrl_GetLastPosition", _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
},
6711 { "wxTextCtrl_GetInsertionPoint", _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
},
6712 { "wxTextCtrl_DiscardEdits", _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
},
6713 { "wxTextCtrl_Cut", _wrap_wxTextCtrl_Cut
, METH_VARARGS
},
6714 { "wxTextCtrl_Copy", _wrap_wxTextCtrl_Copy
, METH_VARARGS
},
6715 { "wxTextCtrl_Clear", _wrap_wxTextCtrl_Clear
, METH_VARARGS
},
6716 { "new_wxTextCtrl", _wrap_new_wxTextCtrl
, METH_VARARGS
},
6717 { "wxCheckListBox_GetItemHeight", _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
},
6718 { "wxCheckListBox_Check", _wrap_wxCheckListBox_Check
, METH_VARARGS
},
6719 { "wxCheckListBox_IsChecked", _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
},
6720 { "new_wxCheckListBox", _wrap_new_wxCheckListBox
, METH_VARARGS
},
6721 { "wxListBox_SetStringSelection", _wrap_wxListBox_SetStringSelection
, METH_VARARGS
},
6722 { "wxListBox_SetString", _wrap_wxListBox_SetString
, METH_VARARGS
},
6723 { "wxListBox_SetSelection", _wrap_wxListBox_SetSelection
, METH_VARARGS
},
6724 { "wxListBox_SetFirstItemStr", _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
},
6725 { "wxListBox_SetFirstItem", _wrap_wxListBox_SetFirstItem
, METH_VARARGS
},
6726 { "wxListBox_Set", _wrap_wxListBox_Set
, METH_VARARGS
},
6727 { "wxListBox_Selected", _wrap_wxListBox_Selected
, METH_VARARGS
},
6728 { "wxListBox_Number", _wrap_wxListBox_Number
, METH_VARARGS
},
6729 { "wxListBox_GetStringSelection", _wrap_wxListBox_GetStringSelection
, METH_VARARGS
},
6730 { "wxListBox_GetString", _wrap_wxListBox_GetString
, METH_VARARGS
},
6731 { "wxListBox_GetSelections", _wrap_wxListBox_GetSelections
, METH_VARARGS
},
6732 { "wxListBox_GetSelection", _wrap_wxListBox_GetSelection
, METH_VARARGS
},
6733 { "wxListBox_FindString", _wrap_wxListBox_FindString
, METH_VARARGS
},
6734 { "wxListBox_Deselect", _wrap_wxListBox_Deselect
, METH_VARARGS
},
6735 { "wxListBox_Delete", _wrap_wxListBox_Delete
, METH_VARARGS
},
6736 { "wxListBox_Clear", _wrap_wxListBox_Clear
, METH_VARARGS
},
6737 { "wxListBox_Append", _wrap_wxListBox_Append
, METH_VARARGS
},
6738 { "new_wxListBox", _wrap_new_wxListBox
, METH_VARARGS
},
6739 { "wxStaticText_SetLabel", _wrap_wxStaticText_SetLabel
, METH_VARARGS
},
6740 { "wxStaticText_GetLabel", _wrap_wxStaticText_GetLabel
, METH_VARARGS
},
6741 { "new_wxStaticText", _wrap_new_wxStaticText
, METH_VARARGS
},
6742 { "new_wxStaticLine", _wrap_new_wxStaticLine
, METH_VARARGS
},
6743 { "new_wxStaticBox", _wrap_new_wxStaticBox
, METH_VARARGS
},
6744 { "wxGauge_SetValue", _wrap_wxGauge_SetValue
, METH_VARARGS
},
6745 { "wxGauge_SetShadowWidth", _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
},
6746 { "wxGauge_SetRange", _wrap_wxGauge_SetRange
, METH_VARARGS
},
6747 { "wxGauge_SetBezelFace", _wrap_wxGauge_SetBezelFace
, METH_VARARGS
},
6748 { "wxGauge_GetValue", _wrap_wxGauge_GetValue
, METH_VARARGS
},
6749 { "wxGauge_GetShadowWidth", _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
},
6750 { "wxGauge_GetRange", _wrap_wxGauge_GetRange
, METH_VARARGS
},
6751 { "wxGauge_GetBezelFace", _wrap_wxGauge_GetBezelFace
, METH_VARARGS
},
6752 { "new_wxGauge", _wrap_new_wxGauge
, METH_VARARGS
},
6753 { "wxComboBox_SetValue", _wrap_wxComboBox_SetValue
, METH_VARARGS
},
6754 { "wxComboBox_SetMark", _wrap_wxComboBox_SetMark
, METH_VARARGS
},
6755 { "wxComboBox_SetSelection", _wrap_wxComboBox_SetSelection
, METH_VARARGS
},
6756 { "wxComboBox_SetInsertionPointEnd", _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
},
6757 { "wxComboBox_SetInsertionPoint", _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
},
6758 { "wxComboBox_Remove", _wrap_wxComboBox_Remove
, METH_VARARGS
},
6759 { "wxComboBox_Replace", _wrap_wxComboBox_Replace
, METH_VARARGS
},
6760 { "wxComboBox_Paste", _wrap_wxComboBox_Paste
, METH_VARARGS
},
6761 { "wxComboBox_Number", _wrap_wxComboBox_Number
, METH_VARARGS
},
6762 { "wxComboBox_GetValue", _wrap_wxComboBox_GetValue
, METH_VARARGS
},
6763 { "wxComboBox_GetStringSelection", _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
},
6764 { "wxComboBox_GetString", _wrap_wxComboBox_GetString
, METH_VARARGS
},
6765 { "wxComboBox_GetSelection", _wrap_wxComboBox_GetSelection
, METH_VARARGS
},
6766 { "wxComboBox_GetLastPosition", _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
},
6767 { "wxComboBox_GetInsertionPoint", _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
},
6768 { "wxComboBox_FindString", _wrap_wxComboBox_FindString
, METH_VARARGS
},
6769 { "wxComboBox_Delete", _wrap_wxComboBox_Delete
, METH_VARARGS
},
6770 { "wxComboBox_Cut", _wrap_wxComboBox_Cut
, METH_VARARGS
},
6771 { "wxComboBox_Copy", _wrap_wxComboBox_Copy
, METH_VARARGS
},
6772 { "wxComboBox_Clear", _wrap_wxComboBox_Clear
, METH_VARARGS
},
6773 { "wxComboBox_Append", _wrap_wxComboBox_Append
, METH_VARARGS
},
6774 { "new_wxComboBox", _wrap_new_wxComboBox
, METH_VARARGS
},
6775 { "wxChoice_SetStringSelection", _wrap_wxChoice_SetStringSelection
, METH_VARARGS
},
6776 { "wxChoice_SetSelection", _wrap_wxChoice_SetSelection
, METH_VARARGS
},
6777 { "wxChoice_SetColumns", _wrap_wxChoice_SetColumns
, METH_VARARGS
},
6778 { "wxChoice_Number", _wrap_wxChoice_Number
, METH_VARARGS
},
6779 { "wxChoice_GetStringSelection", _wrap_wxChoice_GetStringSelection
, METH_VARARGS
},
6780 { "wxChoice_GetString", _wrap_wxChoice_GetString
, METH_VARARGS
},
6781 { "wxChoice_GetSelection", _wrap_wxChoice_GetSelection
, METH_VARARGS
},
6782 { "wxChoice_GetColumns", _wrap_wxChoice_GetColumns
, METH_VARARGS
},
6783 { "wxChoice_FindString", _wrap_wxChoice_FindString
, METH_VARARGS
},
6784 { "wxChoice_Clear", _wrap_wxChoice_Clear
, METH_VARARGS
},
6785 { "wxChoice_Append", _wrap_wxChoice_Append
, METH_VARARGS
},
6786 { "new_wxChoice", _wrap_new_wxChoice
, METH_VARARGS
},
6787 { "wxCheckBox_SetValue", _wrap_wxCheckBox_SetValue
, METH_VARARGS
},
6788 { "wxCheckBox_GetValue", _wrap_wxCheckBox_GetValue
, METH_VARARGS
},
6789 { "new_wxCheckBox", _wrap_new_wxCheckBox
, METH_VARARGS
},
6790 { "wxBitmapButton_SetBitmapLabel", _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
},
6791 { "wxBitmapButton_SetBitmapSelected", _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
},
6792 { "wxBitmapButton_SetBitmapFocus", _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
},
6793 { "wxBitmapButton_SetBitmapDisabled", _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
},
6794 { "wxBitmapButton_GetBitmapSelected", _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
},
6795 { "wxBitmapButton_GetBitmapFocus", _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
},
6796 { "wxBitmapButton_GetBitmapDisabled", _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
},
6797 { "wxBitmapButton_GetBitmapLabel", _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
},
6798 { "new_wxBitmapButton", _wrap_new_wxBitmapButton
, METH_VARARGS
},
6799 { "wxButton_SetDefault", _wrap_wxButton_SetDefault
, METH_VARARGS
},
6800 { "new_wxButton", _wrap_new_wxButton
, METH_VARARGS
},
6801 { "wxControl_SetLabel", _wrap_wxControl_SetLabel
, METH_VARARGS
},
6802 { "wxControl_GetLabel", _wrap_wxControl_GetLabel
, METH_VARARGS
},
6803 { "wxControl_Command", _wrap_wxControl_Command
, METH_VARARGS
},
6810 * This table is used by the pointer type-checker
6812 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6813 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6814 { "_wxEvent","_class_wxEvent",0},
6815 { "_class_wxActivateEvent","_wxActivateEvent",0},
6816 { "_signed_long","_long",0},
6817 { "_wxMenuEvent","_class_wxMenuEvent",0},
6818 { "_wxPrintQuality","_int",0},
6819 { "_wxPrintQuality","_signed_int",0},
6820 { "_wxPrintQuality","_unsigned_int",0},
6821 { "_wxPrintQuality","_wxWindowID",0},
6822 { "_wxPrintQuality","_uint",0},
6823 { "_wxPrintQuality","_EBool",0},
6824 { "_wxPrintQuality","_size_t",0},
6825 { "_class_wxRegionIterator","_wxRegionIterator",0},
6826 { "_class_wxMenuBar","_wxMenuBar",0},
6827 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
6828 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
6829 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
6830 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
6831 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
6832 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
6833 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
6834 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
6835 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
6836 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
6837 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
6838 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
6839 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
6840 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
6841 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
6842 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
6843 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
6844 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
6845 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
6846 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
6847 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
6848 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
6849 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
6850 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
6851 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
6852 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
6853 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
6854 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
6855 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
6856 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
6857 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
6858 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
6859 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
6860 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
6861 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
6862 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
6863 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
6864 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
6865 { "_class_wxEvtHandler","_wxEvtHandler",0},
6866 { "_wxPaintEvent","_class_wxPaintEvent",0},
6867 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6868 { "_wxCursor","_class_wxCursor",0},
6869 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6870 { "_wxMask","_class_wxMask",0},
6871 { "_wxPen","_class_wxPen",0},
6872 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6873 { "_byte","_unsigned_char",0},
6874 { "_wxStaticBox","_class_wxStaticBox",0},
6875 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
6876 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
6877 { "_wxChoice","_class_wxChoice",0},
6878 { "_wxSlider","_class_wxSlider",0},
6879 { "_long","_wxDash",0},
6880 { "_long","_unsigned_long",0},
6881 { "_long","_signed_long",0},
6882 { "_wxImageList","_class_wxImageList",0},
6883 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6884 { "_wxBitmapButton","_class_wxBitmapButton",0},
6885 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6886 { "_class_wxGauge","_wxGauge",0},
6887 { "_wxDC","_class_wxDC",0},
6888 { "_wxSpinEvent","_class_wxSpinEvent",0},
6889 { "_size_t","_wxPrintQuality",0},
6890 { "_size_t","_unsigned_int",0},
6891 { "_size_t","_int",0},
6892 { "_size_t","_wxWindowID",0},
6893 { "_size_t","_uint",0},
6894 { "_class_wxRealPoint","_wxRealPoint",0},
6895 { "_wxPrinterDC","_class_wxPrinterDC",0},
6896 { "_class_wxMenuItem","_wxMenuItem",0},
6897 { "_class_wxPaintEvent","_wxPaintEvent",0},
6898 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6899 { "_wxPanel","_class_wxPanel",0},
6900 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6901 { "_wxCheckBox","_class_wxCheckBox",0},
6902 { "_wxPyEvent","_class_wxPyEvent",0},
6903 { "_wxTextCtrl","_class_wxTextCtrl",0},
6904 { "_class_wxMask","_wxMask",0},
6905 { "_class_wxKeyEvent","_wxKeyEvent",0},
6906 { "_wxColour","_class_wxColour",0},
6907 { "_class_wxDialog","_wxDialog",0},
6908 { "_wxIdleEvent","_class_wxIdleEvent",0},
6909 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6910 { "_wxStaticLine","_class_wxStaticLine",0},
6911 { "_wxBrush","_class_wxBrush",0},
6912 { "_wxShowEvent","_class_wxShowEvent",0},
6913 { "_uint","_wxPrintQuality",0},
6914 { "_uint","_size_t",0},
6915 { "_uint","_unsigned_int",0},
6916 { "_uint","_int",0},
6917 { "_uint","_wxWindowID",0},
6918 { "_class_wxEvent","_wxEvent",0},
6919 { "_wxCheckListBox","_class_wxCheckListBox",0},
6920 { "_wxRect","_class_wxRect",0},
6921 { "_wxCommandEvent","_class_wxCommandEvent",0},
6922 { "_wxSizeEvent","_class_wxSizeEvent",0},
6923 { "_wxPoint","_class_wxPoint",0},
6924 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
6925 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
6926 { "_class_wxButton","_wxButton",0},
6927 { "_wxRadioBox","_class_wxRadioBox",0},
6928 { "_wxBitmap","_class_wxBitmap",0},
6929 { "_wxPyTimer","_class_wxPyTimer",0},
6930 { "_wxWindowDC","_class_wxWindowDC",0},
6931 { "_wxScrollBar","_class_wxScrollBar",0},
6932 { "_wxSpinButton","_class_wxSpinButton",0},
6933 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6934 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6935 { "_class_wxPyEvent","_wxPyEvent",0},
6936 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6937 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
6938 { "_class_wxStaticLine","_wxStaticLine",0},
6939 { "_wxScrollEvent","_class_wxScrollEvent",0},
6940 { "_EBool","_wxPrintQuality",0},
6941 { "_EBool","_signed_int",0},
6942 { "_EBool","_int",0},
6943 { "_EBool","_wxWindowID",0},
6944 { "_class_wxRegion","_wxRegion",0},
6945 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6946 { "_wxStaticText","_class_wxStaticText",0},
6947 { "_wxFont","_class_wxFont",0},
6948 { "_wxCloseEvent","_class_wxCloseEvent",0},
6949 { "_unsigned_long","_wxDash",0},
6950 { "_unsigned_long","_long",0},
6951 { "_class_wxRect","_wxRect",0},
6952 { "_class_wxDC","_wxDC",0},
6953 { "_class_wxPyTimer","_wxPyTimer",0},
6954 { "_wxFocusEvent","_class_wxFocusEvent",0},
6955 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6956 { "_class_wxSpinButton","_wxSpinButton",0},
6957 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6958 { "_class_wxPanel","_wxPanel",0},
6959 { "_class_wxCheckBox","_wxCheckBox",0},
6960 { "_wxComboBox","_class_wxComboBox",0},
6961 { "_wxRadioButton","_class_wxRadioButton",0},
6962 { "_signed_int","_wxPrintQuality",0},
6963 { "_signed_int","_EBool",0},
6964 { "_signed_int","_wxWindowID",0},
6965 { "_signed_int","_int",0},
6966 { "_class_wxTextCtrl","_wxTextCtrl",0},
6967 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6968 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6969 { "_wxMenu","_class_wxMenu",0},
6970 { "_class_wxMoveEvent","_wxMoveEvent",0},
6971 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
6972 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
6973 { "_wxListBox","_class_wxListBox",0},
6974 { "_wxScreenDC","_class_wxScreenDC",0},
6975 { "_WXTYPE","_short",0},
6976 { "_WXTYPE","_signed_short",0},
6977 { "_WXTYPE","_unsigned_short",0},
6978 { "_class_wxBrush","_wxBrush",0},
6979 { "_unsigned_short","_WXTYPE",0},
6980 { "_unsigned_short","_short",0},
6981 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
6982 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
6983 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
6984 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
6985 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
6986 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
6987 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
6988 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
6989 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
6990 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
6991 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
6992 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
6993 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
6994 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
6995 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
6996 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
6997 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
6998 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
6999 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
7000 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
7001 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
7002 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
7003 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7004 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7005 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
7006 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
7007 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
7008 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
7009 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
7010 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
7011 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7012 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7013 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7014 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7015 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
7016 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
7017 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
7018 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
7019 { "_class_wxWindow","_wxWindow",0},
7020 { "_class_wxStaticText","_wxStaticText",0},
7021 { "_class_wxFont","_wxFont",0},
7022 { "_class_wxCloseEvent","_wxCloseEvent",0},
7023 { "_class_wxMenuEvent","_wxMenuEvent",0},
7024 { "_wxClientDC","_class_wxClientDC",0},
7025 { "_wxMouseEvent","_class_wxMouseEvent",0},
7026 { "_class_wxPoint","_wxPoint",0},
7027 { "_wxRealPoint","_class_wxRealPoint",0},
7028 { "_class_wxRadioBox","_wxRadioBox",0},
7029 { "_signed_short","_WXTYPE",0},
7030 { "_signed_short","_short",0},
7031 { "_wxMemoryDC","_class_wxMemoryDC",0},
7032 { "_wxPaintDC","_class_wxPaintDC",0},
7033 { "_class_wxWindowDC","_wxWindowDC",0},
7034 { "_class_wxFocusEvent","_wxFocusEvent",0},
7035 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7036 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7037 { "_class_wxCursor","_wxCursor",0},
7038 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7039 { "_unsigned_char","_byte",0},
7040 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7041 { "_class_wxMenu","_wxMenu",0},
7042 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
7043 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
7044 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
7045 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
7046 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
7047 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
7048 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7049 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7050 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
7051 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
7052 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
7053 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
7054 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7055 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7056 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7057 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7058 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
7059 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
7060 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
7061 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
7062 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
7063 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
7064 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
7065 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
7066 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
7067 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
7068 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
7069 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
7070 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
7071 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
7072 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
7073 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
7074 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7075 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7076 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
7077 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
7078 { "_wxControl","_class_wxControl",0},
7079 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7080 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7081 { "_class_wxListBox","_wxListBox",0},
7082 { "_unsigned_int","_wxPrintQuality",0},
7083 { "_unsigned_int","_size_t",0},
7084 { "_unsigned_int","_uint",0},
7085 { "_unsigned_int","_wxWindowID",0},
7086 { "_unsigned_int","_int",0},
7087 { "_wxIcon","_class_wxIcon",0},
7088 { "_wxDialog","_class_wxDialog",0},
7089 { "_class_wxPen","_wxPen",0},
7090 { "_short","_WXTYPE",0},
7091 { "_short","_unsigned_short",0},
7092 { "_short","_signed_short",0},
7093 { "_class_wxStaticBox","_wxStaticBox",0},
7094 { "_class_wxScrollEvent","_wxScrollEvent",0},
7095 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7096 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
7097 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
7098 { "_class_wxChoice","_wxChoice",0},
7099 { "_class_wxSlider","_wxSlider",0},
7100 { "_class_wxImageList","_wxImageList",0},
7101 { "_class_wxBitmapButton","_wxBitmapButton",0},
7102 { "_wxWindowID","_wxPrintQuality",0},
7103 { "_wxWindowID","_size_t",0},
7104 { "_wxWindowID","_EBool",0},
7105 { "_wxWindowID","_uint",0},
7106 { "_wxWindowID","_int",0},
7107 { "_wxWindowID","_signed_int",0},
7108 { "_wxWindowID","_unsigned_int",0},
7109 { "_int","_wxPrintQuality",0},
7110 { "_int","_size_t",0},
7111 { "_int","_EBool",0},
7112 { "_int","_uint",0},
7113 { "_int","_wxWindowID",0},
7114 { "_int","_unsigned_int",0},
7115 { "_int","_signed_int",0},
7116 { "_class_wxMouseEvent","_wxMouseEvent",0},
7117 { "_class_wxSpinEvent","_wxSpinEvent",0},
7118 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7119 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7120 { "_wxButton","_class_wxButton",0},
7121 { "_wxSize","_class_wxSize",0},
7122 { "_wxRegionIterator","_class_wxRegionIterator",0},
7123 { "_class_wxPrinterDC","_wxPrinterDC",0},
7124 { "_class_wxPaintDC","_wxPaintDC",0},
7125 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7126 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7127 { "_class_wxComboBox","_wxComboBox",0},
7128 { "_class_wxRadioButton","_wxRadioButton",0},
7129 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7130 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7131 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
7132 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
7133 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
7134 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
7135 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
7136 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
7137 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7138 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7139 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
7140 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
7141 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
7142 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
7143 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7144 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7145 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7146 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7147 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
7148 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
7149 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
7150 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
7151 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
7152 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
7153 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
7154 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
7155 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
7156 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
7157 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
7158 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
7159 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
7160 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
7161 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
7162 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
7163 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7164 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7165 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
7166 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
7167 { "_class_wxControl","_wxControl",0},
7168 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
7169 { "_class_wxIcon","_wxIcon",0},
7170 { "_class_wxColour","_wxColour",0},
7171 { "_class_wxScreenDC","_wxScreenDC",0},
7172 { "_wxPalette","_class_wxPalette",0},
7173 { "_class_wxIdleEvent","_wxIdleEvent",0},
7174 { "_wxEraseEvent","_class_wxEraseEvent",0},
7175 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7176 { "_wxRegion","_class_wxRegion",0},
7177 { "_class_wxShowEvent","_wxShowEvent",0},
7178 { "_wxActivateEvent","_class_wxActivateEvent",0},
7179 { "_wxGauge","_class_wxGauge",0},
7180 { "_class_wxCheckListBox","_wxCheckListBox",0},
7181 { "_class_wxCommandEvent","_wxCommandEvent",0},
7182 { "_class_wxClientDC","_wxClientDC",0},
7183 { "_class_wxSizeEvent","_wxSizeEvent",0},
7184 { "_class_wxSize","_wxSize",0},
7185 { "_class_wxBitmap","_wxBitmap",0},
7186 { "_class_wxMemoryDC","_wxMemoryDC",0},
7187 { "_wxMenuBar","_class_wxMenuBar",0},
7188 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
7189 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
7190 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7191 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7192 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7193 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7194 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7195 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7196 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7197 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7198 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7199 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7200 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7201 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7202 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7203 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7204 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
7205 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
7206 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7207 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7208 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7209 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7210 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7211 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7212 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
7213 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
7214 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7215 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7216 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
7217 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
7218 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7219 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7220 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7221 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7222 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
7223 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
7224 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
7225 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
7226 { "_wxEvtHandler","_class_wxEvtHandler",0},
7227 { "_wxMenuItem","_class_wxMenuItem",0},
7228 { "_class_wxScrollBar","_wxScrollBar",0},
7229 { "_wxDash","_unsigned_long",0},
7230 { "_wxDash","_long",0},
7231 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7232 { "_wxKeyEvent","_class_wxKeyEvent",0},
7233 { "_wxMoveEvent","_class_wxMoveEvent",0},
7234 { "_class_wxPalette","_wxPalette",0},
7235 { "_class_wxEraseEvent","_wxEraseEvent",0},
7236 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
7237 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
7238 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7239 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7240 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7241 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7242 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7243 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7244 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7245 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7246 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
7247 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
7248 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7249 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7250 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7251 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7252 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
7253 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
7254 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
7255 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
7256 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
7257 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
7258 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7259 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7260 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
7261 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
7262 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
7263 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
7264 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
7265 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
7266 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7267 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7268 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7269 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7270 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
7271 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
7272 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
7273 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
7274 { "_wxWindow","_class_wxWindow",0},
7277 static PyObject
*SWIG_globals
;
7281 SWIGEXPORT(void) initcontrolsc() {
7283 SWIG_globals
= SWIG_newvarlink();
7284 m
= Py_InitModule("controlsc", controlscMethods
);
7285 d
= PyModule_GetDict(m
);
7288 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7289 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);