2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyList_Check(target
)) {
87 target
= PyList_New(0);
88 PyList_Append(target
, o2
);
91 PyList_Append(target
,o
);
97 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
103 } else if (target
== Py_None
) {
107 if (!PyTuple_Check(target
)) {
109 target
= PyTuple_New(1);
110 PyTuple_SetItem(target
, 0, o2
);
113 PyTuple_SetItem(o3
, 0, o
);
116 target
= PySequence_Concat(o2
, o3
);
123 #if PYTHON_API_VERSION >= 1009
124 static char* wxStringErrorMsg
= "String or Unicode type required";
126 static char* wxStringErrorMsg
= "string type is required for parameter";
129 wxSize
wxButton_GetDefaultSize() {
130 return wxButton::GetDefaultSize();
135 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
137 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
141 static PyObject
*_wrap_wxDefaultValidator_get() {
145 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
146 pyobj
= PyString_FromString(ptemp
);
150 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
153 char *_kwnames
[] = { NULL
};
157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
160 wxPy_BEGIN_ALLOW_THREADS
;
161 _result
= new wxSize (wxButton_GetDefaultSize());
163 wxPy_END_ALLOW_THREADS
;
164 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
165 _resultobj
= Py_BuildValue("s",_ptemp
);
169 static void *SwigwxControlTowxWindow(void *ptr
) {
172 src
= (wxControl
*) ptr
;
173 dest
= (wxWindow
*) src
;
174 return (void *) dest
;
177 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
180 src
= (wxControl
*) ptr
;
181 dest
= (wxEvtHandler
*) src
;
182 return (void *) dest
;
185 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
186 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
187 PyObject
* _resultobj
;
191 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
192 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
193 long _arg4
= (long ) 0;
194 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
195 char * _arg6
= (char *) "control";
196 PyObject
* _argo0
= 0;
198 PyObject
* _obj2
= 0;
200 PyObject
* _obj3
= 0;
201 PyObject
* _argo5
= 0;
202 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
218 if (! wxPoint_helper(_obj2
, &_arg2
))
224 if (! wxSize_helper(_obj3
, &_arg3
))
228 if (_argo5
== Py_None
) { _arg5
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
235 wxPy_BEGIN_ALLOW_THREADS
;
236 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
238 wxPy_END_ALLOW_THREADS
;
240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
241 _resultobj
= Py_BuildValue("s",_ptemp
);
244 _resultobj
= Py_None
;
249 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
250 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
251 PyObject
* _resultobj
;
253 wxCommandEvent
* _arg1
;
254 PyObject
* _argo0
= 0;
255 PyObject
* _argo1
= 0;
256 char *_kwnames
[] = { "self","event", NULL
};
259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
269 if (_argo1
== Py_None
) { _arg1
= NULL
; }
270 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
276 wxPy_BEGIN_ALLOW_THREADS
;
277 wxControl_Command(_arg0
,*_arg1
);
279 wxPy_END_ALLOW_THREADS
;
280 } Py_INCREF(Py_None
);
281 _resultobj
= Py_None
;
285 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
286 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
287 PyObject
* _resultobj
;
290 PyObject
* _argo0
= 0;
291 char *_kwnames
[] = { "self", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
304 wxPy_BEGIN_ALLOW_THREADS
;
305 _result
= new wxString (wxControl_GetLabel(_arg0
));
307 wxPy_END_ALLOW_THREADS
;
309 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
317 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
318 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
319 PyObject
* _resultobj
;
322 PyObject
* _argo0
= 0;
323 PyObject
* _obj1
= 0;
324 char *_kwnames
[] = { "self","label", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
337 #if PYTHON_API_VERSION >= 1009
338 char* tmpPtr
; int tmpSize
;
339 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
343 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
345 _arg1
= new wxString(tmpPtr
, tmpSize
);
347 if (!PyString_Check(_obj1
)) {
348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
351 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
355 wxPy_BEGIN_ALLOW_THREADS
;
356 wxControl_SetLabel(_arg0
,*_arg1
);
358 wxPy_END_ALLOW_THREADS
;
359 } Py_INCREF(Py_None
);
360 _resultobj
= Py_None
;
368 static void *SwigwxButtonTowxControl(void *ptr
) {
371 src
= (wxButton
*) ptr
;
372 dest
= (wxControl
*) src
;
373 return (void *) dest
;
376 static void *SwigwxButtonTowxWindow(void *ptr
) {
379 src
= (wxButton
*) ptr
;
380 dest
= (wxWindow
*) src
;
381 return (void *) dest
;
384 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
387 src
= (wxButton
*) ptr
;
388 dest
= (wxEvtHandler
*) src
;
389 return (void *) dest
;
392 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
393 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
394 PyObject
* _resultobj
;
399 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
400 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
401 long _arg5
= (long ) 0;
402 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
403 char * _arg7
= (char *) "button";
404 PyObject
* _argo0
= 0;
405 PyObject
* _obj2
= 0;
407 PyObject
* _obj3
= 0;
409 PyObject
* _obj4
= 0;
410 PyObject
* _argo6
= 0;
411 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
425 #if PYTHON_API_VERSION >= 1009
426 char* tmpPtr
; int tmpSize
;
427 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
428 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
431 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
433 _arg2
= new wxString(tmpPtr
, tmpSize
);
435 if (!PyString_Check(_obj2
)) {
436 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
439 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
445 if (! wxPoint_helper(_obj3
, &_arg3
))
451 if (! wxSize_helper(_obj4
, &_arg4
))
455 if (_argo6
== Py_None
) { _arg6
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
462 wxPy_BEGIN_ALLOW_THREADS
;
463 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
465 wxPy_END_ALLOW_THREADS
;
467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
468 _resultobj
= Py_BuildValue("s",_ptemp
);
471 _resultobj
= Py_None
;
480 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
481 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
482 PyObject
* _resultobj
;
484 PyObject
* _argo0
= 0;
485 char *_kwnames
[] = { "self", NULL
};
488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
498 wxPy_BEGIN_ALLOW_THREADS
;
499 wxButton_SetDefault(_arg0
);
501 wxPy_END_ALLOW_THREADS
;
502 } Py_INCREF(Py_None
);
503 _resultobj
= Py_None
;
507 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
508 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
509 PyObject
* _resultobj
;
512 PyObject
* _argo0
= 0;
514 PyObject
* _obj1
= 0;
515 char *_kwnames
[] = { "self","colour", NULL
};
518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
529 if (! wxColour_helper(_obj1
, &_arg1
))
533 wxPy_BEGIN_ALLOW_THREADS
;
534 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
536 wxPy_END_ALLOW_THREADS
;
537 } Py_INCREF(Py_None
);
538 _resultobj
= Py_None
;
542 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
543 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
547 PyObject
* _argo0
= 0;
549 PyObject
* _obj1
= 0;
550 char *_kwnames
[] = { "self","colour", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
564 if (! wxColour_helper(_obj1
, &_arg1
))
568 wxPy_BEGIN_ALLOW_THREADS
;
569 wxButton_SetForegroundColour(_arg0
,*_arg1
);
571 wxPy_END_ALLOW_THREADS
;
572 } Py_INCREF(Py_None
);
573 _resultobj
= Py_None
;
577 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
580 src
= (wxBitmapButton
*) ptr
;
581 dest
= (wxButton
*) src
;
582 return (void *) dest
;
585 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
588 src
= (wxBitmapButton
*) ptr
;
589 dest
= (wxControl
*) src
;
590 return (void *) dest
;
593 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
596 src
= (wxBitmapButton
*) ptr
;
597 dest
= (wxWindow
*) src
;
598 return (void *) dest
;
601 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
604 src
= (wxBitmapButton
*) ptr
;
605 dest
= (wxEvtHandler
*) src
;
606 return (void *) dest
;
609 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
610 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
611 PyObject
* _resultobj
;
612 wxBitmapButton
* _result
;
616 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
617 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
618 long _arg5
= (long ) wxBU_AUTODRAW
;
619 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
620 char * _arg7
= (char *) "button";
621 PyObject
* _argo0
= 0;
622 PyObject
* _argo2
= 0;
624 PyObject
* _obj3
= 0;
626 PyObject
* _obj4
= 0;
627 PyObject
* _argo6
= 0;
628 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
642 if (_argo2
== Py_None
) { _arg2
= NULL
; }
643 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
651 if (! wxPoint_helper(_obj3
, &_arg3
))
657 if (! wxSize_helper(_obj4
, &_arg4
))
661 if (_argo6
== Py_None
) { _arg6
= NULL
; }
662 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
668 wxPy_BEGIN_ALLOW_THREADS
;
669 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
671 wxPy_END_ALLOW_THREADS
;
673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
674 _resultobj
= Py_BuildValue("s",_ptemp
);
677 _resultobj
= Py_None
;
682 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
683 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
684 PyObject
* _resultobj
;
686 wxBitmapButton
* _arg0
;
687 PyObject
* _argo0
= 0;
688 char *_kwnames
[] = { "self", NULL
};
692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
702 wxPy_BEGIN_ALLOW_THREADS
;
703 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
704 _result
= (wxBitmap
*) &_result_ref
;
706 wxPy_END_ALLOW_THREADS
;
708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
709 _resultobj
= Py_BuildValue("s",_ptemp
);
712 _resultobj
= Py_None
;
717 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
718 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
719 PyObject
* _resultobj
;
721 wxBitmapButton
* _arg0
;
722 PyObject
* _argo0
= 0;
723 char *_kwnames
[] = { "self", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
737 wxPy_BEGIN_ALLOW_THREADS
;
738 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
739 _result
= (wxBitmap
*) &_result_ref
;
741 wxPy_END_ALLOW_THREADS
;
743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
744 _resultobj
= Py_BuildValue("s",_ptemp
);
747 _resultobj
= Py_None
;
752 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
753 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
754 PyObject
* _resultobj
;
756 wxBitmapButton
* _arg0
;
757 PyObject
* _argo0
= 0;
758 char *_kwnames
[] = { "self", NULL
};
762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
772 wxPy_BEGIN_ALLOW_THREADS
;
773 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
774 _result
= (wxBitmap
*) &_result_ref
;
776 wxPy_END_ALLOW_THREADS
;
778 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
779 _resultobj
= Py_BuildValue("s",_ptemp
);
782 _resultobj
= Py_None
;
787 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
788 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
789 PyObject
* _resultobj
;
791 wxBitmapButton
* _arg0
;
792 PyObject
* _argo0
= 0;
793 char *_kwnames
[] = { "self", NULL
};
797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
807 wxPy_BEGIN_ALLOW_THREADS
;
808 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
809 _result
= (wxBitmap
*) &_result_ref
;
811 wxPy_END_ALLOW_THREADS
;
813 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
814 _resultobj
= Py_BuildValue("s",_ptemp
);
817 _resultobj
= Py_None
;
822 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
823 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
825 wxBitmapButton
* _arg0
;
827 PyObject
* _argo0
= 0;
828 PyObject
* _argo1
= 0;
829 char *_kwnames
[] = { "self","bitmap", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
842 if (_argo1
== Py_None
) { _arg1
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
849 wxPy_BEGIN_ALLOW_THREADS
;
850 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
852 wxPy_END_ALLOW_THREADS
;
853 } Py_INCREF(Py_None
);
854 _resultobj
= Py_None
;
858 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
859 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
861 wxBitmapButton
* _arg0
;
863 PyObject
* _argo0
= 0;
864 PyObject
* _argo1
= 0;
865 char *_kwnames
[] = { "self","bitmap", NULL
};
868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
885 wxPy_BEGIN_ALLOW_THREADS
;
886 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
888 wxPy_END_ALLOW_THREADS
;
889 } Py_INCREF(Py_None
);
890 _resultobj
= Py_None
;
894 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
895 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
897 wxBitmapButton
* _arg0
;
899 PyObject
* _argo0
= 0;
900 PyObject
* _argo1
= 0;
901 char *_kwnames
[] = { "self","bitmap", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
921 wxPy_BEGIN_ALLOW_THREADS
;
922 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
924 wxPy_END_ALLOW_THREADS
;
925 } Py_INCREF(Py_None
);
926 _resultobj
= Py_None
;
930 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
931 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxBitmapButton
* _arg0
;
935 PyObject
* _argo0
= 0;
936 PyObject
* _argo1
= 0;
937 char *_kwnames
[] = { "self","bitmap", NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
950 if (_argo1
== Py_None
) { _arg1
= NULL
; }
951 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
957 wxPy_BEGIN_ALLOW_THREADS
;
958 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
960 wxPy_END_ALLOW_THREADS
;
961 } Py_INCREF(Py_None
);
962 _resultobj
= Py_None
;
966 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
967 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
969 wxBitmapButton
* _arg0
;
972 PyObject
* _argo0
= 0;
973 char *_kwnames
[] = { "self","x","y", NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
986 wxPy_BEGIN_ALLOW_THREADS
;
987 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
989 wxPy_END_ALLOW_THREADS
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
995 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
996 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
999 wxBitmapButton
* _arg0
;
1000 PyObject
* _argo0
= 0;
1001 char *_kwnames
[] = { "self", NULL
};
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } _resultobj
= Py_BuildValue("i",_result
);
1022 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1023 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 wxBitmapButton
* _arg0
;
1027 PyObject
* _argo0
= 0;
1028 char *_kwnames
[] = { "self", NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1041 wxPy_BEGIN_ALLOW_THREADS
;
1042 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1044 wxPy_END_ALLOW_THREADS
;
1045 } _resultobj
= Py_BuildValue("i",_result
);
1049 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1052 src
= (wxCheckBox
*) ptr
;
1053 dest
= (wxControl
*) src
;
1054 return (void *) dest
;
1057 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1060 src
= (wxCheckBox
*) ptr
;
1061 dest
= (wxWindow
*) src
;
1062 return (void *) dest
;
1065 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1068 src
= (wxCheckBox
*) ptr
;
1069 dest
= (wxEvtHandler
*) src
;
1070 return (void *) dest
;
1073 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1074 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1075 PyObject
* _resultobj
;
1076 wxCheckBox
* _result
;
1080 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1081 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1082 long _arg5
= (long ) 0;
1083 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1084 char * _arg7
= (char *) "checkBox";
1085 PyObject
* _argo0
= 0;
1086 PyObject
* _obj2
= 0;
1088 PyObject
* _obj3
= 0;
1090 PyObject
* _obj4
= 0;
1091 PyObject
* _argo6
= 0;
1092 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1106 #if PYTHON_API_VERSION >= 1009
1107 char* tmpPtr
; int tmpSize
;
1108 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1109 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1112 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1114 _arg2
= new wxString(tmpPtr
, tmpSize
);
1116 if (!PyString_Check(_obj2
)) {
1117 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1120 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1126 if (! wxPoint_helper(_obj3
, &_arg3
))
1132 if (! wxSize_helper(_obj4
, &_arg4
))
1136 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1137 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1143 wxPy_BEGIN_ALLOW_THREADS
;
1144 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1146 wxPy_END_ALLOW_THREADS
;
1148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1149 _resultobj
= Py_BuildValue("s",_ptemp
);
1152 _resultobj
= Py_None
;
1161 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1162 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1163 PyObject
* _resultobj
;
1166 PyObject
* _argo0
= 0;
1167 char *_kwnames
[] = { "self", NULL
};
1170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
1173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (bool )wxCheckBox_GetValue(_arg0
);
1183 wxPy_END_ALLOW_THREADS
;
1184 } _resultobj
= Py_BuildValue("i",_result
);
1188 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1189 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1190 PyObject
* _resultobj
;
1193 PyObject
* _argo0
= 0;
1195 char *_kwnames
[] = { "self","state", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
1201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1207 _arg1
= (bool ) tempbool1
;
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 wxCheckBox_SetValue(_arg0
,_arg1
);
1212 wxPy_END_ALLOW_THREADS
;
1213 } Py_INCREF(Py_None
);
1214 _resultobj
= Py_None
;
1218 static void *SwigwxChoiceTowxControl(void *ptr
) {
1221 src
= (wxChoice
*) ptr
;
1222 dest
= (wxControl
*) src
;
1223 return (void *) dest
;
1226 static void *SwigwxChoiceTowxWindow(void *ptr
) {
1229 src
= (wxChoice
*) ptr
;
1230 dest
= (wxWindow
*) src
;
1231 return (void *) dest
;
1234 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
1237 src
= (wxChoice
*) ptr
;
1238 dest
= (wxEvtHandler
*) src
;
1239 return (void *) dest
;
1242 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1243 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1248 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1249 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1250 int _arg4
= (int ) 0;
1251 wxString
* _arg5
= (wxString
*) NULL
;
1252 long _arg6
= (long ) 0;
1253 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1254 char * _arg8
= (char *) "choice";
1255 PyObject
* _argo0
= 0;
1257 PyObject
* _obj2
= 0;
1259 PyObject
* _obj3
= 0;
1260 PyObject
* _obj5
= 0;
1261 PyObject
* _argo7
= 0;
1262 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
1266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1278 if (! wxPoint_helper(_obj2
, &_arg2
))
1284 if (! wxSize_helper(_obj3
, &_arg3
))
1289 _arg5
= wxString_LIST_helper(_obj5
);
1290 if (_arg5
== NULL
) {
1295 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1303 _arg4
= PyList_Size(_obj5
);
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
1313 wxPy_END_ALLOW_THREADS
;
1315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
1316 _resultobj
= Py_BuildValue("s",_ptemp
);
1319 _resultobj
= Py_None
;
1327 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1328 static PyObject
*_wrap_wxChoice_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1332 PyObject
* _argo0
= 0;
1333 PyObject
* _obj1
= 0;
1334 char *_kwnames
[] = { "self","item", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_Append",_kwnames
,&_argo0
,&_obj1
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1347 #if PYTHON_API_VERSION >= 1009
1348 char* tmpPtr
; int tmpSize
;
1349 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1353 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1355 _arg1
= new wxString(tmpPtr
, tmpSize
);
1357 if (!PyString_Check(_obj1
)) {
1358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1361 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1365 wxPy_BEGIN_ALLOW_THREADS
;
1366 wxChoice_Append(_arg0
,*_arg1
);
1368 wxPy_END_ALLOW_THREADS
;
1369 } Py_INCREF(Py_None
);
1370 _resultobj
= Py_None
;
1378 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1379 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
* _resultobj
;
1382 PyObject
* _argo0
= 0;
1383 char *_kwnames
[] = { "self", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
1389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 wxChoice_Clear(_arg0
);
1399 wxPy_END_ALLOW_THREADS
;
1400 } Py_INCREF(Py_None
);
1401 _resultobj
= Py_None
;
1405 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1406 static PyObject
*_wrap_wxChoice_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1411 PyObject
* _argo0
= 0;
1412 PyObject
* _obj1
= 0;
1413 char *_kwnames
[] = { "self","string", NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_FindString",_kwnames
,&_argo0
,&_obj1
))
1419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1426 #if PYTHON_API_VERSION >= 1009
1427 char* tmpPtr
; int tmpSize
;
1428 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1432 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1434 _arg1
= new wxString(tmpPtr
, tmpSize
);
1436 if (!PyString_Check(_obj1
)) {
1437 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1440 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1444 wxPy_BEGIN_ALLOW_THREADS
;
1445 _result
= (int )wxChoice_FindString(_arg0
,*_arg1
);
1447 wxPy_END_ALLOW_THREADS
;
1448 } _resultobj
= Py_BuildValue("i",_result
);
1456 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1457 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
* _resultobj
;
1461 PyObject
* _argo0
= 0;
1462 char *_kwnames
[] = { "self", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1475 wxPy_BEGIN_ALLOW_THREADS
;
1476 _result
= (int )wxChoice_GetColumns(_arg0
);
1478 wxPy_END_ALLOW_THREADS
;
1479 } _resultobj
= Py_BuildValue("i",_result
);
1483 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1484 static PyObject
*_wrap_wxChoice_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1488 PyObject
* _argo0
= 0;
1489 char *_kwnames
[] = { "self", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetSelection",_kwnames
,&_argo0
))
1495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1502 wxPy_BEGIN_ALLOW_THREADS
;
1503 _result
= (int )wxChoice_GetSelection(_arg0
);
1505 wxPy_END_ALLOW_THREADS
;
1506 } _resultobj
= Py_BuildValue("i",_result
);
1510 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1511 static PyObject
*_wrap_wxChoice_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1516 PyObject
* _argo0
= 0;
1517 char *_kwnames
[] = { "self","n", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_GetString",_kwnames
,&_argo0
,&_arg1
))
1523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1530 wxPy_BEGIN_ALLOW_THREADS
;
1531 _result
= new wxString (wxChoice_GetString(_arg0
,_arg1
));
1533 wxPy_END_ALLOW_THREADS
;
1535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1543 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1544 static PyObject
*_wrap_wxChoice_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
* _resultobj
;
1548 PyObject
* _argo0
= 0;
1549 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetStringSelection",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1562 wxPy_BEGIN_ALLOW_THREADS
;
1563 _result
= new wxString (wxChoice_GetStringSelection(_arg0
));
1565 wxPy_END_ALLOW_THREADS
;
1567 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1575 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1576 static PyObject
*_wrap_wxChoice_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1580 PyObject
* _argo0
= 0;
1581 char *_kwnames
[] = { "self", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Number",_kwnames
,&_argo0
))
1587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1594 wxPy_BEGIN_ALLOW_THREADS
;
1595 _result
= (int )wxChoice_Number(_arg0
);
1597 wxPy_END_ALLOW_THREADS
;
1598 } _resultobj
= Py_BuildValue("i",_result
);
1602 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1603 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1606 int _arg1
= (int ) 1;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self","n", NULL
};
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
1614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 wxChoice_SetColumns(_arg0
,_arg1
);
1624 wxPy_END_ALLOW_THREADS
;
1625 } Py_INCREF(Py_None
);
1626 _resultobj
= Py_None
;
1630 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1631 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1635 PyObject
* _argo0
= 0;
1636 char *_kwnames
[] = { "self","n", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
1642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 wxChoice_SetSelection(_arg0
,_arg1
);
1652 wxPy_END_ALLOW_THREADS
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1658 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1659 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _obj1
= 0;
1665 char *_kwnames
[] = { "self","string", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1678 #if PYTHON_API_VERSION >= 1009
1679 char* tmpPtr
; int tmpSize
;
1680 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1684 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1686 _arg1
= new wxString(tmpPtr
, tmpSize
);
1688 if (!PyString_Check(_obj1
)) {
1689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1692 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1696 wxPy_BEGIN_ALLOW_THREADS
;
1697 wxChoice_SetStringSelection(_arg0
,*_arg1
);
1699 wxPy_END_ALLOW_THREADS
;
1700 } Py_INCREF(Py_None
);
1701 _resultobj
= Py_None
;
1709 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
1712 src
= (wxComboBox
*) ptr
;
1713 dest
= (wxChoice
*) src
;
1714 return (void *) dest
;
1717 static void *SwigwxComboBoxTowxControl(void *ptr
) {
1720 src
= (wxComboBox
*) ptr
;
1721 dest
= (wxControl
*) src
;
1722 return (void *) dest
;
1725 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
1728 src
= (wxComboBox
*) ptr
;
1729 dest
= (wxWindow
*) src
;
1730 return (void *) dest
;
1733 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
1736 src
= (wxComboBox
*) ptr
;
1737 dest
= (wxEvtHandler
*) src
;
1738 return (void *) dest
;
1741 #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))
1742 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1744 wxComboBox
* _result
;
1747 char * _arg2
= (char *) "";
1748 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1749 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1750 int _arg5
= (int ) 0;
1751 wxString
* _arg6
= (wxString
*) NULL
;
1752 long _arg7
= (long ) 0;
1753 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
1754 char * _arg9
= (char *) "comboBox";
1755 PyObject
* _argo0
= 0;
1757 PyObject
* _obj3
= 0;
1759 PyObject
* _obj4
= 0;
1760 PyObject
* _obj6
= 0;
1761 PyObject
* _argo8
= 0;
1762 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
1769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1778 if (! wxPoint_helper(_obj3
, &_arg3
))
1784 if (! wxSize_helper(_obj4
, &_arg4
))
1789 _arg6
= wxString_LIST_helper(_obj6
);
1790 if (_arg6
== NULL
) {
1795 if (_argo8
== Py_None
) { _arg8
= NULL
; }
1796 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
1797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1803 _arg5
= PyList_Size(_obj6
);
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
1813 wxPy_END_ALLOW_THREADS
;
1815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
1816 _resultobj
= Py_BuildValue("s",_ptemp
);
1819 _resultobj
= Py_None
;
1827 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1828 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1832 PyObject
* _argo0
= 0;
1833 PyObject
* _obj1
= 0;
1834 char *_kwnames
[] = { "self","item", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1847 #if PYTHON_API_VERSION >= 1009
1848 char* tmpPtr
; int tmpSize
;
1849 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1855 _arg1
= new wxString(tmpPtr
, tmpSize
);
1857 if (!PyString_Check(_obj1
)) {
1858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1865 wxPy_BEGIN_ALLOW_THREADS
;
1866 wxComboBox_Append(_arg0
,*_arg1
);
1868 wxPy_END_ALLOW_THREADS
;
1869 } Py_INCREF(Py_None
);
1870 _resultobj
= Py_None
;
1878 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1879 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
* _resultobj
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 wxComboBox_Clear(_arg0
);
1899 wxPy_END_ALLOW_THREADS
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1905 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1906 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 PyObject
* _argo0
= 0;
1910 char *_kwnames
[] = { "self", NULL
};
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
1916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 wxComboBox_Copy(_arg0
);
1926 wxPy_END_ALLOW_THREADS
;
1927 } Py_INCREF(Py_None
);
1928 _resultobj
= Py_None
;
1932 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1933 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
* _resultobj
;
1936 PyObject
* _argo0
= 0;
1937 char *_kwnames
[] = { "self", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 wxComboBox_Cut(_arg0
);
1953 wxPy_END_ALLOW_THREADS
;
1954 } Py_INCREF(Py_None
);
1955 _resultobj
= Py_None
;
1959 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1960 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1964 PyObject
* _argo0
= 0;
1965 char *_kwnames
[] = { "self","n", NULL
};
1968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
1971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
1973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1978 wxPy_BEGIN_ALLOW_THREADS
;
1979 wxComboBox_Delete(_arg0
,_arg1
);
1981 wxPy_END_ALLOW_THREADS
;
1982 } Py_INCREF(Py_None
);
1983 _resultobj
= Py_None
;
1987 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1988 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1989 PyObject
* _resultobj
;
1993 PyObject
* _argo0
= 0;
1994 PyObject
* _obj1
= 0;
1995 char *_kwnames
[] = { "self","string", NULL
};
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
2001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2008 #if PYTHON_API_VERSION >= 1009
2009 char* tmpPtr
; int tmpSize
;
2010 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2011 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2014 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2016 _arg1
= new wxString(tmpPtr
, tmpSize
);
2018 if (!PyString_Check(_obj1
)) {
2019 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2022 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2026 wxPy_BEGIN_ALLOW_THREADS
;
2027 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
2029 wxPy_END_ALLOW_THREADS
;
2030 } _resultobj
= Py_BuildValue("i",_result
);
2038 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2039 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2043 PyObject
* _argo0
= 0;
2044 char *_kwnames
[] = { "self", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2060 wxPy_END_ALLOW_THREADS
;
2061 } _resultobj
= Py_BuildValue("l",_result
);
2065 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2066 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "self", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } _resultobj
= Py_BuildValue("l",_result
);
2092 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2093 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2097 PyObject
* _argo0
= 0;
2098 char *_kwnames
[] = { "self", NULL
};
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
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_GetSelection. Expected _wxComboBox_p.");
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 _result
= (int )wxComboBox_GetSelection(_arg0
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } _resultobj
= Py_BuildValue("i",_result
);
2119 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2120 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 char *_kwnames
[] = { "self","n", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
2132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2139 wxPy_BEGIN_ALLOW_THREADS
;
2140 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
2142 wxPy_END_ALLOW_THREADS
;
2144 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2152 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2153 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2157 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2171 wxPy_BEGIN_ALLOW_THREADS
;
2172 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
2174 wxPy_END_ALLOW_THREADS
;
2176 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2184 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2185 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
* _resultobj
;
2189 PyObject
* _argo0
= 0;
2190 char *_kwnames
[] = { "self", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2203 wxPy_BEGIN_ALLOW_THREADS
;
2204 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2206 wxPy_END_ALLOW_THREADS
;
2208 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2216 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
2217 static PyObject
*_wrap_wxComboBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
* _resultobj
;
2221 PyObject
* _argo0
= 0;
2222 char *_kwnames
[] = { "self", NULL
};
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Number",_kwnames
,&_argo0
))
2228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
2235 wxPy_BEGIN_ALLOW_THREADS
;
2236 _result
= (int )wxComboBox_Number(_arg0
);
2238 wxPy_END_ALLOW_THREADS
;
2239 } _resultobj
= Py_BuildValue("i",_result
);
2243 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2244 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
* _resultobj
;
2247 PyObject
* _argo0
= 0;
2248 char *_kwnames
[] = { "self", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2261 wxPy_BEGIN_ALLOW_THREADS
;
2262 wxComboBox_Paste(_arg0
);
2264 wxPy_END_ALLOW_THREADS
;
2265 } Py_INCREF(Py_None
);
2266 _resultobj
= Py_None
;
2270 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2271 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2277 PyObject
* _argo0
= 0;
2278 PyObject
* _obj3
= 0;
2279 char *_kwnames
[] = { "self","from","to","text", NULL
};
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2292 #if PYTHON_API_VERSION >= 1009
2293 char* tmpPtr
; int tmpSize
;
2294 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2298 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2300 _arg3
= new wxString(tmpPtr
, tmpSize
);
2302 if (!PyString_Check(_obj3
)) {
2303 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2306 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2313 wxPy_END_ALLOW_THREADS
;
2314 } Py_INCREF(Py_None
);
2315 _resultobj
= Py_None
;
2323 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2324 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
* _resultobj
;
2329 PyObject
* _argo0
= 0;
2330 char *_kwnames
[] = { "self","from","to", NULL
};
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2346 wxPy_END_ALLOW_THREADS
;
2347 } Py_INCREF(Py_None
);
2348 _resultobj
= Py_None
;
2352 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2353 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2354 PyObject
* _resultobj
;
2357 PyObject
* _argo0
= 0;
2358 char *_kwnames
[] = { "self","pos", NULL
};
2361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2371 wxPy_BEGIN_ALLOW_THREADS
;
2372 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
2374 wxPy_END_ALLOW_THREADS
;
2375 } Py_INCREF(Py_None
);
2376 _resultobj
= Py_None
;
2380 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2381 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2384 PyObject
* _argo0
= 0;
2385 char *_kwnames
[] = { "self", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
2391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2398 wxPy_BEGIN_ALLOW_THREADS
;
2399 wxComboBox_SetInsertionPointEnd(_arg0
);
2401 wxPy_END_ALLOW_THREADS
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2408 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self","n", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 wxComboBox_SetSelection(_arg0
,_arg1
);
2429 wxPy_END_ALLOW_THREADS
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2436 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2441 PyObject
* _argo0
= 0;
2442 char *_kwnames
[] = { "self","from","to", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2455 wxPy_BEGIN_ALLOW_THREADS
;
2456 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
2458 wxPy_END_ALLOW_THREADS
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2465 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2470 PyObject
* _obj1
= 0;
2471 char *_kwnames
[] = { "self","text", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2484 #if PYTHON_API_VERSION >= 1009
2485 char* tmpPtr
; int tmpSize
;
2486 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2487 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2490 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2492 _arg1
= new wxString(tmpPtr
, tmpSize
);
2494 if (!PyString_Check(_obj1
)) {
2495 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2498 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2502 wxPy_BEGIN_ALLOW_THREADS
;
2503 wxComboBox_SetValue(_arg0
,*_arg1
);
2505 wxPy_END_ALLOW_THREADS
;
2506 } Py_INCREF(Py_None
);
2507 _resultobj
= Py_None
;
2515 static void *SwigwxGaugeTowxControl(void *ptr
) {
2518 src
= (wxGauge
*) ptr
;
2519 dest
= (wxControl
*) src
;
2520 return (void *) dest
;
2523 static void *SwigwxGaugeTowxWindow(void *ptr
) {
2526 src
= (wxGauge
*) ptr
;
2527 dest
= (wxWindow
*) src
;
2528 return (void *) dest
;
2531 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
2534 src
= (wxGauge
*) ptr
;
2535 dest
= (wxEvtHandler
*) src
;
2536 return (void *) dest
;
2539 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2540 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2546 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2547 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2548 long _arg5
= (long ) wxGA_HORIZONTAL
;
2549 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2550 char * _arg7
= (char *) "gauge";
2551 PyObject
* _argo0
= 0;
2553 PyObject
* _obj3
= 0;
2555 PyObject
* _obj4
= 0;
2556 PyObject
* _argo6
= 0;
2557 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
2564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2573 if (! wxPoint_helper(_obj3
, &_arg3
))
2579 if (! wxSize_helper(_obj4
, &_arg4
))
2583 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2593 wxPy_END_ALLOW_THREADS
;
2595 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
2596 _resultobj
= Py_BuildValue("s",_ptemp
);
2599 _resultobj
= Py_None
;
2604 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2605 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2609 PyObject
* _argo0
= 0;
2610 char *_kwnames
[] = { "self", NULL
};
2613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
2616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2623 wxPy_BEGIN_ALLOW_THREADS
;
2624 _result
= (int )wxGauge_GetBezelFace(_arg0
);
2626 wxPy_END_ALLOW_THREADS
;
2627 } _resultobj
= Py_BuildValue("i",_result
);
2631 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2632 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2636 PyObject
* _argo0
= 0;
2637 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2650 wxPy_BEGIN_ALLOW_THREADS
;
2651 _result
= (int )wxGauge_GetRange(_arg0
);
2653 wxPy_END_ALLOW_THREADS
;
2654 } _resultobj
= Py_BuildValue("i",_result
);
2658 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2659 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2677 wxPy_BEGIN_ALLOW_THREADS
;
2678 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
2680 wxPy_END_ALLOW_THREADS
;
2681 } _resultobj
= Py_BuildValue("i",_result
);
2685 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2686 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 _result
= (int )wxGauge_GetValue(_arg0
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } _resultobj
= Py_BuildValue("i",_result
);
2712 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2713 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2717 PyObject
* _argo0
= 0;
2718 char *_kwnames
[] = { "self","width", NULL
};
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
2724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2731 wxPy_BEGIN_ALLOW_THREADS
;
2732 wxGauge_SetBezelFace(_arg0
,_arg1
);
2734 wxPy_END_ALLOW_THREADS
;
2735 } Py_INCREF(Py_None
);
2736 _resultobj
= Py_None
;
2740 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2741 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
* _resultobj
;
2745 PyObject
* _argo0
= 0;
2746 char *_kwnames
[] = { "self","range", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 wxGauge_SetRange(_arg0
,_arg1
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2769 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self","width", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 wxGauge_SetShadowWidth(_arg0
,_arg1
);
2790 wxPy_END_ALLOW_THREADS
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2797 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2801 PyObject
* _argo0
= 0;
2802 char *_kwnames
[] = { "self","pos", NULL
};
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
2808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
2810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 wxGauge_SetValue(_arg0
,_arg1
);
2818 wxPy_END_ALLOW_THREADS
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
2827 src
= (wxStaticBox
*) ptr
;
2828 dest
= (wxControl
*) src
;
2829 return (void *) dest
;
2832 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
2835 src
= (wxStaticBox
*) ptr
;
2836 dest
= (wxWindow
*) src
;
2837 return (void *) dest
;
2840 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
2843 src
= (wxStaticBox
*) ptr
;
2844 dest
= (wxEvtHandler
*) src
;
2845 return (void *) dest
;
2848 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2849 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2851 wxStaticBox
* _result
;
2855 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2856 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2857 long _arg5
= (long ) 0;
2858 char * _arg6
= (char *) "staticBox";
2859 PyObject
* _argo0
= 0;
2860 PyObject
* _obj2
= 0;
2862 PyObject
* _obj3
= 0;
2864 PyObject
* _obj4
= 0;
2865 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
2872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2879 #if PYTHON_API_VERSION >= 1009
2880 char* tmpPtr
; int tmpSize
;
2881 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2882 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2885 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2887 _arg2
= new wxString(tmpPtr
, tmpSize
);
2889 if (!PyString_Check(_obj2
)) {
2890 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2893 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2899 if (! wxPoint_helper(_obj3
, &_arg3
))
2905 if (! wxSize_helper(_obj4
, &_arg4
))
2909 wxPy_BEGIN_ALLOW_THREADS
;
2910 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
2912 wxPy_END_ALLOW_THREADS
;
2914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
2915 _resultobj
= Py_BuildValue("s",_ptemp
);
2918 _resultobj
= Py_None
;
2927 static void *SwigwxStaticLineTowxControl(void *ptr
) {
2930 src
= (wxStaticLine
*) ptr
;
2931 dest
= (wxControl
*) src
;
2932 return (void *) dest
;
2935 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
2938 src
= (wxStaticLine
*) ptr
;
2939 dest
= (wxWindow
*) src
;
2940 return (void *) dest
;
2943 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
2946 src
= (wxStaticLine
*) ptr
;
2947 dest
= (wxEvtHandler
*) src
;
2948 return (void *) dest
;
2951 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2952 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2954 wxStaticLine
* _result
;
2957 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2958 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2959 long _arg4
= (long ) wxLI_HORIZONTAL
;
2960 char * _arg5
= (char *) "staticLine";
2961 PyObject
* _argo0
= 0;
2963 PyObject
* _obj2
= 0;
2965 PyObject
* _obj3
= 0;
2966 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
2970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
2973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2982 if (! wxPoint_helper(_obj2
, &_arg2
))
2988 if (! wxSize_helper(_obj3
, &_arg3
))
2992 wxPy_BEGIN_ALLOW_THREADS
;
2993 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
2995 wxPy_END_ALLOW_THREADS
;
2997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
2998 _resultobj
= Py_BuildValue("s",_ptemp
);
3001 _resultobj
= Py_None
;
3006 static void *SwigwxStaticTextTowxControl(void *ptr
) {
3009 src
= (wxStaticText
*) ptr
;
3010 dest
= (wxControl
*) src
;
3011 return (void *) dest
;
3014 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
3017 src
= (wxStaticText
*) ptr
;
3018 dest
= (wxWindow
*) src
;
3019 return (void *) dest
;
3022 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
3025 src
= (wxStaticText
*) ptr
;
3026 dest
= (wxEvtHandler
*) src
;
3027 return (void *) dest
;
3030 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3031 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3033 wxStaticText
* _result
;
3037 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3038 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3039 long _arg5
= (long ) 0;
3040 char * _arg6
= (char *) "staticText";
3041 PyObject
* _argo0
= 0;
3042 PyObject
* _obj2
= 0;
3044 PyObject
* _obj3
= 0;
3046 PyObject
* _obj4
= 0;
3047 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
3061 #if PYTHON_API_VERSION >= 1009
3062 char* tmpPtr
; int tmpSize
;
3063 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3064 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3067 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3069 _arg2
= new wxString(tmpPtr
, tmpSize
);
3071 if (!PyString_Check(_obj2
)) {
3072 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3075 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3081 if (! wxPoint_helper(_obj3
, &_arg3
))
3087 if (! wxSize_helper(_obj4
, &_arg4
))
3091 wxPy_BEGIN_ALLOW_THREADS
;
3092 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3094 wxPy_END_ALLOW_THREADS
;
3096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
3097 _resultobj
= Py_BuildValue("s",_ptemp
);
3100 _resultobj
= Py_None
;
3109 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
3110 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3113 wxStaticText
* _arg0
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
3131 wxPy_END_ALLOW_THREADS
;
3133 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3141 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3142 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
* _resultobj
;
3144 wxStaticText
* _arg0
;
3146 PyObject
* _argo0
= 0;
3147 PyObject
* _obj1
= 0;
3148 char *_kwnames
[] = { "self","label", NULL
};
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
3154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
3156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3161 #if PYTHON_API_VERSION >= 1009
3162 char* tmpPtr
; int tmpSize
;
3163 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3164 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3167 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3169 _arg1
= new wxString(tmpPtr
, tmpSize
);
3171 if (!PyString_Check(_obj1
)) {
3172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3175 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3179 wxPy_BEGIN_ALLOW_THREADS
;
3180 wxStaticText_SetLabel(_arg0
,*_arg1
);
3182 wxPy_END_ALLOW_THREADS
;
3183 } Py_INCREF(Py_None
);
3184 _resultobj
= Py_None
;
3192 static void *SwigwxListBoxTowxControl(void *ptr
) {
3195 src
= (wxListBox
*) ptr
;
3196 dest
= (wxControl
*) src
;
3197 return (void *) dest
;
3200 static void *SwigwxListBoxTowxWindow(void *ptr
) {
3203 src
= (wxListBox
*) ptr
;
3204 dest
= (wxWindow
*) src
;
3205 return (void *) dest
;
3208 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
3211 src
= (wxListBox
*) ptr
;
3212 dest
= (wxEvtHandler
*) src
;
3213 return (void *) dest
;
3216 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3217 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3219 wxListBox
* _result
;
3222 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3223 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3225 wxString
* _arg5
= (wxString
*) NULL
;
3226 long _arg6
= (long ) 0;
3227 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3228 char * _arg8
= (char *) "listBox";
3229 PyObject
* _argo0
= 0;
3231 PyObject
* _obj2
= 0;
3233 PyObject
* _obj3
= 0;
3234 PyObject
* _obj5
= 0;
3235 PyObject
* _argo7
= 0;
3236 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
3240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3252 if (! wxPoint_helper(_obj2
, &_arg2
))
3258 if (! wxSize_helper(_obj3
, &_arg3
))
3263 _arg5
= wxString_LIST_helper(_obj5
);
3264 if (_arg5
== NULL
) {
3269 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3277 _arg4
= PyList_Size(_obj5
);
3284 wxPy_BEGIN_ALLOW_THREADS
;
3285 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
3287 wxPy_END_ALLOW_THREADS
;
3289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
3290 _resultobj
= Py_BuildValue("s",_ptemp
);
3293 _resultobj
= Py_None
;
3301 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3302 static PyObject
*_wrap_wxListBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
* _resultobj
;
3306 PyObject
* _argo0
= 0;
3307 PyObject
* _obj1
= 0;
3308 char *_kwnames
[] = { "self","item", NULL
};
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Append",_kwnames
,&_argo0
,&_obj1
))
3314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3321 #if PYTHON_API_VERSION >= 1009
3322 char* tmpPtr
; int tmpSize
;
3323 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3327 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3329 _arg1
= new wxString(tmpPtr
, tmpSize
);
3331 if (!PyString_Check(_obj1
)) {
3332 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3335 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3339 wxPy_BEGIN_ALLOW_THREADS
;
3340 wxListBox_Append(_arg0
,*_arg1
);
3342 wxPy_END_ALLOW_THREADS
;
3343 } Py_INCREF(Py_None
);
3344 _resultobj
= Py_None
;
3352 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3353 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 wxListBox_Clear(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3380 static PyObject
*_wrap_wxListBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self","n", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 wxListBox_Delete(_arg0
,_arg1
);
3401 wxPy_END_ALLOW_THREADS
;
3402 } Py_INCREF(Py_None
);
3403 _resultobj
= Py_None
;
3407 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3408 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self","n", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3426 wxPy_BEGIN_ALLOW_THREADS
;
3427 wxListBox_Deselect(_arg0
,_arg1
);
3429 wxPy_END_ALLOW_THREADS
;
3430 } Py_INCREF(Py_None
);
3431 _resultobj
= Py_None
;
3435 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3436 static PyObject
*_wrap_wxListBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _obj1
= 0;
3443 char *_kwnames
[] = { "self","string", NULL
};
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3456 #if PYTHON_API_VERSION >= 1009
3457 char* tmpPtr
; int tmpSize
;
3458 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3462 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3464 _arg1
= new wxString(tmpPtr
, tmpSize
);
3466 if (!PyString_Check(_obj1
)) {
3467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3470 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 _result
= (int )wxListBox_FindString(_arg0
,*_arg1
);
3477 wxPy_END_ALLOW_THREADS
;
3478 } _resultobj
= Py_BuildValue("i",_result
);
3486 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3487 static PyObject
*_wrap_wxListBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3491 PyObject
* _argo0
= 0;
3492 char *_kwnames
[] = { "self", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelection",_kwnames
,&_argo0
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3505 wxPy_BEGIN_ALLOW_THREADS
;
3506 _result
= (int )wxListBox_GetSelection(_arg0
);
3508 wxPy_END_ALLOW_THREADS
;
3509 } _resultobj
= Py_BuildValue("i",_result
);
3513 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
3515 self
->GetSelections(lst
);
3516 PyObject
*tup
= PyTuple_New(lst
.GetCount());
3517 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
3518 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
3522 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
* _resultobj
;
3526 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "self", NULL
};
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
3533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3540 wxPy_BEGIN_ALLOW_THREADS
;
3541 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
3543 wxPy_END_ALLOW_THREADS
;
3545 _resultobj
= _result
;
3550 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3551 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3552 PyObject
* _resultobj
;
3557 PyObject
* _argo0
= 0;
3558 PyObject
* _obj2
= 0;
3559 char *_kwnames
[] = { "self","choices","pos", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3572 _arg2
= wxString_LIST_helper(_obj2
);
3573 if (_arg2
== NULL
) {
3579 _arg1
= PyList_Size(_obj2
);
3586 wxPy_BEGIN_ALLOW_THREADS
;
3587 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
3589 wxPy_END_ALLOW_THREADS
;
3590 } Py_INCREF(Py_None
);
3591 _resultobj
= Py_None
;
3598 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3599 static PyObject
*_wrap_wxListBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3604 PyObject
* _argo0
= 0;
3605 char *_kwnames
[] = { "self","n", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3618 wxPy_BEGIN_ALLOW_THREADS
;
3619 _result
= new wxString (wxListBox_GetString(_arg0
,_arg1
));
3621 wxPy_END_ALLOW_THREADS
;
3623 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3631 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3632 static PyObject
*_wrap_wxListBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3633 PyObject
* _resultobj
;
3636 PyObject
* _argo0
= 0;
3637 char *_kwnames
[] = { "self", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetStringSelection",_kwnames
,&_argo0
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3650 wxPy_BEGIN_ALLOW_THREADS
;
3651 _result
= new wxString (wxListBox_GetStringSelection(_arg0
));
3653 wxPy_END_ALLOW_THREADS
;
3655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3663 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3664 static PyObject
*_wrap_wxListBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
* _resultobj
;
3668 PyObject
* _argo0
= 0;
3669 char *_kwnames
[] = { "self", NULL
};
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Number",_kwnames
,&_argo0
))
3675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3682 wxPy_BEGIN_ALLOW_THREADS
;
3683 _result
= (int )wxListBox_Number(_arg0
);
3685 wxPy_END_ALLOW_THREADS
;
3686 } _resultobj
= Py_BuildValue("i",_result
);
3690 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3691 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
* _resultobj
;
3696 PyObject
* _argo0
= 0;
3697 char *_kwnames
[] = { "self","n", NULL
};
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
3703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3710 wxPy_BEGIN_ALLOW_THREADS
;
3711 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
3713 wxPy_END_ALLOW_THREADS
;
3714 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3719 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3724 PyObject
* _argo0
= 0;
3725 PyObject
* _obj2
= 0;
3726 char *_kwnames
[] = { "self","choices", NULL
};
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
3732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3740 _arg2
= wxString_LIST_helper(_obj2
);
3741 if (_arg2
== NULL
) {
3747 _arg1
= PyList_Size(_obj2
);
3754 wxPy_BEGIN_ALLOW_THREADS
;
3755 wxListBox_Set(_arg0
,_arg1
,_arg2
);
3757 wxPy_END_ALLOW_THREADS
;
3758 } Py_INCREF(Py_None
);
3759 _resultobj
= Py_None
;
3766 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3767 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3771 PyObject
* _argo0
= 0;
3772 char *_kwnames
[] = { "self","n", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3785 wxPy_BEGIN_ALLOW_THREADS
;
3786 wxListBox_SetFirstItem(_arg0
,_arg1
);
3788 wxPy_END_ALLOW_THREADS
;
3789 } Py_INCREF(Py_None
);
3790 _resultobj
= Py_None
;
3794 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3795 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
* _resultobj
;
3799 PyObject
* _argo0
= 0;
3800 PyObject
* _obj1
= 0;
3801 char *_kwnames
[] = { "self","string", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3814 #if PYTHON_API_VERSION >= 1009
3815 char* tmpPtr
; int tmpSize
;
3816 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3820 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3822 _arg1
= new wxString(tmpPtr
, tmpSize
);
3824 if (!PyString_Check(_obj1
)) {
3825 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3828 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3832 wxPy_BEGIN_ALLOW_THREADS
;
3833 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
3835 wxPy_END_ALLOW_THREADS
;
3836 } Py_INCREF(Py_None
);
3837 _resultobj
= Py_None
;
3845 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3846 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3850 bool _arg2
= (bool ) TRUE
;
3851 PyObject
* _argo0
= 0;
3852 int tempbool2
= (int) TRUE
;
3853 char *_kwnames
[] = { "self","n","select", NULL
};
3856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3865 _arg2
= (bool ) tempbool2
;
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } Py_INCREF(Py_None
);
3872 _resultobj
= Py_None
;
3876 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3877 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3882 PyObject
* _argo0
= 0;
3883 PyObject
* _obj2
= 0;
3884 char *_kwnames
[] = { "self","n","string", NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3897 #if PYTHON_API_VERSION >= 1009
3898 char* tmpPtr
; int tmpSize
;
3899 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3900 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3903 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3905 _arg2
= new wxString(tmpPtr
, tmpSize
);
3907 if (!PyString_Check(_obj2
)) {
3908 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3911 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3915 wxPy_BEGIN_ALLOW_THREADS
;
3916 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
3918 wxPy_END_ALLOW_THREADS
;
3919 } Py_INCREF(Py_None
);
3920 _resultobj
= Py_None
;
3928 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3929 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3933 bool _arg2
= (bool ) TRUE
;
3934 PyObject
* _argo0
= 0;
3935 PyObject
* _obj1
= 0;
3936 int tempbool2
= (int) TRUE
;
3937 char *_kwnames
[] = { "self","string","select", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3950 #if PYTHON_API_VERSION >= 1009
3951 char* tmpPtr
; int tmpSize
;
3952 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3956 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3958 _arg1
= new wxString(tmpPtr
, tmpSize
);
3960 if (!PyString_Check(_obj1
)) {
3961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3964 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3967 _arg2
= (bool ) tempbool2
;
3969 wxPy_BEGIN_ALLOW_THREADS
;
3970 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
3972 wxPy_END_ALLOW_THREADS
;
3973 } Py_INCREF(Py_None
);
3974 _resultobj
= Py_None
;
3982 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
3983 wxCheckListBox
*src
;
3985 src
= (wxCheckListBox
*) ptr
;
3986 dest
= (wxListBox
*) src
;
3987 return (void *) dest
;
3990 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
3991 wxCheckListBox
*src
;
3993 src
= (wxCheckListBox
*) ptr
;
3994 dest
= (wxControl
*) src
;
3995 return (void *) dest
;
3998 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
3999 wxCheckListBox
*src
;
4001 src
= (wxCheckListBox
*) ptr
;
4002 dest
= (wxWindow
*) src
;
4003 return (void *) dest
;
4006 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
4007 wxCheckListBox
*src
;
4009 src
= (wxCheckListBox
*) ptr
;
4010 dest
= (wxEvtHandler
*) src
;
4011 return (void *) dest
;
4014 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4015 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4017 wxCheckListBox
* _result
;
4020 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4021 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4022 int _arg4
= (int ) 0;
4023 wxString
* _arg5
= (wxString
*) NULL
;
4024 long _arg6
= (long ) 0;
4025 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4026 char * _arg8
= (char *) "listBox";
4027 PyObject
* _argo0
= 0;
4029 PyObject
* _obj2
= 0;
4031 PyObject
* _obj3
= 0;
4032 PyObject
* _obj5
= 0;
4033 PyObject
* _argo7
= 0;
4034 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
4050 if (! wxPoint_helper(_obj2
, &_arg2
))
4056 if (! wxSize_helper(_obj3
, &_arg3
))
4061 _arg5
= wxString_LIST_helper(_obj5
);
4062 if (_arg5
== NULL
) {
4067 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
4075 _arg4
= PyList_Size(_obj5
);
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4085 wxPy_END_ALLOW_THREADS
;
4087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
4088 _resultobj
= Py_BuildValue("s",_ptemp
);
4091 _resultobj
= Py_None
;
4099 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4100 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4103 wxCheckListBox
* _arg0
;
4105 PyObject
* _argo0
= 0;
4106 char *_kwnames
[] = { "self","uiIndex", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
4119 wxPy_BEGIN_ALLOW_THREADS
;
4120 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
4122 wxPy_END_ALLOW_THREADS
;
4123 } _resultobj
= Py_BuildValue("i",_result
);
4127 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4128 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4130 wxCheckListBox
* _arg0
;
4132 int _arg2
= (int ) TRUE
;
4133 PyObject
* _argo0
= 0;
4134 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
4150 wxPy_END_ALLOW_THREADS
;
4151 } Py_INCREF(Py_None
);
4152 _resultobj
= Py_None
;
4156 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4157 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4159 wxCheckListBox
* _arg0
;
4163 PyObject
* _argo0
= 0;
4164 PyObject
* _obj2
= 0;
4165 char *_kwnames
[] = { "self","choices","pos", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
4178 _arg2
= wxString_LIST_helper(_obj2
);
4179 if (_arg2
== NULL
) {
4185 _arg1
= PyList_Size(_obj2
);
4192 wxPy_BEGIN_ALLOW_THREADS
;
4193 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4195 wxPy_END_ALLOW_THREADS
;
4196 } Py_INCREF(Py_None
);
4197 _resultobj
= Py_None
;
4204 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4205 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4208 wxCheckListBox
* _arg0
;
4209 PyObject
* _argo0
= 0;
4210 char *_kwnames
[] = { "self", NULL
};
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
4216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
4218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4223 wxPy_BEGIN_ALLOW_THREADS
;
4224 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
4226 wxPy_END_ALLOW_THREADS
;
4227 } _resultobj
= Py_BuildValue("i",_result
);
4231 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
4234 src
= (wxTextCtrl
*) ptr
;
4235 dest
= (wxControl
*) src
;
4236 return (void *) dest
;
4239 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
4242 src
= (wxTextCtrl
*) ptr
;
4243 dest
= (wxWindow
*) src
;
4244 return (void *) dest
;
4247 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
4250 src
= (wxTextCtrl
*) ptr
;
4251 dest
= (wxEvtHandler
*) src
;
4252 return (void *) dest
;
4255 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4256 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4258 wxTextCtrl
* _result
;
4261 char * _arg2
= (char *) "";
4262 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4263 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4264 long _arg5
= (long ) 0;
4265 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
4266 char * _arg7
= (char *) "text";
4267 PyObject
* _argo0
= 0;
4269 PyObject
* _obj3
= 0;
4271 PyObject
* _obj4
= 0;
4272 PyObject
* _argo6
= 0;
4273 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
4280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4289 if (! wxPoint_helper(_obj3
, &_arg3
))
4295 if (! wxSize_helper(_obj4
, &_arg4
))
4299 if (_argo6
== Py_None
) { _arg6
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4306 wxPy_BEGIN_ALLOW_THREADS
;
4307 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
4309 wxPy_END_ALLOW_THREADS
;
4311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
4312 _resultobj
= Py_BuildValue("s",_ptemp
);
4315 _resultobj
= Py_None
;
4320 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4321 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4324 PyObject
* _argo0
= 0;
4325 char *_kwnames
[] = { "self", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4338 wxPy_BEGIN_ALLOW_THREADS
;
4339 wxTextCtrl_Clear(_arg0
);
4341 wxPy_END_ALLOW_THREADS
;
4342 } Py_INCREF(Py_None
);
4343 _resultobj
= Py_None
;
4347 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4348 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
* _resultobj
;
4351 PyObject
* _argo0
= 0;
4352 char *_kwnames
[] = { "self", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 wxTextCtrl_Copy(_arg0
);
4368 wxPy_END_ALLOW_THREADS
;
4369 } Py_INCREF(Py_None
);
4370 _resultobj
= Py_None
;
4374 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4375 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
* _resultobj
;
4378 PyObject
* _argo0
= 0;
4379 char *_kwnames
[] = { "self", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4392 wxPy_BEGIN_ALLOW_THREADS
;
4393 wxTextCtrl_Cut(_arg0
);
4395 wxPy_END_ALLOW_THREADS
;
4396 } Py_INCREF(Py_None
);
4397 _resultobj
= Py_None
;
4401 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4402 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
* _resultobj
;
4405 PyObject
* _argo0
= 0;
4406 char *_kwnames
[] = { "self", NULL
};
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
4412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4419 wxPy_BEGIN_ALLOW_THREADS
;
4420 wxTextCtrl_DiscardEdits(_arg0
);
4422 wxPy_END_ALLOW_THREADS
;
4423 } Py_INCREF(Py_None
);
4424 _resultobj
= Py_None
;
4428 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4429 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
* _resultobj
;
4433 PyObject
* _argo0
= 0;
4434 char *_kwnames
[] = { "self", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
4447 wxPy_BEGIN_ALLOW_THREADS
;
4448 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
4450 wxPy_END_ALLOW_THREADS
;
4451 } _resultobj
= Py_BuildValue("l",_result
);
4455 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
4456 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
* _resultobj
;
4460 PyObject
* _argo0
= 0;
4461 char *_kwnames
[] = { "self", NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
4467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
4474 wxPy_BEGIN_ALLOW_THREADS
;
4475 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
4477 wxPy_END_ALLOW_THREADS
;
4478 } _resultobj
= Py_BuildValue("l",_result
);
4482 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
4483 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
* _resultobj
;
4488 PyObject
* _argo0
= 0;
4489 char *_kwnames
[] = { "self","lineNo", NULL
};
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
4495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4502 wxPy_BEGIN_ALLOW_THREADS
;
4503 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
4505 wxPy_END_ALLOW_THREADS
;
4506 } _resultobj
= Py_BuildValue("i",_result
);
4510 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4511 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
* _resultobj
;
4516 PyObject
* _argo0
= 0;
4517 char *_kwnames
[] = { "self","lineNo", NULL
};
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
4523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4530 wxPy_BEGIN_ALLOW_THREADS
;
4531 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
4533 wxPy_END_ALLOW_THREADS
;
4535 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4543 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4544 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4548 PyObject
* _argo0
= 0;
4549 char *_kwnames
[] = { "self", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
4565 wxPy_END_ALLOW_THREADS
;
4566 } _resultobj
= Py_BuildValue("i",_result
);
4570 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4571 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4575 PyObject
* _argo0
= 0;
4576 char *_kwnames
[] = { "self", NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
4582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4589 wxPy_BEGIN_ALLOW_THREADS
;
4590 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
4592 wxPy_END_ALLOW_THREADS
;
4594 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4602 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4603 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
* _resultobj
;
4607 PyObject
* _argo0
= 0;
4608 char *_kwnames
[] = { "self", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4621 wxPy_BEGIN_ALLOW_THREADS
;
4622 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
4624 wxPy_END_ALLOW_THREADS
;
4625 } _resultobj
= Py_BuildValue("i",_result
);
4629 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4630 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4635 PyObject
* _argo0
= 0;
4636 PyObject
* _obj1
= 0;
4637 char *_kwnames
[] = { "self","filename", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4650 #if PYTHON_API_VERSION >= 1009
4651 char* tmpPtr
; int tmpSize
;
4652 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4656 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4658 _arg1
= new wxString(tmpPtr
, tmpSize
);
4660 if (!PyString_Check(_obj1
)) {
4661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4664 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
4671 wxPy_END_ALLOW_THREADS
;
4672 } _resultobj
= Py_BuildValue("i",_result
);
4680 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4681 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4684 PyObject
* _argo0
= 0;
4685 char *_kwnames
[] = { "self", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
4691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 wxTextCtrl_Paste(_arg0
);
4701 wxPy_END_ALLOW_THREADS
;
4702 } Py_INCREF(Py_None
);
4703 _resultobj
= Py_None
;
4707 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4708 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self","pos", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
4739 wxPy_END_ALLOW_THREADS
;
4740 } Py_INCREF(Py_None
);
4741 _resultobj
= Py_None
;
4744 o
= PyInt_FromLong((long) (*_arg2
));
4745 _resultobj
= t_output_helper(_resultobj
, o
);
4749 o
= PyInt_FromLong((long) (*_arg3
));
4750 _resultobj
= t_output_helper(_resultobj
, o
);
4755 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4756 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4761 PyObject
* _argo0
= 0;
4762 char *_kwnames
[] = { "self","from","to", NULL
};
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4775 wxPy_BEGIN_ALLOW_THREADS
;
4776 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
4778 wxPy_END_ALLOW_THREADS
;
4779 } Py_INCREF(Py_None
);
4780 _resultobj
= Py_None
;
4784 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4785 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
* _resultobj
;
4791 PyObject
* _argo0
= 0;
4792 PyObject
* _obj3
= 0;
4793 char *_kwnames
[] = { "self","from","to","value", NULL
};
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
4799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4806 #if PYTHON_API_VERSION >= 1009
4807 char* tmpPtr
; int tmpSize
;
4808 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4812 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4814 _arg3
= new wxString(tmpPtr
, tmpSize
);
4816 if (!PyString_Check(_obj3
)) {
4817 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4820 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4824 wxPy_BEGIN_ALLOW_THREADS
;
4825 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
4827 wxPy_END_ALLOW_THREADS
;
4828 } Py_INCREF(Py_None
);
4829 _resultobj
= Py_None
;
4837 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4838 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4843 PyObject
* _argo0
= 0;
4844 PyObject
* _obj1
= 0;
4845 char *_kwnames
[] = { "self","filename", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
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_SaveFile. Expected _wxTextCtrl_p.");
4858 #if PYTHON_API_VERSION >= 1009
4859 char* tmpPtr
; int tmpSize
;
4860 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4864 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4866 _arg1
= new wxString(tmpPtr
, tmpSize
);
4868 if (!PyString_Check(_obj1
)) {
4869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4872 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } _resultobj
= Py_BuildValue("i",_result
);
4888 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4889 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4893 PyObject
* _argo0
= 0;
4895 char *_kwnames
[] = { "self","editable", NULL
};
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
4901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4907 _arg1
= (bool ) tempbool1
;
4909 wxPy_BEGIN_ALLOW_THREADS
;
4910 wxTextCtrl_SetEditable(_arg0
,_arg1
);
4912 wxPy_END_ALLOW_THREADS
;
4913 } Py_INCREF(Py_None
);
4914 _resultobj
= Py_None
;
4918 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4919 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4923 PyObject
* _argo0
= 0;
4924 char *_kwnames
[] = { "self","pos", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4937 wxPy_BEGIN_ALLOW_THREADS
;
4938 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
4940 wxPy_END_ALLOW_THREADS
;
4941 } Py_INCREF(Py_None
);
4942 _resultobj
= Py_None
;
4946 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4947 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4950 PyObject
* _argo0
= 0;
4951 char *_kwnames
[] = { "self", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4964 wxPy_BEGIN_ALLOW_THREADS
;
4965 wxTextCtrl_SetInsertionPointEnd(_arg0
);
4967 wxPy_END_ALLOW_THREADS
;
4968 } Py_INCREF(Py_None
);
4969 _resultobj
= Py_None
;
4973 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4974 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4979 PyObject
* _argo0
= 0;
4980 char *_kwnames
[] = { "self","from","to", NULL
};
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4993 wxPy_BEGIN_ALLOW_THREADS
;
4994 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
4996 wxPy_END_ALLOW_THREADS
;
4997 } Py_INCREF(Py_None
);
4998 _resultobj
= Py_None
;
5002 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5003 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5007 PyObject
* _argo0
= 0;
5008 PyObject
* _obj1
= 0;
5009 char *_kwnames
[] = { "self","value", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5022 #if PYTHON_API_VERSION >= 1009
5023 char* tmpPtr
; int tmpSize
;
5024 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5028 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5030 _arg1
= new wxString(tmpPtr
, tmpSize
);
5032 if (!PyString_Check(_obj1
)) {
5033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5036 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5043 wxPy_END_ALLOW_THREADS
;
5044 } Py_INCREF(Py_None
);
5045 _resultobj
= Py_None
;
5053 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5054 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
* _resultobj
;
5058 PyObject
* _argo0
= 0;
5059 char *_kwnames
[] = { "self","pos", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
5072 wxPy_BEGIN_ALLOW_THREADS
;
5073 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
5075 wxPy_END_ALLOW_THREADS
;
5076 } Py_INCREF(Py_None
);
5077 _resultobj
= Py_None
;
5081 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5082 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
* _resultobj
;
5086 PyObject
* _argo0
= 0;
5087 PyObject
* _obj1
= 0;
5088 char *_kwnames
[] = { "self","text", NULL
};
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
5094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5101 #if PYTHON_API_VERSION >= 1009
5102 char* tmpPtr
; int tmpSize
;
5103 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5104 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5107 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5109 _arg1
= new wxString(tmpPtr
, tmpSize
);
5111 if (!PyString_Check(_obj1
)) {
5112 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5115 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 wxTextCtrl_WriteText(_arg0
,*_arg1
);
5122 wxPy_END_ALLOW_THREADS
;
5123 } Py_INCREF(Py_None
);
5124 _resultobj
= Py_None
;
5132 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5133 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5134 PyObject
* _resultobj
;
5137 PyObject
* _argo0
= 0;
5138 PyObject
* _obj1
= 0;
5139 char *_kwnames
[] = { "self","text", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
5145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5152 #if PYTHON_API_VERSION >= 1009
5153 char* tmpPtr
; int tmpSize
;
5154 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5158 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5160 _arg1
= new wxString(tmpPtr
, tmpSize
);
5162 if (!PyString_Check(_obj1
)) {
5163 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5166 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5170 wxPy_BEGIN_ALLOW_THREADS
;
5171 wxTextCtrl_AppendText(_arg0
,*_arg1
);
5173 wxPy_END_ALLOW_THREADS
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5183 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5184 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
* _resultobj
;
5190 PyObject
* _argo0
= 0;
5191 char *_kwnames
[] = { "self","x","y", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
5207 wxPy_END_ALLOW_THREADS
;
5208 } _resultobj
= Py_BuildValue("l",_result
);
5212 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5213 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5217 PyObject
* _argo0
= 0;
5218 char *_kwnames
[] = { "self", NULL
};
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
5224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
5231 wxPy_BEGIN_ALLOW_THREADS
;
5232 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
5234 wxPy_END_ALLOW_THREADS
;
5235 } _resultobj
= Py_BuildValue("i",_result
);
5239 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5240 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5244 PyObject
* _argo0
= 0;
5245 char *_kwnames
[] = { "self", NULL
};
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
5251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
5258 wxPy_BEGIN_ALLOW_THREADS
;
5259 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
5261 wxPy_END_ALLOW_THREADS
;
5262 } _resultobj
= Py_BuildValue("i",_result
);
5266 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5267 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self", NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
5278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5285 wxPy_BEGIN_ALLOW_THREADS
;
5286 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
5288 wxPy_END_ALLOW_THREADS
;
5289 } _resultobj
= Py_BuildValue("i",_result
);
5293 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5294 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5298 PyObject
* _argo0
= 0;
5299 char *_kwnames
[] = { "self", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5312 wxPy_BEGIN_ALLOW_THREADS
;
5313 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
5315 wxPy_END_ALLOW_THREADS
;
5316 } _resultobj
= Py_BuildValue("i",_result
);
5320 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5321 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
* _resultobj
;
5325 PyObject
* _argo0
= 0;
5326 char *_kwnames
[] = { "self", NULL
};
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
5332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5339 wxPy_BEGIN_ALLOW_THREADS
;
5340 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
5342 wxPy_END_ALLOW_THREADS
;
5343 } _resultobj
= Py_BuildValue("i",_result
);
5347 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5348 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
* _resultobj
;
5355 PyObject
* _argo0
= 0;
5356 char *_kwnames
[] = { "self", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5375 wxPy_BEGIN_ALLOW_THREADS
;
5376 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
5378 wxPy_END_ALLOW_THREADS
;
5379 } Py_INCREF(Py_None
);
5380 _resultobj
= Py_None
;
5383 o
= PyInt_FromLong((long) (*_arg1
));
5384 _resultobj
= t_output_helper(_resultobj
, o
);
5388 o
= PyInt_FromLong((long) (*_arg2
));
5389 _resultobj
= t_output_helper(_resultobj
, o
);
5394 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5395 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
* _resultobj
;
5399 PyObject
* _argo0
= 0;
5400 char *_kwnames
[] = { "self", NULL
};
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
5406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
5413 wxPy_BEGIN_ALLOW_THREADS
;
5414 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
5416 wxPy_END_ALLOW_THREADS
;
5417 } _resultobj
= Py_BuildValue("i",_result
);
5421 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5422 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5425 PyObject
* _argo0
= 0;
5426 char *_kwnames
[] = { "self", NULL
};
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
5432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
5439 wxPy_BEGIN_ALLOW_THREADS
;
5440 wxTextCtrl_Undo(_arg0
);
5442 wxPy_END_ALLOW_THREADS
;
5443 } Py_INCREF(Py_None
);
5444 _resultobj
= Py_None
;
5448 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
5449 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5452 PyObject
* _argo0
= 0;
5453 char *_kwnames
[] = { "self", NULL
};
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
5459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
5466 wxPy_BEGIN_ALLOW_THREADS
;
5467 wxTextCtrl_Redo(_arg0
);
5469 wxPy_END_ALLOW_THREADS
;
5470 } Py_INCREF(Py_None
);
5471 _resultobj
= Py_None
;
5475 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
5476 self
->AppendText(text
+ '\n');
5478 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5483 PyObject
* _obj1
= 0;
5484 char *_kwnames
[] = { "self","text", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
5497 #if PYTHON_API_VERSION >= 1009
5498 char* tmpPtr
; int tmpSize
;
5499 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5503 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5505 _arg1
= new wxString(tmpPtr
, tmpSize
);
5507 if (!PyString_Check(_obj1
)) {
5508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5511 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5515 wxPy_BEGIN_ALLOW_THREADS
;
5516 wxTextCtrl_write(_arg0
,*_arg1
);
5518 wxPy_END_ALLOW_THREADS
;
5519 } Py_INCREF(Py_None
);
5520 _resultobj
= Py_None
;
5528 static void *SwigwxScrollBarTowxControl(void *ptr
) {
5531 src
= (wxScrollBar
*) ptr
;
5532 dest
= (wxControl
*) src
;
5533 return (void *) dest
;
5536 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
5539 src
= (wxScrollBar
*) ptr
;
5540 dest
= (wxWindow
*) src
;
5541 return (void *) dest
;
5544 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
5547 src
= (wxScrollBar
*) ptr
;
5548 dest
= (wxEvtHandler
*) src
;
5549 return (void *) dest
;
5552 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5553 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5555 wxScrollBar
* _result
;
5557 wxWindowID _arg1
= (wxWindowID
) -1;
5558 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5559 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5560 long _arg4
= (long ) wxSB_HORIZONTAL
;
5561 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
5562 char * _arg6
= (char *) "scrollBar";
5563 PyObject
* _argo0
= 0;
5565 PyObject
* _obj2
= 0;
5567 PyObject
* _obj3
= 0;
5568 PyObject
* _argo5
= 0;
5569 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
5585 if (! wxPoint_helper(_obj2
, &_arg2
))
5591 if (! wxSize_helper(_obj3
, &_arg3
))
5595 if (_argo5
== Py_None
) { _arg5
= NULL
; }
5596 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
5597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
5602 wxPy_BEGIN_ALLOW_THREADS
;
5603 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
5605 wxPy_END_ALLOW_THREADS
;
5607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
5608 _resultobj
= Py_BuildValue("s",_ptemp
);
5611 _resultobj
= Py_None
;
5616 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5617 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
* _resultobj
;
5620 wxScrollBar
* _arg0
;
5621 PyObject
* _argo0
= 0;
5622 char *_kwnames
[] = { "self", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 _result
= (int )wxScrollBar_GetRange(_arg0
);
5638 wxPy_END_ALLOW_THREADS
;
5639 } _resultobj
= Py_BuildValue("i",_result
);
5643 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5644 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5645 PyObject
* _resultobj
;
5647 wxScrollBar
* _arg0
;
5648 PyObject
* _argo0
= 0;
5649 char *_kwnames
[] = { "self", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5662 wxPy_BEGIN_ALLOW_THREADS
;
5663 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
5665 wxPy_END_ALLOW_THREADS
;
5666 } _resultobj
= Py_BuildValue("i",_result
);
5670 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5671 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
* _resultobj
;
5674 wxScrollBar
* _arg0
;
5675 PyObject
* _argo0
= 0;
5676 char *_kwnames
[] = { "self", NULL
};
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
5682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5689 wxPy_BEGIN_ALLOW_THREADS
;
5690 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
5692 wxPy_END_ALLOW_THREADS
;
5693 } _resultobj
= Py_BuildValue("i",_result
);
5697 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5698 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
* _resultobj
;
5701 wxScrollBar
* _arg0
;
5702 PyObject
* _argo0
= 0;
5703 char *_kwnames
[] = { "self", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
5709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5716 wxPy_BEGIN_ALLOW_THREADS
;
5717 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
5719 wxPy_END_ALLOW_THREADS
;
5720 } _resultobj
= Py_BuildValue("i",_result
);
5724 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5725 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
* _resultobj
;
5727 wxScrollBar
* _arg0
;
5729 PyObject
* _argo0
= 0;
5730 char *_kwnames
[] = { "self","viewStart", NULL
};
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
5736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5743 wxPy_BEGIN_ALLOW_THREADS
;
5744 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
5746 wxPy_END_ALLOW_THREADS
;
5747 } Py_INCREF(Py_None
);
5748 _resultobj
= Py_None
;
5752 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5753 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
* _resultobj
;
5755 wxScrollBar
* _arg0
;
5760 bool _arg5
= (bool ) TRUE
;
5761 PyObject
* _argo0
= 0;
5762 int tempbool5
= (int) TRUE
;
5763 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5775 _arg5
= (bool ) tempbool5
;
5777 wxPy_BEGIN_ALLOW_THREADS
;
5778 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
5780 wxPy_END_ALLOW_THREADS
;
5781 } Py_INCREF(Py_None
);
5782 _resultobj
= Py_None
;
5786 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
5789 src
= (wxSpinButton
*) ptr
;
5790 dest
= (wxControl
*) src
;
5791 return (void *) dest
;
5794 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
5797 src
= (wxSpinButton
*) ptr
;
5798 dest
= (wxWindow
*) src
;
5799 return (void *) dest
;
5802 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
5805 src
= (wxSpinButton
*) ptr
;
5806 dest
= (wxEvtHandler
*) src
;
5807 return (void *) dest
;
5810 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5811 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
* _resultobj
;
5813 wxSpinButton
* _result
;
5815 wxWindowID _arg1
= (wxWindowID
) -1;
5816 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5817 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5818 long _arg4
= (long ) wxSP_HORIZONTAL
;
5819 char * _arg5
= (char *) "spinButton";
5820 PyObject
* _argo0
= 0;
5822 PyObject
* _obj2
= 0;
5824 PyObject
* _obj3
= 0;
5825 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
5832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5841 if (! wxPoint_helper(_obj2
, &_arg2
))
5847 if (! wxSize_helper(_obj3
, &_arg3
))
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
5854 wxPy_END_ALLOW_THREADS
;
5856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
5857 _resultobj
= Py_BuildValue("s",_ptemp
);
5860 _resultobj
= Py_None
;
5865 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5866 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
* _resultobj
;
5869 wxSpinButton
* _arg0
;
5870 PyObject
* _argo0
= 0;
5871 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5884 wxPy_BEGIN_ALLOW_THREADS
;
5885 _result
= (int )wxSpinButton_GetMax(_arg0
);
5887 wxPy_END_ALLOW_THREADS
;
5888 } _resultobj
= Py_BuildValue("i",_result
);
5892 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5893 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5896 wxSpinButton
* _arg0
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5911 wxPy_BEGIN_ALLOW_THREADS
;
5912 _result
= (int )wxSpinButton_GetMin(_arg0
);
5914 wxPy_END_ALLOW_THREADS
;
5915 } _resultobj
= Py_BuildValue("i",_result
);
5919 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5920 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
* _resultobj
;
5923 wxSpinButton
* _arg0
;
5924 PyObject
* _argo0
= 0;
5925 char *_kwnames
[] = { "self", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
5931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5938 wxPy_BEGIN_ALLOW_THREADS
;
5939 _result
= (int )wxSpinButton_GetValue(_arg0
);
5941 wxPy_END_ALLOW_THREADS
;
5942 } _resultobj
= Py_BuildValue("i",_result
);
5946 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5947 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5949 wxSpinButton
* _arg0
;
5952 PyObject
* _argo0
= 0;
5953 char *_kwnames
[] = { "self","min","max", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5966 wxPy_BEGIN_ALLOW_THREADS
;
5967 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
5969 wxPy_END_ALLOW_THREADS
;
5970 } Py_INCREF(Py_None
);
5971 _resultobj
= Py_None
;
5975 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5976 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
* _resultobj
;
5978 wxSpinButton
* _arg0
;
5980 PyObject
* _argo0
= 0;
5981 char *_kwnames
[] = { "self","value", NULL
};
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
5987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
5989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5994 wxPy_BEGIN_ALLOW_THREADS
;
5995 wxSpinButton_SetValue(_arg0
,_arg1
);
5997 wxPy_END_ALLOW_THREADS
;
5998 } Py_INCREF(Py_None
);
5999 _resultobj
= Py_None
;
6003 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
6004 wxStaticBitmap
*src
;
6006 src
= (wxStaticBitmap
*) ptr
;
6007 dest
= (wxControl
*) src
;
6008 return (void *) dest
;
6011 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
6012 wxStaticBitmap
*src
;
6014 src
= (wxStaticBitmap
*) ptr
;
6015 dest
= (wxWindow
*) src
;
6016 return (void *) dest
;
6019 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
6020 wxStaticBitmap
*src
;
6022 src
= (wxStaticBitmap
*) ptr
;
6023 dest
= (wxEvtHandler
*) src
;
6024 return (void *) dest
;
6027 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6028 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6030 wxStaticBitmap
* _result
;
6034 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6035 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6036 long _arg5
= (long ) 0;
6037 char * _arg6
= (char *) "staticBitmap";
6038 PyObject
* _argo0
= 0;
6039 PyObject
* _argo2
= 0;
6041 PyObject
* _obj3
= 0;
6043 PyObject
* _obj4
= 0;
6044 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6058 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6059 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
6060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6067 if (! wxPoint_helper(_obj3
, &_arg3
))
6073 if (! wxSize_helper(_obj4
, &_arg4
))
6077 wxPy_BEGIN_ALLOW_THREADS
;
6078 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
6080 wxPy_END_ALLOW_THREADS
;
6082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
6083 _resultobj
= Py_BuildValue("s",_ptemp
);
6086 _resultobj
= Py_None
;
6091 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6092 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
* _resultobj
;
6095 wxStaticBitmap
* _arg0
;
6096 PyObject
* _argo0
= 0;
6097 char *_kwnames
[] = { "self", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6111 wxPy_BEGIN_ALLOW_THREADS
;
6112 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
6113 _result
= (wxBitmap
*) &_result_ref
;
6115 wxPy_END_ALLOW_THREADS
;
6117 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
6118 _resultobj
= Py_BuildValue("s",_ptemp
);
6121 _resultobj
= Py_None
;
6126 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6127 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
* _resultobj
;
6129 wxStaticBitmap
* _arg0
;
6131 PyObject
* _argo0
= 0;
6132 PyObject
* _argo1
= 0;
6133 char *_kwnames
[] = { "self","bitmap", NULL
};
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
6139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
6146 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
6153 wxPy_BEGIN_ALLOW_THREADS
;
6154 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
6156 wxPy_END_ALLOW_THREADS
;
6157 } Py_INCREF(Py_None
);
6158 _resultobj
= Py_None
;
6162 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
6163 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
* _resultobj
;
6165 wxStaticBitmap
* _arg0
;
6167 PyObject
* _argo0
= 0;
6168 PyObject
* _argo1
= 0;
6169 char *_kwnames
[] = { "self","icon", NULL
};
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
6175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
6182 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6183 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
6184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
6189 wxPy_BEGIN_ALLOW_THREADS
;
6190 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
6192 wxPy_END_ALLOW_THREADS
;
6193 } Py_INCREF(Py_None
);
6194 _resultobj
= Py_None
;
6198 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
6201 src
= (wxRadioBox
*) ptr
;
6202 dest
= (wxControl
*) src
;
6203 return (void *) dest
;
6206 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
6209 src
= (wxRadioBox
*) ptr
;
6210 dest
= (wxWindow
*) src
;
6211 return (void *) dest
;
6214 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
6217 src
= (wxRadioBox
*) ptr
;
6218 dest
= (wxEvtHandler
*) src
;
6219 return (void *) dest
;
6222 #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))
6223 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
* _resultobj
;
6225 wxRadioBox
* _result
;
6229 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6230 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6231 int _arg5
= (int ) 0;
6232 wxString
* _arg6
= (wxString
*) NULL
;
6233 int _arg7
= (int ) 0;
6234 long _arg8
= (long ) wxRA_HORIZONTAL
;
6235 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
6236 char * _arg10
= (char *) "radioBox";
6237 PyObject
* _argo0
= 0;
6238 PyObject
* _obj2
= 0;
6240 PyObject
* _obj3
= 0;
6242 PyObject
* _obj4
= 0;
6243 PyObject
* _obj6
= 0;
6244 PyObject
* _argo9
= 0;
6245 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
6252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
6259 #if PYTHON_API_VERSION >= 1009
6260 char* tmpPtr
; int tmpSize
;
6261 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6265 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6267 _arg2
= new wxString(tmpPtr
, tmpSize
);
6269 if (!PyString_Check(_obj2
)) {
6270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6273 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6279 if (! wxPoint_helper(_obj3
, &_arg3
))
6285 if (! wxSize_helper(_obj4
, &_arg4
))
6290 _arg6
= wxString_LIST_helper(_obj6
);
6291 if (_arg6
== NULL
) {
6296 if (_argo9
== Py_None
) { _arg9
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
6304 _arg5
= PyList_Size(_obj6
);
6311 wxPy_BEGIN_ALLOW_THREADS
;
6312 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
6314 wxPy_END_ALLOW_THREADS
;
6316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
6317 _resultobj
= Py_BuildValue("s",_ptemp
);
6320 _resultobj
= Py_None
;
6332 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6333 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
* _resultobj
;
6337 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self","enable", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
6351 _arg1
= (bool ) tempbool1
;
6353 wxPy_BEGIN_ALLOW_THREADS
;
6354 wxRadioBox_Enable(_arg0
,_arg1
);
6356 wxPy_END_ALLOW_THREADS
;
6357 } Py_INCREF(Py_None
);
6358 _resultobj
= Py_None
;
6362 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6363 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6368 PyObject
* _argo0
= 0;
6370 char *_kwnames
[] = { "self","n","enable", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
6382 _arg2
= (bool ) tempbool2
;
6384 wxPy_BEGIN_ALLOW_THREADS
;
6385 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
6387 wxPy_END_ALLOW_THREADS
;
6388 } Py_INCREF(Py_None
);
6389 _resultobj
= Py_None
;
6393 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
6394 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6399 PyObject
* _argo0
= 0;
6400 PyObject
* _obj1
= 0;
6401 char *_kwnames
[] = { "self","string", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
6414 #if PYTHON_API_VERSION >= 1009
6415 char* tmpPtr
; int tmpSize
;
6416 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6420 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6422 _arg1
= new wxString(tmpPtr
, tmpSize
);
6424 if (!PyString_Check(_obj1
)) {
6425 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6428 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6432 wxPy_BEGIN_ALLOW_THREADS
;
6433 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
6435 wxPy_END_ALLOW_THREADS
;
6436 } _resultobj
= Py_BuildValue("i",_result
);
6444 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6445 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6450 PyObject
* _argo0
= 0;
6451 char *_kwnames
[] = { "self","n", NULL
};
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
6457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
6464 wxPy_BEGIN_ALLOW_THREADS
;
6465 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
6467 wxPy_END_ALLOW_THREADS
;
6469 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6477 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
6478 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
* _resultobj
;
6482 PyObject
* _argo0
= 0;
6483 char *_kwnames
[] = { "self", NULL
};
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
6489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
6496 wxPy_BEGIN_ALLOW_THREADS
;
6497 _result
= (int )wxRadioBox_GetSelection(_arg0
);
6499 wxPy_END_ALLOW_THREADS
;
6500 } _resultobj
= Py_BuildValue("i",_result
);
6504 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
6505 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6510 PyObject
* _argo0
= 0;
6511 char *_kwnames
[] = { "self","n", NULL
};
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
6517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
6524 wxPy_BEGIN_ALLOW_THREADS
;
6525 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
6527 wxPy_END_ALLOW_THREADS
;
6529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6537 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6538 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
* _resultobj
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
6556 wxPy_BEGIN_ALLOW_THREADS
;
6557 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
6559 wxPy_END_ALLOW_THREADS
;
6561 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6569 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
6570 static PyObject
*_wrap_wxRadioBox_Number(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
* _resultobj
;
6574 PyObject
* _argo0
= 0;
6575 char *_kwnames
[] = { "self", NULL
};
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_Number",_kwnames
,&_argo0
))
6581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
6588 wxPy_BEGIN_ALLOW_THREADS
;
6589 _result
= (int )wxRadioBox_Number(_arg0
);
6591 wxPy_END_ALLOW_THREADS
;
6592 } _resultobj
= Py_BuildValue("i",_result
);
6596 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6597 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
* _resultobj
;
6602 PyObject
* _argo0
= 0;
6603 PyObject
* _obj2
= 0;
6604 char *_kwnames
[] = { "self","n","label", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
6617 #if PYTHON_API_VERSION >= 1009
6618 char* tmpPtr
; int tmpSize
;
6619 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6623 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6625 _arg2
= new wxString(tmpPtr
, tmpSize
);
6627 if (!PyString_Check(_obj2
)) {
6628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6631 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6635 wxPy_BEGIN_ALLOW_THREADS
;
6636 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
6638 wxPy_END_ALLOW_THREADS
;
6639 } Py_INCREF(Py_None
);
6640 _resultobj
= Py_None
;
6648 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6649 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
* _resultobj
;
6653 PyObject
* _argo0
= 0;
6654 char *_kwnames
[] = { "self","n", NULL
};
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
6660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6667 wxPy_BEGIN_ALLOW_THREADS
;
6668 wxRadioBox_SetSelection(_arg0
,_arg1
);
6670 wxPy_END_ALLOW_THREADS
;
6671 } Py_INCREF(Py_None
);
6672 _resultobj
= Py_None
;
6676 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6677 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
* _resultobj
;
6681 PyObject
* _argo0
= 0;
6682 PyObject
* _obj1
= 0;
6683 char *_kwnames
[] = { "self","string", NULL
};
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
6689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6696 #if PYTHON_API_VERSION >= 1009
6697 char* tmpPtr
; int tmpSize
;
6698 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6702 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6704 _arg1
= new wxString(tmpPtr
, tmpSize
);
6706 if (!PyString_Check(_obj1
)) {
6707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6710 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6714 wxPy_BEGIN_ALLOW_THREADS
;
6715 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
6717 wxPy_END_ALLOW_THREADS
;
6718 } Py_INCREF(Py_None
);
6719 _resultobj
= Py_None
;
6727 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6728 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6734 char *_kwnames
[] = { "self","show", NULL
};
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
6740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6746 _arg1
= (bool ) tempbool1
;
6748 wxPy_BEGIN_ALLOW_THREADS
;
6749 wxRadioBox_Show(_arg0
,_arg1
);
6751 wxPy_END_ALLOW_THREADS
;
6752 } Py_INCREF(Py_None
);
6753 _resultobj
= Py_None
;
6757 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6758 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
* _resultobj
;
6763 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self","item","show", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6777 _arg2
= (bool ) tempbool2
;
6779 wxPy_BEGIN_ALLOW_THREADS
;
6780 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
6782 wxPy_END_ALLOW_THREADS
;
6783 } Py_INCREF(Py_None
);
6784 _resultobj
= Py_None
;
6788 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
6791 src
= (wxRadioButton
*) ptr
;
6792 dest
= (wxControl
*) src
;
6793 return (void *) dest
;
6796 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
6799 src
= (wxRadioButton
*) ptr
;
6800 dest
= (wxWindow
*) src
;
6801 return (void *) dest
;
6804 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
6807 src
= (wxRadioButton
*) ptr
;
6808 dest
= (wxEvtHandler
*) src
;
6809 return (void *) dest
;
6812 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6813 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6815 wxRadioButton
* _result
;
6819 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6820 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6821 long _arg5
= (long ) 0;
6822 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6823 char * _arg7
= (char *) "radioButton";
6824 PyObject
* _argo0
= 0;
6825 PyObject
* _obj2
= 0;
6827 PyObject
* _obj3
= 0;
6829 PyObject
* _obj4
= 0;
6830 PyObject
* _argo6
= 0;
6831 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6845 #if PYTHON_API_VERSION >= 1009
6846 char* tmpPtr
; int tmpSize
;
6847 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
6848 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6851 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
6853 _arg2
= new wxString(tmpPtr
, tmpSize
);
6855 if (!PyString_Check(_obj2
)) {
6856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6859 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
6865 if (! wxPoint_helper(_obj3
, &_arg3
))
6871 if (! wxSize_helper(_obj4
, &_arg4
))
6875 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
6882 wxPy_BEGIN_ALLOW_THREADS
;
6883 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6885 wxPy_END_ALLOW_THREADS
;
6887 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
6888 _resultobj
= Py_BuildValue("s",_ptemp
);
6891 _resultobj
= Py_None
;
6900 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
6901 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6902 PyObject
* _resultobj
;
6904 wxRadioButton
* _arg0
;
6905 PyObject
* _argo0
= 0;
6906 char *_kwnames
[] = { "self", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
6919 wxPy_BEGIN_ALLOW_THREADS
;
6920 _result
= (bool )wxRadioButton_GetValue(_arg0
);
6922 wxPy_END_ALLOW_THREADS
;
6923 } _resultobj
= Py_BuildValue("i",_result
);
6927 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6928 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6930 wxRadioButton
* _arg0
;
6932 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self","value", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6946 _arg1
= (bool ) tempbool1
;
6948 wxPy_BEGIN_ALLOW_THREADS
;
6949 wxRadioButton_SetValue(_arg0
,_arg1
);
6951 wxPy_END_ALLOW_THREADS
;
6952 } Py_INCREF(Py_None
);
6953 _resultobj
= Py_None
;
6957 static void *SwigwxSliderTowxControl(void *ptr
) {
6960 src
= (wxSlider
*) ptr
;
6961 dest
= (wxControl
*) src
;
6962 return (void *) dest
;
6965 static void *SwigwxSliderTowxWindow(void *ptr
) {
6968 src
= (wxSlider
*) ptr
;
6969 dest
= (wxWindow
*) src
;
6970 return (void *) dest
;
6973 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
6976 src
= (wxSlider
*) ptr
;
6977 dest
= (wxEvtHandler
*) src
;
6978 return (void *) dest
;
6981 #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))
6982 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
* _resultobj
;
6990 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
6991 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
6992 long _arg7
= (long ) wxSL_HORIZONTAL
;
6993 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
6994 char * _arg9
= (char *) "slider";
6995 PyObject
* _argo0
= 0;
6997 PyObject
* _obj5
= 0;
6999 PyObject
* _obj6
= 0;
7000 PyObject
* _argo8
= 0;
7001 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
7008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7017 if (! wxPoint_helper(_obj5
, &_arg5
))
7023 if (! wxSize_helper(_obj6
, &_arg6
))
7027 if (_argo8
== Py_None
) { _arg8
= NULL
; }
7028 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
7029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7034 wxPy_BEGIN_ALLOW_THREADS
;
7035 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
7037 wxPy_END_ALLOW_THREADS
;
7039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
7040 _resultobj
= Py_BuildValue("s",_ptemp
);
7043 _resultobj
= Py_None
;
7048 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7049 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
* _resultobj
;
7052 PyObject
* _argo0
= 0;
7053 char *_kwnames
[] = { "self", NULL
};
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
7059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7066 wxPy_BEGIN_ALLOW_THREADS
;
7067 wxSlider_ClearSel(_arg0
);
7069 wxPy_END_ALLOW_THREADS
;
7070 } Py_INCREF(Py_None
);
7071 _resultobj
= Py_None
;
7075 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7076 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7079 PyObject
* _argo0
= 0;
7080 char *_kwnames
[] = { "self", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
7093 wxPy_BEGIN_ALLOW_THREADS
;
7094 wxSlider_ClearTicks(_arg0
);
7096 wxPy_END_ALLOW_THREADS
;
7097 } Py_INCREF(Py_None
);
7098 _resultobj
= Py_None
;
7102 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
7103 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
* _resultobj
;
7107 PyObject
* _argo0
= 0;
7108 char *_kwnames
[] = { "self", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
7121 wxPy_BEGIN_ALLOW_THREADS
;
7122 _result
= (int )wxSlider_GetLineSize(_arg0
);
7124 wxPy_END_ALLOW_THREADS
;
7125 } _resultobj
= Py_BuildValue("i",_result
);
7129 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
7130 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
* _resultobj
;
7134 PyObject
* _argo0
= 0;
7135 char *_kwnames
[] = { "self", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
7148 wxPy_BEGIN_ALLOW_THREADS
;
7149 _result
= (int )wxSlider_GetMax(_arg0
);
7151 wxPy_END_ALLOW_THREADS
;
7152 } _resultobj
= Py_BuildValue("i",_result
);
7156 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
7157 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
* _resultobj
;
7161 PyObject
* _argo0
= 0;
7162 char *_kwnames
[] = { "self", NULL
};
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
7168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
7175 wxPy_BEGIN_ALLOW_THREADS
;
7176 _result
= (int )wxSlider_GetMin(_arg0
);
7178 wxPy_END_ALLOW_THREADS
;
7179 } _resultobj
= Py_BuildValue("i",_result
);
7183 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7184 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
* _resultobj
;
7188 PyObject
* _argo0
= 0;
7189 char *_kwnames
[] = { "self", NULL
};
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
7195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
7202 wxPy_BEGIN_ALLOW_THREADS
;
7203 _result
= (int )wxSlider_GetPageSize(_arg0
);
7205 wxPy_END_ALLOW_THREADS
;
7206 } _resultobj
= Py_BuildValue("i",_result
);
7210 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
7211 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
* _resultobj
;
7215 PyObject
* _argo0
= 0;
7216 char *_kwnames
[] = { "self", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
7229 wxPy_BEGIN_ALLOW_THREADS
;
7230 _result
= (int )wxSlider_GetSelEnd(_arg0
);
7232 wxPy_END_ALLOW_THREADS
;
7233 } _resultobj
= Py_BuildValue("i",_result
);
7237 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
7238 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7242 PyObject
* _argo0
= 0;
7243 char *_kwnames
[] = { "self", NULL
};
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
7249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
7256 wxPy_BEGIN_ALLOW_THREADS
;
7257 _result
= (int )wxSlider_GetSelStart(_arg0
);
7259 wxPy_END_ALLOW_THREADS
;
7260 } _resultobj
= Py_BuildValue("i",_result
);
7264 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
7265 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
* _resultobj
;
7269 PyObject
* _argo0
= 0;
7270 char *_kwnames
[] = { "self", NULL
};
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
7276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
7283 wxPy_BEGIN_ALLOW_THREADS
;
7284 _result
= (int )wxSlider_GetThumbLength(_arg0
);
7286 wxPy_END_ALLOW_THREADS
;
7287 } _resultobj
= Py_BuildValue("i",_result
);
7291 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
7292 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7296 PyObject
* _argo0
= 0;
7297 char *_kwnames
[] = { "self", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
7310 wxPy_BEGIN_ALLOW_THREADS
;
7311 _result
= (int )wxSlider_GetTickFreq(_arg0
);
7313 wxPy_END_ALLOW_THREADS
;
7314 } _resultobj
= Py_BuildValue("i",_result
);
7318 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
7319 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
* _resultobj
;
7323 PyObject
* _argo0
= 0;
7324 char *_kwnames
[] = { "self", NULL
};
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
7330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
7337 wxPy_BEGIN_ALLOW_THREADS
;
7338 _result
= (int )wxSlider_GetValue(_arg0
);
7340 wxPy_END_ALLOW_THREADS
;
7341 } _resultobj
= Py_BuildValue("i",_result
);
7345 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7346 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
* _resultobj
;
7351 PyObject
* _argo0
= 0;
7352 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
7365 wxPy_BEGIN_ALLOW_THREADS
;
7366 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
7368 wxPy_END_ALLOW_THREADS
;
7369 } Py_INCREF(Py_None
);
7370 _resultobj
= Py_None
;
7374 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
7375 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7381 char *_kwnames
[] = { "self","n","pos", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
7394 wxPy_BEGIN_ALLOW_THREADS
;
7395 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
7397 wxPy_END_ALLOW_THREADS
;
7398 } Py_INCREF(Py_None
);
7399 _resultobj
= Py_None
;
7403 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
7404 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7408 PyObject
* _argo0
= 0;
7409 char *_kwnames
[] = { "self","lineSize", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
7422 wxPy_BEGIN_ALLOW_THREADS
;
7423 wxSlider_SetLineSize(_arg0
,_arg1
);
7425 wxPy_END_ALLOW_THREADS
;
7426 } Py_INCREF(Py_None
);
7427 _resultobj
= Py_None
;
7431 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
7432 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
* _resultobj
;
7436 PyObject
* _argo0
= 0;
7437 char *_kwnames
[] = { "self","pageSize", NULL
};
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
7443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
7450 wxPy_BEGIN_ALLOW_THREADS
;
7451 wxSlider_SetPageSize(_arg0
,_arg1
);
7453 wxPy_END_ALLOW_THREADS
;
7454 } Py_INCREF(Py_None
);
7455 _resultobj
= Py_None
;
7459 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7460 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
* _resultobj
;
7465 PyObject
* _argo0
= 0;
7466 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
7479 wxPy_BEGIN_ALLOW_THREADS
;
7480 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
7482 wxPy_END_ALLOW_THREADS
;
7483 } Py_INCREF(Py_None
);
7484 _resultobj
= Py_None
;
7488 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
7489 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7490 PyObject
* _resultobj
;
7493 PyObject
* _argo0
= 0;
7494 char *_kwnames
[] = { "self","len", NULL
};
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
7500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
7507 wxPy_BEGIN_ALLOW_THREADS
;
7508 wxSlider_SetThumbLength(_arg0
,_arg1
);
7510 wxPy_END_ALLOW_THREADS
;
7511 } Py_INCREF(Py_None
);
7512 _resultobj
= Py_None
;
7516 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
7517 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7518 PyObject
* _resultobj
;
7521 PyObject
* _argo0
= 0;
7522 char *_kwnames
[] = { "self","tickPos", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
7535 wxPy_BEGIN_ALLOW_THREADS
;
7536 wxSlider_SetTick(_arg0
,_arg1
);
7538 wxPy_END_ALLOW_THREADS
;
7539 } Py_INCREF(Py_None
);
7540 _resultobj
= Py_None
;
7544 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7545 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
* _resultobj
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self","value", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
7563 wxPy_BEGIN_ALLOW_THREADS
;
7564 wxSlider_SetValue(_arg0
,_arg1
);
7566 wxPy_END_ALLOW_THREADS
;
7567 } Py_INCREF(Py_None
);
7568 _resultobj
= Py_None
;
7572 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
7575 src
= (wxSpinCtrl
*) ptr
;
7576 dest
= (wxSpinButton
*) src
;
7577 return (void *) dest
;
7580 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
7583 src
= (wxSpinCtrl
*) ptr
;
7584 dest
= (wxControl
*) src
;
7585 return (void *) dest
;
7588 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
7591 src
= (wxSpinCtrl
*) ptr
;
7592 dest
= (wxWindow
*) src
;
7593 return (void *) dest
;
7596 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
7599 src
= (wxSpinCtrl
*) ptr
;
7600 dest
= (wxEvtHandler
*) src
;
7601 return (void *) dest
;
7604 #define new_wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
7605 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
* _resultobj
;
7607 wxSpinCtrl
* _result
;
7609 wxWindowID _arg1
= (wxWindowID
) -1;
7610 char * _arg2
= (char *) "";
7611 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7612 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7613 long _arg5
= (long ) wxSP_ARROW_KEYS
;
7614 int _arg6
= (int ) 0;
7615 int _arg7
= (int ) 100;
7616 int _arg8
= (int ) 0;
7617 char * _arg9
= (char *) "wxSpinCtrl";
7618 PyObject
* _argo0
= 0;
7620 PyObject
* _obj3
= 0;
7622 PyObject
* _obj4
= 0;
7623 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
7627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
7630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
7639 if (! wxPoint_helper(_obj3
, &_arg3
))
7645 if (! wxSize_helper(_obj4
, &_arg4
))
7649 wxPy_BEGIN_ALLOW_THREADS
;
7650 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
7652 wxPy_END_ALLOW_THREADS
;
7654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
7655 _resultobj
= Py_BuildValue("s",_ptemp
);
7658 _resultobj
= Py_None
;
7663 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
7664 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
* _resultobj
;
7668 PyObject
* _argo0
= 0;
7669 char *_kwnames
[] = { "self", NULL
};
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
7675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
7682 wxPy_BEGIN_ALLOW_THREADS
;
7683 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
7685 wxPy_END_ALLOW_THREADS
;
7686 } _resultobj
= Py_BuildValue("i",_result
);
7690 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
7691 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
* _resultobj
;
7695 PyObject
* _argo0
= 0;
7696 char *_kwnames
[] = { "self", NULL
};
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
7702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
7709 wxPy_BEGIN_ALLOW_THREADS
;
7710 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
7712 wxPy_END_ALLOW_THREADS
;
7713 } _resultobj
= Py_BuildValue("i",_result
);
7717 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7718 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
* _resultobj
;
7722 PyObject
* _argo0
= 0;
7723 char *_kwnames
[] = { "self", NULL
};
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
7729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
7736 wxPy_BEGIN_ALLOW_THREADS
;
7737 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
7739 wxPy_END_ALLOW_THREADS
;
7740 } _resultobj
= Py_BuildValue("i",_result
);
7744 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7745 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
* _resultobj
;
7750 PyObject
* _argo0
= 0;
7751 char *_kwnames
[] = { "self","min","max", NULL
};
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
7764 wxPy_BEGIN_ALLOW_THREADS
;
7765 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
7767 wxPy_END_ALLOW_THREADS
;
7768 } Py_INCREF(Py_None
);
7769 _resultobj
= Py_None
;
7773 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7774 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
* _resultobj
;
7778 PyObject
* _argo0
= 0;
7779 char *_kwnames
[] = { "self","value", NULL
};
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
7785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
7787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
7792 wxPy_BEGIN_ALLOW_THREADS
;
7793 wxSpinCtrl_SetValue(_arg0
,_arg1
);
7795 wxPy_END_ALLOW_THREADS
;
7796 } Py_INCREF(Py_None
);
7797 _resultobj
= Py_None
;
7801 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
7802 wxToggleButton
*src
;
7804 src
= (wxToggleButton
*) ptr
;
7805 dest
= (wxControl
*) src
;
7806 return (void *) dest
;
7809 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
7810 wxToggleButton
*src
;
7812 src
= (wxToggleButton
*) ptr
;
7813 dest
= (wxWindow
*) src
;
7814 return (void *) dest
;
7817 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
7818 wxToggleButton
*src
;
7820 src
= (wxToggleButton
*) ptr
;
7821 dest
= (wxEvtHandler
*) src
;
7822 return (void *) dest
;
7825 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7826 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
* _resultobj
;
7828 wxToggleButton
* _result
;
7832 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7833 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7834 long _arg5
= (long ) 0;
7835 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7836 char * _arg7
= (char *) "toggle";
7837 PyObject
* _argo0
= 0;
7838 PyObject
* _obj2
= 0;
7840 PyObject
* _obj3
= 0;
7842 PyObject
* _obj4
= 0;
7843 PyObject
* _argo6
= 0;
7844 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
7858 #if PYTHON_API_VERSION >= 1009
7859 char* tmpPtr
; int tmpSize
;
7860 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
7861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7864 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
7866 _arg2
= new wxString(tmpPtr
, tmpSize
);
7868 if (!PyString_Check(_obj2
)) {
7869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7872 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
7878 if (! wxPoint_helper(_obj3
, &_arg3
))
7884 if (! wxSize_helper(_obj4
, &_arg4
))
7888 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7889 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
7895 wxPy_BEGIN_ALLOW_THREADS
;
7896 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7898 wxPy_END_ALLOW_THREADS
;
7900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
7901 _resultobj
= Py_BuildValue("s",_ptemp
);
7904 _resultobj
= Py_None
;
7913 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7914 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7915 PyObject
* _resultobj
;
7916 wxToggleButton
* _arg0
;
7918 PyObject
* _argo0
= 0;
7920 char *_kwnames
[] = { "self","value", NULL
};
7923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
7926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
7928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
7932 _arg1
= (bool ) tempbool1
;
7934 wxPy_BEGIN_ALLOW_THREADS
;
7935 wxToggleButton_SetValue(_arg0
,_arg1
);
7937 wxPy_END_ALLOW_THREADS
;
7938 } Py_INCREF(Py_None
);
7939 _resultobj
= Py_None
;
7943 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
7944 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
* _resultobj
;
7947 wxToggleButton
* _arg0
;
7948 PyObject
* _argo0
= 0;
7949 char *_kwnames
[] = { "self", NULL
};
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
7955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
7957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
7962 wxPy_BEGIN_ALLOW_THREADS
;
7963 _result
= (bool )wxToggleButton_GetValue(_arg0
);
7965 wxPy_END_ALLOW_THREADS
;
7966 } _resultobj
= Py_BuildValue("i",_result
);
7970 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
7971 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
* _resultobj
;
7973 wxToggleButton
* _arg0
;
7975 PyObject
* _argo0
= 0;
7976 PyObject
* _obj1
= 0;
7977 char *_kwnames
[] = { "self","label", NULL
};
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
7983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
7985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
7990 #if PYTHON_API_VERSION >= 1009
7991 char* tmpPtr
; int tmpSize
;
7992 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7993 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7996 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7998 _arg1
= new wxString(tmpPtr
, tmpSize
);
8000 if (!PyString_Check(_obj1
)) {
8001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8004 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8008 wxPy_BEGIN_ALLOW_THREADS
;
8009 wxToggleButton_SetLabel(_arg0
,*_arg1
);
8011 wxPy_END_ALLOW_THREADS
;
8012 } Py_INCREF(Py_None
);
8013 _resultobj
= Py_None
;
8021 static PyMethodDef controlscMethods
[] = {
8022 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8023 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8024 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8025 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
8026 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8027 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8028 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8029 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8030 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8031 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8032 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8033 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
8034 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8035 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8036 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8037 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8038 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8039 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8040 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8041 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
8042 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
8043 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
8044 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
8045 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8046 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8047 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8048 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
8049 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
8050 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
8051 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
8052 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8053 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8054 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
8055 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
8056 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
8057 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8058 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8059 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8060 { "wxRadioBox_Number", (PyCFunction
) _wrap_wxRadioBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8061 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8062 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8063 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8064 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
8065 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8066 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
8067 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
8068 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
8069 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
8070 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8071 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8072 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
8073 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8074 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8075 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8076 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
8077 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
8078 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
8079 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
8080 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8081 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8082 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
8083 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
8084 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
8085 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
8086 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
8087 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
8088 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
8089 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
8090 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
8091 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8092 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
8093 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
8094 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
8095 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
8096 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
8097 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
8098 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
8099 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
8100 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
8101 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8102 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8103 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
8104 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8105 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
8106 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
8107 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8108 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8109 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
8110 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8111 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
8112 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
8113 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8114 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
8115 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
8116 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
8117 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
8118 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8119 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
8120 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8121 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8122 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8123 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
8124 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
8125 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8126 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
8127 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
8128 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
8129 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8130 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
8131 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8132 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
8133 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
8134 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
8135 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
8136 { "wxListBox_Number", (PyCFunction
) _wrap_wxListBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8137 { "wxListBox_GetStringSelection", (PyCFunction
) _wrap_wxListBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8138 { "wxListBox_GetString", (PyCFunction
) _wrap_wxListBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8139 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
8140 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
8141 { "wxListBox_GetSelection", (PyCFunction
) _wrap_wxListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8142 { "wxListBox_FindString", (PyCFunction
) _wrap_wxListBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8143 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
8144 { "wxListBox_Delete", (PyCFunction
) _wrap_wxListBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8145 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8146 { "wxListBox_Append", (PyCFunction
) _wrap_wxListBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
8147 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
8148 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8149 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8150 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
8151 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
8152 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
8153 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8154 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
8155 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
8156 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
8157 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8158 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
8159 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
8160 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
8161 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
8162 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8163 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
8164 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8165 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
8166 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8167 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
8168 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
8169 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
8170 { "wxComboBox_Number", (PyCFunction
) _wrap_wxComboBox_Number
, METH_VARARGS
| METH_KEYWORDS
},
8171 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8172 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8173 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8174 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8175 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
8176 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
8177 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8178 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
8179 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
8180 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
8181 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8182 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
8183 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
8184 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8185 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8186 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
8187 { "wxChoice_Number", (PyCFunction
) _wrap_wxChoice_Number
, METH_VARARGS
| METH_KEYWORDS
},
8188 { "wxChoice_GetStringSelection", (PyCFunction
) _wrap_wxChoice_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
8189 { "wxChoice_GetString", (PyCFunction
) _wrap_wxChoice_GetString
, METH_VARARGS
| METH_KEYWORDS
},
8190 { "wxChoice_GetSelection", (PyCFunction
) _wrap_wxChoice_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
8191 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
8192 { "wxChoice_FindString", (PyCFunction
) _wrap_wxChoice_FindString
, METH_VARARGS
| METH_KEYWORDS
},
8193 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
8194 { "wxChoice_Append", (PyCFunction
) _wrap_wxChoice_Append
, METH_VARARGS
| METH_KEYWORDS
},
8195 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
8196 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
8197 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
8198 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
8199 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
8200 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
8201 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
8202 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
8203 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
8204 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
8205 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
8206 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
8207 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
8208 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
8209 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
8210 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
8211 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8212 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
8213 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
8214 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
8215 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8216 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
8217 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
8218 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
8219 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
8226 * This table is used by the pointer type-checker
8228 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
8229 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8230 { "_wxEvent","_class_wxEvent",0},
8231 { "_class_wxActivateEvent","_wxActivateEvent",0},
8232 { "_signed_long","_long",0},
8233 { "_wxMenuEvent","_class_wxMenuEvent",0},
8234 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8235 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8236 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8237 { "_wxPrintQuality","_wxCoord",0},
8238 { "_wxPrintQuality","_int",0},
8239 { "_wxPrintQuality","_signed_int",0},
8240 { "_wxPrintQuality","_unsigned_int",0},
8241 { "_wxPrintQuality","_wxWindowID",0},
8242 { "_wxPrintQuality","_uint",0},
8243 { "_wxPrintQuality","_EBool",0},
8244 { "_wxPrintQuality","_size_t",0},
8245 { "_wxPrintQuality","_time_t",0},
8246 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8247 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8248 { "_class_wxRegionIterator","_wxRegionIterator",0},
8249 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8250 { "_class_wxMenuBar","_wxMenuBar",0},
8251 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8252 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8253 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8254 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8255 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8256 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8257 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8258 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8259 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8260 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8261 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8262 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8263 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8264 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8265 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8266 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8267 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8268 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8269 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8270 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8271 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8272 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8273 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8274 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8275 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8276 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8277 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8278 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8279 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8280 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8281 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8282 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8283 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8284 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8285 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8286 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8287 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8288 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8289 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8290 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8291 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8292 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8293 { "_class_wxEvtHandler","_wxEvtHandler",0},
8294 { "_wxPaintEvent","_class_wxPaintEvent",0},
8295 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8296 { "_wxCursor","_class_wxCursor",0},
8297 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8298 { "_wxMask","_class_wxMask",0},
8299 { "_wxPen","_class_wxPen",0},
8300 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8301 { "_byte","_unsigned_char",0},
8302 { "_wxDataObject","_class_wxDataObject",0},
8303 { "_wxStaticBox","_class_wxStaticBox",0},
8304 { "_wxColourDatabase","_class_wxColourDatabase",0},
8305 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8306 { "_wxPyDropSource","_class_wxPyDropSource",0},
8307 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8308 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8309 { "_wxChoice","_class_wxChoice",0},
8310 { "_wxSlider","_class_wxSlider",0},
8311 { "_long","_unsigned_long",0},
8312 { "_long","_signed_long",0},
8313 { "_wxImageList","_class_wxImageList",0},
8314 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8315 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8316 { "_wxBitmapButton","_class_wxBitmapButton",0},
8317 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8318 { "_class_wxClipboard","_wxClipboard",0},
8319 { "_class_wxGauge","_wxGauge",0},
8320 { "_wxDC","_class_wxDC",0},
8321 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8322 { "_wxSpinEvent","_class_wxSpinEvent",0},
8323 { "_size_t","_wxCoord",0},
8324 { "_size_t","_wxPrintQuality",0},
8325 { "_size_t","_time_t",0},
8326 { "_size_t","_unsigned_int",0},
8327 { "_size_t","_int",0},
8328 { "_size_t","_wxWindowID",0},
8329 { "_size_t","_uint",0},
8330 { "_class_wxRealPoint","_wxRealPoint",0},
8331 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8332 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8333 { "_class_wxMenuItem","_wxMenuItem",0},
8334 { "_class_wxPaintEvent","_wxPaintEvent",0},
8335 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8336 { "_wxPanel","_class_wxPanel",0},
8337 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8338 { "_wxCheckBox","_class_wxCheckBox",0},
8339 { "_wxPyEvent","_class_wxPyEvent",0},
8340 { "_wxTextCtrl","_class_wxTextCtrl",0},
8341 { "_class_wxMask","_wxMask",0},
8342 { "_wxTextDataObject","_class_wxTextDataObject",0},
8343 { "_class_wxKeyEvent","_wxKeyEvent",0},
8344 { "_wxColour","_class_wxColour",0},
8345 { "_class_wxDialog","_wxDialog",0},
8346 { "_class_wxFileDataObject","_wxFileDataObject",0},
8347 { "_wxIdleEvent","_class_wxIdleEvent",0},
8348 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8349 { "_class_wxDataObject","_wxDataObject",0},
8350 { "_wxStaticLine","_class_wxStaticLine",0},
8351 { "_wxBrush","_class_wxBrush",0},
8352 { "_wxToggleButton","_class_wxToggleButton",0},
8353 { "_wxDataFormat","_class_wxDataFormat",0},
8354 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8355 { "_wxShowEvent","_class_wxShowEvent",0},
8356 { "_uint","_wxCoord",0},
8357 { "_uint","_wxPrintQuality",0},
8358 { "_uint","_time_t",0},
8359 { "_uint","_size_t",0},
8360 { "_uint","_unsigned_int",0},
8361 { "_uint","_int",0},
8362 { "_uint","_wxWindowID",0},
8363 { "_wxChar","_char",0},
8364 { "_wxPyValidator","_class_wxPyValidator",0},
8365 { "_class_wxEvent","_wxEvent",0},
8366 { "_wxCheckListBox","_class_wxCheckListBox",0},
8367 { "_wxRect","_class_wxRect",0},
8368 { "_wxCommandEvent","_class_wxCommandEvent",0},
8369 { "_wxSizeEvent","_class_wxSizeEvent",0},
8370 { "_wxPoint","_class_wxPoint",0},
8371 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8372 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8373 { "_class_wxButton","_wxButton",0},
8374 { "_wxRadioBox","_class_wxRadioBox",0},
8375 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8376 { "_char","_wxChar",0},
8377 { "_wxBitmap","_class_wxBitmap",0},
8378 { "_wxPenList","_class_wxPenList",0},
8379 { "_wxWindowDC","_class_wxWindowDC",0},
8380 { "_wxTimerEvent","_class_wxTimerEvent",0},
8381 { "_wxScrollBar","_class_wxScrollBar",0},
8382 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8383 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8384 { "_wxSpinButton","_class_wxSpinButton",0},
8385 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8386 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8387 { "_class_wxValidator","_wxValidator",0},
8388 { "_class_wxPyEvent","_wxPyEvent",0},
8389 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8390 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8391 { "_wxDropTarget","_class_wxDropTarget",0},
8392 { "_class_wxStaticLine","_wxStaticLine",0},
8393 { "_class_wxColourDatabase","_wxColourDatabase",0},
8394 { "_wxScrollEvent","_class_wxScrollEvent",0},
8395 { "_EBool","_wxCoord",0},
8396 { "_EBool","_wxPrintQuality",0},
8397 { "_EBool","_signed_int",0},
8398 { "_EBool","_int",0},
8399 { "_EBool","_wxWindowID",0},
8400 { "_class_wxRegion","_wxRegion",0},
8401 { "_class_wxDataFormat","_wxDataFormat",0},
8402 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8403 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8404 { "_wxStaticText","_class_wxStaticText",0},
8405 { "_wxFont","_class_wxFont",0},
8406 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8407 { "_wxCloseEvent","_class_wxCloseEvent",0},
8408 { "_unsigned_long","_long",0},
8409 { "_class_wxRect","_wxRect",0},
8410 { "_class_wxDC","_wxDC",0},
8411 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8412 { "_class_wxBrushList","_wxBrushList",0},
8413 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8414 { "_class_wxPenList","_wxPenList",0},
8415 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8416 { "_wxFocusEvent","_class_wxFocusEvent",0},
8417 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8418 { "_class_wxTimerEvent","_wxTimerEvent",0},
8419 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8420 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
8421 { "_class_wxSpinButton","_wxSpinButton",0},
8422 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8423 { "_class_wxPanel","_wxPanel",0},
8424 { "_class_wxCheckBox","_wxCheckBox",0},
8425 { "_wxComboBox","_class_wxComboBox",0},
8426 { "_wxRadioButton","_class_wxRadioButton",0},
8427 { "_signed_int","_wxCoord",0},
8428 { "_signed_int","_wxPrintQuality",0},
8429 { "_signed_int","_EBool",0},
8430 { "_signed_int","_wxWindowID",0},
8431 { "_signed_int","_int",0},
8432 { "_class_wxTextCtrl","_wxTextCtrl",0},
8433 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8434 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8435 { "_class_wxTextDataObject","_wxTextDataObject",0},
8436 { "_wxMenu","_class_wxMenu",0},
8437 { "_class_wxMoveEvent","_wxMoveEvent",0},
8438 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8439 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8440 { "_wxListBox","_class_wxListBox",0},
8441 { "_wxScreenDC","_class_wxScreenDC",0},
8442 { "_WXTYPE","_short",0},
8443 { "_WXTYPE","_signed_short",0},
8444 { "_WXTYPE","_unsigned_short",0},
8445 { "_class_wxDropTarget","_wxDropTarget",0},
8446 { "_class_wxBrush","_wxBrush",0},
8447 { "_unsigned_short","_WXTYPE",0},
8448 { "_unsigned_short","_short",0},
8449 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
8450 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
8451 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8452 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8453 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8454 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8455 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8456 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8457 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8458 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8459 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8460 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8461 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8462 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8463 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8464 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8465 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8466 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8467 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8468 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8469 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8470 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8471 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8472 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8473 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8474 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8475 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8476 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8477 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8478 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8479 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8480 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8481 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8482 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8483 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8484 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8485 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8486 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8487 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8488 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8489 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8490 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8491 { "_class_wxWindow","_wxWindow",0},
8492 { "_class_wxStaticText","_wxStaticText",0},
8493 { "_class_wxFont","_wxFont",0},
8494 { "_wxClipboard","_class_wxClipboard",0},
8495 { "_class_wxPyValidator","_wxPyValidator",0},
8496 { "_class_wxCloseEvent","_wxCloseEvent",0},
8497 { "_wxBusyInfo","_class_wxBusyInfo",0},
8498 { "_wxFontList","_class_wxFontList",0},
8499 { "_class_wxMenuEvent","_wxMenuEvent",0},
8500 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8501 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8502 { "_wxClientDC","_class_wxClientDC",0},
8503 { "_wxMouseEvent","_class_wxMouseEvent",0},
8504 { "_class_wxPoint","_wxPoint",0},
8505 { "_wxRealPoint","_class_wxRealPoint",0},
8506 { "_class_wxRadioBox","_wxRadioBox",0},
8507 { "_signed_short","_WXTYPE",0},
8508 { "_signed_short","_short",0},
8509 { "_wxMemoryDC","_class_wxMemoryDC",0},
8510 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8511 { "_wxPaintDC","_class_wxPaintDC",0},
8512 { "_class_wxWindowDC","_wxWindowDC",0},
8513 { "_class_wxFocusEvent","_wxFocusEvent",0},
8514 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8515 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8516 { "_class_wxCursor","_wxCursor",0},
8517 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8518 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8519 { "_unsigned_char","_byte",0},
8520 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8521 { "_class_wxMenu","_wxMenu",0},
8522 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
8523 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
8524 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8525 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8526 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8527 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8528 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8529 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8530 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8531 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8532 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8533 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8534 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8535 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8536 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8537 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8538 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8539 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8540 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8541 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8542 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8543 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8544 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8545 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8546 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8547 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8548 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8549 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8550 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8551 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8552 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8553 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8554 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8555 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8556 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8557 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8558 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8559 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8560 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8561 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
8562 { "_wxControl","_class_wxControl",0},
8563 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8564 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
8565 { "_class_wxListBox","_wxListBox",0},
8566 { "_unsigned_int","_wxCoord",0},
8567 { "_unsigned_int","_wxPrintQuality",0},
8568 { "_unsigned_int","_time_t",0},
8569 { "_unsigned_int","_size_t",0},
8570 { "_unsigned_int","_uint",0},
8571 { "_unsigned_int","_wxWindowID",0},
8572 { "_unsigned_int","_int",0},
8573 { "_wxIcon","_class_wxIcon",0},
8574 { "_wxDialog","_class_wxDialog",0},
8575 { "_class_wxPen","_wxPen",0},
8576 { "_short","_WXTYPE",0},
8577 { "_short","_unsigned_short",0},
8578 { "_short","_signed_short",0},
8579 { "_class_wxStaticBox","_wxStaticBox",0},
8580 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8581 { "_class_wxPyDropSource","_wxPyDropSource",0},
8582 { "_class_wxScrollEvent","_wxScrollEvent",0},
8583 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8584 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice
},
8585 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
8586 { "_class_wxChoice","_wxChoice",0},
8587 { "_class_wxSlider","_wxSlider",0},
8588 { "_class_wxImageList","_wxImageList",0},
8589 { "_class_wxBitmapButton","_wxBitmapButton",0},
8590 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8591 { "_wxWindowID","_wxCoord",0},
8592 { "_wxWindowID","_wxPrintQuality",0},
8593 { "_wxWindowID","_time_t",0},
8594 { "_wxWindowID","_size_t",0},
8595 { "_wxWindowID","_EBool",0},
8596 { "_wxWindowID","_uint",0},
8597 { "_wxWindowID","_int",0},
8598 { "_wxWindowID","_signed_int",0},
8599 { "_wxWindowID","_unsigned_int",0},
8600 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8601 { "_int","_wxCoord",0},
8602 { "_int","_wxPrintQuality",0},
8603 { "_int","_time_t",0},
8604 { "_int","_size_t",0},
8605 { "_int","_EBool",0},
8606 { "_int","_uint",0},
8607 { "_int","_wxWindowID",0},
8608 { "_int","_unsigned_int",0},
8609 { "_int","_signed_int",0},
8610 { "_class_wxMouseEvent","_wxMouseEvent",0},
8611 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8612 { "_class_wxSpinEvent","_wxSpinEvent",0},
8613 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8614 { "_time_t","_wxCoord",0},
8615 { "_time_t","_wxPrintQuality",0},
8616 { "_time_t","_unsigned_int",0},
8617 { "_time_t","_int",0},
8618 { "_time_t","_wxWindowID",0},
8619 { "_time_t","_uint",0},
8620 { "_time_t","_size_t",0},
8621 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8622 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8623 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
8624 { "_wxButton","_class_wxButton",0},
8625 { "_wxSize","_class_wxSize",0},
8626 { "_wxRegionIterator","_class_wxRegionIterator",0},
8627 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8628 { "_class_wxPaintDC","_wxPaintDC",0},
8629 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8630 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8631 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8632 { "_class_wxComboBox","_wxComboBox",0},
8633 { "_class_wxRadioButton","_wxRadioButton",0},
8634 { "_wxValidator","_class_wxValidator",0},
8635 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8636 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8637 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl
},
8638 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
8639 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8640 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
8641 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl
},
8642 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl
},
8643 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl
},
8644 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
8645 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl
},
8646 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
8647 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8648 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
8649 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl
},
8650 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
8651 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl
},
8652 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
8653 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8654 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
8655 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8656 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
8657 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl
},
8658 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
8659 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl
},
8660 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
8661 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl
},
8662 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
8663 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl
},
8664 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
8665 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl
},
8666 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
8667 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl
},
8668 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
8669 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl
},
8670 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
8671 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl
},
8672 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
8673 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8674 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
8675 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl
},
8676 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl
},
8677 { "_class_wxControl","_wxControl",0},
8678 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8679 { "_class_wxIcon","_wxIcon",0},
8680 { "_class_wxColour","_wxColour",0},
8681 { "_class_wxScreenDC","_wxScreenDC",0},
8682 { "_wxPalette","_class_wxPalette",0},
8683 { "_class_wxIdleEvent","_wxIdleEvent",0},
8684 { "_wxCoord","_int",0},
8685 { "_wxCoord","_signed_int",0},
8686 { "_wxCoord","_unsigned_int",0},
8687 { "_wxCoord","_wxWindowID",0},
8688 { "_wxCoord","_uint",0},
8689 { "_wxCoord","_EBool",0},
8690 { "_wxCoord","_size_t",0},
8691 { "_wxCoord","_time_t",0},
8692 { "_wxCoord","_wxPrintQuality",0},
8693 { "_wxEraseEvent","_class_wxEraseEvent",0},
8694 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8695 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8696 { "_class_wxToggleButton","_wxToggleButton",0},
8697 { "_wxRegion","_class_wxRegion",0},
8698 { "_class_wxShowEvent","_wxShowEvent",0},
8699 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8700 { "_wxActivateEvent","_class_wxActivateEvent",0},
8701 { "_wxGauge","_class_wxGauge",0},
8702 { "_class_wxCheckListBox","_wxCheckListBox",0},
8703 { "_class_wxBusyInfo","_wxBusyInfo",0},
8704 { "_class_wxFontList","_wxFontList",0},
8705 { "_class_wxCommandEvent","_wxCommandEvent",0},
8706 { "_class_wxClientDC","_wxClientDC",0},
8707 { "_class_wxSizeEvent","_wxSizeEvent",0},
8708 { "_wxBrushList","_class_wxBrushList",0},
8709 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8710 { "_class_wxSize","_wxSize",0},
8711 { "_class_wxBitmap","_wxBitmap",0},
8712 { "_class_wxMemoryDC","_wxMemoryDC",0},
8713 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8714 { "_wxMenuBar","_class_wxMenuBar",0},
8715 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8716 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
8717 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8718 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
8719 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler
},
8720 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
8721 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8722 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
8723 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8724 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
8725 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8726 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
8727 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8728 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
8729 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8730 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
8731 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8732 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
8733 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8734 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
8735 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler
},
8736 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
8737 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8738 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
8739 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8740 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
8741 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8742 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
8743 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler
},
8744 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
8745 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8746 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
8747 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler
},
8748 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
8749 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8750 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
8751 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8752 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
8753 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler
},
8754 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
8755 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler
},
8756 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
8757 { "_wxEvtHandler","_class_wxEvtHandler",0},
8758 { "_wxMenuItem","_class_wxMenuItem",0},
8759 { "_class_wxScrollBar","_wxScrollBar",0},
8760 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8761 { "_wxKeyEvent","_class_wxKeyEvent",0},
8762 { "_wxMoveEvent","_class_wxMoveEvent",0},
8763 { "_class_wxPalette","_wxPalette",0},
8764 { "_wxFileDataObject","_class_wxFileDataObject",0},
8765 { "_class_wxEraseEvent","_wxEraseEvent",0},
8766 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8767 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow
},
8768 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
8769 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8770 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
8771 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow
},
8772 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
8773 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8774 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
8775 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8776 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
8777 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8778 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
8779 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8780 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
8781 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow
},
8782 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
8783 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8784 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
8785 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8786 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
8787 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow
},
8788 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
8789 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow
},
8790 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
8791 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow
},
8792 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
8793 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8794 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
8795 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow
},
8796 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
8797 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow
},
8798 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
8799 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow
},
8800 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
8801 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8802 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
8803 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8804 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
8805 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow
},
8806 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
8807 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow
},
8808 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
8809 { "_wxWindow","_class_wxWindow",0},
8810 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8813 static PyObject
*SWIG_globals
;
8817 SWIGEXPORT(void) initcontrolsc() {
8819 SWIG_globals
= SWIG_newvarlink();
8820 m
= Py_InitModule("controlsc", controlscMethods
);
8821 d
= PyModule_GetDict(m
);
8822 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
8823 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
8824 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
8827 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
8828 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);