2 * FILE : msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initcontrolsc
54 #define SWIG_name "controlsc"
57 #include <wx/slider.h>
58 #include <wx/spinbutt.h>
59 #include <wx/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
);
120 static char* wxStringErrorMsg
= "string type is required for parameter";
122 wxValidator wxPyDefaultValidator
; // Non-const default because of SWIG
126 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
128 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
132 static PyObject
*_wrap_wxDefaultValidator_get() {
136 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
137 pyobj
= PyString_FromString(ptemp
);
141 static void *SwigwxControlTowxWindow(void *ptr
) {
144 src
= (wxControl
*) ptr
;
145 dest
= (wxWindow
*) src
;
146 return (void *) dest
;
149 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
152 src
= (wxControl
*) ptr
;
153 dest
= (wxEvtHandler
*) src
;
154 return (void *) dest
;
157 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
158 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
159 PyObject
* _resultobj
;
161 wxCommandEvent
* _arg1
;
162 PyObject
* _argo0
= 0;
163 PyObject
* _argo1
= 0;
164 char *_kwnames
[] = { "self","event", NULL
};
167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
184 wxPy_BEGIN_ALLOW_THREADS
;
185 wxControl_Command(_arg0
,*_arg1
);
187 wxPy_END_ALLOW_THREADS
;
188 } Py_INCREF(Py_None
);
189 _resultobj
= Py_None
;
193 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
194 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
195 PyObject
* _resultobj
;
198 PyObject
* _argo0
= 0;
199 char *_kwnames
[] = { "self", NULL
};
202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
212 wxPy_BEGIN_ALLOW_THREADS
;
213 _result
= new wxString (wxControl_GetLabel(_arg0
));
215 wxPy_END_ALLOW_THREADS
;
217 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
225 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
226 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
227 PyObject
* _resultobj
;
230 PyObject
* _argo0
= 0;
231 PyObject
* _obj1
= 0;
232 char *_kwnames
[] = { "self","label", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
245 if (!PyString_Check(_obj1
)) {
246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
249 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
252 wxPy_BEGIN_ALLOW_THREADS
;
253 wxControl_SetLabel(_arg0
,*_arg1
);
255 wxPy_END_ALLOW_THREADS
;
256 } Py_INCREF(Py_None
);
257 _resultobj
= Py_None
;
265 static void *SwigwxButtonTowxControl(void *ptr
) {
268 src
= (wxButton
*) ptr
;
269 dest
= (wxControl
*) src
;
270 return (void *) dest
;
273 static void *SwigwxButtonTowxWindow(void *ptr
) {
276 src
= (wxButton
*) ptr
;
277 dest
= (wxWindow
*) src
;
278 return (void *) dest
;
281 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
284 src
= (wxButton
*) ptr
;
285 dest
= (wxEvtHandler
*) src
;
286 return (void *) dest
;
289 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
290 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
291 PyObject
* _resultobj
;
296 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
297 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
298 long _arg5
= (long ) 0;
299 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
300 char * _arg7
= (char *) "button";
301 PyObject
* _argo0
= 0;
302 PyObject
* _obj2
= 0;
304 PyObject
* _obj3
= 0;
306 PyObject
* _obj4
= 0;
307 PyObject
* _argo6
= 0;
308 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
322 if (!PyString_Check(_obj2
)) {
323 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
326 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
331 if (! wxPoint_helper(_obj3
, &_arg3
))
337 if (! wxSize_helper(_obj4
, &_arg4
))
341 if (_argo6
== Py_None
) { _arg6
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
348 wxPy_BEGIN_ALLOW_THREADS
;
349 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
351 wxPy_END_ALLOW_THREADS
;
353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
354 _resultobj
= Py_BuildValue("s",_ptemp
);
357 _resultobj
= Py_None
;
366 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
367 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
368 PyObject
* _resultobj
;
370 PyObject
* _argo0
= 0;
371 char *_kwnames
[] = { "self", NULL
};
374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
384 wxPy_BEGIN_ALLOW_THREADS
;
385 wxButton_SetDefault(_arg0
);
387 wxPy_END_ALLOW_THREADS
;
388 } Py_INCREF(Py_None
);
389 _resultobj
= Py_None
;
393 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
396 src
= (wxBitmapButton
*) ptr
;
397 dest
= (wxButton
*) src
;
398 return (void *) dest
;
401 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
404 src
= (wxBitmapButton
*) ptr
;
405 dest
= (wxControl
*) src
;
406 return (void *) dest
;
409 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
412 src
= (wxBitmapButton
*) ptr
;
413 dest
= (wxWindow
*) src
;
414 return (void *) dest
;
417 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
420 src
= (wxBitmapButton
*) ptr
;
421 dest
= (wxEvtHandler
*) src
;
422 return (void *) dest
;
425 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
426 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
427 PyObject
* _resultobj
;
428 wxBitmapButton
* _result
;
432 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
433 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
434 long _arg5
= (long ) wxBU_AUTODRAW
;
435 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
436 char * _arg7
= (char *) "button";
437 PyObject
* _argo0
= 0;
438 PyObject
* _argo2
= 0;
440 PyObject
* _obj3
= 0;
442 PyObject
* _obj4
= 0;
443 PyObject
* _argo6
= 0;
444 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
458 if (_argo2
== Py_None
) { _arg2
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
467 if (! wxPoint_helper(_obj3
, &_arg3
))
473 if (! wxSize_helper(_obj4
, &_arg4
))
477 if (_argo6
== Py_None
) { _arg6
= NULL
; }
478 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
484 wxPy_BEGIN_ALLOW_THREADS
;
485 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
487 wxPy_END_ALLOW_THREADS
;
489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
490 _resultobj
= Py_BuildValue("s",_ptemp
);
493 _resultobj
= Py_None
;
498 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
499 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
502 wxBitmapButton
* _arg0
;
503 PyObject
* _argo0
= 0;
504 char *_kwnames
[] = { "self", NULL
};
508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
518 wxPy_BEGIN_ALLOW_THREADS
;
519 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
520 _result
= (wxBitmap
*) &_result_ref
;
522 wxPy_END_ALLOW_THREADS
;
524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
525 _resultobj
= Py_BuildValue("s",_ptemp
);
528 _resultobj
= Py_None
;
533 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
534 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
537 wxBitmapButton
* _arg0
;
538 PyObject
* _argo0
= 0;
539 char *_kwnames
[] = { "self", NULL
};
543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
553 wxPy_BEGIN_ALLOW_THREADS
;
554 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
555 _result
= (wxBitmap
*) &_result_ref
;
557 wxPy_END_ALLOW_THREADS
;
559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
560 _resultobj
= Py_BuildValue("s",_ptemp
);
563 _resultobj
= Py_None
;
568 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
569 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
570 PyObject
* _resultobj
;
572 wxBitmapButton
* _arg0
;
573 PyObject
* _argo0
= 0;
574 char *_kwnames
[] = { "self", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
588 wxPy_BEGIN_ALLOW_THREADS
;
589 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
590 _result
= (wxBitmap
*) &_result_ref
;
592 wxPy_END_ALLOW_THREADS
;
594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
595 _resultobj
= Py_BuildValue("s",_ptemp
);
598 _resultobj
= Py_None
;
603 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
604 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
605 PyObject
* _resultobj
;
607 wxBitmapButton
* _arg0
;
608 PyObject
* _argo0
= 0;
609 char *_kwnames
[] = { "self", NULL
};
613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
623 wxPy_BEGIN_ALLOW_THREADS
;
624 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
625 _result
= (wxBitmap
*) &_result_ref
;
627 wxPy_END_ALLOW_THREADS
;
629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
630 _resultobj
= Py_BuildValue("s",_ptemp
);
633 _resultobj
= Py_None
;
638 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
639 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
640 PyObject
* _resultobj
;
641 wxBitmapButton
* _arg0
;
643 PyObject
* _argo0
= 0;
644 PyObject
* _argo1
= 0;
645 char *_kwnames
[] = { "self","bitmap", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
665 wxPy_BEGIN_ALLOW_THREADS
;
666 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
668 wxPy_END_ALLOW_THREADS
;
669 } Py_INCREF(Py_None
);
670 _resultobj
= Py_None
;
674 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
675 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
676 PyObject
* _resultobj
;
677 wxBitmapButton
* _arg0
;
679 PyObject
* _argo0
= 0;
680 PyObject
* _argo1
= 0;
681 char *_kwnames
[] = { "self","bitmap", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
701 wxPy_BEGIN_ALLOW_THREADS
;
702 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
704 wxPy_END_ALLOW_THREADS
;
705 } Py_INCREF(Py_None
);
706 _resultobj
= Py_None
;
710 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
711 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
712 PyObject
* _resultobj
;
713 wxBitmapButton
* _arg0
;
715 PyObject
* _argo0
= 0;
716 PyObject
* _argo1
= 0;
717 char *_kwnames
[] = { "self","bitmap", NULL
};
720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
737 wxPy_BEGIN_ALLOW_THREADS
;
738 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
740 wxPy_END_ALLOW_THREADS
;
741 } Py_INCREF(Py_None
);
742 _resultobj
= Py_None
;
746 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
747 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
748 PyObject
* _resultobj
;
749 wxBitmapButton
* _arg0
;
751 PyObject
* _argo0
= 0;
752 PyObject
* _argo1
= 0;
753 char *_kwnames
[] = { "self","bitmap", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
766 if (_argo1
== Py_None
) { _arg1
= NULL
; }
767 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
773 wxPy_BEGIN_ALLOW_THREADS
;
774 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
776 wxPy_END_ALLOW_THREADS
;
777 } Py_INCREF(Py_None
);
778 _resultobj
= Py_None
;
782 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
785 src
= (wxCheckBox
*) ptr
;
786 dest
= (wxControl
*) src
;
787 return (void *) dest
;
790 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
793 src
= (wxCheckBox
*) ptr
;
794 dest
= (wxWindow
*) src
;
795 return (void *) dest
;
798 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
801 src
= (wxCheckBox
*) ptr
;
802 dest
= (wxEvtHandler
*) src
;
803 return (void *) dest
;
806 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
807 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
809 wxCheckBox
* _result
;
813 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
814 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
815 long _arg5
= (long ) 0;
816 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
817 char * _arg7
= (char *) "checkBox";
818 PyObject
* _argo0
= 0;
819 PyObject
* _obj2
= 0;
821 PyObject
* _obj3
= 0;
823 PyObject
* _obj4
= 0;
824 PyObject
* _argo6
= 0;
825 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
839 if (!PyString_Check(_obj2
)) {
840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
843 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
848 if (! wxPoint_helper(_obj3
, &_arg3
))
854 if (! wxSize_helper(_obj4
, &_arg4
))
858 if (_argo6
== Py_None
) { _arg6
= NULL
; }
859 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
865 wxPy_BEGIN_ALLOW_THREADS
;
866 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
868 wxPy_END_ALLOW_THREADS
;
870 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
871 _resultobj
= Py_BuildValue("s",_ptemp
);
874 _resultobj
= Py_None
;
883 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
884 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
885 PyObject
* _resultobj
;
888 PyObject
* _argo0
= 0;
889 char *_kwnames
[] = { "self", NULL
};
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= (bool )wxCheckBox_GetValue(_arg0
);
905 wxPy_END_ALLOW_THREADS
;
906 } _resultobj
= Py_BuildValue("i",_result
);
910 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
911 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
912 PyObject
* _resultobj
;
915 PyObject
* _argo0
= 0;
917 char *_kwnames
[] = { "self","state", NULL
};
920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
929 _arg1
= (bool ) tempbool1
;
931 wxPy_BEGIN_ALLOW_THREADS
;
932 wxCheckBox_SetValue(_arg0
,_arg1
);
934 wxPy_END_ALLOW_THREADS
;
935 } Py_INCREF(Py_None
);
936 _resultobj
= Py_None
;
940 static void *SwigwxChoiceTowxControl(void *ptr
) {
943 src
= (wxChoice
*) ptr
;
944 dest
= (wxControl
*) src
;
945 return (void *) dest
;
948 static void *SwigwxChoiceTowxWindow(void *ptr
) {
951 src
= (wxChoice
*) ptr
;
952 dest
= (wxWindow
*) src
;
953 return (void *) dest
;
956 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
959 src
= (wxChoice
*) ptr
;
960 dest
= (wxEvtHandler
*) src
;
961 return (void *) dest
;
964 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
965 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 PyObject
* _resultobj
;
970 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
971 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
972 int _arg4
= (int ) 0;
973 wxString
* _arg5
= (wxString
*) NULL
;
974 long _arg6
= (long ) 0;
975 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
976 char * _arg8
= (char *) "choice";
977 PyObject
* _argo0
= 0;
979 PyObject
* _obj2
= 0;
981 PyObject
* _obj3
= 0;
982 PyObject
* _obj5
= 0;
983 PyObject
* _argo7
= 0;
984 char *_kwnames
[] = { "parent","id","pos","size","LIST","style","validator","name", NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1000 if (! wxPoint_helper(_obj2
, &_arg2
))
1006 if (! wxSize_helper(_obj3
, &_arg3
))
1011 _arg5
= wxString_LIST_helper(_obj5
);
1012 if (_arg5
== NULL
) {
1017 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1018 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1025 _arg4
= PyList_Size(_obj5
);
1032 wxPy_BEGIN_ALLOW_THREADS
;
1033 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1035 wxPy_END_ALLOW_THREADS
;
1037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1038 _resultobj
= Py_BuildValue("s",_ptemp
);
1041 _resultobj
= Py_None
;
1049 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1050 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1054 PyObject
* _argo0
= 0;
1055 PyObject
* _obj1
= 0;
1056 char *_kwnames
[] = { "self","item", NULL
};
1059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1069 if (!PyString_Check(_obj1
)) {
1070 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1073 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1076 wxPy_BEGIN_ALLOW_THREADS
;
1077 wxChoice_Append(_arg0
,*_arg1
);
1079 wxPy_END_ALLOW_THREADS
;
1080 } Py_INCREF(Py_None
);
1081 _resultobj
= Py_None
;
1089 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1090 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1093 PyObject
* _argo0
= 0;
1094 char *_kwnames
[] = { "self", NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 wxChoice_Clear(_arg0
);
1110 wxPy_END_ALLOW_THREADS
;
1111 } Py_INCREF(Py_None
);
1112 _resultobj
= Py_None
;
1116 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1117 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1122 PyObject
* _argo0
= 0;
1123 PyObject
* _obj1
= 0;
1124 char *_kwnames
[] = { "self","string", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1137 if (!PyString_Check(_obj1
)) {
1138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1141 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1144 wxPy_BEGIN_ALLOW_THREADS
;
1145 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1147 wxPy_END_ALLOW_THREADS
;
1148 } _resultobj
= Py_BuildValue("i",_result
);
1156 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1157 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1161 PyObject
* _argo0
= 0;
1162 char *_kwnames
[] = { "self", NULL
};
1165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_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_GetColumns. Expected _wxChoice_p.");
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= (int )wxChoice_GetColumns(_arg0
);
1178 wxPy_END_ALLOW_THREADS
;
1179 } _resultobj
= Py_BuildValue("i",_result
);
1183 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1184 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1188 PyObject
* _argo0
= 0;
1189 char *_kwnames
[] = { "self", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
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_GetSelection. Expected _wxChoice_p.");
1202 wxPy_BEGIN_ALLOW_THREADS
;
1203 _result
= (int )wxChoice_GetSelection(_arg0
);
1205 wxPy_END_ALLOW_THREADS
;
1206 } _resultobj
= Py_BuildValue("i",_result
);
1210 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1211 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
* _resultobj
;
1216 PyObject
* _argo0
= 0;
1217 char *_kwnames
[] = { "self","n", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
1223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1230 wxPy_BEGIN_ALLOW_THREADS
;
1231 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1233 wxPy_END_ALLOW_THREADS
;
1235 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1243 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1244 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
* _resultobj
;
1248 PyObject
* _argo0
= 0;
1249 char *_kwnames
[] = { "self", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1262 wxPy_BEGIN_ALLOW_THREADS
;
1263 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1265 wxPy_END_ALLOW_THREADS
;
1267 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1275 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1276 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1280 PyObject
* _argo0
= 0;
1281 char *_kwnames
[] = { "self", NULL
};
1284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Number",_kwnames
,&_argo0
))
1287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1294 wxPy_BEGIN_ALLOW_THREADS
;
1295 _result
= (int )wxChoice_Number(_arg0
);
1297 wxPy_END_ALLOW_THREADS
;
1298 } _resultobj
= Py_BuildValue("i",_result
);
1302 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1303 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
* _resultobj
;
1306 int _arg1
= (int ) 1;
1307 PyObject
* _argo0
= 0;
1308 char *_kwnames
[] = { "self","n", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1321 wxPy_BEGIN_ALLOW_THREADS
;
1322 wxChoice_SetColumns(_arg0
,_arg1
);
1324 wxPy_END_ALLOW_THREADS
;
1325 } Py_INCREF(Py_None
);
1326 _resultobj
= Py_None
;
1330 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1331 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1335 PyObject
* _argo0
= 0;
1336 char *_kwnames
[] = { "self","n", NULL
};
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1349 wxPy_BEGIN_ALLOW_THREADS
;
1350 wxChoice_SetSelection(_arg0
,_arg1
);
1352 wxPy_END_ALLOW_THREADS
;
1353 } Py_INCREF(Py_None
);
1354 _resultobj
= Py_None
;
1358 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1359 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1360 PyObject
* _resultobj
;
1363 PyObject
* _argo0
= 0;
1364 PyObject
* _obj1
= 0;
1365 char *_kwnames
[] = { "self","string", NULL
};
1368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1378 if (!PyString_Check(_obj1
)) {
1379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1382 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1385 wxPy_BEGIN_ALLOW_THREADS
;
1386 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1388 wxPy_END_ALLOW_THREADS
;
1389 } Py_INCREF(Py_None
);
1390 _resultobj
= Py_None
;
1398 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1401 src
= (wxComboBox
*) ptr
;
1402 dest
= (wxChoice
*) src
;
1403 return (void *) dest
;
1406 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1409 src
= (wxComboBox
*) ptr
;
1410 dest
= (wxControl
*) src
;
1411 return (void *) dest
;
1414 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1417 src
= (wxComboBox
*) ptr
;
1418 dest
= (wxWindow
*) src
;
1419 return (void *) dest
;
1422 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1425 src
= (wxComboBox
*) ptr
;
1426 dest
= (wxEvtHandler
*) src
;
1427 return (void *) dest
;
1430 #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))
1431 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1433 wxComboBox
* _result
;
1436 char * _arg2
= (char *) "";
1437 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
1438 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
1439 int _arg5
= (int ) 0;
1440 wxString
* _arg6
= (wxString
*) NULL
;
1441 long _arg7
= (long ) 0;
1442 wxValidator
* _arg8
= (wxValidator
*) &wxPyDefaultValidator
;
1443 char * _arg9
= (char *) "comboBox";
1444 PyObject
* _argo0
= 0;
1446 PyObject
* _obj3
= 0;
1448 PyObject
* _obj4
= 0;
1449 PyObject
* _obj6
= 0;
1450 PyObject
* _argo8
= 0;
1451 char *_kwnames
[] = { "parent","id","value","pos","size","LIST","style","validator","name", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1467 if (! wxPoint_helper(_obj3
, &_arg3
))
1473 if (! wxSize_helper(_obj4
, &_arg4
))
1478 _arg6
= wxString_LIST_helper(_obj6
);
1479 if (_arg6
== NULL
) {
1484 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1492 _arg5
= PyList_Size(_obj6
);
1499 wxPy_BEGIN_ALLOW_THREADS
;
1500 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1502 wxPy_END_ALLOW_THREADS
;
1504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1505 _resultobj
= Py_BuildValue("s",_ptemp
);
1508 _resultobj
= Py_None
;
1516 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1517 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 PyObject
* _argo0
= 0;
1522 PyObject
* _obj1
= 0;
1523 char *_kwnames
[] = { "self","item", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1536 if (!PyString_Check(_obj1
)) {
1537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1540 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1543 wxPy_BEGIN_ALLOW_THREADS
;
1544 wxComboBox_Append(_arg0
,*_arg1
);
1546 wxPy_END_ALLOW_THREADS
;
1547 } Py_INCREF(Py_None
);
1548 _resultobj
= Py_None
;
1556 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1557 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 wxComboBox_Clear(_arg0
);
1577 wxPy_END_ALLOW_THREADS
;
1578 } Py_INCREF(Py_None
);
1579 _resultobj
= Py_None
;
1583 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1584 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1587 PyObject
* _argo0
= 0;
1588 char *_kwnames
[] = { "self", NULL
};
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
1594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1601 wxPy_BEGIN_ALLOW_THREADS
;
1602 wxComboBox_Copy(_arg0
);
1604 wxPy_END_ALLOW_THREADS
;
1605 } Py_INCREF(Py_None
);
1606 _resultobj
= Py_None
;
1610 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1611 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1614 PyObject
* _argo0
= 0;
1615 char *_kwnames
[] = { "self", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1628 wxPy_BEGIN_ALLOW_THREADS
;
1629 wxComboBox_Cut(_arg0
);
1631 wxPy_END_ALLOW_THREADS
;
1632 } Py_INCREF(Py_None
);
1633 _resultobj
= Py_None
;
1637 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1638 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1642 PyObject
* _argo0
= 0;
1643 char *_kwnames
[] = { "self","n", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
1649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1656 wxPy_BEGIN_ALLOW_THREADS
;
1657 wxComboBox_Delete(_arg0
,_arg1
);
1659 wxPy_END_ALLOW_THREADS
;
1660 } Py_INCREF(Py_None
);
1661 _resultobj
= Py_None
;
1665 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1666 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1671 PyObject
* _argo0
= 0;
1672 PyObject
* _obj1
= 0;
1673 char *_kwnames
[] = { "self","string", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
1686 if (!PyString_Check(_obj1
)) {
1687 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1690 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
1693 wxPy_BEGIN_ALLOW_THREADS
;
1694 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
1696 wxPy_END_ALLOW_THREADS
;
1697 } _resultobj
= Py_BuildValue("i",_result
);
1705 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
1706 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1710 PyObject
* _argo0
= 0;
1711 char *_kwnames
[] = { "self", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
1724 wxPy_BEGIN_ALLOW_THREADS
;
1725 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
1727 wxPy_END_ALLOW_THREADS
;
1728 } _resultobj
= Py_BuildValue("l",_result
);
1732 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
1733 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1737 PyObject
* _argo0
= 0;
1738 char *_kwnames
[] = { "self", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
1751 wxPy_BEGIN_ALLOW_THREADS
;
1752 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
1754 wxPy_END_ALLOW_THREADS
;
1755 } _resultobj
= Py_BuildValue("l",_result
);
1759 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
1760 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1764 PyObject
* _argo0
= 0;
1765 char *_kwnames
[] = { "self", NULL
};
1768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
1771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
1778 wxPy_BEGIN_ALLOW_THREADS
;
1779 _result
= (int )wxComboBox_GetSelection(_arg0
);
1781 wxPy_END_ALLOW_THREADS
;
1782 } _resultobj
= Py_BuildValue("i",_result
);
1786 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1787 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1792 PyObject
* _argo0
= 0;
1793 char *_kwnames
[] = { "self","n", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
1806 wxPy_BEGIN_ALLOW_THREADS
;
1807 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
1809 wxPy_END_ALLOW_THREADS
;
1811 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1819 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1820 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
1838 wxPy_BEGIN_ALLOW_THREADS
;
1839 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
1841 wxPy_END_ALLOW_THREADS
;
1843 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1851 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
1852 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1856 PyObject
* _argo0
= 0;
1857 char *_kwnames
[] = { "self", NULL
};
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
1863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 _result
= new wxString (wxComboBox_GetValue(_arg0
));
1873 wxPy_END_ALLOW_THREADS
;
1875 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
1883 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
1884 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1885 PyObject
* _resultobj
;
1888 PyObject
* _argo0
= 0;
1889 char *_kwnames
[] = { "self", NULL
};
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Number",_kwnames
,&_argo0
))
1895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
1902 wxPy_BEGIN_ALLOW_THREADS
;
1903 _result
= (int )wxComboBox_Number(_arg0
);
1905 wxPy_END_ALLOW_THREADS
;
1906 } _resultobj
= Py_BuildValue("i",_result
);
1910 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
1911 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
* _resultobj
;
1914 PyObject
* _argo0
= 0;
1915 char *_kwnames
[] = { "self", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
1921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
1928 wxPy_BEGIN_ALLOW_THREADS
;
1929 wxComboBox_Paste(_arg0
);
1931 wxPy_END_ALLOW_THREADS
;
1932 } Py_INCREF(Py_None
);
1933 _resultobj
= Py_None
;
1937 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1938 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1944 PyObject
* _argo0
= 0;
1945 PyObject
* _obj3
= 0;
1946 char *_kwnames
[] = { "self","from","to","text", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
1952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
1959 if (!PyString_Check(_obj3
)) {
1960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1963 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
1969 wxPy_END_ALLOW_THREADS
;
1970 } Py_INCREF(Py_None
);
1971 _resultobj
= Py_None
;
1979 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
1980 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1985 PyObject
* _argo0
= 0;
1986 char *_kwnames
[] = { "self","from","to", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
1999 wxPy_BEGIN_ALLOW_THREADS
;
2000 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2002 wxPy_END_ALLOW_THREADS
;
2003 } Py_INCREF(Py_None
);
2004 _resultobj
= Py_None
;
2008 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2009 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2013 PyObject
* _argo0
= 0;
2014 char *_kwnames
[] = { "self","pos", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2027 wxPy_BEGIN_ALLOW_THREADS
;
2028 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2030 wxPy_END_ALLOW_THREADS
;
2031 } Py_INCREF(Py_None
);
2032 _resultobj
= Py_None
;
2036 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2037 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
* _resultobj
;
2040 PyObject
* _argo0
= 0;
2041 char *_kwnames
[] = { "self", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2054 wxPy_BEGIN_ALLOW_THREADS
;
2055 wxComboBox_SetInsertionPointEnd(_arg0
);
2057 wxPy_END_ALLOW_THREADS
;
2058 } Py_INCREF(Py_None
);
2059 _resultobj
= Py_None
;
2063 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2064 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
* _resultobj
;
2068 PyObject
* _argo0
= 0;
2069 char *_kwnames
[] = { "self","n", NULL
};
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2082 wxPy_BEGIN_ALLOW_THREADS
;
2083 wxComboBox_SetSelection(_arg0
,_arg1
);
2085 wxPy_END_ALLOW_THREADS
;
2086 } Py_INCREF(Py_None
);
2087 _resultobj
= Py_None
;
2091 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2092 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self","from","to", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2121 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 PyObject
* _obj1
= 0;
2127 char *_kwnames
[] = { "self","text", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2140 if (!PyString_Check(_obj1
)) {
2141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2144 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 wxComboBox_SetValue(_arg0
,*_arg1
);
2150 wxPy_END_ALLOW_THREADS
;
2151 } Py_INCREF(Py_None
);
2152 _resultobj
= Py_None
;
2160 static void *SwigwxGaugeTowxControl(void *ptr
) {
2163 src
= (wxGauge
*) ptr
;
2164 dest
= (wxControl
*) src
;
2165 return (void *) dest
;
2168 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2171 src
= (wxGauge
*) ptr
;
2172 dest
= (wxWindow
*) src
;
2173 return (void *) dest
;
2176 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2179 src
= (wxGauge
*) ptr
;
2180 dest
= (wxEvtHandler
*) src
;
2181 return (void *) dest
;
2184 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2185 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2191 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2192 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2193 long _arg5
= (long ) wxGA_HORIZONTAL
;
2194 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
2195 char * _arg7
= (char *) "gauge";
2196 PyObject
* _argo0
= 0;
2198 PyObject
* _obj3
= 0;
2200 PyObject
* _obj4
= 0;
2201 PyObject
* _argo6
= 0;
2202 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2218 if (! wxPoint_helper(_obj3
, &_arg3
))
2224 if (! wxSize_helper(_obj4
, &_arg4
))
2228 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2235 wxPy_BEGIN_ALLOW_THREADS
;
2236 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2238 wxPy_END_ALLOW_THREADS
;
2240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2241 _resultobj
= Py_BuildValue("s",_ptemp
);
2244 _resultobj
= Py_None
;
2249 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2250 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2254 PyObject
* _argo0
= 0;
2255 char *_kwnames
[] = { "self", NULL
};
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } _resultobj
= Py_BuildValue("i",_result
);
2276 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2277 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2281 PyObject
* _argo0
= 0;
2282 char *_kwnames
[] = { "self", NULL
};
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2295 wxPy_BEGIN_ALLOW_THREADS
;
2296 _result
= (int )wxGauge_GetRange(_arg0
);
2298 wxPy_END_ALLOW_THREADS
;
2299 } _resultobj
= Py_BuildValue("i",_result
);
2303 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2304 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2305 PyObject
* _resultobj
;
2308 PyObject
* _argo0
= 0;
2309 char *_kwnames
[] = { "self", NULL
};
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2322 wxPy_BEGIN_ALLOW_THREADS
;
2323 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2325 wxPy_END_ALLOW_THREADS
;
2326 } _resultobj
= Py_BuildValue("i",_result
);
2330 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2331 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2335 PyObject
* _argo0
= 0;
2336 char *_kwnames
[] = { "self", NULL
};
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2349 wxPy_BEGIN_ALLOW_THREADS
;
2350 _result
= (int )wxGauge_GetValue(_arg0
);
2352 wxPy_END_ALLOW_THREADS
;
2353 } _resultobj
= Py_BuildValue("i",_result
);
2357 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2358 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
* _resultobj
;
2362 PyObject
* _argo0
= 0;
2363 char *_kwnames
[] = { "self","width", NULL
};
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 wxGauge_SetBezelFace(_arg0
,_arg1
);
2379 wxPy_END_ALLOW_THREADS
;
2380 } Py_INCREF(Py_None
);
2381 _resultobj
= Py_None
;
2385 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2386 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
* _resultobj
;
2390 PyObject
* _argo0
= 0;
2391 char *_kwnames
[] = { "self","range", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
2397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2404 wxPy_BEGIN_ALLOW_THREADS
;
2405 wxGauge_SetRange(_arg0
,_arg1
);
2407 wxPy_END_ALLOW_THREADS
;
2408 } Py_INCREF(Py_None
);
2409 _resultobj
= Py_None
;
2413 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2414 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2418 PyObject
* _argo0
= 0;
2419 char *_kwnames
[] = { "self","width", NULL
};
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2432 wxPy_BEGIN_ALLOW_THREADS
;
2433 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2435 wxPy_END_ALLOW_THREADS
;
2436 } Py_INCREF(Py_None
);
2437 _resultobj
= Py_None
;
2441 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2442 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
* _resultobj
;
2446 PyObject
* _argo0
= 0;
2447 char *_kwnames
[] = { "self","pos", NULL
};
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2460 wxPy_BEGIN_ALLOW_THREADS
;
2461 wxGauge_SetValue(_arg0
,_arg1
);
2463 wxPy_END_ALLOW_THREADS
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2472 src
= (wxStaticBox
*) ptr
;
2473 dest
= (wxControl
*) src
;
2474 return (void *) dest
;
2477 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2480 src
= (wxStaticBox
*) ptr
;
2481 dest
= (wxWindow
*) src
;
2482 return (void *) dest
;
2485 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2488 src
= (wxStaticBox
*) ptr
;
2489 dest
= (wxEvtHandler
*) src
;
2490 return (void *) dest
;
2493 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2494 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2496 wxStaticBox
* _result
;
2500 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2501 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2502 long _arg5
= (long ) 0;
2503 char * _arg6
= (char *) "staticBox";
2504 PyObject
* _argo0
= 0;
2505 PyObject
* _obj2
= 0;
2507 PyObject
* _obj3
= 0;
2509 PyObject
* _obj4
= 0;
2510 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2524 if (!PyString_Check(_obj2
)) {
2525 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2528 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2533 if (! wxPoint_helper(_obj3
, &_arg3
))
2539 if (! wxSize_helper(_obj4
, &_arg4
))
2543 wxPy_BEGIN_ALLOW_THREADS
;
2544 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2546 wxPy_END_ALLOW_THREADS
;
2548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2549 _resultobj
= Py_BuildValue("s",_ptemp
);
2552 _resultobj
= Py_None
;
2561 static void *SwigwxStaticLineTowxControl(void *ptr
) {
2564 src
= (wxStaticLine
*) ptr
;
2565 dest
= (wxControl
*) src
;
2566 return (void *) dest
;
2569 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
2572 src
= (wxStaticLine
*) ptr
;
2573 dest
= (wxWindow
*) src
;
2574 return (void *) dest
;
2577 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
2580 src
= (wxStaticLine
*) ptr
;
2581 dest
= (wxEvtHandler
*) src
;
2582 return (void *) dest
;
2585 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2586 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2588 wxStaticLine
* _result
;
2591 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2592 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2593 long _arg4
= (long ) wxLI_HORIZONTAL
;
2594 char * _arg5
= (char *) "staticLine";
2595 PyObject
* _argo0
= 0;
2597 PyObject
* _obj2
= 0;
2599 PyObject
* _obj3
= 0;
2600 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2616 if (! wxPoint_helper(_obj2
, &_arg2
))
2622 if (! wxSize_helper(_obj3
, &_arg3
))
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2629 wxPy_END_ALLOW_THREADS
;
2631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
2632 _resultobj
= Py_BuildValue("s",_ptemp
);
2635 _resultobj
= Py_None
;
2640 static void *SwigwxStaticTextTowxControl(void *ptr
) {
2643 src
= (wxStaticText
*) ptr
;
2644 dest
= (wxControl
*) src
;
2645 return (void *) dest
;
2648 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
2651 src
= (wxStaticText
*) ptr
;
2652 dest
= (wxWindow
*) src
;
2653 return (void *) dest
;
2656 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
2659 src
= (wxStaticText
*) ptr
;
2660 dest
= (wxEvtHandler
*) src
;
2661 return (void *) dest
;
2664 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2665 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2667 wxStaticText
* _result
;
2671 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
2672 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
2673 long _arg5
= (long ) 0;
2674 char * _arg6
= (char *) "staticText";
2675 PyObject
* _argo0
= 0;
2676 PyObject
* _obj2
= 0;
2678 PyObject
* _obj3
= 0;
2680 PyObject
* _obj4
= 0;
2681 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
2695 if (!PyString_Check(_obj2
)) {
2696 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2699 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
2704 if (! wxPoint_helper(_obj3
, &_arg3
))
2710 if (! wxSize_helper(_obj4
, &_arg4
))
2714 wxPy_BEGIN_ALLOW_THREADS
;
2715 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2717 wxPy_END_ALLOW_THREADS
;
2719 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
2720 _resultobj
= Py_BuildValue("s",_ptemp
);
2723 _resultobj
= Py_None
;
2732 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
2733 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
* _resultobj
;
2736 wxStaticText
* _arg0
;
2737 PyObject
* _argo0
= 0;
2738 char *_kwnames
[] = { "self", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
2754 wxPy_END_ALLOW_THREADS
;
2756 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
2764 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2765 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2767 wxStaticText
* _arg0
;
2769 PyObject
* _argo0
= 0;
2770 PyObject
* _obj1
= 0;
2771 char *_kwnames
[] = { "self","label", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
2784 if (!PyString_Check(_obj1
)) {
2785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2788 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2791 wxPy_BEGIN_ALLOW_THREADS
;
2792 wxStaticText_SetLabel(_arg0
,*_arg1
);
2794 wxPy_END_ALLOW_THREADS
;
2795 } Py_INCREF(Py_None
);
2796 _resultobj
= Py_None
;
2804 static void *SwigwxListBoxTowxControl(void *ptr
) {
2807 src
= (wxListBox
*) ptr
;
2808 dest
= (wxControl
*) src
;
2809 return (void *) dest
;
2812 static void *SwigwxListBoxTowxWindow(void *ptr
) {
2815 src
= (wxListBox
*) ptr
;
2816 dest
= (wxWindow
*) src
;
2817 return (void *) dest
;
2820 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
2823 src
= (wxListBox
*) ptr
;
2824 dest
= (wxEvtHandler
*) src
;
2825 return (void *) dest
;
2828 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2829 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
* _resultobj
;
2831 wxListBox
* _result
;
2834 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
2835 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
2837 wxString
* _arg5
= (wxString
*) NULL
;
2838 long _arg6
= (long ) 0;
2839 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
2840 char * _arg8
= (char *) "listBox";
2841 PyObject
* _argo0
= 0;
2843 PyObject
* _obj2
= 0;
2845 PyObject
* _obj3
= 0;
2846 PyObject
* _obj5
= 0;
2847 PyObject
* _argo7
= 0;
2848 char *_kwnames
[] = { "parent","id","pos","size","LIST","style","validator","name", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
2864 if (! wxPoint_helper(_obj2
, &_arg2
))
2870 if (! wxSize_helper(_obj3
, &_arg3
))
2875 _arg5
= wxString_LIST_helper(_obj5
);
2876 if (_arg5
== NULL
) {
2881 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
2889 _arg4
= PyList_Size(_obj5
);
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2899 wxPy_END_ALLOW_THREADS
;
2901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
2902 _resultobj
= Py_BuildValue("s",_ptemp
);
2905 _resultobj
= Py_None
;
2913 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
2914 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2915 PyObject
* _resultobj
;
2918 PyObject
* _argo0
= 0;
2919 PyObject
* _obj1
= 0;
2920 char *_kwnames
[] = { "self","item", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
2933 if (!PyString_Check(_obj1
)) {
2934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2937 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
2940 wxPy_BEGIN_ALLOW_THREADS
;
2941 wxListBox_Append(_arg0
,*_arg1
);
2943 wxPy_END_ALLOW_THREADS
;
2944 } Py_INCREF(Py_None
);
2945 _resultobj
= Py_None
;
2953 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
2954 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 wxListBox_Clear(_arg0
);
2974 wxPy_END_ALLOW_THREADS
;
2975 } Py_INCREF(Py_None
);
2976 _resultobj
= Py_None
;
2980 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2981 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2985 PyObject
* _argo0
= 0;
2986 char *_kwnames
[] = { "self","n", NULL
};
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
2992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
2994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
2999 wxPy_BEGIN_ALLOW_THREADS
;
3000 wxListBox_Delete(_arg0
,_arg1
);
3002 wxPy_END_ALLOW_THREADS
;
3003 } Py_INCREF(Py_None
);
3004 _resultobj
= Py_None
;
3008 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3009 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self","n", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 wxListBox_Deselect(_arg0
,_arg1
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3037 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3042 PyObject
* _argo0
= 0;
3043 PyObject
* _obj1
= 0;
3044 char *_kwnames
[] = { "self","string", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3057 if (!PyString_Check(_obj1
)) {
3058 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3061 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3064 wxPy_BEGIN_ALLOW_THREADS
;
3065 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3067 wxPy_END_ALLOW_THREADS
;
3068 } _resultobj
= Py_BuildValue("i",_result
);
3076 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3077 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 _result
= (int )wxListBox_GetSelection(_arg0
);
3098 wxPy_END_ALLOW_THREADS
;
3099 } _resultobj
= Py_BuildValue("i",_result
);
3103 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3105 self
->GetSelections(lst
);
3106 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3107 for(int i
=0; i
<lst
.GetCount(); i
++) {
3108 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3112 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3130 wxPy_BEGIN_ALLOW_THREADS
;
3131 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3133 wxPy_END_ALLOW_THREADS
;
3135 _resultobj
= _result
;
3140 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3141 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3147 PyObject
* _argo0
= 0;
3148 PyObject
* _obj2
= 0;
3149 char *_kwnames
[] = { "self","LIST","pos", NULL
};
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3162 _arg2
= wxString_LIST_helper(_obj2
);
3163 if (_arg2
== NULL
) {
3169 _arg1
= PyList_Size(_obj2
);
3176 wxPy_BEGIN_ALLOW_THREADS
;
3177 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3179 wxPy_END_ALLOW_THREADS
;
3180 } Py_INCREF(Py_None
);
3181 _resultobj
= Py_None
;
3188 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3189 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3190 PyObject
* _resultobj
;
3194 PyObject
* _argo0
= 0;
3195 char *_kwnames
[] = { "self","n", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3208 wxPy_BEGIN_ALLOW_THREADS
;
3209 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3211 wxPy_END_ALLOW_THREADS
;
3213 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3221 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3222 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3240 wxPy_BEGIN_ALLOW_THREADS
;
3241 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3243 wxPy_END_ALLOW_THREADS
;
3245 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
3253 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3254 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3258 PyObject
* _argo0
= 0;
3259 char *_kwnames
[] = { "self", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Number",_kwnames
,&_argo0
))
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_Number. Expected _wxListBox_p.");
3272 wxPy_BEGIN_ALLOW_THREADS
;
3273 _result
= (int )wxListBox_Number(_arg0
);
3275 wxPy_END_ALLOW_THREADS
;
3276 } _resultobj
= Py_BuildValue("i",_result
);
3280 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3281 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3286 PyObject
* _argo0
= 0;
3287 char *_kwnames
[] = { "self","n", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3303 wxPy_END_ALLOW_THREADS
;
3304 } _resultobj
= Py_BuildValue("i",_result
);
3308 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3309 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3314 PyObject
* _argo0
= 0;
3315 PyObject
* _obj2
= 0;
3316 char *_kwnames
[] = { "self","LIST", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3330 _arg2
= wxString_LIST_helper(_obj2
);
3331 if (_arg2
== NULL
) {
3337 _arg1
= PyList_Size(_obj2
);
3344 wxPy_BEGIN_ALLOW_THREADS
;
3345 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3347 wxPy_END_ALLOW_THREADS
;
3348 } Py_INCREF(Py_None
);
3349 _resultobj
= Py_None
;
3356 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3357 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
* _resultobj
;
3361 PyObject
* _argo0
= 0;
3362 char *_kwnames
[] = { "self","n", NULL
};
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
3368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3375 wxPy_BEGIN_ALLOW_THREADS
;
3376 wxListBox_SetFirstItem(_arg0
,_arg1
);
3378 wxPy_END_ALLOW_THREADS
;
3379 } Py_INCREF(Py_None
);
3380 _resultobj
= Py_None
;
3384 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3385 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
* _resultobj
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _obj1
= 0;
3391 char *_kwnames
[] = { "self","string", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3404 if (!PyString_Check(_obj1
)) {
3405 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3408 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3411 wxPy_BEGIN_ALLOW_THREADS
;
3412 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3414 wxPy_END_ALLOW_THREADS
;
3415 } Py_INCREF(Py_None
);
3416 _resultobj
= Py_None
;
3424 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3425 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
* _resultobj
;
3429 bool _arg2
= (bool ) TRUE
;
3430 PyObject
* _argo0
= 0;
3431 int tempbool2
= (int) TRUE
;
3432 char *_kwnames
[] = { "self","n","select", NULL
};
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3444 _arg2
= (bool ) tempbool2
;
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
3449 wxPy_END_ALLOW_THREADS
;
3450 } Py_INCREF(Py_None
);
3451 _resultobj
= Py_None
;
3455 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3456 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3461 PyObject
* _argo0
= 0;
3462 PyObject
* _obj2
= 0;
3463 char *_kwnames
[] = { "self","n","string", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3476 if (!PyString_Check(_obj2
)) {
3477 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3480 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
3483 wxPy_BEGIN_ALLOW_THREADS
;
3484 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
3486 wxPy_END_ALLOW_THREADS
;
3487 } Py_INCREF(Py_None
);
3488 _resultobj
= Py_None
;
3496 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3497 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3501 bool _arg2
= (bool ) TRUE
;
3502 PyObject
* _argo0
= 0;
3503 PyObject
* _obj1
= 0;
3504 int tempbool2
= (int) TRUE
;
3505 char *_kwnames
[] = { "self","string","select", NULL
};
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3518 if (!PyString_Check(_obj1
)) {
3519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3522 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
3524 _arg2
= (bool ) tempbool2
;
3526 wxPy_BEGIN_ALLOW_THREADS
;
3527 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
3529 wxPy_END_ALLOW_THREADS
;
3530 } Py_INCREF(Py_None
);
3531 _resultobj
= Py_None
;
3539 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
3540 wxCheckListBox
*src
;
3542 src
= (wxCheckListBox
*) ptr
;
3543 dest
= (wxListBox
*) src
;
3544 return (void *) dest
;
3547 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
3548 wxCheckListBox
*src
;
3550 src
= (wxCheckListBox
*) ptr
;
3551 dest
= (wxControl
*) src
;
3552 return (void *) dest
;
3555 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
3556 wxCheckListBox
*src
;
3558 src
= (wxCheckListBox
*) ptr
;
3559 dest
= (wxWindow
*) src
;
3560 return (void *) dest
;
3563 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
3564 wxCheckListBox
*src
;
3566 src
= (wxCheckListBox
*) ptr
;
3567 dest
= (wxEvtHandler
*) src
;
3568 return (void *) dest
;
3571 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3572 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
* _resultobj
;
3574 wxCheckListBox
* _result
;
3577 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
3578 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
3579 int _arg4
= (int ) 0;
3580 wxString
* _arg5
= (wxString
*) NULL
;
3581 long _arg6
= (long ) 0;
3582 wxValidator
* _arg7
= (wxValidator
*) &wxPyDefaultValidator
;
3583 char * _arg8
= (char *) "listBox";
3584 PyObject
* _argo0
= 0;
3586 PyObject
* _obj2
= 0;
3588 PyObject
* _obj3
= 0;
3589 PyObject
* _obj5
= 0;
3590 PyObject
* _argo7
= 0;
3591 char *_kwnames
[] = { "parent","id","pos","size","LIST","style","validator","name", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
3607 if (! wxPoint_helper(_obj2
, &_arg2
))
3613 if (! wxSize_helper(_obj3
, &_arg3
))
3618 _arg5
= wxString_LIST_helper(_obj5
);
3619 if (_arg5
== NULL
) {
3624 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
3632 _arg4
= PyList_Size(_obj5
);
3639 wxPy_BEGIN_ALLOW_THREADS
;
3640 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3642 wxPy_END_ALLOW_THREADS
;
3644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
3645 _resultobj
= Py_BuildValue("s",_ptemp
);
3648 _resultobj
= Py_None
;
3656 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3657 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3660 wxCheckListBox
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self","uiIndex", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
3676 wxPy_BEGIN_ALLOW_THREADS
;
3677 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
3679 wxPy_END_ALLOW_THREADS
;
3680 } _resultobj
= Py_BuildValue("i",_result
);
3684 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3685 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3687 wxCheckListBox
* _arg0
;
3689 bool _arg2
= (bool ) TRUE
;
3690 PyObject
* _argo0
= 0;
3691 int tempbool2
= (int) TRUE
;
3692 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
3704 _arg2
= (bool ) tempbool2
;
3706 wxPy_BEGIN_ALLOW_THREADS
;
3707 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
3709 wxPy_END_ALLOW_THREADS
;
3710 } Py_INCREF(Py_None
);
3711 _resultobj
= Py_None
;
3715 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
3716 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
* _resultobj
;
3719 wxCheckListBox
* _arg0
;
3720 PyObject
* _argo0
= 0;
3721 char *_kwnames
[] = { "self", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } _resultobj
= Py_BuildValue("i",_result
);
3742 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
3745 src
= (wxTextCtrl
*) ptr
;
3746 dest
= (wxControl
*) src
;
3747 return (void *) dest
;
3750 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
3753 src
= (wxTextCtrl
*) ptr
;
3754 dest
= (wxWindow
*) src
;
3755 return (void *) dest
;
3758 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
3761 src
= (wxTextCtrl
*) ptr
;
3762 dest
= (wxEvtHandler
*) src
;
3763 return (void *) dest
;
3766 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3767 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3769 wxTextCtrl
* _result
;
3772 char * _arg2
= (char *) "";
3773 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
3774 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
3775 long _arg5
= (long ) 0;
3776 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
3777 char * _arg7
= (char *) "text";
3778 PyObject
* _argo0
= 0;
3780 PyObject
* _obj3
= 0;
3782 PyObject
* _obj4
= 0;
3783 PyObject
* _argo6
= 0;
3784 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
3800 if (! wxPoint_helper(_obj3
, &_arg3
))
3806 if (! wxSize_helper(_obj4
, &_arg4
))
3810 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
3817 wxPy_BEGIN_ALLOW_THREADS
;
3818 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3820 wxPy_END_ALLOW_THREADS
;
3822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
3823 _resultobj
= Py_BuildValue("s",_ptemp
);
3826 _resultobj
= Py_None
;
3831 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
3832 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
3849 wxPy_BEGIN_ALLOW_THREADS
;
3850 wxTextCtrl_Clear(_arg0
);
3852 wxPy_END_ALLOW_THREADS
;
3853 } Py_INCREF(Py_None
);
3854 _resultobj
= Py_None
;
3858 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
3859 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
3876 wxPy_BEGIN_ALLOW_THREADS
;
3877 wxTextCtrl_Copy(_arg0
);
3879 wxPy_END_ALLOW_THREADS
;
3880 } Py_INCREF(Py_None
);
3881 _resultobj
= Py_None
;
3885 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
3886 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3889 PyObject
* _argo0
= 0;
3890 char *_kwnames
[] = { "self", NULL
};
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
3896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
3903 wxPy_BEGIN_ALLOW_THREADS
;
3904 wxTextCtrl_Cut(_arg0
);
3906 wxPy_END_ALLOW_THREADS
;
3907 } Py_INCREF(Py_None
);
3908 _resultobj
= Py_None
;
3912 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
3913 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3916 PyObject
* _argo0
= 0;
3917 char *_kwnames
[] = { "self", NULL
};
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
3923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
3930 wxPy_BEGIN_ALLOW_THREADS
;
3931 wxTextCtrl_DiscardEdits(_arg0
);
3933 wxPy_END_ALLOW_THREADS
;
3934 } Py_INCREF(Py_None
);
3935 _resultobj
= Py_None
;
3939 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3940 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3944 PyObject
* _argo0
= 0;
3945 char *_kwnames
[] = { "self", NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
3951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
3961 wxPy_END_ALLOW_THREADS
;
3962 } _resultobj
= Py_BuildValue("l",_result
);
3966 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3967 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
* _resultobj
;
3971 PyObject
* _argo0
= 0;
3972 char *_kwnames
[] = { "self", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
3985 wxPy_BEGIN_ALLOW_THREADS
;
3986 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
3988 wxPy_END_ALLOW_THREADS
;
3989 } _resultobj
= Py_BuildValue("l",_result
);
3993 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
3994 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
* _resultobj
;
3999 PyObject
* _argo0
= 0;
4000 char *_kwnames
[] = { "self","lineNo", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
4006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4013 wxPy_BEGIN_ALLOW_THREADS
;
4014 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
4016 wxPy_END_ALLOW_THREADS
;
4017 } _resultobj
= Py_BuildValue("i",_result
);
4021 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4022 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4027 PyObject
* _argo0
= 0;
4028 char *_kwnames
[] = { "self","lineNo", NULL
};
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
4034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4041 wxPy_BEGIN_ALLOW_THREADS
;
4042 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
4044 wxPy_END_ALLOW_THREADS
;
4046 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4054 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4055 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4059 PyObject
* _argo0
= 0;
4060 char *_kwnames
[] = { "self", NULL
};
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
4066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4073 wxPy_BEGIN_ALLOW_THREADS
;
4074 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
4076 wxPy_END_ALLOW_THREADS
;
4077 } _resultobj
= Py_BuildValue("i",_result
);
4081 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4082 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4100 wxPy_BEGIN_ALLOW_THREADS
;
4101 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
4103 wxPy_END_ALLOW_THREADS
;
4105 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
4113 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4114 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
* _resultobj
;
4118 PyObject
* _argo0
= 0;
4119 char *_kwnames
[] = { "self", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
4135 wxPy_END_ALLOW_THREADS
;
4136 } _resultobj
= Py_BuildValue("i",_result
);
4140 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4141 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4146 PyObject
* _argo0
= 0;
4147 PyObject
* _obj1
= 0;
4148 char *_kwnames
[] = { "self","filename", NULL
};
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4161 if (!PyString_Check(_obj1
)) {
4162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4165 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4168 wxPy_BEGIN_ALLOW_THREADS
;
4169 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4171 wxPy_END_ALLOW_THREADS
;
4172 } _resultobj
= Py_BuildValue("i",_result
);
4180 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4181 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4184 PyObject
* _argo0
= 0;
4185 char *_kwnames
[] = { "self", NULL
};
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
4191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4198 wxPy_BEGIN_ALLOW_THREADS
;
4199 wxTextCtrl_Paste(_arg0
);
4201 wxPy_END_ALLOW_THREADS
;
4202 } Py_INCREF(Py_None
);
4203 _resultobj
= Py_None
;
4207 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4208 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
* _resultobj
;
4216 PyObject
* _argo0
= 0;
4217 char *_kwnames
[] = { "self","pos", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4236 wxPy_BEGIN_ALLOW_THREADS
;
4237 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4239 wxPy_END_ALLOW_THREADS
;
4240 } Py_INCREF(Py_None
);
4241 _resultobj
= Py_None
;
4244 o
= PyInt_FromLong((long) (*_arg2
));
4245 _resultobj
= t_output_helper(_resultobj
, o
);
4249 o
= PyInt_FromLong((long) (*_arg3
));
4250 _resultobj
= t_output_helper(_resultobj
, o
);
4255 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4256 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4261 PyObject
* _argo0
= 0;
4262 char *_kwnames
[] = { "self","from","to", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4275 wxPy_BEGIN_ALLOW_THREADS
;
4276 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4278 wxPy_END_ALLOW_THREADS
;
4279 } Py_INCREF(Py_None
);
4280 _resultobj
= Py_None
;
4284 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4285 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
* _resultobj
;
4291 PyObject
* _argo0
= 0;
4292 PyObject
* _obj3
= 0;
4293 char *_kwnames
[] = { "self","from","to","value", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4306 if (!PyString_Check(_obj3
)) {
4307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4310 _arg3
= new wxString(PyString_AsString(_obj3
), PyString_Size(_obj3
));
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
4316 wxPy_END_ALLOW_THREADS
;
4317 } Py_INCREF(Py_None
);
4318 _resultobj
= Py_None
;
4326 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4327 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4332 PyObject
* _argo0
= 0;
4333 PyObject
* _obj1
= 0;
4334 char *_kwnames
[] = { "self","filename", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
4340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4347 if (!PyString_Check(_obj1
)) {
4348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4351 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4354 wxPy_BEGIN_ALLOW_THREADS
;
4355 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
4357 wxPy_END_ALLOW_THREADS
;
4358 } _resultobj
= Py_BuildValue("i",_result
);
4366 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4367 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4371 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self","editable", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4385 _arg1
= (bool ) tempbool1
;
4387 wxPy_BEGIN_ALLOW_THREADS
;
4388 wxTextCtrl_SetEditable(_arg0
,_arg1
);
4390 wxPy_END_ALLOW_THREADS
;
4391 } Py_INCREF(Py_None
);
4392 _resultobj
= Py_None
;
4396 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4397 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4401 PyObject
* _argo0
= 0;
4402 char *_kwnames
[] = { "self","pos", NULL
};
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
4408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4415 wxPy_BEGIN_ALLOW_THREADS
;
4416 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
4418 wxPy_END_ALLOW_THREADS
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4425 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4428 PyObject
* _argo0
= 0;
4429 char *_kwnames
[] = { "self", NULL
};
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
4435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4442 wxPy_BEGIN_ALLOW_THREADS
;
4443 wxTextCtrl_SetInsertionPointEnd(_arg0
);
4445 wxPy_END_ALLOW_THREADS
;
4446 } Py_INCREF(Py_None
);
4447 _resultobj
= Py_None
;
4451 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4452 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
* _resultobj
;
4457 PyObject
* _argo0
= 0;
4458 char *_kwnames
[] = { "self","from","to", NULL
};
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4471 wxPy_BEGIN_ALLOW_THREADS
;
4472 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
4474 wxPy_END_ALLOW_THREADS
;
4475 } Py_INCREF(Py_None
);
4476 _resultobj
= Py_None
;
4480 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4481 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
* _resultobj
;
4485 PyObject
* _argo0
= 0;
4486 PyObject
* _obj1
= 0;
4487 char *_kwnames
[] = { "self","value", NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
4493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
4500 if (!PyString_Check(_obj1
)) {
4501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4504 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4507 wxPy_BEGIN_ALLOW_THREADS
;
4508 wxTextCtrl_SetValue(_arg0
,*_arg1
);
4510 wxPy_END_ALLOW_THREADS
;
4511 } Py_INCREF(Py_None
);
4512 _resultobj
= Py_None
;
4520 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
4521 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self","pos", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
4539 wxPy_BEGIN_ALLOW_THREADS
;
4540 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
4542 wxPy_END_ALLOW_THREADS
;
4543 } Py_INCREF(Py_None
);
4544 _resultobj
= Py_None
;
4548 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
4549 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4553 PyObject
* _argo0
= 0;
4554 PyObject
* _obj1
= 0;
4555 char *_kwnames
[] = { "self","text", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
4568 if (!PyString_Check(_obj1
)) {
4569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4572 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4575 wxPy_BEGIN_ALLOW_THREADS
;
4576 wxTextCtrl_WriteText(_arg0
,*_arg1
);
4578 wxPy_END_ALLOW_THREADS
;
4579 } Py_INCREF(Py_None
);
4580 _resultobj
= Py_None
;
4588 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
4589 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
* _resultobj
;
4593 PyObject
* _argo0
= 0;
4594 PyObject
* _obj1
= 0;
4595 char *_kwnames
[] = { "self","text", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
4608 if (!PyString_Check(_obj1
)) {
4609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4612 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
4615 wxPy_BEGIN_ALLOW_THREADS
;
4616 wxTextCtrl_AppendText(_arg0
,*_arg1
);
4618 wxPy_END_ALLOW_THREADS
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4628 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
4629 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
* _resultobj
;
4635 PyObject
* _argo0
= 0;
4636 char *_kwnames
[] = { "self","x","y", NULL
};
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
4649 wxPy_BEGIN_ALLOW_THREADS
;
4650 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
4652 wxPy_END_ALLOW_THREADS
;
4653 } _resultobj
= Py_BuildValue("l",_result
);
4657 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
4658 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4662 PyObject
* _argo0
= 0;
4663 char *_kwnames
[] = { "self", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
4679 wxPy_END_ALLOW_THREADS
;
4680 } _resultobj
= Py_BuildValue("i",_result
);
4684 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
4685 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
* _resultobj
;
4689 PyObject
* _argo0
= 0;
4690 char *_kwnames
[] = { "self", NULL
};
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
4696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
4703 wxPy_BEGIN_ALLOW_THREADS
;
4704 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
4706 wxPy_END_ALLOW_THREADS
;
4707 } _resultobj
= Py_BuildValue("i",_result
);
4711 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4712 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } _resultobj
= Py_BuildValue("i",_result
);
4738 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
4739 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4743 PyObject
* _argo0
= 0;
4744 char *_kwnames
[] = { "self", NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
4750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
4757 wxPy_BEGIN_ALLOW_THREADS
;
4758 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
4760 wxPy_END_ALLOW_THREADS
;
4761 } _resultobj
= Py_BuildValue("i",_result
);
4765 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4766 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4770 PyObject
* _argo0
= 0;
4771 char *_kwnames
[] = { "self", NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
4777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
4784 wxPy_BEGIN_ALLOW_THREADS
;
4785 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
4787 wxPy_END_ALLOW_THREADS
;
4788 } _resultobj
= Py_BuildValue("i",_result
);
4792 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
4793 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
* _resultobj
;
4800 PyObject
* _argo0
= 0;
4801 char *_kwnames
[] = { "self", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
4820 wxPy_BEGIN_ALLOW_THREADS
;
4821 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
4823 wxPy_END_ALLOW_THREADS
;
4824 } Py_INCREF(Py_None
);
4825 _resultobj
= Py_None
;
4828 o
= PyInt_FromLong((long) (*_arg1
));
4829 _resultobj
= t_output_helper(_resultobj
, o
);
4833 o
= PyInt_FromLong((long) (*_arg2
));
4834 _resultobj
= t_output_helper(_resultobj
, o
);
4839 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
4840 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4844 PyObject
* _argo0
= 0;
4845 char *_kwnames
[] = { "self", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
4858 wxPy_BEGIN_ALLOW_THREADS
;
4859 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
4861 wxPy_END_ALLOW_THREADS
;
4862 } _resultobj
= Py_BuildValue("i",_result
);
4866 static void *SwigwxScrollBarTowxControl(void *ptr
) {
4869 src
= (wxScrollBar
*) ptr
;
4870 dest
= (wxControl
*) src
;
4871 return (void *) dest
;
4874 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
4877 src
= (wxScrollBar
*) ptr
;
4878 dest
= (wxWindow
*) src
;
4879 return (void *) dest
;
4882 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
4885 src
= (wxScrollBar
*) ptr
;
4886 dest
= (wxEvtHandler
*) src
;
4887 return (void *) dest
;
4890 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4891 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
* _resultobj
;
4893 wxScrollBar
* _result
;
4895 wxWindowID _arg1
= (wxWindowID
) -1;
4896 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
4897 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
4898 long _arg4
= (long ) wxSB_HORIZONTAL
;
4899 wxValidator
* _arg5
= (wxValidator
*) &wxPyDefaultValidator
;
4900 char * _arg6
= (char *) "scrollBar";
4901 PyObject
* _argo0
= 0;
4903 PyObject
* _obj2
= 0;
4905 PyObject
* _obj3
= 0;
4906 PyObject
* _argo5
= 0;
4907 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
4923 if (! wxPoint_helper(_obj2
, &_arg2
))
4929 if (! wxSize_helper(_obj3
, &_arg3
))
4933 if (_argo5
== Py_None
) { _arg5
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
4940 wxPy_BEGIN_ALLOW_THREADS
;
4941 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
4943 wxPy_END_ALLOW_THREADS
;
4945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
4946 _resultobj
= Py_BuildValue("s",_ptemp
);
4949 _resultobj
= Py_None
;
4954 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
4955 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4958 wxScrollBar
* _arg0
;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= (int )wxScrollBar_GetRange(_arg0
);
4976 wxPy_END_ALLOW_THREADS
;
4977 } _resultobj
= Py_BuildValue("i",_result
);
4981 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
4982 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 wxScrollBar
* _arg0
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5001 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
5003 wxPy_END_ALLOW_THREADS
;
5004 } _resultobj
= Py_BuildValue("i",_result
);
5008 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5009 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
* _resultobj
;
5012 wxScrollBar
* _arg0
;
5013 PyObject
* _argo0
= 0;
5014 char *_kwnames
[] = { "self", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5027 wxPy_BEGIN_ALLOW_THREADS
;
5028 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
5030 wxPy_END_ALLOW_THREADS
;
5031 } _resultobj
= Py_BuildValue("i",_result
);
5035 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5036 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5039 wxScrollBar
* _arg0
;
5040 PyObject
* _argo0
= 0;
5041 char *_kwnames
[] = { "self", NULL
};
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
5047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5054 wxPy_BEGIN_ALLOW_THREADS
;
5055 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
5057 wxPy_END_ALLOW_THREADS
;
5058 } _resultobj
= Py_BuildValue("i",_result
);
5062 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5063 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5065 wxScrollBar
* _arg0
;
5067 PyObject
* _argo0
= 0;
5068 char *_kwnames
[] = { "self","viewStart", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5081 wxPy_BEGIN_ALLOW_THREADS
;
5082 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
5084 wxPy_END_ALLOW_THREADS
;
5085 } Py_INCREF(Py_None
);
5086 _resultobj
= Py_None
;
5090 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5091 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5093 wxScrollBar
* _arg0
;
5098 bool _arg5
= (bool ) TRUE
;
5099 PyObject
* _argo0
= 0;
5100 int tempbool5
= (int) TRUE
;
5101 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
5107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5113 _arg5
= (bool ) tempbool5
;
5115 wxPy_BEGIN_ALLOW_THREADS
;
5116 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5118 wxPy_END_ALLOW_THREADS
;
5119 } Py_INCREF(Py_None
);
5120 _resultobj
= Py_None
;
5124 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
5127 src
= (wxSpinButton
*) ptr
;
5128 dest
= (wxControl
*) src
;
5129 return (void *) dest
;
5132 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
5135 src
= (wxSpinButton
*) ptr
;
5136 dest
= (wxWindow
*) src
;
5137 return (void *) dest
;
5140 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
5143 src
= (wxSpinButton
*) ptr
;
5144 dest
= (wxEvtHandler
*) src
;
5145 return (void *) dest
;
5148 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5149 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
* _resultobj
;
5151 wxSpinButton
* _result
;
5153 wxWindowID _arg1
= (wxWindowID
) -1;
5154 wxPoint
* _arg2
= (wxPoint
*) &wxPyDefaultPosition
;
5155 wxSize
* _arg3
= (wxSize
*) &wxPyDefaultSize
;
5156 long _arg4
= (long ) wxSP_HORIZONTAL
;
5157 char * _arg5
= (char *) "spinButton";
5158 PyObject
* _argo0
= 0;
5160 PyObject
* _obj2
= 0;
5162 PyObject
* _obj3
= 0;
5163 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5179 if (! wxPoint_helper(_obj2
, &_arg2
))
5185 if (! wxSize_helper(_obj3
, &_arg3
))
5189 wxPy_BEGIN_ALLOW_THREADS
;
5190 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5192 wxPy_END_ALLOW_THREADS
;
5194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
5195 _resultobj
= Py_BuildValue("s",_ptemp
);
5198 _resultobj
= Py_None
;
5203 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5204 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
* _resultobj
;
5207 wxSpinButton
* _arg0
;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "self", NULL
};
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
5215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5222 wxPy_BEGIN_ALLOW_THREADS
;
5223 _result
= (int )wxSpinButton_GetMax(_arg0
);
5225 wxPy_END_ALLOW_THREADS
;
5226 } _resultobj
= Py_BuildValue("i",_result
);
5230 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5231 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5234 wxSpinButton
* _arg0
;
5235 PyObject
* _argo0
= 0;
5236 char *_kwnames
[] = { "self", NULL
};
5239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
5242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= (int )wxSpinButton_GetMin(_arg0
);
5252 wxPy_END_ALLOW_THREADS
;
5253 } _resultobj
= Py_BuildValue("i",_result
);
5257 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5258 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
* _resultobj
;
5261 wxSpinButton
* _arg0
;
5262 PyObject
* _argo0
= 0;
5263 char *_kwnames
[] = { "self", NULL
};
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
5269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5276 wxPy_BEGIN_ALLOW_THREADS
;
5277 _result
= (int )wxSpinButton_GetValue(_arg0
);
5279 wxPy_END_ALLOW_THREADS
;
5280 } _resultobj
= Py_BuildValue("i",_result
);
5284 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5285 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5287 wxSpinButton
* _arg0
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self","min","max", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5304 wxPy_BEGIN_ALLOW_THREADS
;
5305 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
5307 wxPy_END_ALLOW_THREADS
;
5308 } Py_INCREF(Py_None
);
5309 _resultobj
= Py_None
;
5313 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5314 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5316 wxSpinButton
* _arg0
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self","value", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5332 wxPy_BEGIN_ALLOW_THREADS
;
5333 wxSpinButton_SetValue(_arg0
,_arg1
);
5335 wxPy_END_ALLOW_THREADS
;
5336 } Py_INCREF(Py_None
);
5337 _resultobj
= Py_None
;
5341 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
5342 wxStaticBitmap
*src
;
5344 src
= (wxStaticBitmap
*) ptr
;
5345 dest
= (wxControl
*) src
;
5346 return (void *) dest
;
5349 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
5350 wxStaticBitmap
*src
;
5352 src
= (wxStaticBitmap
*) ptr
;
5353 dest
= (wxWindow
*) src
;
5354 return (void *) dest
;
5357 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
5358 wxStaticBitmap
*src
;
5360 src
= (wxStaticBitmap
*) ptr
;
5361 dest
= (wxEvtHandler
*) src
;
5362 return (void *) dest
;
5365 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5366 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5368 wxStaticBitmap
* _result
;
5372 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5373 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5374 long _arg5
= (long ) 0;
5375 char * _arg6
= (char *) "staticBitmap";
5376 PyObject
* _argo0
= 0;
5377 PyObject
* _argo2
= 0;
5379 PyObject
* _obj3
= 0;
5381 PyObject
* _obj4
= 0;
5382 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
5389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
5396 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5397 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
5398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
5405 if (! wxPoint_helper(_obj3
, &_arg3
))
5411 if (! wxSize_helper(_obj4
, &_arg4
))
5415 wxPy_BEGIN_ALLOW_THREADS
;
5416 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
5418 wxPy_END_ALLOW_THREADS
;
5420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
5421 _resultobj
= Py_BuildValue("s",_ptemp
);
5424 _resultobj
= Py_None
;
5429 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
5430 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
* _resultobj
;
5433 wxStaticBitmap
* _arg0
;
5434 PyObject
* _argo0
= 0;
5435 char *_kwnames
[] = { "self", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
5449 wxPy_BEGIN_ALLOW_THREADS
;
5450 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
5451 _result
= (wxBitmap
*) &_result_ref
;
5453 wxPy_END_ALLOW_THREADS
;
5455 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
5456 _resultobj
= Py_BuildValue("s",_ptemp
);
5459 _resultobj
= Py_None
;
5464 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
5465 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
* _resultobj
;
5467 wxStaticBitmap
* _arg0
;
5469 PyObject
* _argo0
= 0;
5470 PyObject
* _argo1
= 0;
5471 char *_kwnames
[] = { "self","bitmap", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
5484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
5491 wxPy_BEGIN_ALLOW_THREADS
;
5492 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
5494 wxPy_END_ALLOW_THREADS
;
5495 } Py_INCREF(Py_None
);
5496 _resultobj
= Py_None
;
5500 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
5501 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
* _resultobj
;
5503 wxStaticBitmap
* _arg0
;
5505 PyObject
* _argo0
= 0;
5506 PyObject
* _argo1
= 0;
5507 char *_kwnames
[] = { "self","icon", NULL
};
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
5513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
5515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
5520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
5527 wxPy_BEGIN_ALLOW_THREADS
;
5528 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
5530 wxPy_END_ALLOW_THREADS
;
5531 } Py_INCREF(Py_None
);
5532 _resultobj
= Py_None
;
5536 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
5539 src
= (wxRadioBox
*) ptr
;
5540 dest
= (wxControl
*) src
;
5541 return (void *) dest
;
5544 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
5547 src
= (wxRadioBox
*) ptr
;
5548 dest
= (wxWindow
*) src
;
5549 return (void *) dest
;
5552 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
5555 src
= (wxRadioBox
*) ptr
;
5556 dest
= (wxEvtHandler
*) src
;
5557 return (void *) dest
;
5560 #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))
5561 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5563 wxRadioBox
* _result
;
5567 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
5568 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
5569 int _arg5
= (int ) 0;
5570 wxString
* _arg6
= (wxString
*) NULL
;
5571 int _arg7
= (int ) 0;
5572 long _arg8
= (long ) wxRA_HORIZONTAL
;
5573 wxValidator
* _arg9
= (wxValidator
*) &wxPyDefaultValidator
;
5574 char * _arg10
= (char *) "radioBox";
5575 PyObject
* _argo0
= 0;
5576 PyObject
* _obj2
= 0;
5578 PyObject
* _obj3
= 0;
5580 PyObject
* _obj4
= 0;
5581 PyObject
* _obj6
= 0;
5582 PyObject
* _argo9
= 0;
5583 char *_kwnames
[] = { "parent","id","label","point","size","LIST","majorDimension","style","validator","name", NULL
};
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
5590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
5597 if (!PyString_Check(_obj2
)) {
5598 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5601 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5606 if (! wxPoint_helper(_obj3
, &_arg3
))
5612 if (! wxSize_helper(_obj4
, &_arg4
))
5617 _arg6
= wxString_LIST_helper(_obj6
);
5618 if (_arg6
== NULL
) {
5623 if (_argo9
== Py_None
) { _arg9
= NULL
; }
5624 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
5625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
5631 _arg5
= PyList_Size(_obj6
);
5638 wxPy_BEGIN_ALLOW_THREADS
;
5639 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
5641 wxPy_END_ALLOW_THREADS
;
5643 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
5644 _resultobj
= Py_BuildValue("s",_ptemp
);
5647 _resultobj
= Py_None
;
5659 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5660 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
* _resultobj
;
5664 PyObject
* _argo0
= 0;
5666 char *_kwnames
[] = { "self","enable", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
5678 _arg1
= (bool ) tempbool1
;
5680 wxPy_BEGIN_ALLOW_THREADS
;
5681 wxRadioBox_Enable(_arg0
,_arg1
);
5683 wxPy_END_ALLOW_THREADS
;
5684 } Py_INCREF(Py_None
);
5685 _resultobj
= Py_None
;
5689 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5690 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
* _resultobj
;
5695 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self","n","enable", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
5709 _arg2
= (bool ) tempbool2
;
5711 wxPy_BEGIN_ALLOW_THREADS
;
5712 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
5714 wxPy_END_ALLOW_THREADS
;
5715 } Py_INCREF(Py_None
);
5716 _resultobj
= Py_None
;
5720 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
5721 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5726 PyObject
* _argo0
= 0;
5727 PyObject
* _obj1
= 0;
5728 char *_kwnames
[] = { "self","string", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
5741 if (!PyString_Check(_obj1
)) {
5742 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5745 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
5748 wxPy_BEGIN_ALLOW_THREADS
;
5749 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
5751 wxPy_END_ALLOW_THREADS
;
5752 } _resultobj
= Py_BuildValue("i",_result
);
5760 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5761 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5766 PyObject
* _argo0
= 0;
5767 char *_kwnames
[] = { "self","n", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
5783 wxPy_END_ALLOW_THREADS
;
5785 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5793 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
5794 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
5812 wxPy_BEGIN_ALLOW_THREADS
;
5813 _result
= (int )wxRadioBox_GetSelection(_arg0
);
5815 wxPy_END_ALLOW_THREADS
;
5816 } _resultobj
= Py_BuildValue("i",_result
);
5820 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
5821 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5826 PyObject
* _argo0
= 0;
5827 char *_kwnames
[] = { "self","n", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
5843 wxPy_END_ALLOW_THREADS
;
5845 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5853 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5854 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5858 PyObject
* _argo0
= 0;
5859 char *_kwnames
[] = { "self", NULL
};
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
5865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
5872 wxPy_BEGIN_ALLOW_THREADS
;
5873 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
5875 wxPy_END_ALLOW_THREADS
;
5877 _resultobj
= PyString_FromString(WXSTRINGCAST
*(_result
));
5885 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
5886 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
* _resultobj
;
5890 PyObject
* _argo0
= 0;
5891 char *_kwnames
[] = { "self", NULL
};
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
5897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
5904 wxPy_BEGIN_ALLOW_THREADS
;
5905 _result
= (int )wxRadioBox_Number(_arg0
);
5907 wxPy_END_ALLOW_THREADS
;
5908 } _resultobj
= Py_BuildValue("i",_result
);
5912 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5913 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5918 PyObject
* _argo0
= 0;
5919 PyObject
* _obj2
= 0;
5920 char *_kwnames
[] = { "self","n","label", NULL
};
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
5933 if (!PyString_Check(_obj2
)) {
5934 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5937 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
5940 wxPy_BEGIN_ALLOW_THREADS
;
5941 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
5943 wxPy_END_ALLOW_THREADS
;
5944 } Py_INCREF(Py_None
);
5945 _resultobj
= Py_None
;
5953 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
5954 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
* _resultobj
;
5958 PyObject
* _argo0
= 0;
5959 char *_kwnames
[] = { "self","n", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
5972 wxPy_BEGIN_ALLOW_THREADS
;
5973 wxRadioBox_SetSelection(_arg0
,_arg1
);
5975 wxPy_END_ALLOW_THREADS
;
5976 } Py_INCREF(Py_None
);
5977 _resultobj
= Py_None
;
5981 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
5982 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 PyObject
* _obj1
= 0;
5988 char *_kwnames
[] = { "self","string", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6001 if (!PyString_Check(_obj1
)) {
6002 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6005 _arg1
= new wxString(PyString_AsString(_obj1
), PyString_Size(_obj1
));
6008 wxPy_BEGIN_ALLOW_THREADS
;
6009 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
6011 wxPy_END_ALLOW_THREADS
;
6012 } Py_INCREF(Py_None
);
6013 _resultobj
= Py_None
;
6021 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6022 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6026 PyObject
* _argo0
= 0;
6028 char *_kwnames
[] = { "self","show", NULL
};
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
6034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6040 _arg1
= (bool ) tempbool1
;
6042 wxPy_BEGIN_ALLOW_THREADS
;
6043 wxRadioBox_Show(_arg0
,_arg1
);
6045 wxPy_END_ALLOW_THREADS
;
6046 } Py_INCREF(Py_None
);
6047 _resultobj
= Py_None
;
6051 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6052 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6053 PyObject
* _resultobj
;
6057 PyObject
* _argo0
= 0;
6059 char *_kwnames
[] = { "self","item","show", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6071 _arg2
= (bool ) tempbool2
;
6073 wxPy_BEGIN_ALLOW_THREADS
;
6074 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
6076 wxPy_END_ALLOW_THREADS
;
6077 } Py_INCREF(Py_None
);
6078 _resultobj
= Py_None
;
6082 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
6085 src
= (wxRadioButton
*) ptr
;
6086 dest
= (wxControl
*) src
;
6087 return (void *) dest
;
6090 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
6093 src
= (wxRadioButton
*) ptr
;
6094 dest
= (wxWindow
*) src
;
6095 return (void *) dest
;
6098 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
6101 src
= (wxRadioButton
*) ptr
;
6102 dest
= (wxEvtHandler
*) src
;
6103 return (void *) dest
;
6106 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6107 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6109 wxRadioButton
* _result
;
6113 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
6114 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
6115 long _arg5
= (long ) 0;
6116 wxValidator
* _arg6
= (wxValidator
*) &wxPyDefaultValidator
;
6117 char * _arg7
= (char *) "radioButton";
6118 PyObject
* _argo0
= 0;
6119 PyObject
* _obj2
= 0;
6121 PyObject
* _obj3
= 0;
6123 PyObject
* _obj4
= 0;
6124 PyObject
* _argo6
= 0;
6125 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6139 if (!PyString_Check(_obj2
)) {
6140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6143 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
6148 if (! wxPoint_helper(_obj3
, &_arg3
))
6154 if (! wxSize_helper(_obj4
, &_arg4
))
6158 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6159 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
6165 wxPy_BEGIN_ALLOW_THREADS
;
6166 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6168 wxPy_END_ALLOW_THREADS
;
6170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
6171 _resultobj
= Py_BuildValue("s",_ptemp
);
6174 _resultobj
= Py_None
;
6183 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
6184 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6187 wxRadioButton
* _arg0
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
6195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
6202 wxPy_BEGIN_ALLOW_THREADS
;
6203 _result
= (bool )wxRadioButton_GetValue(_arg0
);
6205 wxPy_END_ALLOW_THREADS
;
6206 } _resultobj
= Py_BuildValue("i",_result
);
6210 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6211 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6213 wxRadioButton
* _arg0
;
6215 PyObject
* _argo0
= 0;
6217 char *_kwnames
[] = { "self","value", NULL
};
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
6223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6229 _arg1
= (bool ) tempbool1
;
6231 wxPy_BEGIN_ALLOW_THREADS
;
6232 wxRadioButton_SetValue(_arg0
,_arg1
);
6234 wxPy_END_ALLOW_THREADS
;
6235 } Py_INCREF(Py_None
);
6236 _resultobj
= Py_None
;
6240 static void *SwigwxSliderTowxControl(void *ptr
) {
6243 src
= (wxSlider
*) ptr
;
6244 dest
= (wxControl
*) src
;
6245 return (void *) dest
;
6248 static void *SwigwxSliderTowxWindow(void *ptr
) {
6251 src
= (wxSlider
*) ptr
;
6252 dest
= (wxWindow
*) src
;
6253 return (void *) dest
;
6256 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
6259 src
= (wxSlider
*) ptr
;
6260 dest
= (wxEvtHandler
*) src
;
6261 return (void *) dest
;
6264 #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))
6265 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6273 wxPoint
* _arg5
= (wxPoint
*) &wxPyDefaultPosition
;
6274 wxSize
* _arg6
= (wxSize
*) &wxPyDefaultSize
;
6275 long _arg7
= (long ) wxSL_HORIZONTAL
;
6276 wxValidator
* _arg8
= (wxValidator
*) &wxPyDefaultValidator
;
6277 char * _arg9
= (char *) "slider";
6278 PyObject
* _argo0
= 0;
6280 PyObject
* _obj5
= 0;
6282 PyObject
* _obj6
= 0;
6283 PyObject
* _argo8
= 0;
6284 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
6291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
6300 if (! wxPoint_helper(_obj5
, &_arg5
))
6306 if (! wxSize_helper(_obj6
, &_arg6
))
6310 if (_argo8
== Py_None
) { _arg8
= NULL
; }
6311 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
6312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
6317 wxPy_BEGIN_ALLOW_THREADS
;
6318 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
6320 wxPy_END_ALLOW_THREADS
;
6322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
6323 _resultobj
= Py_BuildValue("s",_ptemp
);
6326 _resultobj
= Py_None
;
6331 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
6332 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
* _resultobj
;
6335 PyObject
* _argo0
= 0;
6336 char *_kwnames
[] = { "self", NULL
};
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_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_ClearSel. Expected _wxSlider_p.");
6349 wxPy_BEGIN_ALLOW_THREADS
;
6350 wxSlider_ClearSel(_arg0
);
6352 wxPy_END_ALLOW_THREADS
;
6353 } Py_INCREF(Py_None
);
6354 _resultobj
= Py_None
;
6358 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
6359 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
* _resultobj
;
6362 PyObject
* _argo0
= 0;
6363 char *_kwnames
[] = { "self", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
6376 wxPy_BEGIN_ALLOW_THREADS
;
6377 wxSlider_ClearTicks(_arg0
);
6379 wxPy_END_ALLOW_THREADS
;
6380 } Py_INCREF(Py_None
);
6381 _resultobj
= Py_None
;
6385 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
6386 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6390 PyObject
* _argo0
= 0;
6391 char *_kwnames
[] = { "self", NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
6397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
6404 wxPy_BEGIN_ALLOW_THREADS
;
6405 _result
= (int )wxSlider_GetLineSize(_arg0
);
6407 wxPy_END_ALLOW_THREADS
;
6408 } _resultobj
= Py_BuildValue("i",_result
);
6412 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
6413 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6417 PyObject
* _argo0
= 0;
6418 char *_kwnames
[] = { "self", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
6431 wxPy_BEGIN_ALLOW_THREADS
;
6432 _result
= (int )wxSlider_GetMax(_arg0
);
6434 wxPy_END_ALLOW_THREADS
;
6435 } _resultobj
= Py_BuildValue("i",_result
);
6439 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
6440 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 char *_kwnames
[] = { "self", NULL
};
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
6451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
6458 wxPy_BEGIN_ALLOW_THREADS
;
6459 _result
= (int )wxSlider_GetMin(_arg0
);
6461 wxPy_END_ALLOW_THREADS
;
6462 } _resultobj
= Py_BuildValue("i",_result
);
6466 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
6467 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6471 PyObject
* _argo0
= 0;
6472 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
6485 wxPy_BEGIN_ALLOW_THREADS
;
6486 _result
= (int )wxSlider_GetPageSize(_arg0
);
6488 wxPy_END_ALLOW_THREADS
;
6489 } _resultobj
= Py_BuildValue("i",_result
);
6493 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
6494 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
* _resultobj
;
6498 PyObject
* _argo0
= 0;
6499 char *_kwnames
[] = { "self", NULL
};
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
6505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
6512 wxPy_BEGIN_ALLOW_THREADS
;
6513 _result
= (int )wxSlider_GetSelEnd(_arg0
);
6515 wxPy_END_ALLOW_THREADS
;
6516 } _resultobj
= Py_BuildValue("i",_result
);
6520 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
6521 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
* _resultobj
;
6525 PyObject
* _argo0
= 0;
6526 char *_kwnames
[] = { "self", NULL
};
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
6532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
6539 wxPy_BEGIN_ALLOW_THREADS
;
6540 _result
= (int )wxSlider_GetSelStart(_arg0
);
6542 wxPy_END_ALLOW_THREADS
;
6543 } _resultobj
= Py_BuildValue("i",_result
);
6547 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
6548 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self", NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
6559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
6566 wxPy_BEGIN_ALLOW_THREADS
;
6567 _result
= (int )wxSlider_GetThumbLength(_arg0
);
6569 wxPy_END_ALLOW_THREADS
;
6570 } _resultobj
= Py_BuildValue("i",_result
);
6574 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
6575 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
* _resultobj
;
6579 PyObject
* _argo0
= 0;
6580 char *_kwnames
[] = { "self", NULL
};
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
6586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
6593 wxPy_BEGIN_ALLOW_THREADS
;
6594 _result
= (int )wxSlider_GetTickFreq(_arg0
);
6596 wxPy_END_ALLOW_THREADS
;
6597 } _resultobj
= Py_BuildValue("i",_result
);
6601 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
6602 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self", NULL
};
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
6613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
6620 wxPy_BEGIN_ALLOW_THREADS
;
6621 _result
= (int )wxSlider_GetValue(_arg0
);
6623 wxPy_END_ALLOW_THREADS
;
6624 } _resultobj
= Py_BuildValue("i",_result
);
6628 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6629 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
6648 wxPy_BEGIN_ALLOW_THREADS
;
6649 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
6651 wxPy_END_ALLOW_THREADS
;
6652 } Py_INCREF(Py_None
);
6653 _resultobj
= Py_None
;
6657 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
6658 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6663 PyObject
* _argo0
= 0;
6664 char *_kwnames
[] = { "self","n","pos", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
6677 wxPy_BEGIN_ALLOW_THREADS
;
6678 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
6680 wxPy_END_ALLOW_THREADS
;
6681 } Py_INCREF(Py_None
);
6682 _resultobj
= Py_None
;
6686 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
6687 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
* _resultobj
;
6691 PyObject
* _argo0
= 0;
6692 char *_kwnames
[] = { "self","lineSize", NULL
};
6695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
6698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
6705 wxPy_BEGIN_ALLOW_THREADS
;
6706 wxSlider_SetLineSize(_arg0
,_arg1
);
6708 wxPy_END_ALLOW_THREADS
;
6709 } Py_INCREF(Py_None
);
6710 _resultobj
= Py_None
;
6714 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
6715 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self","pageSize", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
6733 wxPy_BEGIN_ALLOW_THREADS
;
6734 wxSlider_SetPageSize(_arg0
,_arg1
);
6736 wxPy_END_ALLOW_THREADS
;
6737 } Py_INCREF(Py_None
);
6738 _resultobj
= Py_None
;
6742 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
6743 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
* _resultobj
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
6762 wxPy_BEGIN_ALLOW_THREADS
;
6763 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
6765 wxPy_END_ALLOW_THREADS
;
6766 } Py_INCREF(Py_None
);
6767 _resultobj
= Py_None
;
6771 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
6772 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6776 PyObject
* _argo0
= 0;
6777 char *_kwnames
[] = { "self","len", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
6790 wxPy_BEGIN_ALLOW_THREADS
;
6791 wxSlider_SetThumbLength(_arg0
,_arg1
);
6793 wxPy_END_ALLOW_THREADS
;
6794 } Py_INCREF(Py_None
);
6795 _resultobj
= Py_None
;
6799 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
6800 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6804 PyObject
* _argo0
= 0;
6805 char *_kwnames
[] = { "self","tickPos", NULL
};
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
6811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
6818 wxPy_BEGIN_ALLOW_THREADS
;
6819 wxSlider_SetTick(_arg0
,_arg1
);
6821 wxPy_END_ALLOW_THREADS
;
6822 } Py_INCREF(Py_None
);
6823 _resultobj
= Py_None
;
6827 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6828 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self","value", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
6846 wxPy_BEGIN_ALLOW_THREADS
;
6847 wxSlider_SetValue(_arg0
,_arg1
);
6849 wxPy_END_ALLOW_THREADS
;
6850 } Py_INCREF(Py_None
);
6851 _resultobj
= Py_None
;
6855 static PyMethodDef controlscMethods
[] = {
6856 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
6857 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
6858 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
6859 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6860 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
6861 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
6862 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
6863 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
6864 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
6865 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
6866 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
6867 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
6868 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
6869 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
6870 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
6871 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
6872 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
6873 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
6874 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
6875 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
6876 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
6877 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
6878 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
6879 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
6880 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
6881 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
6882 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6883 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
6884 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
6885 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
6886 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6887 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6888 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
6889 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
6890 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
6891 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6892 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
6893 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
6894 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6895 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6896 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6897 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
6898 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
6899 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
6900 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
6901 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
6902 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
6903 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
6904 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
6905 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
6906 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
6907 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
6908 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
6909 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
6910 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
6911 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6912 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
6913 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
6914 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
6915 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
6916 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
6917 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
6918 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
6919 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
6920 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
6921 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
6922 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6923 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
6924 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
6925 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
6926 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
6927 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
6928 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
6929 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
6930 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
6931 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
6932 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
6933 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
6934 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
6935 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
6936 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
6937 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
6938 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
6939 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
6940 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
6941 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
6942 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
6943 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6944 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
6945 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
6946 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
6947 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
6948 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
6949 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
6950 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6951 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
6952 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
6953 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
6954 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
6955 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
6956 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
6957 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6958 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
6959 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
6960 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6961 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
6962 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
6963 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
6964 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
6965 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
6966 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
6967 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6968 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
6969 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
6970 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
6971 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
6972 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
6973 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
6974 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
6975 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
6976 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
6977 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
6978 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
6979 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
6980 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
6981 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
7038 * This table is used by the pointer type-checker
7040 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7041 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7042 { "_wxEvent","_class_wxEvent",0},
7043 { "_class_wxActivateEvent","_wxActivateEvent",0},
7044 { "_signed_long","_long",0},
7045 { "_wxMenuEvent","_class_wxMenuEvent",0},
7046 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7047 { "_wxPrintQuality","_int",0},
7048 { "_wxPrintQuality","_signed_int",0},
7049 { "_wxPrintQuality","_unsigned_int",0},
7050 { "_wxPrintQuality","_wxWindowID",0},
7051 { "_wxPrintQuality","_uint",0},
7052 { "_wxPrintQuality","_EBool",0},
7053 { "_wxPrintQuality","_size_t",0},
7054 { "_class_wxRegionIterator","_wxRegionIterator",0},
7055 { "_class_wxMenuBar","_wxMenuBar",0},
7056 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
7057 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
7058 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7059 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7060 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7061 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7062 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7063 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7064 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7065 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7066 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7067 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7068 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7069 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7070 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7071 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7072 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
7073 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
7074 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7075 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7076 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7077 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7078 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7079 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7080 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
7081 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
7082 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7083 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7084 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
7085 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
7086 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7087 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7088 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7089 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7090 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
7091 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
7092 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
7093 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
7094 { "_class_wxEvtHandler","_wxEvtHandler",0},
7095 { "_wxPaintEvent","_class_wxPaintEvent",0},
7096 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7097 { "_wxCursor","_class_wxCursor",0},
7098 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7099 { "_wxMask","_class_wxMask",0},
7100 { "_wxPen","_class_wxPen",0},
7101 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7102 { "_byte","_unsigned_char",0},
7103 { "_wxStaticBox","_class_wxStaticBox",0},
7104 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
7105 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
7106 { "_wxChoice","_class_wxChoice",0},
7107 { "_wxSlider","_class_wxSlider",0},
7108 { "_long","_wxDash",0},
7109 { "_long","_unsigned_long",0},
7110 { "_long","_signed_long",0},
7111 { "_wxImageList","_class_wxImageList",0},
7112 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7113 { "_wxBitmapButton","_class_wxBitmapButton",0},
7114 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7115 { "_class_wxGauge","_wxGauge",0},
7116 { "_wxDC","_class_wxDC",0},
7117 { "_wxSpinEvent","_class_wxSpinEvent",0},
7118 { "_size_t","_wxPrintQuality",0},
7119 { "_size_t","_unsigned_int",0},
7120 { "_size_t","_int",0},
7121 { "_size_t","_wxWindowID",0},
7122 { "_size_t","_uint",0},
7123 { "_class_wxRealPoint","_wxRealPoint",0},
7124 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
7125 { "_wxPrinterDC","_class_wxPrinterDC",0},
7126 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
7127 { "_class_wxMenuItem","_wxMenuItem",0},
7128 { "_class_wxPaintEvent","_wxPaintEvent",0},
7129 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
7130 { "_wxPanel","_class_wxPanel",0},
7131 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7132 { "_wxCheckBox","_class_wxCheckBox",0},
7133 { "_wxPyEvent","_class_wxPyEvent",0},
7134 { "_wxTextCtrl","_class_wxTextCtrl",0},
7135 { "_class_wxMask","_wxMask",0},
7136 { "_class_wxKeyEvent","_wxKeyEvent",0},
7137 { "_wxColour","_class_wxColour",0},
7138 { "_class_wxDialog","_wxDialog",0},
7139 { "_wxIdleEvent","_class_wxIdleEvent",0},
7140 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
7141 { "_wxStaticLine","_class_wxStaticLine",0},
7142 { "_wxBrush","_class_wxBrush",0},
7143 { "_wxShowEvent","_class_wxShowEvent",0},
7144 { "_uint","_wxPrintQuality",0},
7145 { "_uint","_size_t",0},
7146 { "_uint","_unsigned_int",0},
7147 { "_uint","_int",0},
7148 { "_uint","_wxWindowID",0},
7149 { "_wxPyValidator","_class_wxPyValidator",0},
7150 { "_class_wxEvent","_wxEvent",0},
7151 { "_wxCheckListBox","_class_wxCheckListBox",0},
7152 { "_wxRect","_class_wxRect",0},
7153 { "_wxCommandEvent","_class_wxCommandEvent",0},
7154 { "_wxSizeEvent","_class_wxSizeEvent",0},
7155 { "_wxPoint","_class_wxPoint",0},
7156 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7157 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7158 { "_class_wxButton","_wxButton",0},
7159 { "_wxRadioBox","_class_wxRadioBox",0},
7160 { "_wxBitmap","_class_wxBitmap",0},
7161 { "_wxPyTimer","_class_wxPyTimer",0},
7162 { "_wxWindowDC","_class_wxWindowDC",0},
7163 { "_wxScrollBar","_class_wxScrollBar",0},
7164 { "_wxSpinButton","_class_wxSpinButton",0},
7165 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7166 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7167 { "_class_wxValidator","_wxValidator",0},
7168 { "_class_wxPyEvent","_wxPyEvent",0},
7169 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7170 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
7171 { "_class_wxStaticLine","_wxStaticLine",0},
7172 { "_wxScrollEvent","_class_wxScrollEvent",0},
7173 { "_EBool","_wxPrintQuality",0},
7174 { "_EBool","_signed_int",0},
7175 { "_EBool","_int",0},
7176 { "_EBool","_wxWindowID",0},
7177 { "_class_wxRegion","_wxRegion",0},
7178 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
7179 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
7180 { "_wxStaticText","_class_wxStaticText",0},
7181 { "_wxFont","_class_wxFont",0},
7182 { "_wxCloseEvent","_class_wxCloseEvent",0},
7183 { "_unsigned_long","_wxDash",0},
7184 { "_unsigned_long","_long",0},
7185 { "_class_wxRect","_wxRect",0},
7186 { "_class_wxDC","_wxDC",0},
7187 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
7188 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
7189 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
7190 { "_class_wxPyTimer","_wxPyTimer",0},
7191 { "_wxFocusEvent","_class_wxFocusEvent",0},
7192 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
7193 { "_class_wxSpinButton","_wxSpinButton",0},
7194 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7195 { "_class_wxPanel","_wxPanel",0},
7196 { "_class_wxCheckBox","_wxCheckBox",0},
7197 { "_wxComboBox","_class_wxComboBox",0},
7198 { "_wxRadioButton","_class_wxRadioButton",0},
7199 { "_signed_int","_wxPrintQuality",0},
7200 { "_signed_int","_EBool",0},
7201 { "_signed_int","_wxWindowID",0},
7202 { "_signed_int","_int",0},
7203 { "_class_wxTextCtrl","_wxTextCtrl",0},
7204 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7205 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7206 { "_wxMenu","_class_wxMenu",0},
7207 { "_class_wxMoveEvent","_wxMoveEvent",0},
7208 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7209 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7210 { "_wxListBox","_class_wxListBox",0},
7211 { "_wxScreenDC","_class_wxScreenDC",0},
7212 { "_WXTYPE","_short",0},
7213 { "_WXTYPE","_signed_short",0},
7214 { "_WXTYPE","_unsigned_short",0},
7215 { "_class_wxBrush","_wxBrush",0},
7216 { "_unsigned_short","_WXTYPE",0},
7217 { "_unsigned_short","_short",0},
7218 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
7219 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
7220 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7221 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7222 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7223 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7224 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7225 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7226 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7227 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7228 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
7229 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
7230 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7231 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7232 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7233 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7234 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
7235 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
7236 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
7237 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
7238 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
7239 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
7240 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7241 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7242 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
7243 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
7244 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
7245 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
7246 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
7247 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
7248 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7249 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7250 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7251 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7252 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
7253 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
7254 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
7255 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
7256 { "_class_wxWindow","_wxWindow",0},
7257 { "_class_wxStaticText","_wxStaticText",0},
7258 { "_class_wxFont","_wxFont",0},
7259 { "_class_wxPyValidator","_wxPyValidator",0},
7260 { "_class_wxCloseEvent","_wxCloseEvent",0},
7261 { "_class_wxMenuEvent","_wxMenuEvent",0},
7262 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
7263 { "_wxClientDC","_class_wxClientDC",0},
7264 { "_wxMouseEvent","_class_wxMouseEvent",0},
7265 { "_class_wxPoint","_wxPoint",0},
7266 { "_wxRealPoint","_class_wxRealPoint",0},
7267 { "_class_wxRadioBox","_wxRadioBox",0},
7268 { "_signed_short","_WXTYPE",0},
7269 { "_signed_short","_short",0},
7270 { "_wxMemoryDC","_class_wxMemoryDC",0},
7271 { "_wxPaintDC","_class_wxPaintDC",0},
7272 { "_class_wxWindowDC","_wxWindowDC",0},
7273 { "_class_wxFocusEvent","_wxFocusEvent",0},
7274 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7275 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7276 { "_class_wxCursor","_wxCursor",0},
7277 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7278 { "_unsigned_char","_byte",0},
7279 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7280 { "_class_wxMenu","_wxMenu",0},
7281 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
7282 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
7283 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
7284 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
7285 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
7286 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
7287 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7288 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7289 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
7290 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
7291 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
7292 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
7293 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7294 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7295 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7296 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7297 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
7298 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
7299 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
7300 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
7301 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
7302 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
7303 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
7304 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
7305 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
7306 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
7307 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
7308 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
7309 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
7310 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
7311 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
7312 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
7313 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7314 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7315 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
7316 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
7317 { "_wxControl","_class_wxControl",0},
7318 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7319 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
7320 { "_class_wxListBox","_wxListBox",0},
7321 { "_unsigned_int","_wxPrintQuality",0},
7322 { "_unsigned_int","_size_t",0},
7323 { "_unsigned_int","_uint",0},
7324 { "_unsigned_int","_wxWindowID",0},
7325 { "_unsigned_int","_int",0},
7326 { "_wxIcon","_class_wxIcon",0},
7327 { "_wxDialog","_class_wxDialog",0},
7328 { "_class_wxPen","_wxPen",0},
7329 { "_short","_WXTYPE",0},
7330 { "_short","_unsigned_short",0},
7331 { "_short","_signed_short",0},
7332 { "_class_wxStaticBox","_wxStaticBox",0},
7333 { "_class_wxScrollEvent","_wxScrollEvent",0},
7334 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7335 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
7336 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
7337 { "_class_wxChoice","_wxChoice",0},
7338 { "_class_wxSlider","_wxSlider",0},
7339 { "_class_wxImageList","_wxImageList",0},
7340 { "_class_wxBitmapButton","_wxBitmapButton",0},
7341 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
7342 { "_wxWindowID","_wxPrintQuality",0},
7343 { "_wxWindowID","_size_t",0},
7344 { "_wxWindowID","_EBool",0},
7345 { "_wxWindowID","_uint",0},
7346 { "_wxWindowID","_int",0},
7347 { "_wxWindowID","_signed_int",0},
7348 { "_wxWindowID","_unsigned_int",0},
7349 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
7350 { "_int","_wxPrintQuality",0},
7351 { "_int","_size_t",0},
7352 { "_int","_EBool",0},
7353 { "_int","_uint",0},
7354 { "_int","_wxWindowID",0},
7355 { "_int","_unsigned_int",0},
7356 { "_int","_signed_int",0},
7357 { "_class_wxMouseEvent","_wxMouseEvent",0},
7358 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
7359 { "_class_wxSpinEvent","_wxSpinEvent",0},
7360 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
7361 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
7362 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7363 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
7364 { "_wxButton","_class_wxButton",0},
7365 { "_wxSize","_class_wxSize",0},
7366 { "_wxRegionIterator","_class_wxRegionIterator",0},
7367 { "_class_wxPrinterDC","_wxPrinterDC",0},
7368 { "_class_wxPaintDC","_wxPaintDC",0},
7369 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7370 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7371 { "_class_wxComboBox","_wxComboBox",0},
7372 { "_class_wxRadioButton","_wxRadioButton",0},
7373 { "_wxValidator","_class_wxValidator",0},
7374 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7375 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7376 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
7377 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
7378 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
7379 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
7380 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
7381 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
7382 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7383 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
7384 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
7385 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
7386 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
7387 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
7388 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7389 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
7390 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7391 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
7392 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
7393 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
7394 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
7395 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
7396 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
7397 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
7398 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
7399 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
7400 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
7401 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
7402 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
7403 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
7404 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
7405 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
7406 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
7407 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
7408 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7409 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
7410 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
7411 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
7412 { "_class_wxControl","_wxControl",0},
7413 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
7414 { "_class_wxIcon","_wxIcon",0},
7415 { "_class_wxColour","_wxColour",0},
7416 { "_class_wxScreenDC","_wxScreenDC",0},
7417 { "_wxPalette","_class_wxPalette",0},
7418 { "_class_wxIdleEvent","_wxIdleEvent",0},
7419 { "_wxEraseEvent","_class_wxEraseEvent",0},
7420 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7421 { "_wxRegion","_class_wxRegion",0},
7422 { "_class_wxShowEvent","_wxShowEvent",0},
7423 { "_wxActivateEvent","_class_wxActivateEvent",0},
7424 { "_wxGauge","_class_wxGauge",0},
7425 { "_class_wxCheckListBox","_wxCheckListBox",0},
7426 { "_class_wxCommandEvent","_wxCommandEvent",0},
7427 { "_class_wxClientDC","_wxClientDC",0},
7428 { "_class_wxSizeEvent","_wxSizeEvent",0},
7429 { "_class_wxSize","_wxSize",0},
7430 { "_class_wxBitmap","_wxBitmap",0},
7431 { "_class_wxMemoryDC","_wxMemoryDC",0},
7432 { "_wxMenuBar","_class_wxMenuBar",0},
7433 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
7434 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
7435 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7436 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
7437 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7438 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
7439 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7440 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
7441 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7442 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
7443 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7444 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
7445 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7446 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
7447 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7448 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
7449 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
7450 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
7451 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7452 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
7453 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7454 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
7455 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7456 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
7457 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
7458 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
7459 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7460 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
7461 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
7462 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
7463 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7464 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
7465 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7466 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
7467 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
7468 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
7469 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
7470 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
7471 { "_wxEvtHandler","_class_wxEvtHandler",0},
7472 { "_wxMenuItem","_class_wxMenuItem",0},
7473 { "_class_wxScrollBar","_wxScrollBar",0},
7474 { "_wxDash","_unsigned_long",0},
7475 { "_wxDash","_long",0},
7476 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7477 { "_wxKeyEvent","_class_wxKeyEvent",0},
7478 { "_wxMoveEvent","_class_wxMoveEvent",0},
7479 { "_class_wxPalette","_wxPalette",0},
7480 { "_class_wxEraseEvent","_wxEraseEvent",0},
7481 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
7482 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
7483 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7484 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
7485 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7486 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
7487 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7488 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
7489 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7490 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
7491 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
7492 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
7493 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7494 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
7495 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7496 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
7497 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
7498 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
7499 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
7500 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
7501 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
7502 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
7503 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7504 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
7505 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
7506 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
7507 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
7508 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
7509 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
7510 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
7511 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7512 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
7513 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7514 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
7515 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
7516 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
7517 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
7518 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
7519 { "_wxWindow","_class_wxWindow",0},
7520 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
7523 static PyObject
*SWIG_globals
;
7527 SWIGEXPORT(void) initcontrolsc() {
7529 SWIG_globals
= SWIG_newvarlink();
7530 m
= Py_InitModule("controlsc", controlscMethods
);
7531 d
= PyModule_GetDict(m
);
7532 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
7533 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
7536 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7537 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);