2 * FILE : src/mac/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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initcontrolsc
55 #define SWIG_name "controlsc"
58 #include <wx/slider.h>
59 #include <wx/spinbutt.h>
60 #include <wx/spinctrl.h>
61 #include <wx/dynarray.h>
62 #include <wx/statline.h>
63 #include <wx/tglbtn.h>
67 #include <wx/checklst.h>
72 #include <wx/checklst.h>
76 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
82 } else if (target
== Py_None
) {
86 if (!PyTuple_Check(target
)) {
88 target
= PyTuple_New(1);
89 PyTuple_SetItem(target
, 0, o2
);
92 PyTuple_SetItem(o3
, 0, o
);
95 target
= PySequence_Concat(o2
, o3
);
102 //#define DECLARE_DEF_STRING(name) static wxString* wxPy##name
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(ControlNameStr
);
106 DECLARE_DEF_STRING(ButtonNameStr
);
107 DECLARE_DEF_STRING(CheckBoxNameStr
);
108 DECLARE_DEF_STRING(ChoiceNameStr
);
109 DECLARE_DEF_STRING(ComboBoxNameStr
);
110 DECLARE_DEF_STRING(GaugeNameStr
);
111 DECLARE_DEF_STRING(StaticBoxNameStr
);
112 DECLARE_DEF_STRING(StaticTextNameStr
);
113 DECLARE_DEF_STRING(ListBoxNameStr
);
114 DECLARE_DEF_STRING(TextCtrlNameStr
);
115 DECLARE_DEF_STRING(ScrollBarNameStr
);
116 DECLARE_DEF_STRING(SPIN_BUTTON_NAME
);
117 DECLARE_DEF_STRING(StaticBitmapNameStr
);
118 DECLARE_DEF_STRING(RadioBoxNameStr
);
119 DECLARE_DEF_STRING(RadioButtonNameStr
);
120 DECLARE_DEF_STRING(SliderNameStr
);
122 wxChar
* wxSpinCtrlNameStr
= _T("wxSpinCtrl");
123 DECLARE_DEF_STRING(SpinCtrlNameStr
);
125 static const wxString
wxPyEmptyString(wxT(""));
129 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
131 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
135 static PyObject
*_wrap_wxDefaultValidator_get() {
139 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
140 pyobj
= PyString_FromString(ptemp
);
144 static void *SwigwxControlTowxWindow(void *ptr
) {
147 src
= (wxControl
*) ptr
;
148 dest
= (wxWindow
*) src
;
149 return (void *) dest
;
152 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
155 src
= (wxControl
*) ptr
;
156 dest
= (wxEvtHandler
*) src
;
157 return (void *) dest
;
160 static void *SwigwxControlTowxObject(void *ptr
) {
163 src
= (wxControl
*) ptr
;
164 dest
= (wxObject
*) src
;
165 return (void *) dest
;
168 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
169 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
174 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
175 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
176 long _arg4
= (long ) 0;
177 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
178 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
179 PyObject
* _argo0
= 0;
181 PyObject
* _obj2
= 0;
183 PyObject
* _obj3
= 0;
184 PyObject
* _argo5
= 0;
185 PyObject
* _obj6
= 0;
186 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
202 if (! wxPoint_helper(_obj2
, &_arg2
))
208 if (! wxSize_helper(_obj3
, &_arg3
))
212 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
219 _arg6
= wxString_in_helper(_obj6
);
224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
225 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
227 wxPyEndAllowThreads(__tstate
);
228 if (PyErr_Occurred()) return NULL
;
230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
231 _resultobj
= Py_BuildValue("s",_ptemp
);
234 _resultobj
= Py_None
;
243 #define new_wxPreControl() (new wxControl())
244 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
245 PyObject
* _resultobj
;
247 char *_kwnames
[] = { NULL
};
251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
255 _result
= (wxControl
*)new_wxPreControl();
257 wxPyEndAllowThreads(__tstate
);
258 if (PyErr_Occurred()) return NULL
;
260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
261 _resultobj
= Py_BuildValue("s",_ptemp
);
264 _resultobj
= Py_None
;
269 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
270 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
271 PyObject
* _resultobj
;
276 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
277 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
278 long _arg5
= (long ) 0;
279 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
280 wxString
* _arg7
= (wxString
*) &wxPyControlNameStr
;
281 PyObject
* _argo0
= 0;
282 PyObject
* _argo1
= 0;
284 PyObject
* _obj3
= 0;
286 PyObject
* _obj4
= 0;
287 PyObject
* _argo6
= 0;
288 PyObject
* _obj7
= 0;
289 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOO:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
311 if (! wxPoint_helper(_obj3
, &_arg3
))
317 if (! wxSize_helper(_obj4
, &_arg4
))
321 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
328 _arg7
= wxString_in_helper(_obj7
);
333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
334 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
336 wxPyEndAllowThreads(__tstate
);
337 if (PyErr_Occurred()) return NULL
;
338 } _resultobj
= Py_BuildValue("i",_result
);
346 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
347 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
350 wxCommandEvent
* _arg1
;
351 PyObject
* _argo0
= 0;
352 PyObject
* _argo1
= 0;
353 char *_kwnames
[] = { "self","event", NULL
};
356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
366 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
373 wxControl_Command(_arg0
,*_arg1
);
375 wxPyEndAllowThreads(__tstate
);
376 if (PyErr_Occurred()) return NULL
;
377 } Py_INCREF(Py_None
);
378 _resultobj
= Py_None
;
382 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
383 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
384 PyObject
* _resultobj
;
387 PyObject
* _argo0
= 0;
388 char *_kwnames
[] = { "self", NULL
};
391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
402 _result
= new wxString (wxControl_GetLabel(_arg0
));
404 wxPyEndAllowThreads(__tstate
);
405 if (PyErr_Occurred()) return NULL
;
408 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
410 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
419 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
420 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
421 PyObject
* _resultobj
;
424 PyObject
* _argo0
= 0;
425 PyObject
* _obj1
= 0;
426 char *_kwnames
[] = { "self","label", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
439 _arg1
= wxString_in_helper(_obj1
);
444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
445 wxControl_SetLabel(_arg0
,*_arg1
);
447 wxPyEndAllowThreads(__tstate
);
448 if (PyErr_Occurred()) return NULL
;
449 } Py_INCREF(Py_None
);
450 _resultobj
= Py_None
;
458 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
459 wxControlWithItems
*src
;
461 src
= (wxControlWithItems
*) ptr
;
462 dest
= (wxControl
*) src
;
463 return (void *) dest
;
466 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
467 wxControlWithItems
*src
;
469 src
= (wxControlWithItems
*) ptr
;
470 dest
= (wxWindow
*) src
;
471 return (void *) dest
;
474 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
475 wxControlWithItems
*src
;
477 src
= (wxControlWithItems
*) ptr
;
478 dest
= (wxEvtHandler
*) src
;
479 return (void *) dest
;
482 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
483 wxControlWithItems
*src
;
485 src
= (wxControlWithItems
*) ptr
;
486 dest
= (wxObject
*) src
;
487 return (void *) dest
;
490 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
491 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
492 PyObject
* _resultobj
;
493 wxControlWithItems
* _arg0
;
495 PyObject
* _argo0
= 0;
496 char *_kwnames
[] = { "self","n", NULL
};
499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
510 wxControlWithItems_Delete(_arg0
,_arg1
);
512 wxPyEndAllowThreads(__tstate
);
513 if (PyErr_Occurred()) return NULL
;
514 } Py_INCREF(Py_None
);
515 _resultobj
= Py_None
;
519 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
520 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxControlWithItems
* _arg0
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 _result
= (int )wxControlWithItems_GetCount(_arg0
);
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
543 } _resultobj
= Py_BuildValue("i",_result
);
547 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
548 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
551 wxControlWithItems
* _arg0
;
553 PyObject
* _argo0
= 0;
554 char *_kwnames
[] = { "self","n", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
568 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
570 wxPyEndAllowThreads(__tstate
);
571 if (PyErr_Occurred()) return NULL
;
574 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
576 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
585 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
586 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
588 wxControlWithItems
* _arg0
;
591 PyObject
* _argo0
= 0;
592 PyObject
* _obj2
= 0;
593 char *_kwnames
[] = { "self","n","s", NULL
};
596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
606 _arg2
= wxString_in_helper(_obj2
);
611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
612 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
614 wxPyEndAllowThreads(__tstate
);
615 if (PyErr_Occurred()) return NULL
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
625 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
626 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
629 wxControlWithItems
* _arg0
;
631 PyObject
* _argo0
= 0;
632 PyObject
* _obj1
= 0;
633 char *_kwnames
[] = { "self","s", NULL
};
636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
646 _arg1
= wxString_in_helper(_obj1
);
651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
652 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
654 wxPyEndAllowThreads(__tstate
);
655 if (PyErr_Occurred()) return NULL
;
656 } _resultobj
= Py_BuildValue("i",_result
);
664 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
665 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
667 wxControlWithItems
* _arg0
;
669 PyObject
* _argo0
= 0;
670 char *_kwnames
[] = { "self","n", NULL
};
673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
684 wxControlWithItems_Select(_arg0
,_arg1
);
686 wxPyEndAllowThreads(__tstate
);
687 if (PyErr_Occurred()) return NULL
;
688 } Py_INCREF(Py_None
);
689 _resultobj
= Py_None
;
693 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
694 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 wxControlWithItems
* _arg0
;
698 PyObject
* _argo0
= 0;
699 char *_kwnames
[] = { "self", NULL
};
702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
713 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
715 wxPyEndAllowThreads(__tstate
);
716 if (PyErr_Occurred()) return NULL
;
717 } _resultobj
= Py_BuildValue("i",_result
);
721 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
722 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
723 PyObject
* _resultobj
;
725 wxControlWithItems
* _arg0
;
726 PyObject
* _argo0
= 0;
727 char *_kwnames
[] = { "self", NULL
};
730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
741 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
743 wxPyEndAllowThreads(__tstate
);
744 if (PyErr_Occurred()) return NULL
;
747 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
749 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
758 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
760 wxPyClientData
* data
= new wxPyClientData(clientData
);
761 self
->Append(item
, data
);
765 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
766 PyObject
* _resultobj
;
767 wxControlWithItems
* _arg0
;
769 PyObject
* _arg2
= (PyObject
*) NULL
;
770 PyObject
* _argo0
= 0;
771 PyObject
* _obj1
= 0;
772 PyObject
* _obj2
= 0;
773 char *_kwnames
[] = { "self","item","clientData", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
786 _arg1
= wxString_in_helper(_obj1
);
795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
796 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
798 wxPyEndAllowThreads(__tstate
);
799 if (PyErr_Occurred()) return NULL
;
800 } Py_INCREF(Py_None
);
801 _resultobj
= Py_None
;
809 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
810 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
812 Py_INCREF(data
->m_obj
);
819 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
822 wxControlWithItems
* _arg0
;
824 PyObject
* _argo0
= 0;
825 char *_kwnames
[] = { "self","n", NULL
};
828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
839 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
841 wxPyEndAllowThreads(__tstate
);
842 if (PyErr_Occurred()) return NULL
;
844 _resultobj
= _result
;
849 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
850 wxPyClientData
* data
= new wxPyClientData(clientData
);
851 self
->SetClientObject(n
, data
);
853 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
854 PyObject
* _resultobj
;
855 wxControlWithItems
* _arg0
;
858 PyObject
* _argo0
= 0;
859 PyObject
* _obj2
= 0;
860 char *_kwnames
[] = { "self","n","clientData", NULL
};
863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
877 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
879 wxPyEndAllowThreads(__tstate
);
880 if (PyErr_Occurred()) return NULL
;
881 } Py_INCREF(Py_None
);
882 _resultobj
= Py_None
;
886 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
887 static PyObject
*_wrap_wxControlWithItems_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 PyObject
* _resultobj
;
889 wxControlWithItems
* _arg0
;
890 wxArrayString
* _arg1
;
891 PyObject
* _argo0
= 0;
892 PyObject
* _obj1
= 0;
893 char *_kwnames
[] = { "self","strings", NULL
};
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))
899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
906 if (! PySequence_Check(_obj1
)) {
907 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
910 _arg1
= new wxArrayString
;
911 int i
, len
=PySequence_Length(_obj1
);
912 for (i
=0; i
<len
; i
++) {
913 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
915 PyObject
* str
= PyObject_Unicode(item
);
917 PyObject
* str
= PyObject_Str(item
);
919 _arg1
->Add(Py2wxString(str
));
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 wxControlWithItems_AppendItems(_arg0
,*_arg1
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
939 static void *SwigwxButtonTowxControl(void *ptr
) {
942 src
= (wxButton
*) ptr
;
943 dest
= (wxControl
*) src
;
944 return (void *) dest
;
947 static void *SwigwxButtonTowxWindow(void *ptr
) {
950 src
= (wxButton
*) ptr
;
951 dest
= (wxWindow
*) src
;
952 return (void *) dest
;
955 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
958 src
= (wxButton
*) ptr
;
959 dest
= (wxEvtHandler
*) src
;
960 return (void *) dest
;
963 static void *SwigwxButtonTowxObject(void *ptr
) {
966 src
= (wxButton
*) ptr
;
967 dest
= (wxObject
*) src
;
968 return (void *) dest
;
971 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
972 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
973 PyObject
* _resultobj
;
978 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
979 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
980 long _arg5
= (long ) 0;
981 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
982 wxString
* _arg7
= (wxString
*) &wxPyButtonNameStr
;
983 PyObject
* _argo0
= 0;
984 PyObject
* _obj2
= 0;
986 PyObject
* _obj3
= 0;
988 PyObject
* _obj4
= 0;
989 PyObject
* _argo6
= 0;
990 PyObject
* _obj7
= 0;
991 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1005 _arg2
= wxString_in_helper(_obj2
);
1012 if (! wxPoint_helper(_obj3
, &_arg3
))
1018 if (! wxSize_helper(_obj4
, &_arg4
))
1022 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1029 _arg7
= wxString_in_helper(_obj7
);
1034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1035 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1037 wxPyEndAllowThreads(__tstate
);
1038 if (PyErr_Occurred()) return NULL
;
1040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1041 _resultobj
= Py_BuildValue("s",_ptemp
);
1044 _resultobj
= Py_None
;
1057 #define new_wxPreButton() (new wxButton())
1058 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1059 PyObject
* _resultobj
;
1061 char *_kwnames
[] = { NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (wxButton
*)new_wxPreButton();
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1075 _resultobj
= Py_BuildValue("s",_ptemp
);
1078 _resultobj
= Py_None
;
1083 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1084 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1085 PyObject
* _resultobj
;
1091 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1092 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1093 long _arg6
= (long ) 0;
1094 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1095 wxString
* _arg8
= (wxString
*) &wxPyButtonNameStr
;
1096 PyObject
* _argo0
= 0;
1097 PyObject
* _argo1
= 0;
1098 PyObject
* _obj3
= 0;
1100 PyObject
* _obj4
= 0;
1102 PyObject
* _obj5
= 0;
1103 PyObject
* _argo7
= 0;
1104 PyObject
* _obj8
= 0;
1105 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
1111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1125 _arg3
= wxString_in_helper(_obj3
);
1132 if (! wxPoint_helper(_obj4
, &_arg4
))
1138 if (! wxSize_helper(_obj5
, &_arg5
))
1142 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1149 _arg8
= wxString_in_helper(_obj8
);
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) return NULL
;
1159 } _resultobj
= Py_BuildValue("i",_result
);
1171 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1172 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1173 PyObject
* _resultobj
;
1175 PyObject
* _argo0
= 0;
1176 char *_kwnames
[] = { "self", NULL
};
1179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1190 wxButton_SetDefault(_arg0
);
1192 wxPyEndAllowThreads(__tstate
);
1193 if (PyErr_Occurred()) return NULL
;
1194 } Py_INCREF(Py_None
);
1195 _resultobj
= Py_None
;
1199 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1200 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1201 PyObject
* _resultobj
;
1204 PyObject
* _argo0
= 0;
1206 PyObject
* _obj1
= 0;
1207 char *_kwnames
[] = { "self","colour", NULL
};
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1221 if (! wxColour_helper(_obj1
, &_arg1
))
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) return NULL
;
1230 } Py_INCREF(Py_None
);
1231 _resultobj
= Py_None
;
1235 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1236 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1237 PyObject
* _resultobj
;
1240 PyObject
* _argo0
= 0;
1242 PyObject
* _obj1
= 0;
1243 char *_kwnames
[] = { "self","colour", NULL
};
1246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1257 if (! wxColour_helper(_obj1
, &_arg1
))
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } Py_INCREF(Py_None
);
1267 _resultobj
= Py_None
;
1271 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1274 char *_kwnames
[] = { NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1282 _result
= new wxSize (wxButton::GetDefaultSize());
1284 wxPyEndAllowThreads(__tstate
);
1285 if (PyErr_Occurred()) return NULL
;
1286 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1287 _resultobj
= Py_BuildValue("s",_ptemp
);
1291 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1292 wxBitmapButton
*src
;
1294 src
= (wxBitmapButton
*) ptr
;
1295 dest
= (wxButton
*) src
;
1296 return (void *) dest
;
1299 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1300 wxBitmapButton
*src
;
1302 src
= (wxBitmapButton
*) ptr
;
1303 dest
= (wxControl
*) src
;
1304 return (void *) dest
;
1307 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1308 wxBitmapButton
*src
;
1310 src
= (wxBitmapButton
*) ptr
;
1311 dest
= (wxWindow
*) src
;
1312 return (void *) dest
;
1315 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1316 wxBitmapButton
*src
;
1318 src
= (wxBitmapButton
*) ptr
;
1319 dest
= (wxEvtHandler
*) src
;
1320 return (void *) dest
;
1323 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1324 wxBitmapButton
*src
;
1326 src
= (wxBitmapButton
*) ptr
;
1327 dest
= (wxObject
*) src
;
1328 return (void *) dest
;
1331 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1332 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
* _resultobj
;
1334 wxBitmapButton
* _result
;
1338 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1339 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1340 long _arg5
= (long ) wxBU_AUTODRAW
;
1341 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1342 wxString
* _arg7
= (wxString
*) &wxPyButtonNameStr
;
1343 PyObject
* _argo0
= 0;
1344 PyObject
* _argo2
= 0;
1346 PyObject
* _obj3
= 0;
1348 PyObject
* _obj4
= 0;
1349 PyObject
* _argo6
= 0;
1350 PyObject
* _obj7
= 0;
1351 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
1358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1365 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1373 if (! wxPoint_helper(_obj3
, &_arg3
))
1379 if (! wxSize_helper(_obj4
, &_arg4
))
1383 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1390 _arg7
= wxString_in_helper(_obj7
);
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1402 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 _resultobj
= Py_None
;
1414 #define new_wxPreBitmapButton() (new wxBitmapButton())
1415 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1416 PyObject
* _resultobj
;
1417 wxBitmapButton
* _result
;
1418 char *_kwnames
[] = { NULL
};
1422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1426 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1428 wxPyEndAllowThreads(__tstate
);
1429 if (PyErr_Occurred()) return NULL
;
1431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1432 _resultobj
= Py_BuildValue("s",_ptemp
);
1435 _resultobj
= Py_None
;
1440 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1441 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1442 PyObject
* _resultobj
;
1444 wxBitmapButton
* _arg0
;
1448 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1449 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1450 long _arg6
= (long ) wxBU_AUTODRAW
;
1451 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1452 wxString
* _arg8
= (wxString
*) &wxPyButtonNameStr
;
1453 PyObject
* _argo0
= 0;
1454 PyObject
* _argo1
= 0;
1455 PyObject
* _argo3
= 0;
1457 PyObject
* _obj4
= 0;
1459 PyObject
* _obj5
= 0;
1460 PyObject
* _argo7
= 0;
1461 PyObject
* _obj8
= 0;
1462 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
1468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1475 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1476 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1482 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1490 if (! wxPoint_helper(_obj4
, &_arg4
))
1496 if (! wxSize_helper(_obj5
, &_arg5
))
1500 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1507 _arg8
= wxString_in_helper(_obj8
);
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 } _resultobj
= Py_BuildValue("i",_result
);
1525 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1526 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1529 wxBitmapButton
* _arg0
;
1530 PyObject
* _argo0
= 0;
1531 char *_kwnames
[] = { "self", NULL
};
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) return NULL
;
1550 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1551 _resultobj
= Py_BuildValue("s",_ptemp
);
1555 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1556 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1559 wxBitmapButton
* _arg0
;
1560 PyObject
* _argo0
= 0;
1561 char *_kwnames
[] = { "self", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1576 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1578 wxPyEndAllowThreads(__tstate
);
1579 if (PyErr_Occurred()) return NULL
;
1580 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1581 _resultobj
= Py_BuildValue("s",_ptemp
);
1585 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1586 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
* _resultobj
;
1589 wxBitmapButton
* _arg0
;
1590 PyObject
* _argo0
= 0;
1591 char *_kwnames
[] = { "self", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) return NULL
;
1610 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1611 _resultobj
= Py_BuildValue("s",_ptemp
);
1615 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1616 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1619 wxBitmapButton
* _arg0
;
1620 PyObject
* _argo0
= 0;
1621 char *_kwnames
[] = { "self", NULL
};
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) return NULL
;
1640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1641 _resultobj
= Py_BuildValue("s",_ptemp
);
1645 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1646 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1648 wxBitmapButton
* _arg0
;
1650 PyObject
* _argo0
= 0;
1651 PyObject
* _argo1
= 0;
1652 char *_kwnames
[] = { "self","bitmap", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1665 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) return NULL
;
1676 } Py_INCREF(Py_None
);
1677 _resultobj
= Py_None
;
1681 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1682 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1684 wxBitmapButton
* _arg0
;
1686 PyObject
* _argo0
= 0;
1687 PyObject
* _argo1
= 0;
1688 char *_kwnames
[] = { "self","bitmap", NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1701 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1708 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1710 wxPyEndAllowThreads(__tstate
);
1711 if (PyErr_Occurred()) return NULL
;
1712 } Py_INCREF(Py_None
);
1713 _resultobj
= Py_None
;
1717 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1718 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1720 wxBitmapButton
* _arg0
;
1722 PyObject
* _argo0
= 0;
1723 PyObject
* _argo1
= 0;
1724 char *_kwnames
[] = { "self","bitmap", NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1737 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1744 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1746 wxPyEndAllowThreads(__tstate
);
1747 if (PyErr_Occurred()) return NULL
;
1748 } Py_INCREF(Py_None
);
1749 _resultobj
= Py_None
;
1753 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1754 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1756 wxBitmapButton
* _arg0
;
1758 PyObject
* _argo0
= 0;
1759 PyObject
* _argo1
= 0;
1760 char *_kwnames
[] = { "self","bitmap", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1773 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) return NULL
;
1784 } Py_INCREF(Py_None
);
1785 _resultobj
= Py_None
;
1789 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1790 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1792 wxBitmapButton
* _arg0
;
1795 PyObject
* _argo0
= 0;
1796 char *_kwnames
[] = { "self","x","y", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1820 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1823 wxBitmapButton
* _arg0
;
1824 PyObject
* _argo0
= 0;
1825 char *_kwnames
[] = { "self", NULL
};
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) return NULL
;
1843 } _resultobj
= Py_BuildValue("i",_result
);
1847 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1848 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1851 wxBitmapButton
* _arg0
;
1852 PyObject
* _argo0
= 0;
1853 char *_kwnames
[] = { "self", NULL
};
1856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1867 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1869 wxPyEndAllowThreads(__tstate
);
1870 if (PyErr_Occurred()) return NULL
;
1871 } _resultobj
= Py_BuildValue("i",_result
);
1875 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1878 src
= (wxCheckBox
*) ptr
;
1879 dest
= (wxControl
*) src
;
1880 return (void *) dest
;
1883 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1886 src
= (wxCheckBox
*) ptr
;
1887 dest
= (wxWindow
*) src
;
1888 return (void *) dest
;
1891 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1894 src
= (wxCheckBox
*) ptr
;
1895 dest
= (wxEvtHandler
*) src
;
1896 return (void *) dest
;
1899 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1902 src
= (wxCheckBox
*) ptr
;
1903 dest
= (wxObject
*) src
;
1904 return (void *) dest
;
1907 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1908 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxCheckBox
* _result
;
1914 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1915 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1916 long _arg5
= (long ) 0;
1917 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1918 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
1919 PyObject
* _argo0
= 0;
1920 PyObject
* _obj2
= 0;
1922 PyObject
* _obj3
= 0;
1924 PyObject
* _obj4
= 0;
1925 PyObject
* _argo6
= 0;
1926 PyObject
* _obj7
= 0;
1927 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
1934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1941 _arg2
= wxString_in_helper(_obj2
);
1948 if (! wxPoint_helper(_obj3
, &_arg3
))
1954 if (! wxSize_helper(_obj4
, &_arg4
))
1958 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1965 _arg7
= wxString_in_helper(_obj7
);
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) return NULL
;
1976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1977 _resultobj
= Py_BuildValue("s",_ptemp
);
1980 _resultobj
= Py_None
;
1993 #define new_wxPreCheckBox() (new wxCheckBox())
1994 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1996 wxCheckBox
* _result
;
1997 char *_kwnames
[] = { NULL
};
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2005 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2010 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2011 _resultobj
= Py_BuildValue("s",_ptemp
);
2014 _resultobj
= Py_None
;
2019 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2020 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2027 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2028 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2029 long _arg6
= (long ) 0;
2030 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2031 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
2032 PyObject
* _argo0
= 0;
2033 PyObject
* _argo1
= 0;
2034 PyObject
* _obj3
= 0;
2036 PyObject
* _obj4
= 0;
2038 PyObject
* _obj5
= 0;
2039 PyObject
* _argo7
= 0;
2040 PyObject
* _obj8
= 0;
2041 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2061 _arg3
= wxString_in_helper(_obj3
);
2068 if (! wxPoint_helper(_obj4
, &_arg4
))
2074 if (! wxSize_helper(_obj5
, &_arg5
))
2078 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2085 _arg8
= wxString_in_helper(_obj8
);
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) return NULL
;
2095 } _resultobj
= Py_BuildValue("i",_result
);
2107 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2108 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2112 PyObject
* _argo0
= 0;
2113 char *_kwnames
[] = { "self", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) return NULL
;
2131 } _resultobj
= Py_BuildValue("i",_result
);
2135 #define wxCheckBox_IsChecked(_swigobj) (_swigobj->IsChecked())
2136 static PyObject
*_wrap_wxCheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
* _resultobj
;
2140 PyObject
* _argo0
= 0;
2141 char *_kwnames
[] = { "self", NULL
};
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_IsChecked",_kwnames
,&_argo0
))
2147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p.");
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 _result
= (bool )wxCheckBox_IsChecked(_arg0
);
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) return NULL
;
2159 } _resultobj
= Py_BuildValue("i",_result
);
2163 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2164 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2165 PyObject
* _resultobj
;
2168 PyObject
* _argo0
= 0;
2170 char *_kwnames
[] = { "self","state", NULL
};
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2182 _arg1
= (bool ) tempbool1
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 wxCheckBox_SetValue(_arg0
,_arg1
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) return NULL
;
2189 } Py_INCREF(Py_None
);
2190 _resultobj
= Py_None
;
2194 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2196 wxControlWithItems
*dest
;
2197 src
= (wxChoice
*) ptr
;
2198 dest
= (wxControlWithItems
*) src
;
2199 return (void *) dest
;
2202 static void *SwigwxChoiceTowxControl(void *ptr
) {
2205 src
= (wxChoice
*) ptr
;
2206 dest
= (wxControl
*) src
;
2207 return (void *) dest
;
2210 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2213 src
= (wxChoice
*) ptr
;
2214 dest
= (wxWindow
*) src
;
2215 return (void *) dest
;
2218 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2221 src
= (wxChoice
*) ptr
;
2222 dest
= (wxEvtHandler
*) src
;
2223 return (void *) dest
;
2226 static void *SwigwxChoiceTowxObject(void *ptr
) {
2229 src
= (wxChoice
*) ptr
;
2230 dest
= (wxObject
*) src
;
2231 return (void *) dest
;
2234 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2235 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2236 PyObject
* _resultobj
;
2240 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2241 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2242 int _arg4
= (int ) 0;
2243 wxString
* _arg5
= (wxString
*) NULL
;
2244 long _arg6
= (long ) 0;
2245 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2246 wxString
* _arg8
= (wxString
*) &wxPyChoiceNameStr
;
2247 PyObject
* _argo0
= 0;
2249 PyObject
* _obj2
= 0;
2251 PyObject
* _obj3
= 0;
2252 PyObject
* _obj5
= 0;
2253 PyObject
* _argo7
= 0;
2254 PyObject
* _obj8
= 0;
2255 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2271 if (! wxPoint_helper(_obj2
, &_arg2
))
2277 if (! wxSize_helper(_obj3
, &_arg3
))
2282 _arg5
= wxString_LIST_helper(_obj5
);
2283 if (_arg5
== NULL
) {
2288 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2295 _arg8
= wxString_in_helper(_obj8
);
2301 _arg4
= PyList_Size(_obj5
);
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) return NULL
;
2314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2315 _resultobj
= Py_BuildValue("s",_ptemp
);
2318 _resultobj
= Py_None
;
2330 #define new_wxPreChoice() (new wxChoice())
2331 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
* _resultobj
;
2334 char *_kwnames
[] = { NULL
};
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 _result
= (wxChoice
*)new_wxPreChoice();
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) return NULL
;
2347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2348 _resultobj
= Py_BuildValue("s",_ptemp
);
2351 _resultobj
= Py_None
;
2356 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2357 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2363 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2364 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2365 int _arg5
= (int ) 0;
2366 wxString
* _arg6
= (wxString
*) NULL
;
2367 long _arg7
= (long ) 0;
2368 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2369 wxString
* _arg9
= (wxString
*) &wxPyChoiceNameStr
;
2370 PyObject
* _argo0
= 0;
2371 PyObject
* _argo1
= 0;
2373 PyObject
* _obj3
= 0;
2375 PyObject
* _obj4
= 0;
2376 PyObject
* _obj6
= 0;
2377 PyObject
* _argo8
= 0;
2378 PyObject
* _obj9
= 0;
2379 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2401 if (! wxPoint_helper(_obj3
, &_arg3
))
2407 if (! wxSize_helper(_obj4
, &_arg4
))
2412 _arg6
= wxString_LIST_helper(_obj6
);
2413 if (_arg6
== NULL
) {
2418 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2425 _arg9
= wxString_in_helper(_obj9
);
2431 _arg5
= PyList_Size(_obj6
);
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) return NULL
;
2443 } _resultobj
= Py_BuildValue("i",_result
);
2454 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2455 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2458 PyObject
* _argo0
= 0;
2459 char *_kwnames
[] = { "self", NULL
};
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 wxChoice_Clear(_arg0
);
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) return NULL
;
2477 } Py_INCREF(Py_None
);
2478 _resultobj
= Py_None
;
2482 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2483 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
* _resultobj
;
2487 PyObject
* _argo0
= 0;
2488 char *_kwnames
[] = { "self", NULL
};
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2502 _result
= (int )wxChoice_GetColumns(_arg0
);
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) return NULL
;
2506 } _resultobj
= Py_BuildValue("i",_result
);
2510 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2511 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2514 int _arg1
= (int ) 1;
2515 PyObject
* _argo0
= 0;
2516 char *_kwnames
[] = { "self","n", NULL
};
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2530 wxChoice_SetColumns(_arg0
,_arg1
);
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) return NULL
;
2534 } Py_INCREF(Py_None
);
2535 _resultobj
= Py_None
;
2539 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2540 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2544 PyObject
* _argo0
= 0;
2545 char *_kwnames
[] = { "self","n", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2559 wxChoice_SetSelection(_arg0
,_arg1
);
2561 wxPyEndAllowThreads(__tstate
);
2562 if (PyErr_Occurred()) return NULL
;
2563 } Py_INCREF(Py_None
);
2564 _resultobj
= Py_None
;
2568 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2569 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2573 PyObject
* _argo0
= 0;
2574 PyObject
* _obj1
= 0;
2575 char *_kwnames
[] = { "self","string", NULL
};
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2588 _arg1
= wxString_in_helper(_obj1
);
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) return NULL
;
2598 } Py_INCREF(Py_None
);
2599 _resultobj
= Py_None
;
2607 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2608 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
* _resultobj
;
2613 PyObject
* _argo0
= 0;
2614 PyObject
* _obj2
= 0;
2615 char *_kwnames
[] = { "self","n","s", NULL
};
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2628 _arg2
= wxString_in_helper(_obj2
);
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) return NULL
;
2638 } Py_INCREF(Py_None
);
2639 _resultobj
= Py_None
;
2647 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2650 src
= (wxComboBox
*) ptr
;
2651 dest
= (wxChoice
*) src
;
2652 return (void *) dest
;
2655 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2657 wxControlWithItems
*dest
;
2658 src
= (wxComboBox
*) ptr
;
2659 dest
= (wxControlWithItems
*) src
;
2660 return (void *) dest
;
2663 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2666 src
= (wxComboBox
*) ptr
;
2667 dest
= (wxControl
*) src
;
2668 return (void *) dest
;
2671 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2674 src
= (wxComboBox
*) ptr
;
2675 dest
= (wxWindow
*) src
;
2676 return (void *) dest
;
2679 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2682 src
= (wxComboBox
*) ptr
;
2683 dest
= (wxEvtHandler
*) src
;
2684 return (void *) dest
;
2687 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2690 src
= (wxComboBox
*) ptr
;
2691 dest
= (wxObject
*) src
;
2692 return (void *) dest
;
2695 #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))
2696 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2698 wxComboBox
* _result
;
2701 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2702 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2703 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2704 int _arg5
= (int ) 0;
2705 wxString
* _arg6
= (wxString
*) NULL
;
2706 long _arg7
= (long ) 0;
2707 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2708 wxString
* _arg9
= (wxString
*) &wxPyComboBoxNameStr
;
2709 PyObject
* _argo0
= 0;
2710 PyObject
* _obj2
= 0;
2712 PyObject
* _obj3
= 0;
2714 PyObject
* _obj4
= 0;
2715 PyObject
* _obj6
= 0;
2716 PyObject
* _argo8
= 0;
2717 PyObject
* _obj9
= 0;
2718 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOOlOO:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2733 _arg2
= wxString_in_helper(_obj2
);
2740 if (! wxPoint_helper(_obj3
, &_arg3
))
2746 if (! wxSize_helper(_obj4
, &_arg4
))
2751 _arg6
= wxString_LIST_helper(_obj6
);
2752 if (_arg6
== NULL
) {
2757 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2764 _arg9
= wxString_in_helper(_obj9
);
2770 _arg5
= PyList_Size(_obj6
);
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) return NULL
;
2783 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2784 _resultobj
= Py_BuildValue("s",_ptemp
);
2787 _resultobj
= Py_None
;
2803 #define new_wxPreComboBox() (new wxComboBox())
2804 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
* _resultobj
;
2806 wxComboBox
* _result
;
2807 char *_kwnames
[] = { NULL
};
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 _result
= (wxComboBox
*)new_wxPreComboBox();
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2821 _resultobj
= Py_BuildValue("s",_ptemp
);
2824 _resultobj
= Py_None
;
2829 #define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2830 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2836 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2837 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2838 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2839 int _arg6
= (int ) 0;
2840 wxString
* _arg7
= (wxString
*) NULL
;
2841 long _arg8
= (long ) 0;
2842 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2843 wxString
* _arg10
= (wxString
*) &wxPyComboBoxNameStr
;
2844 PyObject
* _argo0
= 0;
2845 PyObject
* _argo1
= 0;
2846 PyObject
* _obj3
= 0;
2848 PyObject
* _obj4
= 0;
2850 PyObject
* _obj5
= 0;
2851 PyObject
* _obj7
= 0;
2852 PyObject
* _argo9
= 0;
2853 PyObject
* _obj10
= 0;
2854 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOOlOO:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
2860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2867 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2875 _arg3
= wxString_in_helper(_obj3
);
2882 if (! wxPoint_helper(_obj4
, &_arg4
))
2888 if (! wxSize_helper(_obj5
, &_arg5
))
2893 _arg7
= wxString_LIST_helper(_obj7
);
2894 if (_arg7
== NULL
) {
2899 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2906 _arg10
= wxString_in_helper(_obj10
);
2912 _arg6
= PyList_Size(_obj7
);
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) return NULL
;
2924 } _resultobj
= Py_BuildValue("i",_result
);
2939 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2940 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2943 PyObject
* _argo0
= 0;
2944 char *_kwnames
[] = { "self", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 wxComboBox_Copy(_arg0
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) return NULL
;
2962 } Py_INCREF(Py_None
);
2963 _resultobj
= Py_None
;
2967 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2968 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 wxComboBox_Cut(_arg0
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) return NULL
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2995 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2996 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3019 } _resultobj
= Py_BuildValue("l",_result
);
3023 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3024 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) return NULL
;
3047 } _resultobj
= Py_BuildValue("l",_result
);
3051 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3052 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) return NULL
;
3077 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3079 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3088 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3089 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3092 PyObject
* _argo0
= 0;
3093 char *_kwnames
[] = { "self", NULL
};
3096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 wxComboBox_Paste(_arg0
);
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) return NULL
;
3111 } Py_INCREF(Py_None
);
3112 _resultobj
= Py_None
;
3116 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3117 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3118 PyObject
* _resultobj
;
3123 PyObject
* _argo0
= 0;
3124 PyObject
* _obj3
= 0;
3125 char *_kwnames
[] = { "self","from","to","text", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3138 _arg3
= wxString_in_helper(_obj3
);
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) return NULL
;
3148 } Py_INCREF(Py_None
);
3149 _resultobj
= Py_None
;
3157 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3158 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
* _resultobj
;
3163 PyObject
* _argo0
= 0;
3164 char *_kwnames
[] = { "self","from","to", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3188 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "self","pos", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) return NULL
;
3211 } Py_INCREF(Py_None
);
3212 _resultobj
= Py_None
;
3216 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3217 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3218 PyObject
* _resultobj
;
3220 PyObject
* _argo0
= 0;
3221 char *_kwnames
[] = { "self", NULL
};
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 wxComboBox_SetInsertionPointEnd(_arg0
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) return NULL
;
3239 } Py_INCREF(Py_None
);
3240 _resultobj
= Py_None
;
3244 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3245 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self","n", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3264 wxComboBox_SetSelection(_arg0
,_arg1
);
3266 wxPyEndAllowThreads(__tstate
);
3267 if (PyErr_Occurred()) return NULL
;
3268 } Py_INCREF(Py_None
);
3269 _resultobj
= Py_None
;
3273 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3274 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3279 PyObject
* _argo0
= 0;
3280 char *_kwnames
[] = { "self","from","to", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) return NULL
;
3298 } Py_INCREF(Py_None
);
3299 _resultobj
= Py_None
;
3303 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3304 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3305 PyObject
* _resultobj
;
3308 PyObject
* _argo0
= 0;
3309 PyObject
* _obj1
= 0;
3310 char *_kwnames
[] = { "self","text", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3323 _arg1
= wxString_in_helper(_obj1
);
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 wxComboBox_SetValue(_arg0
,*_arg1
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) return NULL
;
3333 } Py_INCREF(Py_None
);
3334 _resultobj
= Py_None
;
3342 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3343 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3347 PyObject
* _argo0
= 0;
3349 char *_kwnames
[] = { "self","editable", NULL
};
3352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3361 _arg1
= (bool ) tempbool1
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxComboBox_SetEditable(_arg0
,_arg1
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) return NULL
;
3368 } Py_INCREF(Py_None
);
3369 _resultobj
= Py_None
;
3373 static void *SwigwxGaugeTowxControl(void *ptr
) {
3376 src
= (wxGauge
*) ptr
;
3377 dest
= (wxControl
*) src
;
3378 return (void *) dest
;
3381 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3384 src
= (wxGauge
*) ptr
;
3385 dest
= (wxWindow
*) src
;
3386 return (void *) dest
;
3389 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3392 src
= (wxGauge
*) ptr
;
3393 dest
= (wxEvtHandler
*) src
;
3394 return (void *) dest
;
3397 static void *SwigwxGaugeTowxObject(void *ptr
) {
3400 src
= (wxGauge
*) ptr
;
3401 dest
= (wxObject
*) src
;
3402 return (void *) dest
;
3405 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3406 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3412 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3413 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3414 long _arg5
= (long ) wxGA_HORIZONTAL
;
3415 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3416 wxString
* _arg7
= (wxString
*) &wxPyGaugeNameStr
;
3417 PyObject
* _argo0
= 0;
3419 PyObject
* _obj3
= 0;
3421 PyObject
* _obj4
= 0;
3422 PyObject
* _argo6
= 0;
3423 PyObject
* _obj7
= 0;
3424 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOO:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
3431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3440 if (! wxPoint_helper(_obj3
, &_arg3
))
3446 if (! wxSize_helper(_obj4
, &_arg4
))
3450 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3457 _arg7
= wxString_in_helper(_obj7
);
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) return NULL
;
3468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3469 _resultobj
= Py_BuildValue("s",_ptemp
);
3472 _resultobj
= Py_None
;
3481 #define new_wxPreGauge() (new wxGauge())
3482 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3485 char *_kwnames
[] = { NULL
};
3489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3493 _result
= (wxGauge
*)new_wxPreGauge();
3495 wxPyEndAllowThreads(__tstate
);
3496 if (PyErr_Occurred()) return NULL
;
3498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3499 _resultobj
= Py_BuildValue("s",_ptemp
);
3502 _resultobj
= Py_None
;
3507 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3508 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
* _resultobj
;
3515 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3516 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3517 long _arg6
= (long ) wxGA_HORIZONTAL
;
3518 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3519 wxString
* _arg8
= (wxString
*) &wxPyGaugeNameStr
;
3520 PyObject
* _argo0
= 0;
3521 PyObject
* _argo1
= 0;
3523 PyObject
* _obj4
= 0;
3525 PyObject
* _obj5
= 0;
3526 PyObject
* _argo7
= 0;
3527 PyObject
* _obj8
= 0;
3528 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOO:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3550 if (! wxPoint_helper(_obj4
, &_arg4
))
3556 if (! wxSize_helper(_obj5
, &_arg5
))
3560 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3567 _arg8
= wxString_in_helper(_obj8
);
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) return NULL
;
3577 } _resultobj
= Py_BuildValue("i",_result
);
3585 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3586 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3609 } _resultobj
= Py_BuildValue("i",_result
);
3613 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3614 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 _result
= (int )wxGauge_GetRange(_arg0
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) return NULL
;
3637 } _resultobj
= Py_BuildValue("i",_result
);
3641 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3642 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) return NULL
;
3665 } _resultobj
= Py_BuildValue("i",_result
);
3669 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3670 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3674 PyObject
* _argo0
= 0;
3675 char *_kwnames
[] = { "self", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3689 _result
= (int )wxGauge_GetValue(_arg0
);
3691 wxPyEndAllowThreads(__tstate
);
3692 if (PyErr_Occurred()) return NULL
;
3693 } _resultobj
= Py_BuildValue("i",_result
);
3697 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3698 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3702 PyObject
* _argo0
= 0;
3703 char *_kwnames
[] = { "self","width", NULL
};
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 wxGauge_SetBezelFace(_arg0
,_arg1
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) return NULL
;
3721 } Py_INCREF(Py_None
);
3722 _resultobj
= Py_None
;
3726 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3727 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
* _resultobj
;
3731 PyObject
* _argo0
= 0;
3732 char *_kwnames
[] = { "self","range", NULL
};
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 wxGauge_SetRange(_arg0
,_arg1
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) return NULL
;
3750 } Py_INCREF(Py_None
);
3751 _resultobj
= Py_None
;
3755 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3756 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
* _resultobj
;
3760 PyObject
* _argo0
= 0;
3761 char *_kwnames
[] = { "self","width", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) return NULL
;
3779 } Py_INCREF(Py_None
);
3780 _resultobj
= Py_None
;
3784 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3785 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3789 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self","pos", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 wxGauge_SetValue(_arg0
,_arg1
);
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) return NULL
;
3808 } Py_INCREF(Py_None
);
3809 _resultobj
= Py_None
;
3813 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3816 src
= (wxStaticBox
*) ptr
;
3817 dest
= (wxControl
*) src
;
3818 return (void *) dest
;
3821 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3824 src
= (wxStaticBox
*) ptr
;
3825 dest
= (wxWindow
*) src
;
3826 return (void *) dest
;
3829 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3832 src
= (wxStaticBox
*) ptr
;
3833 dest
= (wxEvtHandler
*) src
;
3834 return (void *) dest
;
3837 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3840 src
= (wxStaticBox
*) ptr
;
3841 dest
= (wxObject
*) src
;
3842 return (void *) dest
;
3845 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3846 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3848 wxStaticBox
* _result
;
3852 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3853 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3854 long _arg5
= (long ) 0;
3855 wxString
* _arg6
= (wxString
*) &wxPyStaticBoxNameStr
;
3856 PyObject
* _argo0
= 0;
3857 PyObject
* _obj2
= 0;
3859 PyObject
* _obj3
= 0;
3861 PyObject
* _obj4
= 0;
3862 PyObject
* _obj6
= 0;
3863 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
3870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3877 _arg2
= wxString_in_helper(_obj2
);
3884 if (! wxPoint_helper(_obj3
, &_arg3
))
3890 if (! wxSize_helper(_obj4
, &_arg4
))
3895 _arg6
= wxString_in_helper(_obj6
);
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) return NULL
;
3906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3907 _resultobj
= Py_BuildValue("s",_ptemp
);
3910 _resultobj
= Py_None
;
3923 #define new_wxPreStaticBox() (new wxStaticBox())
3924 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3926 wxStaticBox
* _result
;
3927 char *_kwnames
[] = { NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3935 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3937 wxPyEndAllowThreads(__tstate
);
3938 if (PyErr_Occurred()) return NULL
;
3940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3941 _resultobj
= Py_BuildValue("s",_ptemp
);
3944 _resultobj
= Py_None
;
3949 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3950 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
* _resultobj
;
3953 wxStaticBox
* _arg0
;
3957 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3958 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3959 long _arg6
= (long ) 0;
3960 wxString
* _arg7
= (wxString
*) &wxPyStaticBoxNameStr
;
3961 PyObject
* _argo0
= 0;
3962 PyObject
* _argo1
= 0;
3963 PyObject
* _obj3
= 0;
3965 PyObject
* _obj4
= 0;
3967 PyObject
* _obj5
= 0;
3968 PyObject
* _obj7
= 0;
3969 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3989 _arg3
= wxString_in_helper(_obj3
);
3996 if (! wxPoint_helper(_obj4
, &_arg4
))
4002 if (! wxSize_helper(_obj5
, &_arg5
))
4007 _arg7
= wxString_in_helper(_obj7
);
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) return NULL
;
4017 } _resultobj
= Py_BuildValue("i",_result
);
4029 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4032 src
= (wxStaticLine
*) ptr
;
4033 dest
= (wxControl
*) src
;
4034 return (void *) dest
;
4037 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4040 src
= (wxStaticLine
*) ptr
;
4041 dest
= (wxWindow
*) src
;
4042 return (void *) dest
;
4045 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4048 src
= (wxStaticLine
*) ptr
;
4049 dest
= (wxEvtHandler
*) src
;
4050 return (void *) dest
;
4053 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4056 src
= (wxStaticLine
*) ptr
;
4057 dest
= (wxObject
*) src
;
4058 return (void *) dest
;
4061 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4062 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4064 wxStaticLine
* _result
;
4067 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4068 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4069 long _arg4
= (long ) wxLI_HORIZONTAL
;
4070 wxString
* _arg5
= (wxString
*) &wxPyStaticTextNameStr
;
4071 PyObject
* _argo0
= 0;
4073 PyObject
* _obj2
= 0;
4075 PyObject
* _obj3
= 0;
4076 PyObject
* _obj5
= 0;
4077 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4093 if (! wxPoint_helper(_obj2
, &_arg2
))
4099 if (! wxSize_helper(_obj3
, &_arg3
))
4104 _arg5
= wxString_in_helper(_obj5
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) return NULL
;
4115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4116 _resultobj
= Py_BuildValue("s",_ptemp
);
4119 _resultobj
= Py_None
;
4128 #define new_wxPreStaticLine() (new wxStaticLine())
4129 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4131 wxStaticLine
* _result
;
4132 char *_kwnames
[] = { NULL
};
4136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4140 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4142 wxPyEndAllowThreads(__tstate
);
4143 if (PyErr_Occurred()) return NULL
;
4145 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4146 _resultobj
= Py_BuildValue("s",_ptemp
);
4149 _resultobj
= Py_None
;
4154 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4155 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4158 wxStaticLine
* _arg0
;
4161 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4162 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4163 long _arg5
= (long ) wxLI_HORIZONTAL
;
4164 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4165 PyObject
* _argo0
= 0;
4166 PyObject
* _argo1
= 0;
4168 PyObject
* _obj3
= 0;
4170 PyObject
* _obj4
= 0;
4171 PyObject
* _obj6
= 0;
4172 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4185 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4186 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4194 if (! wxPoint_helper(_obj3
, &_arg3
))
4200 if (! wxSize_helper(_obj4
, &_arg4
))
4205 _arg6
= wxString_in_helper(_obj6
);
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) return NULL
;
4215 } _resultobj
= Py_BuildValue("i",_result
);
4223 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4226 src
= (wxStaticText
*) ptr
;
4227 dest
= (wxControl
*) src
;
4228 return (void *) dest
;
4231 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4234 src
= (wxStaticText
*) ptr
;
4235 dest
= (wxWindow
*) src
;
4236 return (void *) dest
;
4239 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4242 src
= (wxStaticText
*) ptr
;
4243 dest
= (wxEvtHandler
*) src
;
4244 return (void *) dest
;
4247 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4250 src
= (wxStaticText
*) ptr
;
4251 dest
= (wxObject
*) src
;
4252 return (void *) dest
;
4255 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4256 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4258 wxStaticText
* _result
;
4262 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4263 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4264 long _arg5
= (long ) 0;
4265 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4266 PyObject
* _argo0
= 0;
4267 PyObject
* _obj2
= 0;
4269 PyObject
* _obj3
= 0;
4271 PyObject
* _obj4
= 0;
4272 PyObject
* _obj6
= 0;
4273 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
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_wxStaticText. Expected _wxWindow_p.");
4287 _arg2
= wxString_in_helper(_obj2
);
4294 if (! wxPoint_helper(_obj3
, &_arg3
))
4300 if (! wxSize_helper(_obj4
, &_arg4
))
4305 _arg6
= wxString_in_helper(_obj6
);
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) return NULL
;
4316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4317 _resultobj
= Py_BuildValue("s",_ptemp
);
4320 _resultobj
= Py_None
;
4333 #define new_wxPreStaticText() (new wxStaticText())
4334 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStaticText
* _result
;
4337 char *_kwnames
[] = { NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 _result
= (wxStaticText
*)new_wxPreStaticText();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) return NULL
;
4350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4351 _resultobj
= Py_BuildValue("s",_ptemp
);
4354 _resultobj
= Py_None
;
4359 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4360 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4363 wxStaticText
* _arg0
;
4367 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4368 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4369 long _arg6
= (long ) 0;
4370 wxString
* _arg7
= (wxString
*) &wxPyStaticTextNameStr
;
4371 PyObject
* _argo0
= 0;
4372 PyObject
* _argo1
= 0;
4373 PyObject
* _obj3
= 0;
4375 PyObject
* _obj4
= 0;
4377 PyObject
* _obj5
= 0;
4378 PyObject
* _obj7
= 0;
4379 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4392 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4399 _arg3
= wxString_in_helper(_obj3
);
4406 if (! wxPoint_helper(_obj4
, &_arg4
))
4412 if (! wxSize_helper(_obj5
, &_arg5
))
4417 _arg7
= wxString_in_helper(_obj7
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) return NULL
;
4427 } _resultobj
= Py_BuildValue("i",_result
);
4439 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4440 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4443 wxStaticText
* _arg0
;
4444 PyObject
* _argo0
= 0;
4445 char *_kwnames
[] = { "self", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) return NULL
;
4465 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4467 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4476 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4477 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
* _resultobj
;
4479 wxStaticText
* _arg0
;
4481 PyObject
* _argo0
= 0;
4482 PyObject
* _obj1
= 0;
4483 char *_kwnames
[] = { "self","label", NULL
};
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4496 _arg1
= wxString_in_helper(_obj1
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxStaticText_SetLabel(_arg0
,*_arg1
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) return NULL
;
4506 } Py_INCREF(Py_None
);
4507 _resultobj
= Py_None
;
4515 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4517 wxControlWithItems
*dest
;
4518 src
= (wxListBox
*) ptr
;
4519 dest
= (wxControlWithItems
*) src
;
4520 return (void *) dest
;
4523 static void *SwigwxListBoxTowxControl(void *ptr
) {
4526 src
= (wxListBox
*) ptr
;
4527 dest
= (wxControl
*) src
;
4528 return (void *) dest
;
4531 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4534 src
= (wxListBox
*) ptr
;
4535 dest
= (wxWindow
*) src
;
4536 return (void *) dest
;
4539 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4542 src
= (wxListBox
*) ptr
;
4543 dest
= (wxEvtHandler
*) src
;
4544 return (void *) dest
;
4547 static void *SwigwxListBoxTowxObject(void *ptr
) {
4550 src
= (wxListBox
*) ptr
;
4551 dest
= (wxObject
*) src
;
4552 return (void *) dest
;
4555 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4556 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4557 PyObject
* _resultobj
;
4558 wxListBox
* _result
;
4561 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4562 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4564 wxString
* _arg5
= (wxString
*) NULL
;
4565 long _arg6
= (long ) 0;
4566 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4567 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
4568 PyObject
* _argo0
= 0;
4570 PyObject
* _obj2
= 0;
4572 PyObject
* _obj3
= 0;
4573 PyObject
* _obj5
= 0;
4574 PyObject
* _argo7
= 0;
4575 PyObject
* _obj8
= 0;
4576 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
4583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4592 if (! wxPoint_helper(_obj2
, &_arg2
))
4598 if (! wxSize_helper(_obj3
, &_arg3
))
4603 _arg5
= wxString_LIST_helper(_obj5
);
4604 if (_arg5
== NULL
) {
4609 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4616 _arg8
= wxString_in_helper(_obj8
);
4622 _arg4
= PyList_Size(_obj5
);
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) return NULL
;
4635 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4636 _resultobj
= Py_BuildValue("s",_ptemp
);
4639 _resultobj
= Py_None
;
4651 #define new_wxPreListBox() (new wxListBox())
4652 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4654 wxListBox
* _result
;
4655 char *_kwnames
[] = { NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 _result
= (wxListBox
*)new_wxPreListBox();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) return NULL
;
4668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4669 _resultobj
= Py_BuildValue("s",_ptemp
);
4672 _resultobj
= Py_None
;
4677 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4678 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
* _resultobj
;
4684 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4685 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4687 wxString
* _arg6
= (wxString
*) NULL
;
4688 long _arg7
= (long ) 0;
4689 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4690 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
4691 PyObject
* _argo0
= 0;
4692 PyObject
* _argo1
= 0;
4694 PyObject
* _obj3
= 0;
4696 PyObject
* _obj4
= 0;
4697 PyObject
* _obj6
= 0;
4698 PyObject
* _argo8
= 0;
4699 PyObject
* _obj9
= 0;
4700 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
4706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4722 if (! wxPoint_helper(_obj3
, &_arg3
))
4728 if (! wxSize_helper(_obj4
, &_arg4
))
4733 _arg6
= wxString_LIST_helper(_obj6
);
4734 if (_arg6
== NULL
) {
4739 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4746 _arg9
= wxString_in_helper(_obj9
);
4752 _arg5
= PyList_Size(_obj6
);
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4764 } _resultobj
= Py_BuildValue("i",_result
);
4775 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4776 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4779 PyObject
* _argo0
= 0;
4780 char *_kwnames
[] = { "self", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 wxListBox_Clear(_arg0
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) return NULL
;
4798 } Py_INCREF(Py_None
);
4799 _resultobj
= Py_None
;
4803 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4804 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
* _resultobj
;
4808 PyObject
* _argo0
= 0;
4809 char *_kwnames
[] = { "self","n", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxListBox_Deselect(_arg0
,_arg1
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4834 self
->GetSelections(lst
);
4835 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4836 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4837 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4841 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4845 PyObject
* _argo0
= 0;
4846 char *_kwnames
[] = { "self", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4865 _resultobj
= _result
;
4870 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4871 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4877 PyObject
* _argo0
= 0;
4878 PyObject
* _obj2
= 0;
4879 char *_kwnames
[] = { "self","choices","pos", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4892 _arg2
= wxString_LIST_helper(_obj2
);
4893 if (_arg2
== NULL
) {
4899 _arg1
= PyList_Size(_obj2
);
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) return NULL
;
4911 } Py_INCREF(Py_None
);
4912 _resultobj
= Py_None
;
4919 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4920 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
* _resultobj
;
4925 PyObject
* _argo0
= 0;
4926 char *_kwnames
[] = { "self","n", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) return NULL
;
4944 } _resultobj
= Py_BuildValue("i",_result
);
4948 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4949 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
* _resultobj
;
4954 PyObject
* _argo0
= 0;
4955 char *_kwnames
[] = { "self","n", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) return NULL
;
4973 } _resultobj
= Py_BuildValue("i",_result
);
4977 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4978 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4979 PyObject
* _resultobj
;
4983 PyObject
* _argo0
= 0;
4984 PyObject
* _obj2
= 0;
4985 char *_kwnames
[] = { "self","choices", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4999 _arg2
= wxString_LIST_helper(_obj2
);
5000 if (_arg2
== NULL
) {
5006 _arg1
= PyList_Size(_obj2
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) return NULL
;
5018 } Py_INCREF(Py_None
);
5019 _resultobj
= Py_None
;
5026 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5027 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5031 PyObject
* _argo0
= 0;
5032 char *_kwnames
[] = { "self","n", NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 wxListBox_SetFirstItem(_arg0
,_arg1
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) return NULL
;
5050 } Py_INCREF(Py_None
);
5051 _resultobj
= Py_None
;
5055 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5056 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
* _resultobj
;
5060 PyObject
* _argo0
= 0;
5061 PyObject
* _obj1
= 0;
5062 char *_kwnames
[] = { "self","string", NULL
};
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5075 _arg1
= wxString_in_helper(_obj1
);
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) return NULL
;
5085 } Py_INCREF(Py_None
);
5086 _resultobj
= Py_None
;
5094 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5095 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5099 bool _arg2
= (bool ) TRUE
;
5100 PyObject
* _argo0
= 0;
5101 int tempbool2
= (int) TRUE
;
5102 char *_kwnames
[] = { "self","n","select", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5114 _arg2
= (bool ) tempbool2
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) return NULL
;
5121 } Py_INCREF(Py_None
);
5122 _resultobj
= Py_None
;
5126 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5127 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5132 PyObject
* _argo0
= 0;
5133 PyObject
* _obj2
= 0;
5134 char *_kwnames
[] = { "self","n","string", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5147 _arg2
= wxString_in_helper(_obj2
);
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) return NULL
;
5157 } Py_INCREF(Py_None
);
5158 _resultobj
= Py_None
;
5166 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5167 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5171 bool _arg2
= (bool ) TRUE
;
5172 PyObject
* _argo0
= 0;
5173 PyObject
* _obj1
= 0;
5174 int tempbool2
= (int) TRUE
;
5175 char *_kwnames
[] = { "self","string","select", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5188 _arg1
= wxString_in_helper(_obj1
);
5192 _arg2
= (bool ) tempbool2
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) return NULL
;
5199 } Py_INCREF(Py_None
);
5200 _resultobj
= Py_None
;
5208 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5209 wxCheckListBox
*src
;
5211 src
= (wxCheckListBox
*) ptr
;
5212 dest
= (wxListBox
*) src
;
5213 return (void *) dest
;
5216 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5217 wxCheckListBox
*src
;
5218 wxControlWithItems
*dest
;
5219 src
= (wxCheckListBox
*) ptr
;
5220 dest
= (wxControlWithItems
*) src
;
5221 return (void *) dest
;
5224 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5225 wxCheckListBox
*src
;
5227 src
= (wxCheckListBox
*) ptr
;
5228 dest
= (wxControl
*) src
;
5229 return (void *) dest
;
5232 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5233 wxCheckListBox
*src
;
5235 src
= (wxCheckListBox
*) ptr
;
5236 dest
= (wxWindow
*) src
;
5237 return (void *) dest
;
5240 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5241 wxCheckListBox
*src
;
5243 src
= (wxCheckListBox
*) ptr
;
5244 dest
= (wxEvtHandler
*) src
;
5245 return (void *) dest
;
5248 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5249 wxCheckListBox
*src
;
5251 src
= (wxCheckListBox
*) ptr
;
5252 dest
= (wxObject
*) src
;
5253 return (void *) dest
;
5256 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5257 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
* _resultobj
;
5259 wxCheckListBox
* _result
;
5262 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5263 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5264 int _arg4
= (int ) 0;
5265 wxString
* _arg5
= (wxString
*) NULL
;
5266 long _arg6
= (long ) 0;
5267 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5268 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
5269 PyObject
* _argo0
= 0;
5271 PyObject
* _obj2
= 0;
5273 PyObject
* _obj3
= 0;
5274 PyObject
* _obj5
= 0;
5275 PyObject
* _argo7
= 0;
5276 PyObject
* _obj8
= 0;
5277 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
5284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5293 if (! wxPoint_helper(_obj2
, &_arg2
))
5299 if (! wxSize_helper(_obj3
, &_arg3
))
5304 _arg5
= wxString_LIST_helper(_obj5
);
5305 if (_arg5
== NULL
) {
5310 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5317 _arg8
= wxString_in_helper(_obj8
);
5323 _arg4
= PyList_Size(_obj5
);
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5337 _resultobj
= Py_BuildValue("s",_ptemp
);
5340 _resultobj
= Py_None
;
5352 #define new_wxPreCheckListBox() (new wxCheckListBox())
5353 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
* _resultobj
;
5355 wxCheckListBox
* _result
;
5356 char *_kwnames
[] = { NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) return NULL
;
5369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5370 _resultobj
= Py_BuildValue("s",_ptemp
);
5373 _resultobj
= Py_None
;
5378 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5379 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
* _resultobj
;
5382 wxCheckListBox
* _arg0
;
5385 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5386 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5387 int _arg5
= (int ) 0;
5388 wxString
* _arg6
= (wxString
*) NULL
;
5389 long _arg7
= (long ) 0;
5390 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5391 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5392 PyObject
* _argo0
= 0;
5393 PyObject
* _argo1
= 0;
5395 PyObject
* _obj3
= 0;
5397 PyObject
* _obj4
= 0;
5398 PyObject
* _obj6
= 0;
5399 PyObject
* _argo8
= 0;
5400 PyObject
* _obj9
= 0;
5401 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5423 if (! wxPoint_helper(_obj3
, &_arg3
))
5429 if (! wxSize_helper(_obj4
, &_arg4
))
5434 _arg6
= wxString_LIST_helper(_obj6
);
5435 if (_arg6
== NULL
) {
5440 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5447 _arg9
= wxString_in_helper(_obj9
);
5453 _arg5
= PyList_Size(_obj6
);
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) return NULL
;
5465 } _resultobj
= Py_BuildValue("i",_result
);
5476 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5477 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
* _resultobj
;
5480 wxCheckListBox
* _arg0
;
5482 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self","uiIndex", NULL
};
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) return NULL
;
5501 } _resultobj
= Py_BuildValue("i",_result
);
5505 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5506 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
* _resultobj
;
5508 wxCheckListBox
* _arg0
;
5510 int _arg2
= (int ) TRUE
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5528 wxPyEndAllowThreads(__tstate
);
5529 if (PyErr_Occurred()) return NULL
;
5530 } Py_INCREF(Py_None
);
5531 _resultobj
= Py_None
;
5535 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5536 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
* _resultobj
;
5538 wxCheckListBox
* _arg0
;
5542 PyObject
* _argo0
= 0;
5543 PyObject
* _obj2
= 0;
5544 char *_kwnames
[] = { "self","choices","pos", NULL
};
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5557 _arg2
= wxString_LIST_helper(_obj2
);
5558 if (_arg2
== NULL
) {
5564 _arg1
= PyList_Size(_obj2
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) return NULL
;
5576 } Py_INCREF(Py_None
);
5577 _resultobj
= Py_None
;
5584 #define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5585 static PyObject
*_wrap_wxCheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
* _resultobj
;
5588 wxCheckListBox
* _arg0
;
5590 PyObject
* _argo0
= 0;
5592 PyObject
* _obj1
= 0;
5593 char *_kwnames
[] = { "self","pt", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCheckListBox_HitTest",_kwnames
,&_argo0
,&_obj1
))
5599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
5607 if (! wxPoint_helper(_obj1
, &_arg1
))
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= (int )wxCheckListBox_HitTest(_arg0
,*_arg1
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5616 } _resultobj
= Py_BuildValue("i",_result
);
5620 #define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5621 static PyObject
*_wrap_wxCheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
* _resultobj
;
5624 wxCheckListBox
* _arg0
;
5627 PyObject
* _argo0
= 0;
5628 char *_kwnames
[] = { "self","x","y", NULL
};
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCheckListBox_HitTestXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 _result
= (int )wxCheckListBox_HitTestXY(_arg0
,_arg1
,_arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) return NULL
;
5646 } _resultobj
= Py_BuildValue("i",_result
);
5650 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5651 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
* _resultobj
;
5653 wxTextAttr
* _result
;
5654 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5655 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5656 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5658 PyObject
* _obj0
= 0;
5660 PyObject
* _obj1
= 0;
5661 PyObject
* _argo2
= 0;
5662 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5671 if (! wxColour_helper(_obj0
, &_arg0
))
5677 if (! wxColour_helper(_obj1
, &_arg1
))
5681 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) return NULL
;
5693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5694 _resultobj
= Py_BuildValue("s",_ptemp
);
5697 _resultobj
= Py_None
;
5702 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5703 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
* _resultobj
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 delete_wxTextAttr(_arg0
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5730 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5731 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5735 PyObject
* _argo0
= 0;
5737 PyObject
* _obj1
= 0;
5738 char *_kwnames
[] = { "self","colText", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5752 if (! wxColour_helper(_obj1
, &_arg1
))
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) return NULL
;
5761 } Py_INCREF(Py_None
);
5762 _resultobj
= Py_None
;
5766 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5767 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5771 PyObject
* _argo0
= 0;
5773 PyObject
* _obj1
= 0;
5774 char *_kwnames
[] = { "self","colBack", NULL
};
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5788 if (! wxColour_helper(_obj1
, &_arg1
))
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) return NULL
;
5797 } Py_INCREF(Py_None
);
5798 _resultobj
= Py_None
;
5802 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5803 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5807 PyObject
* _argo0
= 0;
5808 PyObject
* _argo1
= 0;
5809 char *_kwnames
[] = { "self","font", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5822 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 wxTextAttr_SetFont(_arg0
,*_arg1
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) return NULL
;
5833 } Py_INCREF(Py_None
);
5834 _resultobj
= Py_None
;
5838 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5839 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5843 PyObject
* _argo0
= 0;
5844 char *_kwnames
[] = { "self", NULL
};
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) return NULL
;
5862 } _resultobj
= Py_BuildValue("i",_result
);
5866 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5867 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
* _resultobj
;
5871 PyObject
* _argo0
= 0;
5872 char *_kwnames
[] = { "self", NULL
};
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) return NULL
;
5890 } _resultobj
= Py_BuildValue("i",_result
);
5894 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5895 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5899 PyObject
* _argo0
= 0;
5900 char *_kwnames
[] = { "self", NULL
};
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) return NULL
;
5918 } _resultobj
= Py_BuildValue("i",_result
);
5922 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5923 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5927 PyObject
* _argo0
= 0;
5928 char *_kwnames
[] = { "self", NULL
};
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) return NULL
;
5947 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5948 _resultobj
= Py_BuildValue("s",_ptemp
);
5952 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5953 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5977 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5978 _resultobj
= Py_BuildValue("s",_ptemp
);
5982 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5983 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6007 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6008 _resultobj
= Py_BuildValue("s",_ptemp
);
6012 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6013 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) return NULL
;
6036 } _resultobj
= Py_BuildValue("i",_result
);
6040 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6042 wxTextAttr
* _result
;
6046 PyObject
* _argo0
= 0;
6047 PyObject
* _argo1
= 0;
6048 PyObject
* _argo2
= 0;
6049 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6056 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6062 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6068 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6076 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6078 wxPyEndAllowThreads(__tstate
);
6079 if (PyErr_Occurred()) return NULL
;
6080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6081 _resultobj
= Py_BuildValue("s",_ptemp
);
6085 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6088 src
= (wxTextCtrl
*) ptr
;
6089 dest
= (wxControl
*) src
;
6090 return (void *) dest
;
6093 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6096 src
= (wxTextCtrl
*) ptr
;
6097 dest
= (wxWindow
*) src
;
6098 return (void *) dest
;
6101 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6104 src
= (wxTextCtrl
*) ptr
;
6105 dest
= (wxEvtHandler
*) src
;
6106 return (void *) dest
;
6109 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6112 src
= (wxTextCtrl
*) ptr
;
6113 dest
= (wxObject
*) src
;
6114 return (void *) dest
;
6117 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6118 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6120 wxTextCtrl
* _result
;
6123 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6124 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6125 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6126 long _arg5
= (long ) 0;
6127 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6128 wxString
* _arg7
= (wxString
*) &wxPyTextCtrlNameStr
;
6129 PyObject
* _argo0
= 0;
6130 PyObject
* _obj2
= 0;
6132 PyObject
* _obj3
= 0;
6134 PyObject
* _obj4
= 0;
6135 PyObject
* _argo6
= 0;
6136 PyObject
* _obj7
= 0;
6137 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6152 _arg2
= wxString_in_helper(_obj2
);
6159 if (! wxPoint_helper(_obj3
, &_arg3
))
6165 if (! wxSize_helper(_obj4
, &_arg4
))
6169 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6176 _arg7
= wxString_in_helper(_obj7
);
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) return NULL
;
6187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6188 _resultobj
= Py_BuildValue("s",_ptemp
);
6191 _resultobj
= Py_None
;
6204 #define new_wxPreTextCtrl() (new wxTextCtrl())
6205 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
* _resultobj
;
6207 wxTextCtrl
* _result
;
6208 char *_kwnames
[] = { NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) return NULL
;
6221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6222 _resultobj
= Py_BuildValue("s",_ptemp
);
6225 _resultobj
= Py_None
;
6230 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6231 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
* _resultobj
;
6237 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
6238 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6239 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6240 long _arg6
= (long ) 0;
6241 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6242 wxString
* _arg8
= (wxString
*) &wxPyTextCtrlNameStr
;
6243 PyObject
* _argo0
= 0;
6244 PyObject
* _argo1
= 0;
6245 PyObject
* _obj3
= 0;
6247 PyObject
* _obj4
= 0;
6249 PyObject
* _obj5
= 0;
6250 PyObject
* _argo7
= 0;
6251 PyObject
* _obj8
= 0;
6252 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6273 _arg3
= wxString_in_helper(_obj3
);
6280 if (! wxPoint_helper(_obj4
, &_arg4
))
6286 if (! wxSize_helper(_obj5
, &_arg5
))
6290 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6297 _arg8
= wxString_in_helper(_obj8
);
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) return NULL
;
6307 } _resultobj
= Py_BuildValue("i",_result
);
6319 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6320 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
* _resultobj
;
6324 PyObject
* _argo0
= 0;
6325 char *_kwnames
[] = { "self", NULL
};
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) return NULL
;
6345 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6347 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6356 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6357 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
* _resultobj
;
6361 PyObject
* _argo0
= 0;
6362 PyObject
* _obj1
= 0;
6363 char *_kwnames
[] = { "self","value", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6376 _arg1
= wxString_in_helper(_obj1
);
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) return NULL
;
6386 } Py_INCREF(Py_None
);
6387 _resultobj
= Py_None
;
6395 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6396 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6402 PyObject
* _argo0
= 0;
6403 char *_kwnames
[] = { "self","from","to", NULL
};
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) return NULL
;
6423 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6434 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6435 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6440 PyObject
* _argo0
= 0;
6441 char *_kwnames
[] = { "self","lineNo", NULL
};
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) return NULL
;
6459 } _resultobj
= Py_BuildValue("i",_result
);
6463 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6464 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6469 PyObject
* _argo0
= 0;
6470 char *_kwnames
[] = { "self","lineNo", NULL
};
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) return NULL
;
6490 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6492 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6501 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6502 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) return NULL
;
6525 } _resultobj
= Py_BuildValue("i",_result
);
6529 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6530 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) return NULL
;
6553 } _resultobj
= Py_BuildValue("i",_result
);
6557 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6558 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
* _resultobj
;
6562 PyObject
* _argo0
= 0;
6563 char *_kwnames
[] = { "self", NULL
};
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) return NULL
;
6581 } _resultobj
= Py_BuildValue("i",_result
);
6585 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6586 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self", NULL
};
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) return NULL
;
6618 } Py_INCREF(Py_None
);
6619 _resultobj
= Py_None
;
6622 o
= PyInt_FromLong((long) (*_arg1
));
6623 _resultobj
= t_output_helper(_resultobj
, o
);
6627 o
= PyInt_FromLong((long) (*_arg2
));
6628 _resultobj
= t_output_helper(_resultobj
, o
);
6633 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6634 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
* _resultobj
;
6638 PyObject
* _argo0
= 0;
6639 char *_kwnames
[] = { "self", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) return NULL
;
6659 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6661 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6670 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6671 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
* _resultobj
;
6674 PyObject
* _argo0
= 0;
6675 char *_kwnames
[] = { "self", NULL
};
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 wxTextCtrl_Clear(_arg0
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) return NULL
;
6693 } Py_INCREF(Py_None
);
6694 _resultobj
= Py_None
;
6698 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6699 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
* _resultobj
;
6705 PyObject
* _argo0
= 0;
6706 PyObject
* _obj3
= 0;
6707 char *_kwnames
[] = { "self","from","to","value", NULL
};
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6720 _arg3
= wxString_in_helper(_obj3
);
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) return NULL
;
6730 } Py_INCREF(Py_None
);
6731 _resultobj
= Py_None
;
6739 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6740 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6745 PyObject
* _argo0
= 0;
6746 char *_kwnames
[] = { "self","from","to", NULL
};
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) return NULL
;
6764 } Py_INCREF(Py_None
);
6765 _resultobj
= Py_None
;
6769 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6770 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
* _resultobj
;
6775 PyObject
* _argo0
= 0;
6776 PyObject
* _obj1
= 0;
6777 char *_kwnames
[] = { "self","file", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6790 _arg1
= wxString_in_helper(_obj1
);
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6800 } _resultobj
= Py_BuildValue("i",_result
);
6808 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6809 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6813 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
6814 PyObject
* _argo0
= 0;
6815 PyObject
* _obj1
= 0;
6816 char *_kwnames
[] = { "self","file", NULL
};
6819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6830 _arg1
= wxString_in_helper(_obj1
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) return NULL
;
6840 } _resultobj
= Py_BuildValue("i",_result
);
6848 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6849 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
* _resultobj
;
6852 PyObject
* _argo0
= 0;
6853 char *_kwnames
[] = { "self", NULL
};
6856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 wxTextCtrl_DiscardEdits(_arg0
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) return NULL
;
6871 } Py_INCREF(Py_None
);
6872 _resultobj
= Py_None
;
6876 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6877 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
* _resultobj
;
6880 unsigned long _arg1
;
6881 PyObject
* _argo0
= 0;
6882 char *_kwnames
[] = { "self","len", NULL
};
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) return NULL
;
6900 } Py_INCREF(Py_None
);
6901 _resultobj
= Py_None
;
6905 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6906 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6910 PyObject
* _argo0
= 0;
6911 PyObject
* _obj1
= 0;
6912 char *_kwnames
[] = { "self","text", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6925 _arg1
= wxString_in_helper(_obj1
);
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) return NULL
;
6935 } Py_INCREF(Py_None
);
6936 _resultobj
= Py_None
;
6944 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6945 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
* _resultobj
;
6949 PyObject
* _argo0
= 0;
6950 PyObject
* _obj1
= 0;
6951 char *_kwnames
[] = { "self","text", NULL
};
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6964 _arg1
= wxString_in_helper(_obj1
);
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) return NULL
;
6974 } Py_INCREF(Py_None
);
6975 _resultobj
= Py_None
;
6983 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
6984 static PyObject
*_wrap_wxTextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 PyObject
* _argo1
= 0;
6991 char *_kwnames
[] = { "self","event", NULL
};
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_EmulateKeyPress",_kwnames
,&_argo0
,&_argo1
))
6997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7004 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
7005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 _result
= (bool )wxTextCtrl_EmulateKeyPress(_arg0
,*_arg1
);
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) return NULL
;
7015 } _resultobj
= Py_BuildValue("i",_result
);
7019 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7020 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7027 PyObject
* _argo0
= 0;
7028 PyObject
* _argo3
= 0;
7029 char *_kwnames
[] = { "self","start","end","style", NULL
};
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7042 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) return NULL
;
7053 } _resultobj
= Py_BuildValue("i",_result
);
7057 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7058 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
* _resultobj
;
7063 PyObject
* _argo0
= 0;
7064 PyObject
* _argo1
= 0;
7065 char *_kwnames
[] = { "self","style", NULL
};
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7078 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) return NULL
;
7089 } _resultobj
= Py_BuildValue("i",_result
);
7093 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7094 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
* _resultobj
;
7096 wxTextAttr
* _result
;
7098 PyObject
* _argo0
= 0;
7099 char *_kwnames
[] = { "self", NULL
};
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7115 _result
= (wxTextAttr
*) &_result_ref
;
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) return NULL
;
7120 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7121 _resultobj
= Py_BuildValue("s",_ptemp
);
7124 _resultobj
= Py_None
;
7129 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7130 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
* _resultobj
;
7136 PyObject
* _argo0
= 0;
7137 char *_kwnames
[] = { "self","x","y", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) return NULL
;
7155 } _resultobj
= Py_BuildValue("l",_result
);
7159 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7160 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
* _resultobj
;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self","pos", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) return NULL
;
7193 } Py_INCREF(Py_None
);
7194 _resultobj
= Py_None
;
7197 o
= PyInt_FromLong((long) (*_arg2
));
7198 _resultobj
= t_output_helper(_resultobj
, o
);
7202 o
= PyInt_FromLong((long) (*_arg3
));
7203 _resultobj
= t_output_helper(_resultobj
, o
);
7208 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7209 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7213 PyObject
* _argo0
= 0;
7214 char *_kwnames
[] = { "self","pos", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7230 wxPyEndAllowThreads(__tstate
);
7231 if (PyErr_Occurred()) return NULL
;
7232 } Py_INCREF(Py_None
);
7233 _resultobj
= Py_None
;
7237 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7238 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7241 PyObject
* _argo0
= 0;
7242 char *_kwnames
[] = { "self", NULL
};
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 wxTextCtrl_Copy(_arg0
);
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) return NULL
;
7260 } Py_INCREF(Py_None
);
7261 _resultobj
= Py_None
;
7265 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7266 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
* _resultobj
;
7269 PyObject
* _argo0
= 0;
7270 char *_kwnames
[] = { "self", NULL
};
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 wxTextCtrl_Cut(_arg0
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) return NULL
;
7288 } Py_INCREF(Py_None
);
7289 _resultobj
= Py_None
;
7293 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7294 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
* _resultobj
;
7297 PyObject
* _argo0
= 0;
7298 char *_kwnames
[] = { "self", NULL
};
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 wxTextCtrl_Paste(_arg0
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) return NULL
;
7316 } Py_INCREF(Py_None
);
7317 _resultobj
= Py_None
;
7321 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7322 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
* _resultobj
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) return NULL
;
7345 } _resultobj
= Py_BuildValue("i",_result
);
7349 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7350 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
* _resultobj
;
7354 PyObject
* _argo0
= 0;
7355 char *_kwnames
[] = { "self", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) return NULL
;
7373 } _resultobj
= Py_BuildValue("i",_result
);
7377 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7378 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
* _resultobj
;
7382 PyObject
* _argo0
= 0;
7383 char *_kwnames
[] = { "self", NULL
};
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) return NULL
;
7401 } _resultobj
= Py_BuildValue("i",_result
);
7405 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7406 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
* _resultobj
;
7409 PyObject
* _argo0
= 0;
7410 char *_kwnames
[] = { "self", NULL
};
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 wxTextCtrl_Undo(_arg0
);
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) return NULL
;
7428 } Py_INCREF(Py_None
);
7429 _resultobj
= Py_None
;
7433 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7434 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
* _resultobj
;
7437 PyObject
* _argo0
= 0;
7438 char *_kwnames
[] = { "self", NULL
};
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 wxTextCtrl_Redo(_arg0
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) return NULL
;
7456 } Py_INCREF(Py_None
);
7457 _resultobj
= Py_None
;
7461 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7462 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
* _resultobj
;
7466 PyObject
* _argo0
= 0;
7467 char *_kwnames
[] = { "self", NULL
};
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) return NULL
;
7485 } _resultobj
= Py_BuildValue("i",_result
);
7489 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7490 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
* _resultobj
;
7494 PyObject
* _argo0
= 0;
7495 char *_kwnames
[] = { "self", NULL
};
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) return NULL
;
7513 } _resultobj
= Py_BuildValue("i",_result
);
7517 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7518 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 PyObject
* _argo0
= 0;
7523 char *_kwnames
[] = { "self","pos", NULL
};
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) return NULL
;
7541 } Py_INCREF(Py_None
);
7542 _resultobj
= Py_None
;
7546 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7547 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7551 char *_kwnames
[] = { "self", NULL
};
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) return NULL
;
7569 } Py_INCREF(Py_None
);
7570 _resultobj
= Py_None
;
7574 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7575 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
* _resultobj
;
7579 PyObject
* _argo0
= 0;
7580 char *_kwnames
[] = { "self", NULL
};
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) return NULL
;
7598 } _resultobj
= Py_BuildValue("l",_result
);
7602 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7603 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
* _resultobj
;
7607 PyObject
* _argo0
= 0;
7608 char *_kwnames
[] = { "self", NULL
};
7611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) return NULL
;
7626 } _resultobj
= Py_BuildValue("l",_result
);
7630 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7631 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7636 PyObject
* _argo0
= 0;
7637 char *_kwnames
[] = { "self","from","to", NULL
};
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) return NULL
;
7655 } Py_INCREF(Py_None
);
7656 _resultobj
= Py_None
;
7660 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7661 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
* _resultobj
;
7664 PyObject
* _argo0
= 0;
7665 char *_kwnames
[] = { "self", NULL
};
7668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 wxTextCtrl_SelectAll(_arg0
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) return NULL
;
7683 } Py_INCREF(Py_None
);
7684 _resultobj
= Py_None
;
7688 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7689 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
* _resultobj
;
7693 PyObject
* _argo0
= 0;
7695 char *_kwnames
[] = { "self","editable", NULL
};
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7707 _arg1
= (bool ) tempbool1
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) return NULL
;
7714 } Py_INCREF(Py_None
);
7715 _resultobj
= Py_None
;
7719 #define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
7720 static PyObject
*_wrap_wxTextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
* _resultobj
;
7724 PyObject
* _argo0
= 0;
7725 char *_kwnames
[] = { "self", NULL
};
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsSingleLine",_kwnames
,&_argo0
))
7731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
7738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 _result
= (bool )wxTextCtrl_IsSingleLine(_arg0
);
7741 wxPyEndAllowThreads(__tstate
);
7742 if (PyErr_Occurred()) return NULL
;
7743 } _resultobj
= Py_BuildValue("i",_result
);
7747 #define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
7748 static PyObject
*_wrap_wxTextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
* _resultobj
;
7752 PyObject
* _argo0
= 0;
7753 char *_kwnames
[] = { "self", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsMultiLine",_kwnames
,&_argo0
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 _result
= (bool )wxTextCtrl_IsMultiLine(_arg0
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) return NULL
;
7771 } _resultobj
= Py_BuildValue("i",_result
);
7775 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7776 self
->AppendText(text
);
7778 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
* _resultobj
;
7782 PyObject
* _argo0
= 0;
7783 PyObject
* _obj1
= 0;
7784 char *_kwnames
[] = { "self","text", NULL
};
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7797 _arg1
= wxString_in_helper(_obj1
);
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 wxTextCtrl_write(_arg0
,*_arg1
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) return NULL
;
7807 } Py_INCREF(Py_None
);
7808 _resultobj
= Py_None
;
7816 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7817 return self
->GetValue().Mid(from
, to
- from
);
7819 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
* _resultobj
;
7825 PyObject
* _argo0
= 0;
7826 char *_kwnames
[] = { "self","from","to", NULL
};
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) return NULL
;
7846 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7848 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7857 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7860 src
= (wxScrollBar
*) ptr
;
7861 dest
= (wxControl
*) src
;
7862 return (void *) dest
;
7865 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7868 src
= (wxScrollBar
*) ptr
;
7869 dest
= (wxWindow
*) src
;
7870 return (void *) dest
;
7873 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7876 src
= (wxScrollBar
*) ptr
;
7877 dest
= (wxEvtHandler
*) src
;
7878 return (void *) dest
;
7881 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7884 src
= (wxScrollBar
*) ptr
;
7885 dest
= (wxObject
*) src
;
7886 return (void *) dest
;
7889 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7890 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
* _resultobj
;
7892 wxScrollBar
* _result
;
7894 wxWindowID _arg1
= (wxWindowID
) -1;
7895 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7896 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7897 long _arg4
= (long ) wxSB_HORIZONTAL
;
7898 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7899 wxString
* _arg6
= (wxString
*) &wxPyScrollBarNameStr
;
7900 PyObject
* _argo0
= 0;
7902 PyObject
* _obj2
= 0;
7904 PyObject
* _obj3
= 0;
7905 PyObject
* _argo5
= 0;
7906 PyObject
* _obj6
= 0;
7907 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
7914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7923 if (! wxPoint_helper(_obj2
, &_arg2
))
7929 if (! wxSize_helper(_obj3
, &_arg3
))
7933 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7940 _arg6
= wxString_in_helper(_obj6
);
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) return NULL
;
7951 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7952 _resultobj
= Py_BuildValue("s",_ptemp
);
7955 _resultobj
= Py_None
;
7964 #define new_wxPreScrollBar() (new wxScrollBar())
7965 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7967 wxScrollBar
* _result
;
7968 char *_kwnames
[] = { NULL
};
7972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) return NULL
;
7981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7982 _resultobj
= Py_BuildValue("s",_ptemp
);
7985 _resultobj
= Py_None
;
7990 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7991 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
* _resultobj
;
7994 wxScrollBar
* _arg0
;
7996 wxWindowID _arg2
= (wxWindowID
) -1;
7997 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7998 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7999 long _arg5
= (long ) wxSB_HORIZONTAL
;
8000 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8001 wxString
* _arg7
= (wxString
*) &wxPyScrollBarNameStr
;
8002 PyObject
* _argo0
= 0;
8003 PyObject
* _argo1
= 0;
8005 PyObject
* _obj3
= 0;
8007 PyObject
* _obj4
= 0;
8008 PyObject
* _argo6
= 0;
8009 PyObject
* _obj7
= 0;
8010 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
8016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8032 if (! wxPoint_helper(_obj3
, &_arg3
))
8038 if (! wxSize_helper(_obj4
, &_arg4
))
8042 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8049 _arg7
= wxString_in_helper(_obj7
);
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) return NULL
;
8059 } _resultobj
= Py_BuildValue("i",_result
);
8067 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8068 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
* _resultobj
;
8071 wxScrollBar
* _arg0
;
8072 PyObject
* _argo0
= 0;
8073 char *_kwnames
[] = { "self", NULL
};
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 _result
= (int )wxScrollBar_GetRange(_arg0
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) return NULL
;
8091 } _resultobj
= Py_BuildValue("i",_result
);
8095 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8096 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
* _resultobj
;
8099 wxScrollBar
* _arg0
;
8100 PyObject
* _argo0
= 0;
8101 char *_kwnames
[] = { "self", NULL
};
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) return NULL
;
8119 } _resultobj
= Py_BuildValue("i",_result
);
8123 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8124 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
* _resultobj
;
8127 wxScrollBar
* _arg0
;
8128 PyObject
* _argo0
= 0;
8129 char *_kwnames
[] = { "self", NULL
};
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) return NULL
;
8147 } _resultobj
= Py_BuildValue("i",_result
);
8151 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8152 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
* _resultobj
;
8155 wxScrollBar
* _arg0
;
8156 PyObject
* _argo0
= 0;
8157 char *_kwnames
[] = { "self", NULL
};
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) return NULL
;
8175 } _resultobj
= Py_BuildValue("i",_result
);
8179 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8180 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
* _resultobj
;
8183 wxScrollBar
* _arg0
;
8184 PyObject
* _argo0
= 0;
8185 char *_kwnames
[] = { "self", NULL
};
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) return NULL
;
8203 } _resultobj
= Py_BuildValue("i",_result
);
8207 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8208 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
* _resultobj
;
8210 wxScrollBar
* _arg0
;
8212 PyObject
* _argo0
= 0;
8213 char *_kwnames
[] = { "self","viewStart", NULL
};
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) return NULL
;
8231 } Py_INCREF(Py_None
);
8232 _resultobj
= Py_None
;
8236 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8237 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
* _resultobj
;
8239 wxScrollBar
* _arg0
;
8244 bool _arg5
= (bool ) TRUE
;
8245 PyObject
* _argo0
= 0;
8246 int tempbool5
= (int) TRUE
;
8247 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8259 _arg5
= (bool ) tempbool5
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) return NULL
;
8266 } Py_INCREF(Py_None
);
8267 _resultobj
= Py_None
;
8271 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8274 src
= (wxSpinButton
*) ptr
;
8275 dest
= (wxControl
*) src
;
8276 return (void *) dest
;
8279 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8282 src
= (wxSpinButton
*) ptr
;
8283 dest
= (wxWindow
*) src
;
8284 return (void *) dest
;
8287 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8290 src
= (wxSpinButton
*) ptr
;
8291 dest
= (wxEvtHandler
*) src
;
8292 return (void *) dest
;
8295 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8298 src
= (wxSpinButton
*) ptr
;
8299 dest
= (wxObject
*) src
;
8300 return (void *) dest
;
8303 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8304 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8306 wxSpinButton
* _result
;
8308 wxWindowID _arg1
= (wxWindowID
) -1;
8309 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8310 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8311 long _arg4
= (long ) wxSP_HORIZONTAL
;
8312 wxString
* _arg5
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8313 PyObject
* _argo0
= 0;
8315 PyObject
* _obj2
= 0;
8317 PyObject
* _obj3
= 0;
8318 PyObject
* _obj5
= 0;
8319 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
8326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8335 if (! wxPoint_helper(_obj2
, &_arg2
))
8341 if (! wxSize_helper(_obj3
, &_arg3
))
8346 _arg5
= wxString_in_helper(_obj5
);
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) return NULL
;
8357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8358 _resultobj
= Py_BuildValue("s",_ptemp
);
8361 _resultobj
= Py_None
;
8370 #define new_wxPreSpinButton() (new wxSpinButton())
8371 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
* _resultobj
;
8373 wxSpinButton
* _result
;
8374 char *_kwnames
[] = { NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) return NULL
;
8387 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8388 _resultobj
= Py_BuildValue("s",_ptemp
);
8391 _resultobj
= Py_None
;
8396 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8397 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
* _resultobj
;
8400 wxSpinButton
* _arg0
;
8402 wxWindowID _arg2
= (wxWindowID
) -1;
8403 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8404 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8405 long _arg5
= (long ) wxSP_HORIZONTAL
;
8406 wxString
* _arg6
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8407 PyObject
* _argo0
= 0;
8408 PyObject
* _argo1
= 0;
8410 PyObject
* _obj3
= 0;
8412 PyObject
* _obj4
= 0;
8413 PyObject
* _obj6
= 0;
8414 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8436 if (! wxPoint_helper(_obj3
, &_arg3
))
8442 if (! wxSize_helper(_obj4
, &_arg4
))
8447 _arg6
= wxString_in_helper(_obj6
);
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) return NULL
;
8457 } _resultobj
= Py_BuildValue("i",_result
);
8465 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8466 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
* _resultobj
;
8469 wxSpinButton
* _arg0
;
8470 PyObject
* _argo0
= 0;
8471 char *_kwnames
[] = { "self", NULL
};
8474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 _result
= (int )wxSpinButton_GetMax(_arg0
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) return NULL
;
8489 } _resultobj
= Py_BuildValue("i",_result
);
8493 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8494 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
* _resultobj
;
8497 wxSpinButton
* _arg0
;
8498 PyObject
* _argo0
= 0;
8499 char *_kwnames
[] = { "self", NULL
};
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 _result
= (int )wxSpinButton_GetMin(_arg0
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) return NULL
;
8517 } _resultobj
= Py_BuildValue("i",_result
);
8521 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8522 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8525 wxSpinButton
* _arg0
;
8526 PyObject
* _argo0
= 0;
8527 char *_kwnames
[] = { "self", NULL
};
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8541 _result
= (int )wxSpinButton_GetValue(_arg0
);
8543 wxPyEndAllowThreads(__tstate
);
8544 if (PyErr_Occurred()) return NULL
;
8545 } _resultobj
= Py_BuildValue("i",_result
);
8549 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8550 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
* _resultobj
;
8552 wxSpinButton
* _arg0
;
8555 PyObject
* _argo0
= 0;
8556 char *_kwnames
[] = { "self","min","max", NULL
};
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) return NULL
;
8574 } Py_INCREF(Py_None
);
8575 _resultobj
= Py_None
;
8579 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8580 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
* _resultobj
;
8582 wxSpinButton
* _arg0
;
8584 PyObject
* _argo0
= 0;
8585 char *_kwnames
[] = { "self","value", NULL
};
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 wxSpinButton_SetValue(_arg0
,_arg1
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) return NULL
;
8603 } Py_INCREF(Py_None
);
8604 _resultobj
= Py_None
;
8608 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8609 wxStaticBitmap
*src
;
8611 src
= (wxStaticBitmap
*) ptr
;
8612 dest
= (wxControl
*) src
;
8613 return (void *) dest
;
8616 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8617 wxStaticBitmap
*src
;
8619 src
= (wxStaticBitmap
*) ptr
;
8620 dest
= (wxWindow
*) src
;
8621 return (void *) dest
;
8624 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8625 wxStaticBitmap
*src
;
8627 src
= (wxStaticBitmap
*) ptr
;
8628 dest
= (wxEvtHandler
*) src
;
8629 return (void *) dest
;
8632 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8633 wxStaticBitmap
*src
;
8635 src
= (wxStaticBitmap
*) ptr
;
8636 dest
= (wxObject
*) src
;
8637 return (void *) dest
;
8640 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8641 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
* _resultobj
;
8643 wxStaticBitmap
* _result
;
8647 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8648 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8649 long _arg5
= (long ) 0;
8650 wxString
* _arg6
= (wxString
*) &wxPyStaticBitmapNameStr
;
8651 PyObject
* _argo0
= 0;
8652 PyObject
* _argo2
= 0;
8654 PyObject
* _obj3
= 0;
8656 PyObject
* _obj4
= 0;
8657 PyObject
* _obj6
= 0;
8658 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8672 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8680 if (! wxPoint_helper(_obj3
, &_arg3
))
8686 if (! wxSize_helper(_obj4
, &_arg4
))
8691 _arg6
= wxString_in_helper(_obj6
);
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) return NULL
;
8702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8703 _resultobj
= Py_BuildValue("s",_ptemp
);
8706 _resultobj
= Py_None
;
8715 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8716 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
* _resultobj
;
8718 wxStaticBitmap
* _result
;
8719 char *_kwnames
[] = { NULL
};
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) return NULL
;
8732 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8733 _resultobj
= Py_BuildValue("s",_ptemp
);
8736 _resultobj
= Py_None
;
8741 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8742 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
* _resultobj
;
8745 wxStaticBitmap
* _arg0
;
8749 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8750 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8751 long _arg6
= (long ) 0;
8752 wxString
* _arg7
= (wxString
*) &wxPyStaticBitmapNameStr
;
8753 PyObject
* _argo0
= 0;
8754 PyObject
* _argo1
= 0;
8755 PyObject
* _argo3
= 0;
8757 PyObject
* _obj4
= 0;
8759 PyObject
* _obj5
= 0;
8760 PyObject
* _obj7
= 0;
8761 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
8767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8774 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8781 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8789 if (! wxPoint_helper(_obj4
, &_arg4
))
8795 if (! wxSize_helper(_obj5
, &_arg5
))
8800 _arg7
= wxString_in_helper(_obj7
);
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) return NULL
;
8810 } _resultobj
= Py_BuildValue("i",_result
);
8818 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8819 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
* _resultobj
;
8822 wxStaticBitmap
* _arg0
;
8823 PyObject
* _argo0
= 0;
8824 char *_kwnames
[] = { "self", NULL
};
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) return NULL
;
8843 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8844 _resultobj
= Py_BuildValue("s",_ptemp
);
8848 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8849 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
* _resultobj
;
8851 wxStaticBitmap
* _arg0
;
8853 PyObject
* _argo0
= 0;
8854 PyObject
* _argo1
= 0;
8855 char *_kwnames
[] = { "self","bitmap", NULL
};
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8868 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) return NULL
;
8879 } Py_INCREF(Py_None
);
8880 _resultobj
= Py_None
;
8884 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8885 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
* _resultobj
;
8887 wxStaticBitmap
* _arg0
;
8889 PyObject
* _argo0
= 0;
8890 PyObject
* _argo1
= 0;
8891 char *_kwnames
[] = { "self","icon", NULL
};
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8904 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) return NULL
;
8915 } Py_INCREF(Py_None
);
8916 _resultobj
= Py_None
;
8920 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8923 src
= (wxRadioBox
*) ptr
;
8924 dest
= (wxControl
*) src
;
8925 return (void *) dest
;
8928 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8931 src
= (wxRadioBox
*) ptr
;
8932 dest
= (wxWindow
*) src
;
8933 return (void *) dest
;
8936 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8939 src
= (wxRadioBox
*) ptr
;
8940 dest
= (wxEvtHandler
*) src
;
8941 return (void *) dest
;
8944 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8947 src
= (wxRadioBox
*) ptr
;
8948 dest
= (wxObject
*) src
;
8949 return (void *) dest
;
8952 #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))
8953 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
* _resultobj
;
8955 wxRadioBox
* _result
;
8959 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8960 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8961 int _arg5
= (int ) 0;
8962 wxString
* _arg6
= (wxString
*) NULL
;
8963 int _arg7
= (int ) 0;
8964 long _arg8
= (long ) wxRA_HORIZONTAL
;
8965 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8966 wxString
* _arg10
= (wxString
*) &wxPyRadioBoxNameStr
;
8967 PyObject
* _argo0
= 0;
8968 PyObject
* _obj2
= 0;
8970 PyObject
* _obj3
= 0;
8972 PyObject
* _obj4
= 0;
8973 PyObject
* _obj6
= 0;
8974 PyObject
* _argo9
= 0;
8975 PyObject
* _obj10
= 0;
8976 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOO:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_obj10
))
8983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8990 _arg2
= wxString_in_helper(_obj2
);
8997 if (! wxPoint_helper(_obj3
, &_arg3
))
9003 if (! wxSize_helper(_obj4
, &_arg4
))
9008 _arg6
= wxString_LIST_helper(_obj6
);
9009 if (_arg6
== NULL
) {
9014 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9021 _arg10
= wxString_in_helper(_obj10
);
9027 _arg5
= PyList_Size(_obj6
);
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) return NULL
;
9040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9041 _resultobj
= Py_BuildValue("s",_ptemp
);
9044 _resultobj
= Py_None
;
9060 #define new_wxPreRadioBox() (new wxRadioBox())
9061 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
* _resultobj
;
9063 wxRadioBox
* _result
;
9064 char *_kwnames
[] = { NULL
};
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) return NULL
;
9077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9078 _resultobj
= Py_BuildValue("s",_ptemp
);
9081 _resultobj
= Py_None
;
9086 #define wxRadioBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
9087 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
* _resultobj
;
9094 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9095 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9096 int _arg6
= (int ) 0;
9097 wxString
* _arg7
= (wxString
*) NULL
;
9098 int _arg8
= (int ) 0;
9099 long _arg9
= (long ) wxRA_HORIZONTAL
;
9100 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9101 wxString
* _arg11
= (wxString
*) &wxPyRadioBoxNameStr
;
9102 PyObject
* _argo0
= 0;
9103 PyObject
* _argo1
= 0;
9104 PyObject
* _obj3
= 0;
9106 PyObject
* _obj4
= 0;
9108 PyObject
* _obj5
= 0;
9109 PyObject
* _obj7
= 0;
9110 PyObject
* _argo10
= 0;
9111 PyObject
* _obj11
= 0;
9112 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_obj11
))
9118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9125 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9126 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9132 _arg3
= wxString_in_helper(_obj3
);
9139 if (! wxPoint_helper(_obj4
, &_arg4
))
9145 if (! wxSize_helper(_obj5
, &_arg5
))
9150 _arg7
= wxString_LIST_helper(_obj7
);
9151 if (_arg7
== NULL
) {
9156 if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9163 _arg11
= wxString_in_helper(_obj11
);
9169 _arg6
= PyList_Size(_obj7
);
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,*_arg11
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) return NULL
;
9181 } _resultobj
= Py_BuildValue("i",_result
);
9196 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9197 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9201 PyObject
* _argo0
= 0;
9203 char *_kwnames
[] = { "self","enable", NULL
};
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9215 _arg1
= (bool ) tempbool1
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 wxRadioBox_Enable(_arg0
,_arg1
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) return NULL
;
9222 } Py_INCREF(Py_None
);
9223 _resultobj
= Py_None
;
9227 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9228 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
* _resultobj
;
9233 PyObject
* _argo0
= 0;
9235 char *_kwnames
[] = { "self","n","enable", NULL
};
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9247 _arg2
= (bool ) tempbool2
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) return NULL
;
9254 } Py_INCREF(Py_None
);
9255 _resultobj
= Py_None
;
9259 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9260 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
* _resultobj
;
9265 PyObject
* _argo0
= 0;
9266 PyObject
* _obj1
= 0;
9267 char *_kwnames
[] = { "self","string", NULL
};
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9280 _arg1
= wxString_in_helper(_obj1
);
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) return NULL
;
9290 } _resultobj
= Py_BuildValue("i",_result
);
9298 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9299 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
* _resultobj
;
9304 PyObject
* _argo0
= 0;
9305 char *_kwnames
[] = { "self","n", NULL
};
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) return NULL
;
9325 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9327 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9336 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9337 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
* _resultobj
;
9342 PyObject
* _argo0
= 0;
9343 PyObject
* _obj2
= 0;
9344 char *_kwnames
[] = { "self","n","label", NULL
};
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9357 _arg2
= wxString_in_helper(_obj2
);
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) return NULL
;
9367 } Py_INCREF(Py_None
);
9368 _resultobj
= Py_None
;
9376 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9377 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
* _resultobj
;
9381 PyObject
* _argo0
= 0;
9382 char *_kwnames
[] = { "self", NULL
};
9385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) return NULL
;
9400 } _resultobj
= Py_BuildValue("i",_result
);
9404 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9405 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
* _resultobj
;
9409 PyObject
* _argo0
= 0;
9410 char *_kwnames
[] = { "self", NULL
};
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) return NULL
;
9428 } _resultobj
= Py_BuildValue("i",_result
);
9432 #define wxRadioBox_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
9433 static PyObject
*_wrap_wxRadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
* _resultobj
;
9438 wxDirection
* _arg2
;
9440 PyObject
* _argo0
= 0;
9441 PyObject
* _argo2
= 0;
9442 char *_kwnames
[] = { "self","item","dir","style", NULL
};
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOl:wxRadioBox_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
))
9448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetNextItem. Expected _wxRadioBox_p.");
9455 if (_argo2
== Py_None
) { _arg2
= NULL
; }
9456 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDirection_p")) {
9457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxRadioBox_GetNextItem. Expected _wxDirection_p.");
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 _result
= (int )wxRadioBox_GetNextItem(_arg0
,_arg1
,*_arg2
,_arg3
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) return NULL
;
9467 } _resultobj
= Py_BuildValue("i",_result
);
9471 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9472 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9476 PyObject
* _argo0
= 0;
9477 char *_kwnames
[] = { "self", NULL
};
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) return NULL
;
9495 } _resultobj
= Py_BuildValue("i",_result
);
9499 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9500 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
* _resultobj
;
9504 PyObject
* _argo0
= 0;
9505 char *_kwnames
[] = { "self", NULL
};
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9521 wxPyEndAllowThreads(__tstate
);
9522 if (PyErr_Occurred()) return NULL
;
9525 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9527 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9536 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9537 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
* _resultobj
;
9541 PyObject
* _argo0
= 0;
9542 char *_kwnames
[] = { "self", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 _result
= (int )wxRadioBox_GetCount(_arg0
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } _resultobj
= Py_BuildValue("i",_result
);
9564 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9565 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
* _resultobj
;
9569 PyObject
* _argo0
= 0;
9570 char *_kwnames
[] = { "self","n", NULL
};
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 wxRadioBox_SetSelection(_arg0
,_arg1
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) return NULL
;
9588 } Py_INCREF(Py_None
);
9589 _resultobj
= Py_None
;
9593 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9594 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
* _resultobj
;
9598 PyObject
* _argo0
= 0;
9599 PyObject
* _obj1
= 0;
9600 char *_kwnames
[] = { "self","string", NULL
};
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9613 _arg1
= wxString_in_helper(_obj1
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) return NULL
;
9623 } Py_INCREF(Py_None
);
9624 _resultobj
= Py_None
;
9632 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9633 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9637 PyObject
* _argo0
= 0;
9639 char *_kwnames
[] = { "self","show", NULL
};
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9651 _arg1
= (bool ) tempbool1
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 wxRadioBox_Show(_arg0
,_arg1
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) return NULL
;
9658 } Py_INCREF(Py_None
);
9659 _resultobj
= Py_None
;
9663 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9664 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
* _resultobj
;
9669 PyObject
* _argo0
= 0;
9671 char *_kwnames
[] = { "self","item","show", NULL
};
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9683 _arg2
= (bool ) tempbool2
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) return NULL
;
9690 } Py_INCREF(Py_None
);
9691 _resultobj
= Py_None
;
9695 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9698 src
= (wxRadioButton
*) ptr
;
9699 dest
= (wxControl
*) src
;
9700 return (void *) dest
;
9703 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9706 src
= (wxRadioButton
*) ptr
;
9707 dest
= (wxWindow
*) src
;
9708 return (void *) dest
;
9711 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9714 src
= (wxRadioButton
*) ptr
;
9715 dest
= (wxEvtHandler
*) src
;
9716 return (void *) dest
;
9719 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9722 src
= (wxRadioButton
*) ptr
;
9723 dest
= (wxObject
*) src
;
9724 return (void *) dest
;
9727 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9728 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
* _resultobj
;
9730 wxRadioButton
* _result
;
9734 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9735 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9736 long _arg5
= (long ) 0;
9737 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9738 wxString
* _arg7
= (wxString
*) &wxPyRadioButtonNameStr
;
9739 PyObject
* _argo0
= 0;
9740 PyObject
* _obj2
= 0;
9742 PyObject
* _obj3
= 0;
9744 PyObject
* _obj4
= 0;
9745 PyObject
* _argo6
= 0;
9746 PyObject
* _obj7
= 0;
9747 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
9754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9761 _arg2
= wxString_in_helper(_obj2
);
9768 if (! wxPoint_helper(_obj3
, &_arg3
))
9774 if (! wxSize_helper(_obj4
, &_arg4
))
9778 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9785 _arg7
= wxString_in_helper(_obj7
);
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) return NULL
;
9796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9797 _resultobj
= Py_BuildValue("s",_ptemp
);
9800 _resultobj
= Py_None
;
9813 #define new_wxPreRadioButton() (new wxRadioButton())
9814 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
* _resultobj
;
9816 wxRadioButton
* _result
;
9817 char *_kwnames
[] = { NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) return NULL
;
9830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9831 _resultobj
= Py_BuildValue("s",_ptemp
);
9834 _resultobj
= Py_None
;
9839 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9840 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
* _resultobj
;
9843 wxRadioButton
* _arg0
;
9847 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9848 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9849 long _arg6
= (long ) 0;
9850 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9851 wxString
* _arg8
= (wxString
*) &wxPyRadioButtonNameStr
;
9852 PyObject
* _argo0
= 0;
9853 PyObject
* _argo1
= 0;
9854 PyObject
* _obj3
= 0;
9856 PyObject
* _obj4
= 0;
9858 PyObject
* _obj5
= 0;
9859 PyObject
* _argo7
= 0;
9860 PyObject
* _obj8
= 0;
9861 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
9867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9881 _arg3
= wxString_in_helper(_obj3
);
9888 if (! wxPoint_helper(_obj4
, &_arg4
))
9894 if (! wxSize_helper(_obj5
, &_arg5
))
9898 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9905 _arg8
= wxString_in_helper(_obj8
);
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) return NULL
;
9915 } _resultobj
= Py_BuildValue("i",_result
);
9927 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9928 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
* _resultobj
;
9931 wxRadioButton
* _arg0
;
9932 PyObject
* _argo0
= 0;
9933 char *_kwnames
[] = { "self", NULL
};
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) return NULL
;
9951 } _resultobj
= Py_BuildValue("i",_result
);
9955 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9956 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9957 PyObject
* _resultobj
;
9958 wxRadioButton
* _arg0
;
9960 PyObject
* _argo0
= 0;
9962 char *_kwnames
[] = { "self","value", NULL
};
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9974 _arg1
= (bool ) tempbool1
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 wxRadioButton_SetValue(_arg0
,_arg1
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) return NULL
;
9981 } Py_INCREF(Py_None
);
9982 _resultobj
= Py_None
;
9986 static void *SwigwxSliderTowxControl(void *ptr
) {
9989 src
= (wxSlider
*) ptr
;
9990 dest
= (wxControl
*) src
;
9991 return (void *) dest
;
9994 static void *SwigwxSliderTowxWindow(void *ptr
) {
9997 src
= (wxSlider
*) ptr
;
9998 dest
= (wxWindow
*) src
;
9999 return (void *) dest
;
10002 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10004 wxEvtHandler
*dest
;
10005 src
= (wxSlider
*) ptr
;
10006 dest
= (wxEvtHandler
*) src
;
10007 return (void *) dest
;
10010 static void *SwigwxSliderTowxObject(void *ptr
) {
10013 src
= (wxSlider
*) ptr
;
10014 dest
= (wxObject
*) src
;
10015 return (void *) dest
;
10018 #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))
10019 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
* _resultobj
;
10021 wxSlider
* _result
;
10027 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10028 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10029 long _arg7
= (long ) wxSL_HORIZONTAL
;
10030 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10031 wxString
* _arg9
= (wxString
*) &wxPySliderNameStr
;
10032 PyObject
* _argo0
= 0;
10034 PyObject
* _obj5
= 0;
10036 PyObject
* _obj6
= 0;
10037 PyObject
* _argo8
= 0;
10038 PyObject
* _obj9
= 0;
10039 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOO:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
10046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10055 if (! wxPoint_helper(_obj5
, &_arg5
))
10061 if (! wxSize_helper(_obj6
, &_arg6
))
10065 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10072 _arg9
= wxString_in_helper(_obj9
);
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,*_arg9
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) return NULL
;
10083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10084 _resultobj
= Py_BuildValue("s",_ptemp
);
10086 Py_INCREF(Py_None
);
10087 _resultobj
= Py_None
;
10096 #define new_wxPreSlider() (new wxSlider())
10097 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
* _resultobj
;
10099 wxSlider
* _result
;
10100 char *_kwnames
[] = { NULL
};
10104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 _result
= (wxSlider
*)new_wxPreSlider();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) return NULL
;
10113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10114 _resultobj
= Py_BuildValue("s",_ptemp
);
10116 Py_INCREF(Py_None
);
10117 _resultobj
= Py_None
;
10122 #define wxSlider_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10123 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
* _resultobj
;
10132 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10133 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10134 long _arg8
= (long ) wxSL_HORIZONTAL
;
10135 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10136 wxString
* _arg10
= (wxString
*) &wxPySliderNameStr
;
10137 PyObject
* _argo0
= 0;
10138 PyObject
* _argo1
= 0;
10140 PyObject
* _obj6
= 0;
10142 PyObject
* _obj7
= 0;
10143 PyObject
* _argo9
= 0;
10144 PyObject
* _obj10
= 0;
10145 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOO:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
10151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10158 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10167 if (! wxPoint_helper(_obj6
, &_arg6
))
10173 if (! wxSize_helper(_obj7
, &_arg7
))
10177 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10184 _arg10
= wxString_in_helper(_obj10
);
10185 if (_arg10
== NULL
)
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,*_arg10
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) return NULL
;
10194 } _resultobj
= Py_BuildValue("i",_result
);
10202 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10203 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
* _resultobj
;
10206 PyObject
* _argo0
= 0;
10207 char *_kwnames
[] = { "self", NULL
};
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 wxSlider_ClearSel(_arg0
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) return NULL
;
10225 } Py_INCREF(Py_None
);
10226 _resultobj
= Py_None
;
10230 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10231 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
* _resultobj
;
10234 PyObject
* _argo0
= 0;
10235 char *_kwnames
[] = { "self", NULL
};
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 wxSlider_ClearTicks(_arg0
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) return NULL
;
10253 } Py_INCREF(Py_None
);
10254 _resultobj
= Py_None
;
10258 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10259 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
* _resultobj
;
10263 PyObject
* _argo0
= 0;
10264 char *_kwnames
[] = { "self", NULL
};
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 _result
= (int )wxSlider_GetLineSize(_arg0
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) return NULL
;
10282 } _resultobj
= Py_BuildValue("i",_result
);
10286 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10287 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
* _resultobj
;
10291 PyObject
* _argo0
= 0;
10292 char *_kwnames
[] = { "self", NULL
};
10295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 _result
= (int )wxSlider_GetMax(_arg0
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) return NULL
;
10310 } _resultobj
= Py_BuildValue("i",_result
);
10314 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10315 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10316 PyObject
* _resultobj
;
10319 PyObject
* _argo0
= 0;
10320 char *_kwnames
[] = { "self", NULL
};
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 _result
= (int )wxSlider_GetMin(_arg0
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) return NULL
;
10338 } _resultobj
= Py_BuildValue("i",_result
);
10342 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10343 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
* _resultobj
;
10347 PyObject
* _argo0
= 0;
10348 char *_kwnames
[] = { "self", NULL
};
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 _result
= (int )wxSlider_GetPageSize(_arg0
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) return NULL
;
10366 } _resultobj
= Py_BuildValue("i",_result
);
10370 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10371 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
* _resultobj
;
10375 PyObject
* _argo0
= 0;
10376 char *_kwnames
[] = { "self", NULL
};
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) return NULL
;
10394 } _resultobj
= Py_BuildValue("i",_result
);
10398 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10399 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
* _resultobj
;
10403 PyObject
* _argo0
= 0;
10404 char *_kwnames
[] = { "self", NULL
};
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 _result
= (int )wxSlider_GetSelStart(_arg0
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) return NULL
;
10422 } _resultobj
= Py_BuildValue("i",_result
);
10426 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10427 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
* _resultobj
;
10431 PyObject
* _argo0
= 0;
10432 char *_kwnames
[] = { "self", NULL
};
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) return NULL
;
10450 } _resultobj
= Py_BuildValue("i",_result
);
10454 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10455 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
* _resultobj
;
10459 PyObject
* _argo0
= 0;
10460 char *_kwnames
[] = { "self", NULL
};
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) return NULL
;
10478 } _resultobj
= Py_BuildValue("i",_result
);
10482 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10483 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
* _resultobj
;
10487 PyObject
* _argo0
= 0;
10488 char *_kwnames
[] = { "self", NULL
};
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 _result
= (int )wxSlider_GetValue(_arg0
);
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) return NULL
;
10506 } _resultobj
= Py_BuildValue("i",_result
);
10510 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10511 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
* _resultobj
;
10516 PyObject
* _argo0
= 0;
10517 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) return NULL
;
10535 } Py_INCREF(Py_None
);
10536 _resultobj
= Py_None
;
10540 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10541 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
* _resultobj
;
10546 PyObject
* _argo0
= 0;
10547 char *_kwnames
[] = { "self","n","pos", NULL
};
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) return NULL
;
10565 } Py_INCREF(Py_None
);
10566 _resultobj
= Py_None
;
10570 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10571 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
* _resultobj
;
10575 PyObject
* _argo0
= 0;
10576 char *_kwnames
[] = { "self","lineSize", NULL
};
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 wxSlider_SetLineSize(_arg0
,_arg1
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) return NULL
;
10594 } Py_INCREF(Py_None
);
10595 _resultobj
= Py_None
;
10599 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10600 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
* _resultobj
;
10604 PyObject
* _argo0
= 0;
10605 char *_kwnames
[] = { "self","pageSize", NULL
};
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 wxSlider_SetPageSize(_arg0
,_arg1
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) return NULL
;
10623 } Py_INCREF(Py_None
);
10624 _resultobj
= Py_None
;
10628 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10629 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
* _resultobj
;
10634 PyObject
* _argo0
= 0;
10635 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) return NULL
;
10653 } Py_INCREF(Py_None
);
10654 _resultobj
= Py_None
;
10658 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10659 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
* _resultobj
;
10663 PyObject
* _argo0
= 0;
10664 char *_kwnames
[] = { "self","len", NULL
};
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 wxSlider_SetThumbLength(_arg0
,_arg1
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) return NULL
;
10682 } Py_INCREF(Py_None
);
10683 _resultobj
= Py_None
;
10687 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10688 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
* _resultobj
;
10692 PyObject
* _argo0
= 0;
10693 char *_kwnames
[] = { "self","tickPos", NULL
};
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 wxSlider_SetTick(_arg0
,_arg1
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) return NULL
;
10711 } Py_INCREF(Py_None
);
10712 _resultobj
= Py_None
;
10716 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10717 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
* _resultobj
;
10721 PyObject
* _argo0
= 0;
10722 char *_kwnames
[] = { "self","value", NULL
};
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 wxSlider_SetValue(_arg0
,_arg1
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) return NULL
;
10740 } Py_INCREF(Py_None
);
10741 _resultobj
= Py_None
;
10745 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10747 wxSpinButton
*dest
;
10748 src
= (wxSpinCtrl
*) ptr
;
10749 dest
= (wxSpinButton
*) src
;
10750 return (void *) dest
;
10753 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10756 src
= (wxSpinCtrl
*) ptr
;
10757 dest
= (wxControl
*) src
;
10758 return (void *) dest
;
10761 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10764 src
= (wxSpinCtrl
*) ptr
;
10765 dest
= (wxWindow
*) src
;
10766 return (void *) dest
;
10769 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10771 wxEvtHandler
*dest
;
10772 src
= (wxSpinCtrl
*) ptr
;
10773 dest
= (wxEvtHandler
*) src
;
10774 return (void *) dest
;
10777 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10780 src
= (wxSpinCtrl
*) ptr
;
10781 dest
= (wxObject
*) src
;
10782 return (void *) dest
;
10785 #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))
10786 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
* _resultobj
;
10788 wxSpinCtrl
* _result
;
10790 wxWindowID _arg1
= (wxWindowID
) -1;
10791 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10792 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10793 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10794 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10795 int _arg6
= (int ) 0;
10796 int _arg7
= (int ) 100;
10797 int _arg8
= (int ) 0;
10798 wxString
* _arg9
= (wxString
*) &wxPySpinCtrlNameStr
;
10799 PyObject
* _argo0
= 0;
10800 PyObject
* _obj2
= 0;
10802 PyObject
* _obj3
= 0;
10804 PyObject
* _obj4
= 0;
10805 PyObject
* _obj9
= 0;
10806 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_obj9
))
10813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10821 _arg2
= wxString_in_helper(_obj2
);
10828 if (! wxPoint_helper(_obj3
, &_arg3
))
10834 if (! wxSize_helper(_obj4
, &_arg4
))
10839 _arg9
= wxString_in_helper(_obj9
);
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) return NULL
;
10850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10851 _resultobj
= Py_BuildValue("s",_ptemp
);
10853 Py_INCREF(Py_None
);
10854 _resultobj
= Py_None
;
10867 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10868 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
* _resultobj
;
10870 wxSpinCtrl
* _result
;
10871 char *_kwnames
[] = { NULL
};
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10881 wxPyEndAllowThreads(__tstate
);
10882 if (PyErr_Occurred()) return NULL
;
10884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10885 _resultobj
= Py_BuildValue("s",_ptemp
);
10887 Py_INCREF(Py_None
);
10888 _resultobj
= Py_None
;
10893 #define wxSpinCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10894 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
* _resultobj
;
10897 wxSpinCtrl
* _arg0
;
10899 wxWindowID _arg2
= (wxWindowID
) -1;
10900 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10901 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10902 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10903 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10904 int _arg7
= (int ) 0;
10905 int _arg8
= (int ) 100;
10906 int _arg9
= (int ) 0;
10907 wxString
* _arg10
= (wxString
*) &wxPySpinCtrlNameStr
;
10908 PyObject
* _argo0
= 0;
10909 PyObject
* _argo1
= 0;
10910 PyObject
* _obj3
= 0;
10912 PyObject
* _obj4
= 0;
10914 PyObject
* _obj5
= 0;
10915 PyObject
* _obj10
= 0;
10916 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_obj10
))
10922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10929 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10930 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10937 _arg3
= wxString_in_helper(_obj3
);
10944 if (! wxPoint_helper(_obj4
, &_arg4
))
10950 if (! wxSize_helper(_obj5
, &_arg5
))
10955 _arg10
= wxString_in_helper(_obj10
);
10956 if (_arg10
== NULL
)
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) return NULL
;
10965 } _resultobj
= Py_BuildValue("i",_result
);
10977 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10978 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
* _resultobj
;
10981 wxSpinCtrl
* _arg0
;
10982 PyObject
* _argo0
= 0;
10983 char *_kwnames
[] = { "self", NULL
};
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) return NULL
;
11001 } _resultobj
= Py_BuildValue("i",_result
);
11005 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11006 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
* _resultobj
;
11009 wxSpinCtrl
* _arg0
;
11010 PyObject
* _argo0
= 0;
11011 char *_kwnames
[] = { "self", NULL
};
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
11017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) return NULL
;
11029 } _resultobj
= Py_BuildValue("i",_result
);
11033 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11034 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
* _resultobj
;
11037 wxSpinCtrl
* _arg0
;
11038 PyObject
* _argo0
= 0;
11039 char *_kwnames
[] = { "self", NULL
};
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
11045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) return NULL
;
11057 } _resultobj
= Py_BuildValue("i",_result
);
11061 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11062 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
* _resultobj
;
11064 wxSpinCtrl
* _arg0
;
11067 PyObject
* _argo0
= 0;
11068 char *_kwnames
[] = { "self","min","max", NULL
};
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) return NULL
;
11086 } Py_INCREF(Py_None
);
11087 _resultobj
= Py_None
;
11091 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11092 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
* _resultobj
;
11094 wxSpinCtrl
* _arg0
;
11096 PyObject
* _argo0
= 0;
11097 char *_kwnames
[] = { "self","value", NULL
};
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) return NULL
;
11115 } Py_INCREF(Py_None
);
11116 _resultobj
= Py_None
;
11120 static PyMethodDef controlscMethods
[] = {
11121 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxRadioBox_GetNextItem", (PyCFunction
) _wrap_wxRadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxTextCtrl_IsMultiLine", (PyCFunction
) _wrap_wxTextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxTextCtrl_IsSingleLine", (PyCFunction
) _wrap_wxTextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxTextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_wxTextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxCheckListBox_HitTestXY", (PyCFunction
) _wrap_wxCheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxCheckListBox_HitTest", (PyCFunction
) _wrap_wxCheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxCheckBox_IsChecked", (PyCFunction
) _wrap_wxCheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11384 * This table is used by the pointer type-checker
11386 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11387 { "_signed_long","_long",0},
11388 { "_wxPrintQuality","_wxCoord",0},
11389 { "_wxPrintQuality","_int",0},
11390 { "_wxPrintQuality","_signed_int",0},
11391 { "_wxPrintQuality","_unsigned_int",0},
11392 { "_wxPrintQuality","_wxWindowID",0},
11393 { "_wxPrintQuality","_uint",0},
11394 { "_wxPrintQuality","_EBool",0},
11395 { "_wxPrintQuality","_size_t",0},
11396 { "_wxPrintQuality","_time_t",0},
11397 { "_byte","_unsigned_char",0},
11398 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11399 { "_long","_unsigned_long",0},
11400 { "_long","_signed_long",0},
11401 { "_size_t","_wxCoord",0},
11402 { "_size_t","_wxPrintQuality",0},
11403 { "_size_t","_time_t",0},
11404 { "_size_t","_unsigned_int",0},
11405 { "_size_t","_int",0},
11406 { "_size_t","_wxWindowID",0},
11407 { "_size_t","_uint",0},
11408 { "_uint","_wxCoord",0},
11409 { "_uint","_wxPrintQuality",0},
11410 { "_uint","_time_t",0},
11411 { "_uint","_size_t",0},
11412 { "_uint","_unsigned_int",0},
11413 { "_uint","_int",0},
11414 { "_uint","_wxWindowID",0},
11415 { "_wxChar","_char",0},
11416 { "_char","_wxChar",0},
11417 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11418 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11419 { "_EBool","_wxCoord",0},
11420 { "_EBool","_wxPrintQuality",0},
11421 { "_EBool","_signed_int",0},
11422 { "_EBool","_int",0},
11423 { "_EBool","_wxWindowID",0},
11424 { "_unsigned_long","_long",0},
11425 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11426 { "_signed_int","_wxCoord",0},
11427 { "_signed_int","_wxPrintQuality",0},
11428 { "_signed_int","_EBool",0},
11429 { "_signed_int","_wxWindowID",0},
11430 { "_signed_int","_int",0},
11431 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11432 { "_WXTYPE","_short",0},
11433 { "_WXTYPE","_signed_short",0},
11434 { "_WXTYPE","_unsigned_short",0},
11435 { "_unsigned_short","_WXTYPE",0},
11436 { "_unsigned_short","_short",0},
11437 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11438 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11439 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11440 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11441 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11442 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11443 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11444 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11445 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11446 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11447 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11448 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11449 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11450 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11451 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11452 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11453 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11454 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11455 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11456 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11457 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11458 { "_signed_short","_WXTYPE",0},
11459 { "_signed_short","_short",0},
11460 { "_unsigned_char","_byte",0},
11461 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11462 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11463 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11464 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11465 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11466 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11467 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11468 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11469 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11470 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11471 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11472 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11473 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11474 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11475 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11476 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11477 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11478 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11479 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11480 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11481 { "_unsigned_int","_wxCoord",0},
11482 { "_unsigned_int","_wxPrintQuality",0},
11483 { "_unsigned_int","_time_t",0},
11484 { "_unsigned_int","_size_t",0},
11485 { "_unsigned_int","_uint",0},
11486 { "_unsigned_int","_wxWindowID",0},
11487 { "_unsigned_int","_int",0},
11488 { "_short","_WXTYPE",0},
11489 { "_short","_unsigned_short",0},
11490 { "_short","_signed_short",0},
11491 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11492 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11493 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11494 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11495 { "_wxWindowID","_wxCoord",0},
11496 { "_wxWindowID","_wxPrintQuality",0},
11497 { "_wxWindowID","_time_t",0},
11498 { "_wxWindowID","_size_t",0},
11499 { "_wxWindowID","_EBool",0},
11500 { "_wxWindowID","_uint",0},
11501 { "_wxWindowID","_int",0},
11502 { "_wxWindowID","_signed_int",0},
11503 { "_wxWindowID","_unsigned_int",0},
11504 { "_int","_wxCoord",0},
11505 { "_int","_wxPrintQuality",0},
11506 { "_int","_time_t",0},
11507 { "_int","_size_t",0},
11508 { "_int","_EBool",0},
11509 { "_int","_uint",0},
11510 { "_int","_wxWindowID",0},
11511 { "_int","_unsigned_int",0},
11512 { "_int","_signed_int",0},
11513 { "_time_t","_wxCoord",0},
11514 { "_time_t","_wxPrintQuality",0},
11515 { "_time_t","_unsigned_int",0},
11516 { "_time_t","_int",0},
11517 { "_time_t","_wxWindowID",0},
11518 { "_time_t","_uint",0},
11519 { "_time_t","_size_t",0},
11520 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11521 { "_wxCoord","_int",0},
11522 { "_wxCoord","_signed_int",0},
11523 { "_wxCoord","_unsigned_int",0},
11524 { "_wxCoord","_wxWindowID",0},
11525 { "_wxCoord","_uint",0},
11526 { "_wxCoord","_EBool",0},
11527 { "_wxCoord","_size_t",0},
11528 { "_wxCoord","_time_t",0},
11529 { "_wxCoord","_wxPrintQuality",0},
11530 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11531 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11532 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11533 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11534 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11535 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11536 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11537 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11538 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11539 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11540 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11541 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11542 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11543 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11544 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11545 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11546 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11547 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11548 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11549 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11550 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11551 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11552 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11553 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11554 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11555 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11556 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11557 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11558 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11559 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11560 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11561 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11562 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11563 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11564 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11565 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11566 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11567 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11568 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11569 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11570 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11571 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11574 static PyObject
*SWIG_globals
;
11578 SWIGEXPORT(void) initcontrolsc() {
11580 SWIG_globals
= SWIG_newvarlink();
11581 m
= Py_InitModule("controlsc", controlscMethods
);
11582 d
= PyModule_GetDict(m
);
11583 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11584 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11587 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11588 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);