2 * FILE : src/gtk/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","validator","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","validator","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 #define wxCheckBox_Get3StateValue(_swigobj) (_swigobj->Get3StateValue())
2195 static PyObject
*_wrap_wxCheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2197 wxCheckBoxState _result
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "self", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_Get3StateValue",_kwnames
,&_argo0
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Get3StateValue. Expected _wxCheckBox_p.");
2213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2214 _result
= (wxCheckBoxState
)wxCheckBox_Get3StateValue(_arg0
);
2216 wxPyEndAllowThreads(__tstate
);
2217 if (PyErr_Occurred()) return NULL
;
2218 } _resultobj
= Py_BuildValue("i",_result
);
2222 #define wxCheckBox_Set3StateValue(_swigobj,_swigarg0) (_swigobj->Set3StateValue(_swigarg0))
2223 static PyObject
*_wrap_wxCheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2226 wxCheckBoxState _arg1
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "self","state", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_Set3StateValue",_kwnames
,&_argo0
,&_arg1
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Set3StateValue. Expected _wxCheckBox_p.");
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 wxCheckBox_Set3StateValue(_arg0
,_arg1
);
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) return NULL
;
2246 } Py_INCREF(Py_None
);
2247 _resultobj
= Py_None
;
2251 #define wxCheckBox_Is3State(_swigobj) (_swigobj->Is3State())
2252 static PyObject
*_wrap_wxCheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
* _resultobj
;
2256 PyObject
* _argo0
= 0;
2257 char *_kwnames
[] = { "self", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_Is3State",_kwnames
,&_argo0
))
2263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Is3State. Expected _wxCheckBox_p.");
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 _result
= (bool )wxCheckBox_Is3State(_arg0
);
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) return NULL
;
2275 } _resultobj
= Py_BuildValue("i",_result
);
2279 #define wxCheckBox_Is3rdStateAllowedForUser(_swigobj) (_swigobj->Is3rdStateAllowedForUser())
2280 static PyObject
*_wrap_wxCheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
* _resultobj
;
2284 PyObject
* _argo0
= 0;
2285 char *_kwnames
[] = { "self", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_Is3rdStateAllowedForUser",_kwnames
,&_argo0
))
2291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Is3rdStateAllowedForUser. Expected _wxCheckBox_p.");
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= (bool )wxCheckBox_Is3rdStateAllowedForUser(_arg0
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2307 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2309 wxControlWithItems
*dest
;
2310 src
= (wxChoice
*) ptr
;
2311 dest
= (wxControlWithItems
*) src
;
2312 return (void *) dest
;
2315 static void *SwigwxChoiceTowxControl(void *ptr
) {
2318 src
= (wxChoice
*) ptr
;
2319 dest
= (wxControl
*) src
;
2320 return (void *) dest
;
2323 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2326 src
= (wxChoice
*) ptr
;
2327 dest
= (wxWindow
*) src
;
2328 return (void *) dest
;
2331 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2334 src
= (wxChoice
*) ptr
;
2335 dest
= (wxEvtHandler
*) src
;
2336 return (void *) dest
;
2339 static void *SwigwxChoiceTowxObject(void *ptr
) {
2342 src
= (wxChoice
*) ptr
;
2343 dest
= (wxObject
*) src
;
2344 return (void *) dest
;
2347 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2348 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
* _resultobj
;
2353 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2354 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2355 int _arg4
= (int ) 0;
2356 wxString
* _arg5
= (wxString
*) NULL
;
2357 long _arg6
= (long ) 0;
2358 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2359 wxString
* _arg8
= (wxString
*) &wxPyChoiceNameStr
;
2360 PyObject
* _argo0
= 0;
2362 PyObject
* _obj2
= 0;
2364 PyObject
* _obj3
= 0;
2365 PyObject
* _obj5
= 0;
2366 PyObject
* _argo7
= 0;
2367 PyObject
* _obj8
= 0;
2368 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2384 if (! wxPoint_helper(_obj2
, &_arg2
))
2390 if (! wxSize_helper(_obj3
, &_arg3
))
2395 _arg5
= wxString_LIST_helper(_obj5
);
2396 if (_arg5
== NULL
) {
2401 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2408 _arg8
= wxString_in_helper(_obj8
);
2414 _arg4
= PyList_Size(_obj5
);
2421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2422 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
2424 wxPyEndAllowThreads(__tstate
);
2425 if (PyErr_Occurred()) return NULL
;
2427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2428 _resultobj
= Py_BuildValue("s",_ptemp
);
2431 _resultobj
= Py_None
;
2443 #define new_wxPreChoice() (new wxChoice())
2444 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2447 char *_kwnames
[] = { NULL
};
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 _result
= (wxChoice
*)new_wxPreChoice();
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) return NULL
;
2460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2461 _resultobj
= Py_BuildValue("s",_ptemp
);
2464 _resultobj
= Py_None
;
2469 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2470 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2476 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2477 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2478 int _arg5
= (int ) 0;
2479 wxString
* _arg6
= (wxString
*) NULL
;
2480 long _arg7
= (long ) 0;
2481 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2482 wxString
* _arg9
= (wxString
*) &wxPyChoiceNameStr
;
2483 PyObject
* _argo0
= 0;
2484 PyObject
* _argo1
= 0;
2486 PyObject
* _obj3
= 0;
2488 PyObject
* _obj4
= 0;
2489 PyObject
* _obj6
= 0;
2490 PyObject
* _argo8
= 0;
2491 PyObject
* _obj9
= 0;
2492 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2505 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2506 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2514 if (! wxPoint_helper(_obj3
, &_arg3
))
2520 if (! wxSize_helper(_obj4
, &_arg4
))
2525 _arg6
= wxString_LIST_helper(_obj6
);
2526 if (_arg6
== NULL
) {
2531 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2538 _arg9
= wxString_in_helper(_obj9
);
2544 _arg5
= PyList_Size(_obj6
);
2551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2552 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2554 wxPyEndAllowThreads(__tstate
);
2555 if (PyErr_Occurred()) return NULL
;
2556 } _resultobj
= Py_BuildValue("i",_result
);
2567 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2568 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
* _resultobj
;
2571 PyObject
* _argo0
= 0;
2572 char *_kwnames
[] = { "self", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2586 wxChoice_Clear(_arg0
);
2588 wxPyEndAllowThreads(__tstate
);
2589 if (PyErr_Occurred()) return NULL
;
2590 } Py_INCREF(Py_None
);
2591 _resultobj
= Py_None
;
2595 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2596 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
* _resultobj
;
2600 PyObject
* _argo0
= 0;
2601 char *_kwnames
[] = { "self", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 _result
= (int )wxChoice_GetColumns(_arg0
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) return NULL
;
2619 } _resultobj
= Py_BuildValue("i",_result
);
2623 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2624 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2627 int _arg1
= (int ) 1;
2628 PyObject
* _argo0
= 0;
2629 char *_kwnames
[] = { "self","n", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2643 wxChoice_SetColumns(_arg0
,_arg1
);
2645 wxPyEndAllowThreads(__tstate
);
2646 if (PyErr_Occurred()) return NULL
;
2647 } Py_INCREF(Py_None
);
2648 _resultobj
= Py_None
;
2652 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2653 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
* _resultobj
;
2657 PyObject
* _argo0
= 0;
2658 char *_kwnames
[] = { "self","n", NULL
};
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 wxChoice_SetSelection(_arg0
,_arg1
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) return NULL
;
2676 } Py_INCREF(Py_None
);
2677 _resultobj
= Py_None
;
2681 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2682 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
* _resultobj
;
2686 PyObject
* _argo0
= 0;
2687 PyObject
* _obj1
= 0;
2688 char *_kwnames
[] = { "self","string", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2701 _arg1
= wxString_in_helper(_obj1
);
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) return NULL
;
2711 } Py_INCREF(Py_None
);
2712 _resultobj
= Py_None
;
2720 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2721 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
* _resultobj
;
2726 PyObject
* _argo0
= 0;
2727 PyObject
* _obj2
= 0;
2728 char *_kwnames
[] = { "self","n","s", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2741 _arg2
= wxString_in_helper(_obj2
);
2746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2749 wxPyEndAllowThreads(__tstate
);
2750 if (PyErr_Occurred()) return NULL
;
2751 } Py_INCREF(Py_None
);
2752 _resultobj
= Py_None
;
2760 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2763 src
= (wxComboBox
*) ptr
;
2764 dest
= (wxControl
*) src
;
2765 return (void *) dest
;
2768 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2771 src
= (wxComboBox
*) ptr
;
2772 dest
= (wxWindow
*) src
;
2773 return (void *) dest
;
2776 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2779 src
= (wxComboBox
*) ptr
;
2780 dest
= (wxEvtHandler
*) src
;
2781 return (void *) dest
;
2784 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2787 src
= (wxComboBox
*) ptr
;
2788 dest
= (wxObject
*) src
;
2789 return (void *) dest
;
2792 #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))
2793 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
* _resultobj
;
2795 wxComboBox
* _result
;
2798 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2799 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2800 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2801 int _arg5
= (int ) 0;
2802 wxString
* _arg6
= (wxString
*) NULL
;
2803 long _arg7
= (long ) 0;
2804 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2805 wxString
* _arg9
= (wxString
*) &wxPyComboBoxNameStr
;
2806 PyObject
* _argo0
= 0;
2807 PyObject
* _obj2
= 0;
2809 PyObject
* _obj3
= 0;
2811 PyObject
* _obj4
= 0;
2812 PyObject
* _obj6
= 0;
2813 PyObject
* _argo8
= 0;
2814 PyObject
* _obj9
= 0;
2815 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOOlOO:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2830 _arg2
= wxString_in_helper(_obj2
);
2837 if (! wxPoint_helper(_obj3
, &_arg3
))
2843 if (! wxSize_helper(_obj4
, &_arg4
))
2848 _arg6
= wxString_LIST_helper(_obj6
);
2849 if (_arg6
== NULL
) {
2854 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2861 _arg9
= wxString_in_helper(_obj9
);
2867 _arg5
= PyList_Size(_obj6
);
2874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2875 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2877 wxPyEndAllowThreads(__tstate
);
2878 if (PyErr_Occurred()) return NULL
;
2880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2881 _resultobj
= Py_BuildValue("s",_ptemp
);
2884 _resultobj
= Py_None
;
2900 #define new_wxPreComboBox() (new wxComboBox())
2901 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2903 wxComboBox
* _result
;
2904 char *_kwnames
[] = { NULL
};
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 _result
= (wxComboBox
*)new_wxPreComboBox();
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) return NULL
;
2917 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2918 _resultobj
= Py_BuildValue("s",_ptemp
);
2921 _resultobj
= Py_None
;
2926 #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))
2927 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
* _resultobj
;
2933 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2934 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2935 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2936 int _arg6
= (int ) 0;
2937 wxString
* _arg7
= (wxString
*) NULL
;
2938 long _arg8
= (long ) 0;
2939 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2940 wxString
* _arg10
= (wxString
*) &wxPyComboBoxNameStr
;
2941 PyObject
* _argo0
= 0;
2942 PyObject
* _argo1
= 0;
2943 PyObject
* _obj3
= 0;
2945 PyObject
* _obj4
= 0;
2947 PyObject
* _obj5
= 0;
2948 PyObject
* _obj7
= 0;
2949 PyObject
* _argo9
= 0;
2950 PyObject
* _obj10
= 0;
2951 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOOlOO:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
2957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2964 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2972 _arg3
= wxString_in_helper(_obj3
);
2979 if (! wxPoint_helper(_obj4
, &_arg4
))
2985 if (! wxSize_helper(_obj5
, &_arg5
))
2990 _arg7
= wxString_LIST_helper(_obj7
);
2991 if (_arg7
== NULL
) {
2996 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
3003 _arg10
= wxString_in_helper(_obj10
);
3009 _arg6
= PyList_Size(_obj7
);
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) return NULL
;
3021 } _resultobj
= Py_BuildValue("i",_result
);
3036 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
3037 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxComboBox_Copy(_arg0
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
3065 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3068 PyObject
* _argo0
= 0;
3069 char *_kwnames
[] = { "self", NULL
};
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
3075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
3082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 wxComboBox_Cut(_arg0
);
3085 wxPyEndAllowThreads(__tstate
);
3086 if (PyErr_Occurred()) return NULL
;
3087 } Py_INCREF(Py_None
);
3088 _resultobj
= Py_None
;
3092 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3093 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
* _resultobj
;
3097 PyObject
* _argo0
= 0;
3098 char *_kwnames
[] = { "self", NULL
};
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
3104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) return NULL
;
3116 } _resultobj
= Py_BuildValue("l",_result
);
3120 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3121 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
* _resultobj
;
3125 PyObject
* _argo0
= 0;
3126 char *_kwnames
[] = { "self", NULL
};
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) return NULL
;
3144 } _resultobj
= Py_BuildValue("l",_result
);
3148 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3149 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3153 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) return NULL
;
3174 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3176 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3185 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3186 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3189 PyObject
* _argo0
= 0;
3190 char *_kwnames
[] = { "self", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 wxComboBox_Paste(_arg0
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) return NULL
;
3208 } Py_INCREF(Py_None
);
3209 _resultobj
= Py_None
;
3213 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3214 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3220 PyObject
* _argo0
= 0;
3221 PyObject
* _obj3
= 0;
3222 char *_kwnames
[] = { "self","from","to","text", NULL
};
3225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3235 _arg3
= wxString_in_helper(_obj3
);
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3254 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3255 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "self","from","to", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) return NULL
;
3279 } Py_INCREF(Py_None
);
3280 _resultobj
= Py_None
;
3284 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3285 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "self","pos", NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3304 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3306 wxPyEndAllowThreads(__tstate
);
3307 if (PyErr_Occurred()) return NULL
;
3308 } Py_INCREF(Py_None
);
3309 _resultobj
= Py_None
;
3313 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3314 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3317 PyObject
* _argo0
= 0;
3318 char *_kwnames
[] = { "self", NULL
};
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3332 wxComboBox_SetInsertionPointEnd(_arg0
);
3334 wxPyEndAllowThreads(__tstate
);
3335 if (PyErr_Occurred()) return NULL
;
3336 } Py_INCREF(Py_None
);
3337 _resultobj
= Py_None
;
3341 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3342 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
* _resultobj
;
3346 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self","n", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3361 wxComboBox_SetSelection(_arg0
,_arg1
);
3363 wxPyEndAllowThreads(__tstate
);
3364 if (PyErr_Occurred()) return NULL
;
3365 } Py_INCREF(Py_None
);
3366 _resultobj
= Py_None
;
3370 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3371 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3376 PyObject
* _argo0
= 0;
3377 char *_kwnames
[] = { "self","from","to", NULL
};
3380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) return NULL
;
3395 } Py_INCREF(Py_None
);
3396 _resultobj
= Py_None
;
3400 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3401 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3402 PyObject
* _resultobj
;
3405 PyObject
* _argo0
= 0;
3406 PyObject
* _obj1
= 0;
3407 char *_kwnames
[] = { "self","text", NULL
};
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3420 _arg1
= wxString_in_helper(_obj1
);
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 wxComboBox_SetValue(_arg0
,*_arg1
);
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) return NULL
;
3430 } Py_INCREF(Py_None
);
3431 _resultobj
= Py_None
;
3439 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3440 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3444 PyObject
* _argo0
= 0;
3446 char *_kwnames
[] = { "self","editable", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3458 _arg1
= (bool ) tempbool1
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 wxComboBox_SetEditable(_arg0
,_arg1
);
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) return NULL
;
3465 } Py_INCREF(Py_None
);
3466 _resultobj
= Py_None
;
3470 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3471 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
* _resultobj
;
3474 PyObject
* _argo0
= 0;
3475 char *_kwnames
[] = { "self", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxComboBox_Clear(_arg0
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) return NULL
;
3493 } Py_INCREF(Py_None
);
3494 _resultobj
= Py_None
;
3498 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3499 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self","n", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 wxComboBox_Delete(_arg0
,_arg1
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) return NULL
;
3522 } Py_INCREF(Py_None
);
3523 _resultobj
= Py_None
;
3527 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3528 static PyObject
*_wrap_wxComboBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3529 PyObject
* _resultobj
;
3532 PyObject
* _argo0
= 0;
3533 char *_kwnames
[] = { "self", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))
3539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 _result
= (int )wxComboBox_GetCount(_arg0
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3551 } _resultobj
= Py_BuildValue("i",_result
);
3555 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3556 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
* _resultobj
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self","n", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) return NULL
;
3582 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3584 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3593 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3594 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3599 PyObject
* _argo0
= 0;
3600 PyObject
* _obj1
= 0;
3601 char *_kwnames
[] = { "self","s", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3614 _arg1
= wxString_in_helper(_obj1
);
3619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3620 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
3622 wxPyEndAllowThreads(__tstate
);
3623 if (PyErr_Occurred()) return NULL
;
3624 } _resultobj
= Py_BuildValue("i",_result
);
3632 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3633 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
* _resultobj
;
3637 PyObject
* _argo0
= 0;
3638 char *_kwnames
[] = { "self", NULL
};
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
3644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 _result
= (int )wxComboBox_GetSelection(_arg0
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) return NULL
;
3656 } _resultobj
= Py_BuildValue("i",_result
);
3660 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3661 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
* _resultobj
;
3665 PyObject
* _argo0
= 0;
3666 char *_kwnames
[] = { "self", NULL
};
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) return NULL
;
3686 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3688 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3697 static void wxComboBox_Append(wxComboBox
*self
,const wxString
& item
,PyObject
* clientData
) {
3699 wxPyClientData
* data
= new wxPyClientData(clientData
);
3700 self
->Append(item
, data
);
3704 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 PyObject
* _arg2
= (PyObject
*) NULL
;
3709 PyObject
* _argo0
= 0;
3710 PyObject
* _obj1
= 0;
3711 PyObject
* _obj2
= 0;
3712 char *_kwnames
[] = { "self","item","clientData", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3725 _arg1
= wxString_in_helper(_obj1
);
3734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3735 wxComboBox_Append(_arg0
,*_arg1
,_arg2
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) return NULL
;
3739 } Py_INCREF(Py_None
);
3740 _resultobj
= Py_None
;
3748 static PyObject
* wxComboBox_GetClientData(wxComboBox
*self
,int n
) {
3750 wxPyClientData
* data
= (wxPyClientData
*)self
->wxItemContainer::GetClientObject(n
);
3752 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3755 Py_INCREF(data
->m_obj
);
3762 static PyObject
*_wrap_wxComboBox_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3767 PyObject
* _argo0
= 0;
3768 char *_kwnames
[] = { "self","n", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 _result
= (PyObject
*)wxComboBox_GetClientData(_arg0
,_arg1
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) return NULL
;
3787 _resultobj
= _result
;
3792 static void wxComboBox_SetClientData(wxComboBox
*self
,int n
,PyObject
* clientData
) {
3793 wxPyClientData
* data
= new wxPyClientData(clientData
);
3795 self
->wxItemContainer::SetClientObject(n
, data
);
3797 self
->SetClientObject(n
, data
);
3800 static PyObject
*_wrap_wxComboBox_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3805 PyObject
* _argo0
= 0;
3806 PyObject
* _obj2
= 0;
3807 char *_kwnames
[] = { "self","n","clientData", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) return NULL
;
3828 } Py_INCREF(Py_None
);
3829 _resultobj
= Py_None
;
3833 static void *SwigwxGaugeTowxControl(void *ptr
) {
3836 src
= (wxGauge
*) ptr
;
3837 dest
= (wxControl
*) src
;
3838 return (void *) dest
;
3841 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3844 src
= (wxGauge
*) ptr
;
3845 dest
= (wxWindow
*) src
;
3846 return (void *) dest
;
3849 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3852 src
= (wxGauge
*) ptr
;
3853 dest
= (wxEvtHandler
*) src
;
3854 return (void *) dest
;
3857 static void *SwigwxGaugeTowxObject(void *ptr
) {
3860 src
= (wxGauge
*) ptr
;
3861 dest
= (wxObject
*) src
;
3862 return (void *) dest
;
3865 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3866 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
* _resultobj
;
3872 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3873 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3874 long _arg5
= (long ) wxGA_HORIZONTAL
;
3875 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3876 wxString
* _arg7
= (wxString
*) &wxPyGaugeNameStr
;
3877 PyObject
* _argo0
= 0;
3879 PyObject
* _obj3
= 0;
3881 PyObject
* _obj4
= 0;
3882 PyObject
* _argo6
= 0;
3883 PyObject
* _obj7
= 0;
3884 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOO:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
3891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3900 if (! wxPoint_helper(_obj3
, &_arg3
))
3906 if (! wxSize_helper(_obj4
, &_arg4
))
3910 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3917 _arg7
= wxString_in_helper(_obj7
);
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
3925 wxPyEndAllowThreads(__tstate
);
3926 if (PyErr_Occurred()) return NULL
;
3928 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3929 _resultobj
= Py_BuildValue("s",_ptemp
);
3932 _resultobj
= Py_None
;
3941 #define new_wxPreGauge() (new wxGauge())
3942 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3945 char *_kwnames
[] = { NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 _result
= (wxGauge
*)new_wxPreGauge();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) return NULL
;
3958 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3959 _resultobj
= Py_BuildValue("s",_ptemp
);
3962 _resultobj
= Py_None
;
3967 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3968 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3975 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3976 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3977 long _arg6
= (long ) wxGA_HORIZONTAL
;
3978 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3979 wxString
* _arg8
= (wxString
*) &wxPyGaugeNameStr
;
3980 PyObject
* _argo0
= 0;
3981 PyObject
* _argo1
= 0;
3983 PyObject
* _obj4
= 0;
3985 PyObject
* _obj5
= 0;
3986 PyObject
* _argo7
= 0;
3987 PyObject
* _obj8
= 0;
3988 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOO:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
3994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
4001 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
4010 if (! wxPoint_helper(_obj4
, &_arg4
))
4016 if (! wxSize_helper(_obj5
, &_arg5
))
4020 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
4027 _arg8
= wxString_in_helper(_obj8
);
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) return NULL
;
4037 } _resultobj
= Py_BuildValue("i",_result
);
4045 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
4046 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4050 PyObject
* _argo0
= 0;
4051 char *_kwnames
[] = { "self", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 _result
= (int )wxGauge_GetBezelFace(_arg0
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) return NULL
;
4069 } _resultobj
= Py_BuildValue("i",_result
);
4073 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
4074 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
* _resultobj
;
4078 PyObject
* _argo0
= 0;
4079 char *_kwnames
[] = { "self", NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
4085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 _result
= (int )wxGauge_GetRange(_arg0
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) return NULL
;
4097 } _resultobj
= Py_BuildValue("i",_result
);
4101 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
4102 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4106 PyObject
* _argo0
= 0;
4107 char *_kwnames
[] = { "self", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4125 } _resultobj
= Py_BuildValue("i",_result
);
4129 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
4130 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4134 PyObject
* _argo0
= 0;
4135 char *_kwnames
[] = { "self", NULL
};
4138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
4141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 _result
= (int )wxGauge_GetValue(_arg0
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) return NULL
;
4153 } _resultobj
= Py_BuildValue("i",_result
);
4157 #define wxGauge_IsVertical(_swigobj) (_swigobj->IsVertical())
4158 static PyObject
*_wrap_wxGauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4162 PyObject
* _argo0
= 0;
4163 char *_kwnames
[] = { "self", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_IsVertical",_kwnames
,&_argo0
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_IsVertical. Expected _wxGauge_p.");
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 _result
= (bool )wxGauge_IsVertical(_arg0
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) return NULL
;
4181 } _resultobj
= Py_BuildValue("i",_result
);
4185 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
4186 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
* _resultobj
;
4190 PyObject
* _argo0
= 0;
4191 char *_kwnames
[] = { "self","width", NULL
};
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
4197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 wxGauge_SetBezelFace(_arg0
,_arg1
);
4207 wxPyEndAllowThreads(__tstate
);
4208 if (PyErr_Occurred()) return NULL
;
4209 } Py_INCREF(Py_None
);
4210 _resultobj
= Py_None
;
4214 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
4215 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
* _resultobj
;
4219 PyObject
* _argo0
= 0;
4220 char *_kwnames
[] = { "self","range", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxGauge_SetRange(_arg0
,_arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) return NULL
;
4238 } Py_INCREF(Py_None
);
4239 _resultobj
= Py_None
;
4243 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
4244 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4245 PyObject
* _resultobj
;
4248 PyObject
* _argo0
= 0;
4249 char *_kwnames
[] = { "self","width", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
4255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 wxGauge_SetShadowWidth(_arg0
,_arg1
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) return NULL
;
4267 } Py_INCREF(Py_None
);
4268 _resultobj
= Py_None
;
4272 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4273 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4277 PyObject
* _argo0
= 0;
4278 char *_kwnames
[] = { "self","pos", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 wxGauge_SetValue(_arg0
,_arg1
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) return NULL
;
4296 } Py_INCREF(Py_None
);
4297 _resultobj
= Py_None
;
4301 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
4304 src
= (wxStaticBox
*) ptr
;
4305 dest
= (wxControl
*) src
;
4306 return (void *) dest
;
4309 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
4312 src
= (wxStaticBox
*) ptr
;
4313 dest
= (wxWindow
*) src
;
4314 return (void *) dest
;
4317 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
4320 src
= (wxStaticBox
*) ptr
;
4321 dest
= (wxEvtHandler
*) src
;
4322 return (void *) dest
;
4325 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
4328 src
= (wxStaticBox
*) ptr
;
4329 dest
= (wxObject
*) src
;
4330 return (void *) dest
;
4333 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4334 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStaticBox
* _result
;
4340 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4341 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4342 long _arg5
= (long ) 0;
4343 wxString
* _arg6
= (wxString
*) &wxPyStaticBoxNameStr
;
4344 PyObject
* _argo0
= 0;
4345 PyObject
* _obj2
= 0;
4347 PyObject
* _obj3
= 0;
4349 PyObject
* _obj4
= 0;
4350 PyObject
* _obj6
= 0;
4351 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4365 _arg2
= wxString_in_helper(_obj2
);
4372 if (! wxPoint_helper(_obj3
, &_arg3
))
4378 if (! wxSize_helper(_obj4
, &_arg4
))
4383 _arg6
= wxString_in_helper(_obj6
);
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) return NULL
;
4394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4395 _resultobj
= Py_BuildValue("s",_ptemp
);
4398 _resultobj
= Py_None
;
4411 #define new_wxPreStaticBox() (new wxStaticBox())
4412 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4414 wxStaticBox
* _result
;
4415 char *_kwnames
[] = { NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) return NULL
;
4428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4429 _resultobj
= Py_BuildValue("s",_ptemp
);
4432 _resultobj
= Py_None
;
4437 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4438 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4441 wxStaticBox
* _arg0
;
4445 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4446 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4447 long _arg6
= (long ) 0;
4448 wxString
* _arg7
= (wxString
*) &wxPyStaticBoxNameStr
;
4449 PyObject
* _argo0
= 0;
4450 PyObject
* _argo1
= 0;
4451 PyObject
* _obj3
= 0;
4453 PyObject
* _obj4
= 0;
4455 PyObject
* _obj5
= 0;
4456 PyObject
* _obj7
= 0;
4457 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4477 _arg3
= wxString_in_helper(_obj3
);
4484 if (! wxPoint_helper(_obj4
, &_arg4
))
4490 if (! wxSize_helper(_obj5
, &_arg5
))
4495 _arg7
= wxString_in_helper(_obj7
);
4500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4501 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) return NULL
;
4505 } _resultobj
= Py_BuildValue("i",_result
);
4517 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4520 src
= (wxStaticLine
*) ptr
;
4521 dest
= (wxControl
*) src
;
4522 return (void *) dest
;
4525 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4528 src
= (wxStaticLine
*) ptr
;
4529 dest
= (wxWindow
*) src
;
4530 return (void *) dest
;
4533 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4536 src
= (wxStaticLine
*) ptr
;
4537 dest
= (wxEvtHandler
*) src
;
4538 return (void *) dest
;
4541 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4544 src
= (wxStaticLine
*) ptr
;
4545 dest
= (wxObject
*) src
;
4546 return (void *) dest
;
4549 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4550 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4552 wxStaticLine
* _result
;
4555 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4556 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4557 long _arg4
= (long ) wxLI_HORIZONTAL
;
4558 wxString
* _arg5
= (wxString
*) &wxPyStaticTextNameStr
;
4559 PyObject
* _argo0
= 0;
4561 PyObject
* _obj2
= 0;
4563 PyObject
* _obj3
= 0;
4564 PyObject
* _obj5
= 0;
4565 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4581 if (! wxPoint_helper(_obj2
, &_arg2
))
4587 if (! wxSize_helper(_obj3
, &_arg3
))
4592 _arg5
= wxString_in_helper(_obj5
);
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) return NULL
;
4603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4604 _resultobj
= Py_BuildValue("s",_ptemp
);
4607 _resultobj
= Py_None
;
4616 #define new_wxPreStaticLine() (new wxStaticLine())
4617 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4619 wxStaticLine
* _result
;
4620 char *_kwnames
[] = { NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) return NULL
;
4633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4634 _resultobj
= Py_BuildValue("s",_ptemp
);
4637 _resultobj
= Py_None
;
4642 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4643 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4646 wxStaticLine
* _arg0
;
4649 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4650 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4651 long _arg5
= (long ) wxLI_HORIZONTAL
;
4652 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4653 PyObject
* _argo0
= 0;
4654 PyObject
* _argo1
= 0;
4656 PyObject
* _obj3
= 0;
4658 PyObject
* _obj4
= 0;
4659 PyObject
* _obj6
= 0;
4660 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4682 if (! wxPoint_helper(_obj3
, &_arg3
))
4688 if (! wxSize_helper(_obj4
, &_arg4
))
4693 _arg6
= wxString_in_helper(_obj6
);
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) return NULL
;
4703 } _resultobj
= Py_BuildValue("i",_result
);
4711 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4714 src
= (wxStaticText
*) ptr
;
4715 dest
= (wxControl
*) src
;
4716 return (void *) dest
;
4719 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4722 src
= (wxStaticText
*) ptr
;
4723 dest
= (wxWindow
*) src
;
4724 return (void *) dest
;
4727 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4730 src
= (wxStaticText
*) ptr
;
4731 dest
= (wxEvtHandler
*) src
;
4732 return (void *) dest
;
4735 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4738 src
= (wxStaticText
*) ptr
;
4739 dest
= (wxObject
*) src
;
4740 return (void *) dest
;
4743 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4744 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4746 wxStaticText
* _result
;
4750 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4751 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4752 long _arg5
= (long ) 0;
4753 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4754 PyObject
* _argo0
= 0;
4755 PyObject
* _obj2
= 0;
4757 PyObject
* _obj3
= 0;
4759 PyObject
* _obj4
= 0;
4760 PyObject
* _obj6
= 0;
4761 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4775 _arg2
= wxString_in_helper(_obj2
);
4782 if (! wxPoint_helper(_obj3
, &_arg3
))
4788 if (! wxSize_helper(_obj4
, &_arg4
))
4793 _arg6
= wxString_in_helper(_obj6
);
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) return NULL
;
4804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4805 _resultobj
= Py_BuildValue("s",_ptemp
);
4808 _resultobj
= Py_None
;
4821 #define new_wxPreStaticText() (new wxStaticText())
4822 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
* _resultobj
;
4824 wxStaticText
* _result
;
4825 char *_kwnames
[] = { NULL
};
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4833 _result
= (wxStaticText
*)new_wxPreStaticText();
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) return NULL
;
4838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4839 _resultobj
= Py_BuildValue("s",_ptemp
);
4842 _resultobj
= Py_None
;
4847 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4848 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4851 wxStaticText
* _arg0
;
4855 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4856 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4857 long _arg6
= (long ) 0;
4858 wxString
* _arg7
= (wxString
*) &wxPyStaticTextNameStr
;
4859 PyObject
* _argo0
= 0;
4860 PyObject
* _argo1
= 0;
4861 PyObject
* _obj3
= 0;
4863 PyObject
* _obj4
= 0;
4865 PyObject
* _obj5
= 0;
4866 PyObject
* _obj7
= 0;
4867 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4887 _arg3
= wxString_in_helper(_obj3
);
4894 if (! wxPoint_helper(_obj4
, &_arg4
))
4900 if (! wxSize_helper(_obj5
, &_arg5
))
4905 _arg7
= wxString_in_helper(_obj7
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) return NULL
;
4915 } _resultobj
= Py_BuildValue("i",_result
);
4927 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4928 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4931 wxStaticText
* _arg0
;
4932 PyObject
* _argo0
= 0;
4933 char *_kwnames
[] = { "self", NULL
};
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) return NULL
;
4953 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4955 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4964 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4965 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4967 wxStaticText
* _arg0
;
4969 PyObject
* _argo0
= 0;
4970 PyObject
* _obj1
= 0;
4971 char *_kwnames
[] = { "self","label", NULL
};
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4984 _arg1
= wxString_in_helper(_obj1
);
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 wxStaticText_SetLabel(_arg0
,*_arg1
);
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) return NULL
;
4994 } Py_INCREF(Py_None
);
4995 _resultobj
= Py_None
;
5003 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
5005 wxControlWithItems
*dest
;
5006 src
= (wxListBox
*) ptr
;
5007 dest
= (wxControlWithItems
*) src
;
5008 return (void *) dest
;
5011 static void *SwigwxListBoxTowxControl(void *ptr
) {
5014 src
= (wxListBox
*) ptr
;
5015 dest
= (wxControl
*) src
;
5016 return (void *) dest
;
5019 static void *SwigwxListBoxTowxWindow(void *ptr
) {
5022 src
= (wxListBox
*) ptr
;
5023 dest
= (wxWindow
*) src
;
5024 return (void *) dest
;
5027 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
5030 src
= (wxListBox
*) ptr
;
5031 dest
= (wxEvtHandler
*) src
;
5032 return (void *) dest
;
5035 static void *SwigwxListBoxTowxObject(void *ptr
) {
5038 src
= (wxListBox
*) ptr
;
5039 dest
= (wxObject
*) src
;
5040 return (void *) dest
;
5043 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5044 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5046 wxListBox
* _result
;
5049 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5050 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5052 wxString
* _arg5
= (wxString
*) NULL
;
5053 long _arg6
= (long ) 0;
5054 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5055 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
5056 PyObject
* _argo0
= 0;
5058 PyObject
* _obj2
= 0;
5060 PyObject
* _obj3
= 0;
5061 PyObject
* _obj5
= 0;
5062 PyObject
* _argo7
= 0;
5063 PyObject
* _obj8
= 0;
5064 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
5080 if (! wxPoint_helper(_obj2
, &_arg2
))
5086 if (! wxSize_helper(_obj3
, &_arg3
))
5091 _arg5
= wxString_LIST_helper(_obj5
);
5092 if (_arg5
== NULL
) {
5097 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
5104 _arg8
= wxString_in_helper(_obj8
);
5110 _arg4
= PyList_Size(_obj5
);
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) return NULL
;
5123 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
5124 _resultobj
= Py_BuildValue("s",_ptemp
);
5127 _resultobj
= Py_None
;
5139 #define new_wxPreListBox() (new wxListBox())
5140 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5142 wxListBox
* _result
;
5143 char *_kwnames
[] = { NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 _result
= (wxListBox
*)new_wxPreListBox();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) return NULL
;
5156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
5157 _resultobj
= Py_BuildValue("s",_ptemp
);
5160 _resultobj
= Py_None
;
5165 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5166 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5167 PyObject
* _resultobj
;
5172 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5173 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5175 wxString
* _arg6
= (wxString
*) NULL
;
5176 long _arg7
= (long ) 0;
5177 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5178 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5179 PyObject
* _argo0
= 0;
5180 PyObject
* _argo1
= 0;
5182 PyObject
* _obj3
= 0;
5184 PyObject
* _obj4
= 0;
5185 PyObject
* _obj6
= 0;
5186 PyObject
* _argo8
= 0;
5187 PyObject
* _obj9
= 0;
5188 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
5201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
5210 if (! wxPoint_helper(_obj3
, &_arg3
))
5216 if (! wxSize_helper(_obj4
, &_arg4
))
5221 _arg6
= wxString_LIST_helper(_obj6
);
5222 if (_arg6
== NULL
) {
5227 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
5234 _arg9
= wxString_in_helper(_obj9
);
5240 _arg5
= PyList_Size(_obj6
);
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) return NULL
;
5252 } _resultobj
= Py_BuildValue("i",_result
);
5263 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
5264 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5267 PyObject
* _argo0
= 0;
5268 char *_kwnames
[] = { "self", NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
5274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 wxListBox_Clear(_arg0
);
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) return NULL
;
5286 } Py_INCREF(Py_None
);
5287 _resultobj
= Py_None
;
5291 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5292 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
* _resultobj
;
5296 PyObject
* _argo0
= 0;
5297 char *_kwnames
[] = { "self","n", NULL
};
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
5303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 wxListBox_Deselect(_arg0
,_arg1
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) return NULL
;
5315 } Py_INCREF(Py_None
);
5316 _resultobj
= Py_None
;
5320 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
5322 self
->GetSelections(lst
);
5323 PyObject
*tup
= PyTuple_New(lst
.GetCount());
5324 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
5325 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
5329 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
* _resultobj
;
5333 PyObject
* _argo0
= 0;
5334 char *_kwnames
[] = { "self", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5353 _resultobj
= _result
;
5358 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5359 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5365 PyObject
* _argo0
= 0;
5366 PyObject
* _obj2
= 0;
5367 char *_kwnames
[] = { "self","choices","pos", NULL
};
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5380 _arg2
= wxString_LIST_helper(_obj2
);
5381 if (_arg2
== NULL
) {
5387 _arg1
= PyList_Size(_obj2
);
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) return NULL
;
5399 } Py_INCREF(Py_None
);
5400 _resultobj
= Py_None
;
5407 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5408 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5413 PyObject
* _argo0
= 0;
5414 char *_kwnames
[] = { "self","n", NULL
};
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) return NULL
;
5432 } _resultobj
= Py_BuildValue("i",_result
);
5436 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5437 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5442 PyObject
* _argo0
= 0;
5443 char *_kwnames
[] = { "self","n", NULL
};
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) return NULL
;
5461 } _resultobj
= Py_BuildValue("i",_result
);
5465 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5466 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5471 PyObject
* _argo0
= 0;
5472 PyObject
* _obj2
= 0;
5473 char *_kwnames
[] = { "self","choices", NULL
};
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5487 _arg2
= wxString_LIST_helper(_obj2
);
5488 if (_arg2
== NULL
) {
5494 _arg1
= PyList_Size(_obj2
);
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) return NULL
;
5506 } Py_INCREF(Py_None
);
5507 _resultobj
= Py_None
;
5514 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5515 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
* _resultobj
;
5519 PyObject
* _argo0
= 0;
5520 char *_kwnames
[] = { "self","n", NULL
};
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 wxListBox_SetFirstItem(_arg0
,_arg1
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) return NULL
;
5538 } Py_INCREF(Py_None
);
5539 _resultobj
= Py_None
;
5543 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5544 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
* _resultobj
;
5548 PyObject
* _argo0
= 0;
5549 PyObject
* _obj1
= 0;
5550 char *_kwnames
[] = { "self","string", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5563 _arg1
= wxString_in_helper(_obj1
);
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) return NULL
;
5573 } Py_INCREF(Py_None
);
5574 _resultobj
= Py_None
;
5582 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5583 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5587 bool _arg2
= (bool ) TRUE
;
5588 PyObject
* _argo0
= 0;
5589 int tempbool2
= (int) TRUE
;
5590 char *_kwnames
[] = { "self","n","select", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5602 _arg2
= (bool ) tempbool2
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) return NULL
;
5609 } Py_INCREF(Py_None
);
5610 _resultobj
= Py_None
;
5614 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5615 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 PyObject
* _obj2
= 0;
5622 char *_kwnames
[] = { "self","n","string", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5635 _arg2
= wxString_in_helper(_obj2
);
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) return NULL
;
5645 } Py_INCREF(Py_None
);
5646 _resultobj
= Py_None
;
5654 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5655 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
* _resultobj
;
5659 bool _arg2
= (bool ) TRUE
;
5660 PyObject
* _argo0
= 0;
5661 PyObject
* _obj1
= 0;
5662 int tempbool2
= (int) TRUE
;
5663 char *_kwnames
[] = { "self","string","select", NULL
};
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5676 _arg1
= wxString_in_helper(_obj1
);
5680 _arg2
= (bool ) tempbool2
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) return NULL
;
5687 } Py_INCREF(Py_None
);
5688 _resultobj
= Py_None
;
5696 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5697 wxCheckListBox
*src
;
5699 src
= (wxCheckListBox
*) ptr
;
5700 dest
= (wxListBox
*) src
;
5701 return (void *) dest
;
5704 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5705 wxCheckListBox
*src
;
5706 wxControlWithItems
*dest
;
5707 src
= (wxCheckListBox
*) ptr
;
5708 dest
= (wxControlWithItems
*) src
;
5709 return (void *) dest
;
5712 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5713 wxCheckListBox
*src
;
5715 src
= (wxCheckListBox
*) ptr
;
5716 dest
= (wxControl
*) src
;
5717 return (void *) dest
;
5720 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5721 wxCheckListBox
*src
;
5723 src
= (wxCheckListBox
*) ptr
;
5724 dest
= (wxWindow
*) src
;
5725 return (void *) dest
;
5728 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5729 wxCheckListBox
*src
;
5731 src
= (wxCheckListBox
*) ptr
;
5732 dest
= (wxEvtHandler
*) src
;
5733 return (void *) dest
;
5736 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5737 wxCheckListBox
*src
;
5739 src
= (wxCheckListBox
*) ptr
;
5740 dest
= (wxObject
*) src
;
5741 return (void *) dest
;
5744 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5745 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
* _resultobj
;
5747 wxCheckListBox
* _result
;
5750 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5751 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5752 int _arg4
= (int ) 0;
5753 wxString
* _arg5
= (wxString
*) NULL
;
5754 long _arg6
= (long ) 0;
5755 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5756 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
5757 PyObject
* _argo0
= 0;
5759 PyObject
* _obj2
= 0;
5761 PyObject
* _obj3
= 0;
5762 PyObject
* _obj5
= 0;
5763 PyObject
* _argo7
= 0;
5764 PyObject
* _obj8
= 0;
5765 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
5772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5781 if (! wxPoint_helper(_obj2
, &_arg2
))
5787 if (! wxSize_helper(_obj3
, &_arg3
))
5792 _arg5
= wxString_LIST_helper(_obj5
);
5793 if (_arg5
== NULL
) {
5798 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5805 _arg8
= wxString_in_helper(_obj8
);
5811 _arg4
= PyList_Size(_obj5
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5825 _resultobj
= Py_BuildValue("s",_ptemp
);
5828 _resultobj
= Py_None
;
5840 #define new_wxPreCheckListBox() (new wxCheckListBox())
5841 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
* _resultobj
;
5843 wxCheckListBox
* _result
;
5844 char *_kwnames
[] = { NULL
};
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5852 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5854 wxPyEndAllowThreads(__tstate
);
5855 if (PyErr_Occurred()) return NULL
;
5857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5858 _resultobj
= Py_BuildValue("s",_ptemp
);
5861 _resultobj
= Py_None
;
5866 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5867 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
* _resultobj
;
5870 wxCheckListBox
* _arg0
;
5873 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5874 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5875 int _arg5
= (int ) 0;
5876 wxString
* _arg6
= (wxString
*) NULL
;
5877 long _arg7
= (long ) 0;
5878 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5879 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5880 PyObject
* _argo0
= 0;
5881 PyObject
* _argo1
= 0;
5883 PyObject
* _obj3
= 0;
5885 PyObject
* _obj4
= 0;
5886 PyObject
* _obj6
= 0;
5887 PyObject
* _argo8
= 0;
5888 PyObject
* _obj9
= 0;
5889 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5911 if (! wxPoint_helper(_obj3
, &_arg3
))
5917 if (! wxSize_helper(_obj4
, &_arg4
))
5922 _arg6
= wxString_LIST_helper(_obj6
);
5923 if (_arg6
== NULL
) {
5928 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5935 _arg9
= wxString_in_helper(_obj9
);
5941 _arg5
= PyList_Size(_obj6
);
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) return NULL
;
5953 } _resultobj
= Py_BuildValue("i",_result
);
5964 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5965 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5968 wxCheckListBox
* _arg0
;
5970 PyObject
* _argo0
= 0;
5971 char *_kwnames
[] = { "self","uiIndex", NULL
};
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) return NULL
;
5989 } _resultobj
= Py_BuildValue("i",_result
);
5993 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5994 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5996 wxCheckListBox
* _arg0
;
5998 int _arg2
= (int ) TRUE
;
5999 PyObject
* _argo0
= 0;
6000 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) return NULL
;
6018 } Py_INCREF(Py_None
);
6019 _resultobj
= Py_None
;
6023 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
6024 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
* _resultobj
;
6026 wxCheckListBox
* _arg0
;
6030 PyObject
* _argo0
= 0;
6031 PyObject
* _obj2
= 0;
6032 char *_kwnames
[] = { "self","choices","pos", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
6045 _arg2
= wxString_LIST_helper(_obj2
);
6046 if (_arg2
== NULL
) {
6052 _arg1
= PyList_Size(_obj2
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) return NULL
;
6064 } Py_INCREF(Py_None
);
6065 _resultobj
= Py_None
;
6072 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
6073 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
* _resultobj
;
6076 wxCheckListBox
* _arg0
;
6077 PyObject
* _argo0
= 0;
6078 char *_kwnames
[] = { "self", NULL
};
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
6084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
6086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) return NULL
;
6096 } _resultobj
= Py_BuildValue("i",_result
);
6100 #define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
6101 static PyObject
*_wrap_wxCheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
* _resultobj
;
6104 wxCheckListBox
* _arg0
;
6106 PyObject
* _argo0
= 0;
6108 PyObject
* _obj1
= 0;
6109 char *_kwnames
[] = { "self","pt", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCheckListBox_HitTest",_kwnames
,&_argo0
,&_obj1
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
6123 if (! wxPoint_helper(_obj1
, &_arg1
))
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 _result
= (int )wxCheckListBox_HitTest(_arg0
,*_arg1
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) return NULL
;
6132 } _resultobj
= Py_BuildValue("i",_result
);
6136 #define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
6137 static PyObject
*_wrap_wxCheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
* _resultobj
;
6140 wxCheckListBox
* _arg0
;
6143 PyObject
* _argo0
= 0;
6144 char *_kwnames
[] = { "self","x","y", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCheckListBox_HitTestXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 _result
= (int )wxCheckListBox_HitTestXY(_arg0
,_arg1
,_arg2
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) return NULL
;
6162 } _resultobj
= Py_BuildValue("i",_result
);
6166 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6167 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
* _resultobj
;
6169 wxTextAttr
* _result
;
6170 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
6171 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
6172 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
6173 wxTextAttrAlignment _arg3
= (wxTextAttrAlignment
) (wxTEXT_ALIGNMENT_DEFAULT
);
6175 PyObject
* _obj0
= 0;
6177 PyObject
* _obj1
= 0;
6178 PyObject
* _argo2
= 0;
6179 char *_kwnames
[] = { "colText","colBack","font","alignment", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOi:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
,&_arg3
))
6188 if (! wxColour_helper(_obj0
, &_arg0
))
6194 if (! wxColour_helper(_obj1
, &_arg1
))
6198 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
,_arg3
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) return NULL
;
6210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6211 _resultobj
= Py_BuildValue("s",_ptemp
);
6214 _resultobj
= Py_None
;
6219 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
6220 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6223 PyObject
* _argo0
= 0;
6224 char *_kwnames
[] = { "self", NULL
};
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
6230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 delete_wxTextAttr(_arg0
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) return NULL
;
6242 } Py_INCREF(Py_None
);
6243 _resultobj
= Py_None
;
6247 #define wxTextAttr_Init(_swigobj) (_swigobj->Init())
6248 static PyObject
*_wrap_wxTextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6251 PyObject
* _argo0
= 0;
6252 char *_kwnames
[] = { "self", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_Init",_kwnames
,&_argo0
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p.");
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 wxTextAttr_Init(_arg0
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) return NULL
;
6270 } Py_INCREF(Py_None
);
6271 _resultobj
= Py_None
;
6275 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6276 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6280 PyObject
* _argo0
= 0;
6282 PyObject
* _obj1
= 0;
6283 char *_kwnames
[] = { "self","colText", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
6297 if (! wxColour_helper(_obj1
, &_arg1
))
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) return NULL
;
6306 } Py_INCREF(Py_None
);
6307 _resultobj
= Py_None
;
6311 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6312 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6316 PyObject
* _argo0
= 0;
6318 PyObject
* _obj1
= 0;
6319 char *_kwnames
[] = { "self","colBack", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6333 if (! wxColour_helper(_obj1
, &_arg1
))
6337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6338 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) return NULL
;
6342 } Py_INCREF(Py_None
);
6343 _resultobj
= Py_None
;
6347 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6348 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6352 PyObject
* _argo0
= 0;
6353 PyObject
* _argo1
= 0;
6354 char *_kwnames
[] = { "self","font", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6367 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 wxTextAttr_SetFont(_arg0
,*_arg1
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) return NULL
;
6378 } Py_INCREF(Py_None
);
6379 _resultobj
= Py_None
;
6383 #define wxTextAttr_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
6384 static PyObject
*_wrap_wxTextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6385 PyObject
* _resultobj
;
6387 wxTextAttrAlignment _arg1
;
6388 PyObject
* _argo0
= 0;
6389 char *_kwnames
[] = { "self","alignment", NULL
};
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
6395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p.");
6402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 wxTextAttr_SetAlignment(_arg0
,_arg1
);
6405 wxPyEndAllowThreads(__tstate
);
6406 if (PyErr_Occurred()) return NULL
;
6407 } Py_INCREF(Py_None
);
6408 _resultobj
= Py_None
;
6412 #define wxTextAttr_SetTabs(_swigobj,_swigarg0) (_swigobj->SetTabs(_swigarg0))
6413 static PyObject
*_wrap_wxTextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6417 PyObject
* _argo0
= 0;
6418 PyObject
* _obj1
= 0;
6419 char *_kwnames
[] = { "self","tabs", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTabs",_kwnames
,&_argo0
,&_obj1
))
6425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p.");
6432 if (! PySequence_Check(_obj1
)) {
6433 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6436 _arg1
= new wxArrayInt
;
6437 int i
, len
=PySequence_Length(_obj1
);
6438 for (i
=0; i
<len
; i
++) {
6439 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
6440 PyObject
* number
= PyNumber_Int(item
);
6441 _arg1
->Add(PyInt_AS_LONG(number
));
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxTextAttr_SetTabs(_arg0
,*_arg1
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) return NULL
;
6452 } Py_INCREF(Py_None
);
6453 _resultobj
= Py_None
;
6461 #define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0) (_swigobj->SetLeftIndent(_swigarg0))
6462 static PyObject
*_wrap_wxTextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
* _resultobj
;
6466 PyObject
* _argo0
= 0;
6467 char *_kwnames
[] = { "self","indent", NULL
};
6470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetLeftIndent",_kwnames
,&_argo0
,&_arg1
))
6473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p.");
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 wxTextAttr_SetLeftIndent(_arg0
,_arg1
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) return NULL
;
6485 } Py_INCREF(Py_None
);
6486 _resultobj
= Py_None
;
6490 #define wxTextAttr_SetRightIndent(_swigobj,_swigarg0) (_swigobj->SetRightIndent(_swigarg0))
6491 static PyObject
*_wrap_wxTextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self","indent", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetRightIndent",_kwnames
,&_argo0
,&_arg1
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p.");
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 wxTextAttr_SetRightIndent(_arg0
,_arg1
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) return NULL
;
6514 } Py_INCREF(Py_None
);
6515 _resultobj
= Py_None
;
6519 #define wxTextAttr_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
6520 static PyObject
*_wrap_wxTextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6524 PyObject
* _argo0
= 0;
6525 char *_kwnames
[] = { "self","flags", NULL
};
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextAttr_SetFlags",_kwnames
,&_argo0
,&_arg1
))
6531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p.");
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 wxTextAttr_SetFlags(_arg0
,_arg1
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) return NULL
;
6543 } Py_INCREF(Py_None
);
6544 _resultobj
= Py_None
;
6548 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6549 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6553 PyObject
* _argo0
= 0;
6554 char *_kwnames
[] = { "self", NULL
};
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) return NULL
;
6572 } _resultobj
= Py_BuildValue("i",_result
);
6576 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6577 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
* _resultobj
;
6581 PyObject
* _argo0
= 0;
6582 char *_kwnames
[] = { "self", NULL
};
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) return NULL
;
6600 } _resultobj
= Py_BuildValue("i",_result
);
6604 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6605 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
* _resultobj
;
6609 PyObject
* _argo0
= 0;
6610 char *_kwnames
[] = { "self", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) return NULL
;
6628 } _resultobj
= Py_BuildValue("i",_result
);
6632 #define wxTextAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
6633 static PyObject
*_wrap_wxTextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
* _resultobj
;
6637 PyObject
* _argo0
= 0;
6638 char *_kwnames
[] = { "self", NULL
};
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasAlignment",_kwnames
,&_argo0
))
6644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p.");
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 _result
= (bool )wxTextAttr_HasAlignment(_arg0
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) return NULL
;
6656 } _resultobj
= Py_BuildValue("i",_result
);
6660 #define wxTextAttr_HasTabs(_swigobj) (_swigobj->HasTabs())
6661 static PyObject
*_wrap_wxTextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6665 PyObject
* _argo0
= 0;
6666 char *_kwnames
[] = { "self", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTabs",_kwnames
,&_argo0
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p.");
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 _result
= (bool )wxTextAttr_HasTabs(_arg0
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) return NULL
;
6684 } _resultobj
= Py_BuildValue("i",_result
);
6688 #define wxTextAttr_HasLeftIndent(_swigobj) (_swigobj->HasLeftIndent())
6689 static PyObject
*_wrap_wxTextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
* _resultobj
;
6693 PyObject
* _argo0
= 0;
6694 char *_kwnames
[] = { "self", NULL
};
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasLeftIndent",_kwnames
,&_argo0
))
6700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p.");
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 _result
= (bool )wxTextAttr_HasLeftIndent(_arg0
);
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) return NULL
;
6712 } _resultobj
= Py_BuildValue("i",_result
);
6716 #define wxTextAttr_HasRightIndent(_swigobj) (_swigobj->HasRightIndent())
6717 static PyObject
*_wrap_wxTextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
* _resultobj
;
6721 PyObject
* _argo0
= 0;
6722 char *_kwnames
[] = { "self", NULL
};
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasRightIndent",_kwnames
,&_argo0
))
6728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p.");
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 _result
= (bool )wxTextAttr_HasRightIndent(_arg0
);
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) return NULL
;
6740 } _resultobj
= Py_BuildValue("i",_result
);
6744 #define wxTextAttr_HasFlag(_swigobj,_swigarg0) (_swigobj->HasFlag(_swigarg0))
6745 static PyObject
*_wrap_wxTextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6750 PyObject
* _argo0
= 0;
6751 char *_kwnames
[] = { "self","flag", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextAttr_HasFlag",_kwnames
,&_argo0
,&_arg1
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p.");
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 _result
= (bool )wxTextAttr_HasFlag(_arg0
,_arg1
);
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) return NULL
;
6769 } _resultobj
= Py_BuildValue("i",_result
);
6773 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6774 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
* _resultobj
;
6778 PyObject
* _argo0
= 0;
6779 char *_kwnames
[] = { "self", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) return NULL
;
6798 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6799 _resultobj
= Py_BuildValue("s",_ptemp
);
6803 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6804 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6808 PyObject
* _argo0
= 0;
6809 char *_kwnames
[] = { "self", NULL
};
6813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) return NULL
;
6828 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6829 _resultobj
= Py_BuildValue("s",_ptemp
);
6833 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6834 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
* _resultobj
;
6838 PyObject
* _argo0
= 0;
6839 char *_kwnames
[] = { "self", NULL
};
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) return NULL
;
6858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6859 _resultobj
= Py_BuildValue("s",_ptemp
);
6863 #define wxTextAttr_GetAlignment(_swigobj) (_swigobj->GetAlignment())
6864 static PyObject
*_wrap_wxTextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6866 wxTextAttrAlignment _result
;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "self", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetAlignment",_kwnames
,&_argo0
))
6875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p.");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 _result
= (wxTextAttrAlignment
)wxTextAttr_GetAlignment(_arg0
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6887 } _resultobj
= Py_BuildValue("i",_result
);
6891 #define wxTextAttr_GetTabs(_swigobj) (_swigobj->GetTabs())
6892 static PyObject
*_wrap_wxTextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
* _resultobj
;
6894 wxArrayInt
* _result
;
6896 PyObject
* _argo0
= 0;
6897 char *_kwnames
[] = { "self", NULL
};
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTabs",_kwnames
,&_argo0
))
6903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p.");
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 const wxArrayInt
& _result_ref
= wxTextAttr_GetTabs(_arg0
);
6912 _result
= (wxArrayInt
*) &_result_ref
;
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) return NULL
;
6917 _resultobj
= PyList_New(0);
6919 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
6920 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
6921 PyList_Append(_resultobj
, val
);
6928 #define wxTextAttr_GetLeftIndent(_swigobj) (_swigobj->GetLeftIndent())
6929 static PyObject
*_wrap_wxTextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
* _resultobj
;
6933 PyObject
* _argo0
= 0;
6934 char *_kwnames
[] = { "self", NULL
};
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetLeftIndent",_kwnames
,&_argo0
))
6940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p.");
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 _result
= (long )wxTextAttr_GetLeftIndent(_arg0
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) return NULL
;
6952 } _resultobj
= Py_BuildValue("l",_result
);
6956 #define wxTextAttr_GetRightIndent(_swigobj) (_swigobj->GetRightIndent())
6957 static PyObject
*_wrap_wxTextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 char *_kwnames
[] = { "self", NULL
};
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetRightIndent",_kwnames
,&_argo0
))
6968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p.");
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 _result
= (long )wxTextAttr_GetRightIndent(_arg0
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) return NULL
;
6980 } _resultobj
= Py_BuildValue("l",_result
);
6984 #define wxTextAttr_GetFlags(_swigobj) (_swigobj->GetFlags())
6985 static PyObject
*_wrap_wxTextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6986 PyObject
* _resultobj
;
6989 PyObject
* _argo0
= 0;
6990 char *_kwnames
[] = { "self", NULL
};
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFlags",_kwnames
,&_argo0
))
6996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p.");
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 _result
= (long )wxTextAttr_GetFlags(_arg0
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } _resultobj
= Py_BuildValue("l",_result
);
7012 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
7013 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7017 PyObject
* _argo0
= 0;
7018 char *_kwnames
[] = { "self", NULL
};
7021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
7024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
7026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) return NULL
;
7036 } _resultobj
= Py_BuildValue("i",_result
);
7040 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7042 wxTextAttr
* _result
;
7046 PyObject
* _argo0
= 0;
7047 PyObject
* _argo1
= 0;
7048 PyObject
* _argo2
= 0;
7049 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
7056 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
7057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
7062 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
7068 if (_argo2
== Py_None
) { _arg2
= NULL
; }
7069 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
7070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) return NULL
;
7080 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
7081 _resultobj
= Py_BuildValue("s",_ptemp
);
7085 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
7088 src
= (wxTextCtrl
*) ptr
;
7089 dest
= (wxControl
*) src
;
7090 return (void *) dest
;
7093 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
7096 src
= (wxTextCtrl
*) ptr
;
7097 dest
= (wxWindow
*) src
;
7098 return (void *) dest
;
7101 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
7104 src
= (wxTextCtrl
*) ptr
;
7105 dest
= (wxEvtHandler
*) src
;
7106 return (void *) dest
;
7109 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
7112 src
= (wxTextCtrl
*) ptr
;
7113 dest
= (wxObject
*) src
;
7114 return (void *) dest
;
7117 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7118 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
* _resultobj
;
7120 wxTextCtrl
* _result
;
7123 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
7124 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7125 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7126 long _arg5
= (long ) 0;
7127 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7128 wxString
* _arg7
= (wxString
*) &wxPyTextCtrlNameStr
;
7129 PyObject
* _argo0
= 0;
7130 PyObject
* _obj2
= 0;
7132 PyObject
* _obj3
= 0;
7134 PyObject
* _obj4
= 0;
7135 PyObject
* _argo6
= 0;
7136 PyObject
* _obj7
= 0;
7137 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
7144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
7152 _arg2
= wxString_in_helper(_obj2
);
7159 if (! wxPoint_helper(_obj3
, &_arg3
))
7165 if (! wxSize_helper(_obj4
, &_arg4
))
7169 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
7176 _arg7
= wxString_in_helper(_obj7
);
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) return NULL
;
7187 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7188 _resultobj
= Py_BuildValue("s",_ptemp
);
7191 _resultobj
= Py_None
;
7204 #define new_wxPreTextCtrl() (new wxTextCtrl())
7205 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7207 wxTextCtrl
* _result
;
7208 char *_kwnames
[] = { NULL
};
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) return NULL
;
7221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
7222 _resultobj
= Py_BuildValue("s",_ptemp
);
7225 _resultobj
= Py_None
;
7230 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7231 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
* _resultobj
;
7237 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
7238 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
7239 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
7240 long _arg6
= (long ) 0;
7241 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
7242 wxString
* _arg8
= (wxString
*) &wxPyTextCtrlNameStr
;
7243 PyObject
* _argo0
= 0;
7244 PyObject
* _argo1
= 0;
7245 PyObject
* _obj3
= 0;
7247 PyObject
* _obj4
= 0;
7249 PyObject
* _obj5
= 0;
7250 PyObject
* _argo7
= 0;
7251 PyObject
* _obj8
= 0;
7252 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
7265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
7273 _arg3
= wxString_in_helper(_obj3
);
7280 if (! wxPoint_helper(_obj4
, &_arg4
))
7286 if (! wxSize_helper(_obj5
, &_arg5
))
7290 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
7297 _arg8
= wxString_in_helper(_obj8
);
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) return NULL
;
7307 } _resultobj
= Py_BuildValue("i",_result
);
7319 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7320 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
* _resultobj
;
7324 PyObject
* _argo0
= 0;
7325 char *_kwnames
[] = { "self", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) return NULL
;
7345 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7347 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7356 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7357 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
* _resultobj
;
7361 PyObject
* _argo0
= 0;
7362 PyObject
* _obj1
= 0;
7363 char *_kwnames
[] = { "self","value", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
7376 _arg1
= wxString_in_helper(_obj1
);
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 wxTextCtrl_SetValue(_arg0
,*_arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) return NULL
;
7386 } Py_INCREF(Py_None
);
7387 _resultobj
= Py_None
;
7395 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
7396 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
* _resultobj
;
7402 PyObject
* _argo0
= 0;
7403 char *_kwnames
[] = { "self","from","to", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) return NULL
;
7423 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7434 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
7435 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7440 PyObject
* _argo0
= 0;
7441 char *_kwnames
[] = { "self","lineNo", NULL
};
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
7447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) return NULL
;
7459 } _resultobj
= Py_BuildValue("i",_result
);
7463 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
7464 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
* _resultobj
;
7469 PyObject
* _argo0
= 0;
7470 char *_kwnames
[] = { "self","lineNo", NULL
};
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
7476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) return NULL
;
7490 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7492 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7501 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
7502 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
* _resultobj
;
7506 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) return NULL
;
7525 } _resultobj
= Py_BuildValue("i",_result
);
7529 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
7530 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
* _resultobj
;
7534 PyObject
* _argo0
= 0;
7535 char *_kwnames
[] = { "self", NULL
};
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
7541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) return NULL
;
7553 } _resultobj
= Py_BuildValue("i",_result
);
7557 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7558 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7559 PyObject
* _resultobj
;
7562 PyObject
* _argo0
= 0;
7563 char *_kwnames
[] = { "self", NULL
};
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
7569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
7576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7577 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) return NULL
;
7581 } _resultobj
= Py_BuildValue("i",_result
);
7585 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7586 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
* _resultobj
;
7593 PyObject
* _argo0
= 0;
7594 char *_kwnames
[] = { "self", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) return NULL
;
7618 } Py_INCREF(Py_None
);
7619 _resultobj
= Py_None
;
7622 o
= PyInt_FromLong((long) (*_arg1
));
7623 _resultobj
= t_output_helper(_resultobj
, o
);
7627 o
= PyInt_FromLong((long) (*_arg2
));
7628 _resultobj
= t_output_helper(_resultobj
, o
);
7633 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7634 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
* _resultobj
;
7638 PyObject
* _argo0
= 0;
7639 char *_kwnames
[] = { "self", NULL
};
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
7645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) return NULL
;
7659 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7661 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7670 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
7671 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7674 PyObject
* _argo0
= 0;
7675 char *_kwnames
[] = { "self", NULL
};
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
7681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 wxTextCtrl_Clear(_arg0
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) return NULL
;
7693 } Py_INCREF(Py_None
);
7694 _resultobj
= Py_None
;
7698 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7699 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
* _resultobj
;
7705 PyObject
* _argo0
= 0;
7706 PyObject
* _obj3
= 0;
7707 char *_kwnames
[] = { "self","from","to","value", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
7713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
7720 _arg3
= wxString_in_helper(_obj3
);
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) return NULL
;
7730 } Py_INCREF(Py_None
);
7731 _resultobj
= Py_None
;
7739 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7740 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
* _resultobj
;
7745 PyObject
* _argo0
= 0;
7746 char *_kwnames
[] = { "self","from","to", NULL
};
7749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) return NULL
;
7764 } Py_INCREF(Py_None
);
7765 _resultobj
= Py_None
;
7769 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
7770 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7771 PyObject
* _resultobj
;
7775 PyObject
* _argo0
= 0;
7776 PyObject
* _obj1
= 0;
7777 char *_kwnames
[] = { "self","file", NULL
};
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
7783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7790 _arg1
= wxString_in_helper(_obj1
);
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) return NULL
;
7800 } _resultobj
= Py_BuildValue("i",_result
);
7808 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7809 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
* _resultobj
;
7813 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
7814 PyObject
* _argo0
= 0;
7815 PyObject
* _obj1
= 0;
7816 char *_kwnames
[] = { "self","file", NULL
};
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
7822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
7830 _arg1
= wxString_in_helper(_obj1
);
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) return NULL
;
7840 } _resultobj
= Py_BuildValue("i",_result
);
7848 #define wxTextCtrl_MarkDirty(_swigobj) (_swigobj->MarkDirty())
7849 static PyObject
*_wrap_wxTextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
* _resultobj
;
7852 PyObject
* _argo0
= 0;
7853 char *_kwnames
[] = { "self", NULL
};
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_MarkDirty",_kwnames
,&_argo0
))
7859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_MarkDirty. Expected _wxTextCtrl_p.");
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 wxTextCtrl_MarkDirty(_arg0
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) return NULL
;
7871 } Py_INCREF(Py_None
);
7872 _resultobj
= Py_None
;
7876 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7877 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
* _resultobj
;
7880 PyObject
* _argo0
= 0;
7881 char *_kwnames
[] = { "self", NULL
};
7884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
7887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 wxTextCtrl_DiscardEdits(_arg0
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) return NULL
;
7899 } Py_INCREF(Py_None
);
7900 _resultobj
= Py_None
;
7904 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7905 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
* _resultobj
;
7908 unsigned long _arg1
;
7909 PyObject
* _argo0
= 0;
7910 char *_kwnames
[] = { "self","len", NULL
};
7913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) return NULL
;
7928 } Py_INCREF(Py_None
);
7929 _resultobj
= Py_None
;
7933 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7934 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
* _resultobj
;
7938 PyObject
* _argo0
= 0;
7939 PyObject
* _obj1
= 0;
7940 char *_kwnames
[] = { "self","text", NULL
};
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7953 _arg1
= wxString_in_helper(_obj1
);
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) return NULL
;
7963 } Py_INCREF(Py_None
);
7964 _resultobj
= Py_None
;
7972 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7973 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
* _resultobj
;
7977 PyObject
* _argo0
= 0;
7978 PyObject
* _obj1
= 0;
7979 char *_kwnames
[] = { "self","text", NULL
};
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7992 _arg1
= wxString_in_helper(_obj1
);
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 wxTextCtrl_AppendText(_arg0
,*_arg1
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) return NULL
;
8002 } Py_INCREF(Py_None
);
8003 _resultobj
= Py_None
;
8011 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
8012 static PyObject
*_wrap_wxTextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8017 PyObject
* _argo0
= 0;
8018 PyObject
* _argo1
= 0;
8019 char *_kwnames
[] = { "self","event", NULL
};
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_EmulateKeyPress",_kwnames
,&_argo0
,&_argo1
))
8025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
8032 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
8033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 _result
= (bool )wxTextCtrl_EmulateKeyPress(_arg0
,*_arg1
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) return NULL
;
8043 } _resultobj
= Py_BuildValue("i",_result
);
8047 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
8048 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
* _resultobj
;
8055 PyObject
* _argo0
= 0;
8056 PyObject
* _argo3
= 0;
8057 char *_kwnames
[] = { "self","start","end","style", NULL
};
8060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
8063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
8070 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
8071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) return NULL
;
8081 } _resultobj
= Py_BuildValue("i",_result
);
8085 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
8086 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
* _resultobj
;
8091 PyObject
* _argo0
= 0;
8092 PyObject
* _argo1
= 0;
8093 char *_kwnames
[] = { "self","style", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
8106 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) return NULL
;
8117 } _resultobj
= Py_BuildValue("i",_result
);
8121 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
8122 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
* _resultobj
;
8124 wxTextAttr
* _result
;
8126 PyObject
* _argo0
= 0;
8127 char *_kwnames
[] = { "self", NULL
};
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
8134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
8143 _result
= (wxTextAttr
*) &_result_ref
;
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) return NULL
;
8148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
8149 _resultobj
= Py_BuildValue("s",_ptemp
);
8152 _resultobj
= Py_None
;
8157 #define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyle(_swigarg0,_swigarg1))
8158 static PyObject
*_wrap_wxTextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
* _resultobj
;
8164 PyObject
* _argo0
= 0;
8165 PyObject
* _argo2
= 0;
8166 char *_kwnames
[] = { "self","position","style", NULL
};
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxTextCtrl_GetStyle",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
8172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p.");
8179 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextAttr_p")) {
8180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p.");
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 _result
= (bool )wxTextCtrl_GetStyle(_arg0
,_arg1
,*_arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) return NULL
;
8190 } _resultobj
= Py_BuildValue("i",_result
);
8194 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
8195 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
* _resultobj
;
8201 PyObject
* _argo0
= 0;
8202 char *_kwnames
[] = { "self","x","y", NULL
};
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
8215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8216 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
8218 wxPyEndAllowThreads(__tstate
);
8219 if (PyErr_Occurred()) return NULL
;
8220 } _resultobj
= Py_BuildValue("l",_result
);
8224 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
8225 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
* _resultobj
;
8233 PyObject
* _argo0
= 0;
8234 char *_kwnames
[] = { "self","pos", NULL
};
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
8246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) return NULL
;
8258 } Py_INCREF(Py_None
);
8259 _resultobj
= Py_None
;
8262 o
= PyInt_FromLong((long) (*_arg2
));
8263 _resultobj
= t_output_helper(_resultobj
, o
);
8267 o
= PyInt_FromLong((long) (*_arg3
));
8268 _resultobj
= t_output_helper(_resultobj
, o
);
8273 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
8274 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
* _resultobj
;
8278 PyObject
* _argo0
= 0;
8279 char *_kwnames
[] = { "self","pos", NULL
};
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
8285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) return NULL
;
8297 } Py_INCREF(Py_None
);
8298 _resultobj
= Py_None
;
8302 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
8303 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
* _resultobj
;
8306 PyObject
* _argo0
= 0;
8307 char *_kwnames
[] = { "self", NULL
};
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
8313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 wxTextCtrl_Copy(_arg0
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) return NULL
;
8325 } Py_INCREF(Py_None
);
8326 _resultobj
= Py_None
;
8330 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
8331 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
* _resultobj
;
8334 PyObject
* _argo0
= 0;
8335 char *_kwnames
[] = { "self", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 wxTextCtrl_Cut(_arg0
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) return NULL
;
8353 } Py_INCREF(Py_None
);
8354 _resultobj
= Py_None
;
8358 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
8359 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
* _resultobj
;
8362 PyObject
* _argo0
= 0;
8363 char *_kwnames
[] = { "self", NULL
};
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
8369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 wxTextCtrl_Paste(_arg0
);
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) return NULL
;
8381 } Py_INCREF(Py_None
);
8382 _resultobj
= Py_None
;
8386 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
8387 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
* _resultobj
;
8391 PyObject
* _argo0
= 0;
8392 char *_kwnames
[] = { "self", NULL
};
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
8398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
8405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8406 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) return NULL
;
8410 } _resultobj
= Py_BuildValue("i",_result
);
8414 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
8415 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8416 PyObject
* _resultobj
;
8419 PyObject
* _argo0
= 0;
8420 char *_kwnames
[] = { "self", NULL
};
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
8426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) return NULL
;
8438 } _resultobj
= Py_BuildValue("i",_result
);
8442 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
8443 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8444 PyObject
* _resultobj
;
8447 PyObject
* _argo0
= 0;
8448 char *_kwnames
[] = { "self", NULL
};
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
8454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) return NULL
;
8466 } _resultobj
= Py_BuildValue("i",_result
);
8470 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
8471 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
* _resultobj
;
8474 PyObject
* _argo0
= 0;
8475 char *_kwnames
[] = { "self", NULL
};
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
8481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 wxTextCtrl_Undo(_arg0
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) return NULL
;
8493 } Py_INCREF(Py_None
);
8494 _resultobj
= Py_None
;
8498 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
8499 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
* _resultobj
;
8502 PyObject
* _argo0
= 0;
8503 char *_kwnames
[] = { "self", NULL
};
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
8509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 wxTextCtrl_Redo(_arg0
);
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) return NULL
;
8521 } Py_INCREF(Py_None
);
8522 _resultobj
= Py_None
;
8526 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
8527 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
* _resultobj
;
8531 PyObject
* _argo0
= 0;
8532 char *_kwnames
[] = { "self", NULL
};
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
8538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) return NULL
;
8550 } _resultobj
= Py_BuildValue("i",_result
);
8554 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
8555 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
* _resultobj
;
8559 PyObject
* _argo0
= 0;
8560 char *_kwnames
[] = { "self", NULL
};
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
8566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) return NULL
;
8578 } _resultobj
= Py_BuildValue("i",_result
);
8582 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
8583 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
* _resultobj
;
8587 PyObject
* _argo0
= 0;
8588 char *_kwnames
[] = { "self","pos", NULL
};
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
8594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) return NULL
;
8606 } Py_INCREF(Py_None
);
8607 _resultobj
= Py_None
;
8611 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
8612 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
* _resultobj
;
8615 PyObject
* _argo0
= 0;
8616 char *_kwnames
[] = { "self", NULL
};
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
8622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
8629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8630 wxTextCtrl_SetInsertionPointEnd(_arg0
);
8632 wxPyEndAllowThreads(__tstate
);
8633 if (PyErr_Occurred()) return NULL
;
8634 } Py_INCREF(Py_None
);
8635 _resultobj
= Py_None
;
8639 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
8640 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
* _resultobj
;
8644 PyObject
* _argo0
= 0;
8645 char *_kwnames
[] = { "self", NULL
};
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
8651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) return NULL
;
8663 } _resultobj
= Py_BuildValue("l",_result
);
8667 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
8668 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
* _resultobj
;
8672 PyObject
* _argo0
= 0;
8673 char *_kwnames
[] = { "self", NULL
};
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
8679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) return NULL
;
8691 } _resultobj
= Py_BuildValue("l",_result
);
8695 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8696 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
* _resultobj
;
8701 PyObject
* _argo0
= 0;
8702 char *_kwnames
[] = { "self","from","to", NULL
};
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) return NULL
;
8720 } Py_INCREF(Py_None
);
8721 _resultobj
= Py_None
;
8725 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
8726 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
* _resultobj
;
8729 PyObject
* _argo0
= 0;
8730 char *_kwnames
[] = { "self", NULL
};
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
8736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 wxTextCtrl_SelectAll(_arg0
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) return NULL
;
8748 } Py_INCREF(Py_None
);
8749 _resultobj
= Py_None
;
8753 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
8754 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
* _resultobj
;
8758 PyObject
* _argo0
= 0;
8760 char *_kwnames
[] = { "self","editable", NULL
};
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
8766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
8772 _arg1
= (bool ) tempbool1
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 wxTextCtrl_SetEditable(_arg0
,_arg1
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) return NULL
;
8779 } Py_INCREF(Py_None
);
8780 _resultobj
= Py_None
;
8784 #define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8785 static PyObject
*_wrap_wxTextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
* _resultobj
;
8789 PyObject
* _argo0
= 0;
8790 char *_kwnames
[] = { "self", NULL
};
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsSingleLine",_kwnames
,&_argo0
))
8796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 _result
= (bool )wxTextCtrl_IsSingleLine(_arg0
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8808 } _resultobj
= Py_BuildValue("i",_result
);
8812 #define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8813 static PyObject
*_wrap_wxTextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
* _resultobj
;
8817 PyObject
* _argo0
= 0;
8818 char *_kwnames
[] = { "self", NULL
};
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsMultiLine",_kwnames
,&_argo0
))
8824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 _result
= (bool )wxTextCtrl_IsMultiLine(_arg0
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) return NULL
;
8836 } _resultobj
= Py_BuildValue("i",_result
);
8840 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
8841 self
->AppendText(text
);
8843 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
* _resultobj
;
8847 PyObject
* _argo0
= 0;
8848 PyObject
* _obj1
= 0;
8849 char *_kwnames
[] = { "self","text", NULL
};
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
8855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8862 _arg1
= wxString_in_helper(_obj1
);
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 wxTextCtrl_write(_arg0
,*_arg1
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) return NULL
;
8872 } Py_INCREF(Py_None
);
8873 _resultobj
= Py_None
;
8881 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
8882 return self
->GetValue().Mid(from
, to
- from
);
8884 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
* _resultobj
;
8890 PyObject
* _argo0
= 0;
8891 char *_kwnames
[] = { "self","from","to", NULL
};
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8911 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8913 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8922 static void *SwigwxScrollBarTowxControl(void *ptr
) {
8925 src
= (wxScrollBar
*) ptr
;
8926 dest
= (wxControl
*) src
;
8927 return (void *) dest
;
8930 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
8933 src
= (wxScrollBar
*) ptr
;
8934 dest
= (wxWindow
*) src
;
8935 return (void *) dest
;
8938 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
8941 src
= (wxScrollBar
*) ptr
;
8942 dest
= (wxEvtHandler
*) src
;
8943 return (void *) dest
;
8946 static void *SwigwxScrollBarTowxObject(void *ptr
) {
8949 src
= (wxScrollBar
*) ptr
;
8950 dest
= (wxObject
*) src
;
8951 return (void *) dest
;
8954 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8955 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
* _resultobj
;
8957 wxScrollBar
* _result
;
8959 wxWindowID _arg1
= (wxWindowID
) -1;
8960 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8961 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8962 long _arg4
= (long ) wxSB_HORIZONTAL
;
8963 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
8964 wxString
* _arg6
= (wxString
*) &wxPyScrollBarNameStr
;
8965 PyObject
* _argo0
= 0;
8967 PyObject
* _obj2
= 0;
8969 PyObject
* _obj3
= 0;
8970 PyObject
* _argo5
= 0;
8971 PyObject
* _obj6
= 0;
8972 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
8979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8988 if (! wxPoint_helper(_obj2
, &_arg2
))
8994 if (! wxSize_helper(_obj3
, &_arg3
))
8998 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
8999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
9005 _arg6
= wxString_in_helper(_obj6
);
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) return NULL
;
9016 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
9017 _resultobj
= Py_BuildValue("s",_ptemp
);
9020 _resultobj
= Py_None
;
9029 #define new_wxPreScrollBar() (new wxScrollBar())
9030 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
* _resultobj
;
9032 wxScrollBar
* _result
;
9033 char *_kwnames
[] = { NULL
};
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 _result
= (wxScrollBar
*)new_wxPreScrollBar();
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) return NULL
;
9046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
9047 _resultobj
= Py_BuildValue("s",_ptemp
);
9050 _resultobj
= Py_None
;
9055 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9056 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
* _resultobj
;
9059 wxScrollBar
* _arg0
;
9061 wxWindowID _arg2
= (wxWindowID
) -1;
9062 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9063 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9064 long _arg5
= (long ) wxSB_HORIZONTAL
;
9065 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9066 wxString
* _arg7
= (wxString
*) &wxPyScrollBarNameStr
;
9067 PyObject
* _argo0
= 0;
9068 PyObject
* _argo1
= 0;
9070 PyObject
* _obj3
= 0;
9072 PyObject
* _obj4
= 0;
9073 PyObject
* _argo6
= 0;
9074 PyObject
* _obj7
= 0;
9075 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
9081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
9088 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
9097 if (! wxPoint_helper(_obj3
, &_arg3
))
9103 if (! wxSize_helper(_obj4
, &_arg4
))
9107 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
9114 _arg7
= wxString_in_helper(_obj7
);
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) return NULL
;
9124 } _resultobj
= Py_BuildValue("i",_result
);
9132 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
9133 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
* _resultobj
;
9136 wxScrollBar
* _arg0
;
9137 PyObject
* _argo0
= 0;
9138 char *_kwnames
[] = { "self", NULL
};
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
9144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 _result
= (int )wxScrollBar_GetRange(_arg0
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) return NULL
;
9156 } _resultobj
= Py_BuildValue("i",_result
);
9160 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
9161 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
* _resultobj
;
9164 wxScrollBar
* _arg0
;
9165 PyObject
* _argo0
= 0;
9166 char *_kwnames
[] = { "self", NULL
};
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
9172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) return NULL
;
9184 } _resultobj
= Py_BuildValue("i",_result
);
9188 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
9189 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9190 PyObject
* _resultobj
;
9192 wxScrollBar
* _arg0
;
9193 PyObject
* _argo0
= 0;
9194 char *_kwnames
[] = { "self", NULL
};
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
9200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) return NULL
;
9212 } _resultobj
= Py_BuildValue("i",_result
);
9216 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
9217 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
* _resultobj
;
9220 wxScrollBar
* _arg0
;
9221 PyObject
* _argo0
= 0;
9222 char *_kwnames
[] = { "self", NULL
};
9225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
9228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) return NULL
;
9240 } _resultobj
= Py_BuildValue("i",_result
);
9244 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
9245 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
* _resultobj
;
9248 wxScrollBar
* _arg0
;
9249 PyObject
* _argo0
= 0;
9250 char *_kwnames
[] = { "self", NULL
};
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
9256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9268 } _resultobj
= Py_BuildValue("i",_result
);
9272 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
9273 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
* _resultobj
;
9275 wxScrollBar
* _arg0
;
9277 PyObject
* _argo0
= 0;
9278 char *_kwnames
[] = { "self","viewStart", NULL
};
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
9284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) return NULL
;
9296 } Py_INCREF(Py_None
);
9297 _resultobj
= Py_None
;
9301 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9302 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
* _resultobj
;
9304 wxScrollBar
* _arg0
;
9309 bool _arg5
= (bool ) TRUE
;
9310 PyObject
* _argo0
= 0;
9311 int tempbool5
= (int) TRUE
;
9312 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
9318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
9320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
9324 _arg5
= (bool ) tempbool5
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) return NULL
;
9331 } Py_INCREF(Py_None
);
9332 _resultobj
= Py_None
;
9336 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
9339 src
= (wxSpinButton
*) ptr
;
9340 dest
= (wxControl
*) src
;
9341 return (void *) dest
;
9344 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
9347 src
= (wxSpinButton
*) ptr
;
9348 dest
= (wxWindow
*) src
;
9349 return (void *) dest
;
9352 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
9355 src
= (wxSpinButton
*) ptr
;
9356 dest
= (wxEvtHandler
*) src
;
9357 return (void *) dest
;
9360 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
9363 src
= (wxSpinButton
*) ptr
;
9364 dest
= (wxObject
*) src
;
9365 return (void *) dest
;
9368 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9369 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
* _resultobj
;
9371 wxSpinButton
* _result
;
9373 wxWindowID _arg1
= (wxWindowID
) -1;
9374 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
9375 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
9376 long _arg4
= (long ) wxSP_HORIZONTAL
;
9377 wxString
* _arg5
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
9378 PyObject
* _argo0
= 0;
9380 PyObject
* _obj2
= 0;
9382 PyObject
* _obj3
= 0;
9383 PyObject
* _obj5
= 0;
9384 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
9391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
9400 if (! wxPoint_helper(_obj2
, &_arg2
))
9406 if (! wxSize_helper(_obj3
, &_arg3
))
9411 _arg5
= wxString_in_helper(_obj5
);
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) return NULL
;
9422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
9423 _resultobj
= Py_BuildValue("s",_ptemp
);
9426 _resultobj
= Py_None
;
9435 #define new_wxPreSpinButton() (new wxSpinButton())
9436 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
* _resultobj
;
9438 wxSpinButton
* _result
;
9439 char *_kwnames
[] = { NULL
};
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 _result
= (wxSpinButton
*)new_wxPreSpinButton();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) return NULL
;
9452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
9453 _resultobj
= Py_BuildValue("s",_ptemp
);
9456 _resultobj
= Py_None
;
9461 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9462 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
* _resultobj
;
9465 wxSpinButton
* _arg0
;
9467 wxWindowID _arg2
= (wxWindowID
) -1;
9468 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9469 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9470 long _arg5
= (long ) wxSP_HORIZONTAL
;
9471 wxString
* _arg6
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
9472 PyObject
* _argo0
= 0;
9473 PyObject
* _argo1
= 0;
9475 PyObject
* _obj3
= 0;
9477 PyObject
* _obj4
= 0;
9478 PyObject
* _obj6
= 0;
9479 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
9485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
9492 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9493 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
9501 if (! wxPoint_helper(_obj3
, &_arg3
))
9507 if (! wxSize_helper(_obj4
, &_arg4
))
9512 _arg6
= wxString_in_helper(_obj6
);
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) return NULL
;
9522 } _resultobj
= Py_BuildValue("i",_result
);
9530 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
9531 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9532 PyObject
* _resultobj
;
9534 wxSpinButton
* _arg0
;
9535 PyObject
* _argo0
= 0;
9536 char *_kwnames
[] = { "self", NULL
};
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
9542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 _result
= (int )wxSpinButton_GetMax(_arg0
);
9552 wxPyEndAllowThreads(__tstate
);
9553 if (PyErr_Occurred()) return NULL
;
9554 } _resultobj
= Py_BuildValue("i",_result
);
9558 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
9559 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
* _resultobj
;
9562 wxSpinButton
* _arg0
;
9563 PyObject
* _argo0
= 0;
9564 char *_kwnames
[] = { "self", NULL
};
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
9570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 _result
= (int )wxSpinButton_GetMin(_arg0
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) return NULL
;
9582 } _resultobj
= Py_BuildValue("i",_result
);
9586 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
9587 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
* _resultobj
;
9590 wxSpinButton
* _arg0
;
9591 PyObject
* _argo0
= 0;
9592 char *_kwnames
[] = { "self", NULL
};
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
9598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 _result
= (int )wxSpinButton_GetValue(_arg0
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) return NULL
;
9610 } _resultobj
= Py_BuildValue("i",_result
);
9614 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
9615 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
* _resultobj
;
9617 wxSpinButton
* _arg0
;
9620 PyObject
* _argo0
= 0;
9621 char *_kwnames
[] = { "self","min","max", NULL
};
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) return NULL
;
9639 } Py_INCREF(Py_None
);
9640 _resultobj
= Py_None
;
9644 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9645 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
* _resultobj
;
9647 wxSpinButton
* _arg0
;
9649 PyObject
* _argo0
= 0;
9650 char *_kwnames
[] = { "self","value", NULL
};
9653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
9656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 wxSpinButton_SetValue(_arg0
,_arg1
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) return NULL
;
9668 } Py_INCREF(Py_None
);
9669 _resultobj
= Py_None
;
9673 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
9674 wxStaticBitmap
*src
;
9676 src
= (wxStaticBitmap
*) ptr
;
9677 dest
= (wxControl
*) src
;
9678 return (void *) dest
;
9681 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
9682 wxStaticBitmap
*src
;
9684 src
= (wxStaticBitmap
*) ptr
;
9685 dest
= (wxWindow
*) src
;
9686 return (void *) dest
;
9689 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
9690 wxStaticBitmap
*src
;
9692 src
= (wxStaticBitmap
*) ptr
;
9693 dest
= (wxEvtHandler
*) src
;
9694 return (void *) dest
;
9697 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
9698 wxStaticBitmap
*src
;
9700 src
= (wxStaticBitmap
*) ptr
;
9701 dest
= (wxObject
*) src
;
9702 return (void *) dest
;
9705 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9706 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
* _resultobj
;
9708 wxStaticBitmap
* _result
;
9712 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9713 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9714 long _arg5
= (long ) 0;
9715 wxString
* _arg6
= (wxString
*) &wxPyStaticBitmapNameStr
;
9716 PyObject
* _argo0
= 0;
9717 PyObject
* _argo2
= 0;
9719 PyObject
* _obj3
= 0;
9721 PyObject
* _obj4
= 0;
9722 PyObject
* _obj6
= 0;
9723 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
9730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
9737 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
9745 if (! wxPoint_helper(_obj3
, &_arg3
))
9751 if (! wxSize_helper(_obj4
, &_arg4
))
9756 _arg6
= wxString_in_helper(_obj6
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) return NULL
;
9767 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
9768 _resultobj
= Py_BuildValue("s",_ptemp
);
9771 _resultobj
= Py_None
;
9780 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
9781 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
* _resultobj
;
9783 wxStaticBitmap
* _result
;
9784 char *_kwnames
[] = { NULL
};
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) return NULL
;
9797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
9798 _resultobj
= Py_BuildValue("s",_ptemp
);
9801 _resultobj
= Py_None
;
9806 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9807 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
* _resultobj
;
9810 wxStaticBitmap
* _arg0
;
9814 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9815 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9816 long _arg6
= (long ) 0;
9817 wxString
* _arg7
= (wxString
*) &wxPyStaticBitmapNameStr
;
9818 PyObject
* _argo0
= 0;
9819 PyObject
* _argo1
= 0;
9820 PyObject
* _argo3
= 0;
9822 PyObject
* _obj4
= 0;
9824 PyObject
* _obj5
= 0;
9825 PyObject
* _obj7
= 0;
9826 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
9832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
9839 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9840 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
9846 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
9847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9854 if (! wxPoint_helper(_obj4
, &_arg4
))
9860 if (! wxSize_helper(_obj5
, &_arg5
))
9865 _arg7
= wxString_in_helper(_obj7
);
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) return NULL
;
9875 } _resultobj
= Py_BuildValue("i",_result
);
9883 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
9884 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
* _resultobj
;
9887 wxStaticBitmap
* _arg0
;
9888 PyObject
* _argo0
= 0;
9889 char *_kwnames
[] = { "self", NULL
};
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
9896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) return NULL
;
9908 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9909 _resultobj
= Py_BuildValue("s",_ptemp
);
9913 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
9914 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
* _resultobj
;
9916 wxStaticBitmap
* _arg0
;
9918 PyObject
* _argo0
= 0;
9919 PyObject
* _argo1
= 0;
9920 char *_kwnames
[] = { "self","bitmap", NULL
};
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
9926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9933 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) return NULL
;
9944 } Py_INCREF(Py_None
);
9945 _resultobj
= Py_None
;
9949 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
9950 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
* _resultobj
;
9952 wxStaticBitmap
* _arg0
;
9954 PyObject
* _argo0
= 0;
9955 PyObject
* _argo1
= 0;
9956 char *_kwnames
[] = { "self","icon", NULL
};
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
9962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9969 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9976 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) return NULL
;
9980 } Py_INCREF(Py_None
);
9981 _resultobj
= Py_None
;
9985 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
9988 src
= (wxRadioBox
*) ptr
;
9989 dest
= (wxControl
*) src
;
9990 return (void *) dest
;
9993 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
9996 src
= (wxRadioBox
*) ptr
;
9997 dest
= (wxWindow
*) src
;
9998 return (void *) dest
;
10001 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
10003 wxEvtHandler
*dest
;
10004 src
= (wxRadioBox
*) ptr
;
10005 dest
= (wxEvtHandler
*) src
;
10006 return (void *) dest
;
10009 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
10012 src
= (wxRadioBox
*) ptr
;
10013 dest
= (wxObject
*) src
;
10014 return (void *) dest
;
10017 #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))
10018 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
* _resultobj
;
10020 wxRadioBox
* _result
;
10024 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10025 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10026 int _arg5
= (int ) 0;
10027 wxString
* _arg6
= (wxString
*) NULL
;
10028 int _arg7
= (int ) 0;
10029 long _arg8
= (long ) wxRA_HORIZONTAL
;
10030 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10031 wxString
* _arg10
= (wxString
*) &wxPyRadioBoxNameStr
;
10032 PyObject
* _argo0
= 0;
10033 PyObject
* _obj2
= 0;
10035 PyObject
* _obj3
= 0;
10037 PyObject
* _obj4
= 0;
10038 PyObject
* _obj6
= 0;
10039 PyObject
* _argo9
= 0;
10040 PyObject
* _obj10
= 0;
10041 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOO:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_obj10
))
10048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
10055 _arg2
= wxString_in_helper(_obj2
);
10062 if (! wxPoint_helper(_obj3
, &_arg3
))
10068 if (! wxSize_helper(_obj4
, &_arg4
))
10073 _arg6
= wxString_LIST_helper(_obj6
);
10074 if (_arg6
== NULL
) {
10079 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
10086 _arg10
= wxString_in_helper(_obj10
);
10087 if (_arg10
== NULL
)
10092 _arg5
= PyList_Size(_obj6
);
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) return NULL
;
10105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
10106 _resultobj
= Py_BuildValue("s",_ptemp
);
10108 Py_INCREF(Py_None
);
10109 _resultobj
= Py_None
;
10125 #define new_wxPreRadioBox() (new wxRadioBox())
10126 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
* _resultobj
;
10128 wxRadioBox
* _result
;
10129 char *_kwnames
[] = { NULL
};
10133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 _result
= (wxRadioBox
*)new_wxPreRadioBox();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) return NULL
;
10142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
10143 _resultobj
= Py_BuildValue("s",_ptemp
);
10145 Py_INCREF(Py_None
);
10146 _resultobj
= Py_None
;
10151 #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))
10152 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
* _resultobj
;
10155 wxRadioBox
* _arg0
;
10159 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10160 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10161 int _arg6
= (int ) 0;
10162 wxString
* _arg7
= (wxString
*) NULL
;
10163 int _arg8
= (int ) 0;
10164 long _arg9
= (long ) wxRA_HORIZONTAL
;
10165 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
10166 wxString
* _arg11
= (wxString
*) &wxPyRadioBoxNameStr
;
10167 PyObject
* _argo0
= 0;
10168 PyObject
* _argo1
= 0;
10169 PyObject
* _obj3
= 0;
10171 PyObject
* _obj4
= 0;
10173 PyObject
* _obj5
= 0;
10174 PyObject
* _obj7
= 0;
10175 PyObject
* _argo10
= 0;
10176 PyObject
* _obj11
= 0;
10177 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_obj11
))
10183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
10190 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10191 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
10197 _arg3
= wxString_in_helper(_obj3
);
10204 if (! wxPoint_helper(_obj4
, &_arg4
))
10210 if (! wxSize_helper(_obj5
, &_arg5
))
10215 _arg7
= wxString_LIST_helper(_obj7
);
10216 if (_arg7
== NULL
) {
10221 if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
10222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
10228 _arg11
= wxString_in_helper(_obj11
);
10229 if (_arg11
== NULL
)
10234 _arg6
= PyList_Size(_obj7
);
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,*_arg11
);
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) return NULL
;
10246 } _resultobj
= Py_BuildValue("i",_result
);
10261 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10262 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
* _resultobj
;
10264 wxRadioBox
* _arg0
;
10266 PyObject
* _argo0
= 0;
10268 char *_kwnames
[] = { "self","enable", NULL
};
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
10274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
10280 _arg1
= (bool ) tempbool1
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 wxRadioBox_Enable(_arg0
,_arg1
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) return NULL
;
10287 } Py_INCREF(Py_None
);
10288 _resultobj
= Py_None
;
10292 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10293 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
* _resultobj
;
10295 wxRadioBox
* _arg0
;
10298 PyObject
* _argo0
= 0;
10300 char *_kwnames
[] = { "self","n","enable", NULL
};
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
10312 _arg2
= (bool ) tempbool2
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) return NULL
;
10319 } Py_INCREF(Py_None
);
10320 _resultobj
= Py_None
;
10324 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
10325 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
* _resultobj
;
10328 wxRadioBox
* _arg0
;
10330 PyObject
* _argo0
= 0;
10331 PyObject
* _obj1
= 0;
10332 char *_kwnames
[] = { "self","string", NULL
};
10335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
10338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
10345 _arg1
= wxString_in_helper(_obj1
);
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) return NULL
;
10355 } _resultobj
= Py_BuildValue("i",_result
);
10363 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
10364 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
* _resultobj
;
10366 wxString
* _result
;
10367 wxRadioBox
* _arg0
;
10369 PyObject
* _argo0
= 0;
10370 char *_kwnames
[] = { "self","n", NULL
};
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
10376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) return NULL
;
10390 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10392 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10401 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
10402 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
* _resultobj
;
10404 wxRadioBox
* _arg0
;
10407 PyObject
* _argo0
= 0;
10408 PyObject
* _obj2
= 0;
10409 char *_kwnames
[] = { "self","n","label", NULL
};
10412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
10415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
10422 _arg2
= wxString_in_helper(_obj2
);
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) return NULL
;
10432 } Py_INCREF(Py_None
);
10433 _resultobj
= Py_None
;
10441 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
10442 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
* _resultobj
;
10445 wxRadioBox
* _arg0
;
10446 PyObject
* _argo0
= 0;
10447 char *_kwnames
[] = { "self", NULL
};
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
10453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 _result
= (int )wxRadioBox_GetSelection(_arg0
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) return NULL
;
10465 } _resultobj
= Py_BuildValue("i",_result
);
10469 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
10470 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
* _resultobj
;
10472 wxString
* _result
;
10473 wxRadioBox
* _arg0
;
10474 PyObject
* _argo0
= 0;
10475 char *_kwnames
[] = { "self", NULL
};
10478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
10481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
10491 wxPyEndAllowThreads(__tstate
);
10492 if (PyErr_Occurred()) return NULL
;
10495 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10506 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
10507 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
* _resultobj
;
10510 wxRadioBox
* _arg0
;
10511 PyObject
* _argo0
= 0;
10512 char *_kwnames
[] = { "self", NULL
};
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
10518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 _result
= (int )wxRadioBox_GetCount(_arg0
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) return NULL
;
10530 } _resultobj
= Py_BuildValue("i",_result
);
10534 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
10535 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
* _resultobj
;
10537 wxRadioBox
* _arg0
;
10539 PyObject
* _argo0
= 0;
10540 char *_kwnames
[] = { "self","n", NULL
};
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
10546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 wxRadioBox_SetSelection(_arg0
,_arg1
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) return NULL
;
10558 } Py_INCREF(Py_None
);
10559 _resultobj
= Py_None
;
10563 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
10564 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
* _resultobj
;
10566 wxRadioBox
* _arg0
;
10568 PyObject
* _argo0
= 0;
10569 PyObject
* _obj1
= 0;
10570 char *_kwnames
[] = { "self","string", NULL
};
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
10576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
10583 _arg1
= wxString_in_helper(_obj1
);
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) return NULL
;
10593 } Py_INCREF(Py_None
);
10594 _resultobj
= Py_None
;
10602 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
10603 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
* _resultobj
;
10605 wxRadioBox
* _arg0
;
10607 PyObject
* _argo0
= 0;
10609 char *_kwnames
[] = { "self","show", NULL
};
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
10615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
10621 _arg1
= (bool ) tempbool1
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 wxRadioBox_Show(_arg0
,_arg1
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) return NULL
;
10628 } Py_INCREF(Py_None
);
10629 _resultobj
= Py_None
;
10633 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
10634 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
* _resultobj
;
10636 wxRadioBox
* _arg0
;
10639 PyObject
* _argo0
= 0;
10641 char *_kwnames
[] = { "self","item","show", NULL
};
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
10653 _arg2
= (bool ) tempbool2
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) return NULL
;
10660 } Py_INCREF(Py_None
);
10661 _resultobj
= Py_None
;
10665 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
10666 wxRadioButton
*src
;
10668 src
= (wxRadioButton
*) ptr
;
10669 dest
= (wxControl
*) src
;
10670 return (void *) dest
;
10673 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
10674 wxRadioButton
*src
;
10676 src
= (wxRadioButton
*) ptr
;
10677 dest
= (wxWindow
*) src
;
10678 return (void *) dest
;
10681 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
10682 wxRadioButton
*src
;
10683 wxEvtHandler
*dest
;
10684 src
= (wxRadioButton
*) ptr
;
10685 dest
= (wxEvtHandler
*) src
;
10686 return (void *) dest
;
10689 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
10690 wxRadioButton
*src
;
10692 src
= (wxRadioButton
*) ptr
;
10693 dest
= (wxObject
*) src
;
10694 return (void *) dest
;
10697 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10698 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
* _resultobj
;
10700 wxRadioButton
* _result
;
10704 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10705 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10706 long _arg5
= (long ) 0;
10707 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10708 wxString
* _arg7
= (wxString
*) &wxPyRadioButtonNameStr
;
10709 PyObject
* _argo0
= 0;
10710 PyObject
* _obj2
= 0;
10712 PyObject
* _obj3
= 0;
10714 PyObject
* _obj4
= 0;
10715 PyObject
* _argo6
= 0;
10716 PyObject
* _obj7
= 0;
10717 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
10724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10731 _arg2
= wxString_in_helper(_obj2
);
10738 if (! wxPoint_helper(_obj3
, &_arg3
))
10744 if (! wxSize_helper(_obj4
, &_arg4
))
10748 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10755 _arg7
= wxString_in_helper(_obj7
);
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) return NULL
;
10766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
10767 _resultobj
= Py_BuildValue("s",_ptemp
);
10769 Py_INCREF(Py_None
);
10770 _resultobj
= Py_None
;
10783 #define new_wxPreRadioButton() (new wxRadioButton())
10784 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
* _resultobj
;
10786 wxRadioButton
* _result
;
10787 char *_kwnames
[] = { NULL
};
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 _result
= (wxRadioButton
*)new_wxPreRadioButton();
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) return NULL
;
10800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
10801 _resultobj
= Py_BuildValue("s",_ptemp
);
10803 Py_INCREF(Py_None
);
10804 _resultobj
= Py_None
;
10809 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10810 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
* _resultobj
;
10813 wxRadioButton
* _arg0
;
10817 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10818 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10819 long _arg6
= (long ) 0;
10820 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
10821 wxString
* _arg8
= (wxString
*) &wxPyRadioButtonNameStr
;
10822 PyObject
* _argo0
= 0;
10823 PyObject
* _argo1
= 0;
10824 PyObject
* _obj3
= 0;
10826 PyObject
* _obj4
= 0;
10828 PyObject
* _obj5
= 0;
10829 PyObject
* _argo7
= 0;
10830 PyObject
* _obj8
= 0;
10831 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
10837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10844 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10845 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10851 _arg3
= wxString_in_helper(_obj3
);
10858 if (! wxPoint_helper(_obj4
, &_arg4
))
10864 if (! wxSize_helper(_obj5
, &_arg5
))
10868 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
10869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
10875 _arg8
= wxString_in_helper(_obj8
);
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) return NULL
;
10885 } _resultobj
= Py_BuildValue("i",_result
);
10897 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
10898 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
* _resultobj
;
10901 wxRadioButton
* _arg0
;
10902 PyObject
* _argo0
= 0;
10903 char *_kwnames
[] = { "self", NULL
};
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
10909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 _result
= (bool )wxRadioButton_GetValue(_arg0
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) return NULL
;
10921 } _resultobj
= Py_BuildValue("i",_result
);
10925 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10926 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
* _resultobj
;
10928 wxRadioButton
* _arg0
;
10930 PyObject
* _argo0
= 0;
10932 char *_kwnames
[] = { "self","value", NULL
};
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10944 _arg1
= (bool ) tempbool1
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 wxRadioButton_SetValue(_arg0
,_arg1
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) return NULL
;
10951 } Py_INCREF(Py_None
);
10952 _resultobj
= Py_None
;
10956 static void *SwigwxSliderTowxControl(void *ptr
) {
10959 src
= (wxSlider
*) ptr
;
10960 dest
= (wxControl
*) src
;
10961 return (void *) dest
;
10964 static void *SwigwxSliderTowxWindow(void *ptr
) {
10967 src
= (wxSlider
*) ptr
;
10968 dest
= (wxWindow
*) src
;
10969 return (void *) dest
;
10972 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10974 wxEvtHandler
*dest
;
10975 src
= (wxSlider
*) ptr
;
10976 dest
= (wxEvtHandler
*) src
;
10977 return (void *) dest
;
10980 static void *SwigwxSliderTowxObject(void *ptr
) {
10983 src
= (wxSlider
*) ptr
;
10984 dest
= (wxObject
*) src
;
10985 return (void *) dest
;
10988 #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))
10989 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
* _resultobj
;
10991 wxSlider
* _result
;
10997 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10998 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10999 long _arg7
= (long ) wxSL_HORIZONTAL
;
11000 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
11001 wxString
* _arg9
= (wxString
*) &wxPySliderNameStr
;
11002 PyObject
* _argo0
= 0;
11004 PyObject
* _obj5
= 0;
11006 PyObject
* _obj6
= 0;
11007 PyObject
* _argo8
= 0;
11008 PyObject
* _obj9
= 0;
11009 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOO:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
11016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
11025 if (! wxPoint_helper(_obj5
, &_arg5
))
11031 if (! wxSize_helper(_obj6
, &_arg6
))
11035 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
11036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
11042 _arg9
= wxString_in_helper(_obj9
);
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,*_arg9
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) return NULL
;
11053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
11054 _resultobj
= Py_BuildValue("s",_ptemp
);
11056 Py_INCREF(Py_None
);
11057 _resultobj
= Py_None
;
11066 #define new_wxPreSlider() (new wxSlider())
11067 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
* _resultobj
;
11069 wxSlider
* _result
;
11070 char *_kwnames
[] = { NULL
};
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 _result
= (wxSlider
*)new_wxPreSlider();
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) return NULL
;
11083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
11084 _resultobj
= Py_BuildValue("s",_ptemp
);
11086 Py_INCREF(Py_None
);
11087 _resultobj
= Py_None
;
11092 #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))
11093 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11094 PyObject
* _resultobj
;
11102 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
11103 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
11104 long _arg8
= (long ) wxSL_HORIZONTAL
;
11105 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
11106 wxString
* _arg10
= (wxString
*) &wxPySliderNameStr
;
11107 PyObject
* _argo0
= 0;
11108 PyObject
* _argo1
= 0;
11110 PyObject
* _obj6
= 0;
11112 PyObject
* _obj7
= 0;
11113 PyObject
* _argo9
= 0;
11114 PyObject
* _obj10
= 0;
11115 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOO:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
11121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
11128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
11137 if (! wxPoint_helper(_obj6
, &_arg6
))
11143 if (! wxSize_helper(_obj7
, &_arg7
))
11147 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
11148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
11154 _arg10
= wxString_in_helper(_obj10
);
11155 if (_arg10
== NULL
)
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,*_arg10
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) return NULL
;
11164 } _resultobj
= Py_BuildValue("i",_result
);
11172 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
11173 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
* _resultobj
;
11176 PyObject
* _argo0
= 0;
11177 char *_kwnames
[] = { "self", NULL
};
11180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
11183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 wxSlider_ClearSel(_arg0
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) return NULL
;
11195 } Py_INCREF(Py_None
);
11196 _resultobj
= Py_None
;
11200 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
11201 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
* _resultobj
;
11204 PyObject
* _argo0
= 0;
11205 char *_kwnames
[] = { "self", NULL
};
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
11211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 wxSlider_ClearTicks(_arg0
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) return NULL
;
11223 } Py_INCREF(Py_None
);
11224 _resultobj
= Py_None
;
11228 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
11229 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
* _resultobj
;
11233 PyObject
* _argo0
= 0;
11234 char *_kwnames
[] = { "self", NULL
};
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
11240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
11247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11248 _result
= (int )wxSlider_GetLineSize(_arg0
);
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) return NULL
;
11252 } _resultobj
= Py_BuildValue("i",_result
);
11256 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
11257 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
* _resultobj
;
11261 PyObject
* _argo0
= 0;
11262 char *_kwnames
[] = { "self", NULL
};
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
11268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 _result
= (int )wxSlider_GetMax(_arg0
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) return NULL
;
11280 } _resultobj
= Py_BuildValue("i",_result
);
11284 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
11285 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
* _resultobj
;
11289 PyObject
* _argo0
= 0;
11290 char *_kwnames
[] = { "self", NULL
};
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
11296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 _result
= (int )wxSlider_GetMin(_arg0
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) return NULL
;
11308 } _resultobj
= Py_BuildValue("i",_result
);
11312 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
11313 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
* _resultobj
;
11317 PyObject
* _argo0
= 0;
11318 char *_kwnames
[] = { "self", NULL
};
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
11324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 _result
= (int )wxSlider_GetPageSize(_arg0
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) return NULL
;
11336 } _resultobj
= Py_BuildValue("i",_result
);
11340 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
11341 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
* _resultobj
;
11345 PyObject
* _argo0
= 0;
11346 char *_kwnames
[] = { "self", NULL
};
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
11352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 _result
= (int )wxSlider_GetSelEnd(_arg0
);
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) return NULL
;
11364 } _resultobj
= Py_BuildValue("i",_result
);
11368 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
11369 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
* _resultobj
;
11373 PyObject
* _argo0
= 0;
11374 char *_kwnames
[] = { "self", NULL
};
11377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
11380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 _result
= (int )wxSlider_GetSelStart(_arg0
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) return NULL
;
11392 } _resultobj
= Py_BuildValue("i",_result
);
11396 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
11397 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
* _resultobj
;
11401 PyObject
* _argo0
= 0;
11402 char *_kwnames
[] = { "self", NULL
};
11405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
11408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 _result
= (int )wxSlider_GetThumbLength(_arg0
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) return NULL
;
11420 } _resultobj
= Py_BuildValue("i",_result
);
11424 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
11425 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
* _resultobj
;
11429 PyObject
* _argo0
= 0;
11430 char *_kwnames
[] = { "self", NULL
};
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
11436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 _result
= (int )wxSlider_GetTickFreq(_arg0
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) return NULL
;
11448 } _resultobj
= Py_BuildValue("i",_result
);
11452 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
11453 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
* _resultobj
;
11457 PyObject
* _argo0
= 0;
11458 char *_kwnames
[] = { "self", NULL
};
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
11464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 _result
= (int )wxSlider_GetValue(_arg0
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) return NULL
;
11476 } _resultobj
= Py_BuildValue("i",_result
);
11480 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11481 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
* _resultobj
;
11486 PyObject
* _argo0
= 0;
11487 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) return NULL
;
11505 } Py_INCREF(Py_None
);
11506 _resultobj
= Py_None
;
11510 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
11511 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11512 PyObject
* _resultobj
;
11516 PyObject
* _argo0
= 0;
11517 char *_kwnames
[] = { "self","n","pos", NULL
};
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) return NULL
;
11535 } Py_INCREF(Py_None
);
11536 _resultobj
= Py_None
;
11540 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
11541 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
* _resultobj
;
11545 PyObject
* _argo0
= 0;
11546 char *_kwnames
[] = { "self","lineSize", NULL
};
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
11552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 wxSlider_SetLineSize(_arg0
,_arg1
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) return NULL
;
11564 } Py_INCREF(Py_None
);
11565 _resultobj
= Py_None
;
11569 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
11570 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
* _resultobj
;
11574 PyObject
* _argo0
= 0;
11575 char *_kwnames
[] = { "self","pageSize", NULL
};
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
11581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 wxSlider_SetPageSize(_arg0
,_arg1
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) return NULL
;
11593 } Py_INCREF(Py_None
);
11594 _resultobj
= Py_None
;
11598 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
11599 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
* _resultobj
;
11604 PyObject
* _argo0
= 0;
11605 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) return NULL
;
11623 } Py_INCREF(Py_None
);
11624 _resultobj
= Py_None
;
11628 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
11629 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
* _resultobj
;
11633 PyObject
* _argo0
= 0;
11634 char *_kwnames
[] = { "self","len", NULL
};
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
11640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 wxSlider_SetThumbLength(_arg0
,_arg1
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) return NULL
;
11652 } Py_INCREF(Py_None
);
11653 _resultobj
= Py_None
;
11657 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
11658 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
* _resultobj
;
11662 PyObject
* _argo0
= 0;
11663 char *_kwnames
[] = { "self","tickPos", NULL
};
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
11669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 wxSlider_SetTick(_arg0
,_arg1
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) return NULL
;
11681 } Py_INCREF(Py_None
);
11682 _resultobj
= Py_None
;
11686 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11687 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
* _resultobj
;
11691 PyObject
* _argo0
= 0;
11692 char *_kwnames
[] = { "self","value", NULL
};
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
11698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 wxSlider_SetValue(_arg0
,_arg1
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) return NULL
;
11710 } Py_INCREF(Py_None
);
11711 _resultobj
= Py_None
;
11715 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
11717 wxSpinButton
*dest
;
11718 src
= (wxSpinCtrl
*) ptr
;
11719 dest
= (wxSpinButton
*) src
;
11720 return (void *) dest
;
11723 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
11726 src
= (wxSpinCtrl
*) ptr
;
11727 dest
= (wxControl
*) src
;
11728 return (void *) dest
;
11731 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
11734 src
= (wxSpinCtrl
*) ptr
;
11735 dest
= (wxWindow
*) src
;
11736 return (void *) dest
;
11739 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
11741 wxEvtHandler
*dest
;
11742 src
= (wxSpinCtrl
*) ptr
;
11743 dest
= (wxEvtHandler
*) src
;
11744 return (void *) dest
;
11747 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
11750 src
= (wxSpinCtrl
*) ptr
;
11751 dest
= (wxObject
*) src
;
11752 return (void *) dest
;
11755 #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))
11756 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
* _resultobj
;
11758 wxSpinCtrl
* _result
;
11760 wxWindowID _arg1
= (wxWindowID
) -1;
11761 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11762 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11763 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11764 long _arg5
= (long ) wxSP_ARROW_KEYS
;
11765 int _arg6
= (int ) 0;
11766 int _arg7
= (int ) 100;
11767 int _arg8
= (int ) 0;
11768 wxString
* _arg9
= (wxString
*) &wxPySpinCtrlNameStr
;
11769 PyObject
* _argo0
= 0;
11770 PyObject
* _obj2
= 0;
11772 PyObject
* _obj3
= 0;
11774 PyObject
* _obj4
= 0;
11775 PyObject
* _obj9
= 0;
11776 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_obj9
))
11783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11791 _arg2
= wxString_in_helper(_obj2
);
11798 if (! wxPoint_helper(_obj3
, &_arg3
))
11804 if (! wxSize_helper(_obj4
, &_arg4
))
11809 _arg9
= wxString_in_helper(_obj9
);
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) return NULL
;
11820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
11821 _resultobj
= Py_BuildValue("s",_ptemp
);
11823 Py_INCREF(Py_None
);
11824 _resultobj
= Py_None
;
11837 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
11838 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11839 PyObject
* _resultobj
;
11840 wxSpinCtrl
* _result
;
11841 char *_kwnames
[] = { NULL
};
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
11848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11849 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) return NULL
;
11854 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
11855 _resultobj
= Py_BuildValue("s",_ptemp
);
11857 Py_INCREF(Py_None
);
11858 _resultobj
= Py_None
;
11863 #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))
11864 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
* _resultobj
;
11867 wxSpinCtrl
* _arg0
;
11869 wxWindowID _arg2
= (wxWindowID
) -1;
11870 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
11871 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11872 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11873 long _arg6
= (long ) wxSP_ARROW_KEYS
;
11874 int _arg7
= (int ) 0;
11875 int _arg8
= (int ) 100;
11876 int _arg9
= (int ) 0;
11877 wxString
* _arg10
= (wxString
*) &wxPySpinCtrlNameStr
;
11878 PyObject
* _argo0
= 0;
11879 PyObject
* _argo1
= 0;
11880 PyObject
* _obj3
= 0;
11882 PyObject
* _obj4
= 0;
11884 PyObject
* _obj5
= 0;
11885 PyObject
* _obj10
= 0;
11886 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
11889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_obj10
))
11892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11899 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11900 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11907 _arg3
= wxString_in_helper(_obj3
);
11914 if (! wxPoint_helper(_obj4
, &_arg4
))
11920 if (! wxSize_helper(_obj5
, &_arg5
))
11925 _arg10
= wxString_in_helper(_obj10
);
11926 if (_arg10
== NULL
)
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
);
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) return NULL
;
11935 } _resultobj
= Py_BuildValue("i",_result
);
11947 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11948 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
* _resultobj
;
11951 wxSpinCtrl
* _arg0
;
11952 PyObject
* _argo0
= 0;
11953 char *_kwnames
[] = { "self", NULL
};
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
11959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) return NULL
;
11971 } _resultobj
= Py_BuildValue("i",_result
);
11975 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11976 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11977 PyObject
* _resultobj
;
11979 wxSpinCtrl
* _arg0
;
11980 PyObject
* _argo0
= 0;
11981 char *_kwnames
[] = { "self", NULL
};
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
11987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) return NULL
;
11999 } _resultobj
= Py_BuildValue("i",_result
);
12003 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
12004 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
* _resultobj
;
12007 wxSpinCtrl
* _arg0
;
12008 PyObject
* _argo0
= 0;
12009 char *_kwnames
[] = { "self", NULL
};
12012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
12015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
12017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) return NULL
;
12027 } _resultobj
= Py_BuildValue("i",_result
);
12031 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
12032 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
* _resultobj
;
12034 wxSpinCtrl
* _arg0
;
12037 PyObject
* _argo0
= 0;
12038 char *_kwnames
[] = { "self","min","max", NULL
};
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
12046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
12051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12052 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
12054 wxPyEndAllowThreads(__tstate
);
12055 if (PyErr_Occurred()) return NULL
;
12056 } Py_INCREF(Py_None
);
12057 _resultobj
= Py_None
;
12061 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
12062 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
* _resultobj
;
12064 wxSpinCtrl
* _arg0
;
12066 PyObject
* _argo0
= 0;
12067 char *_kwnames
[] = { "self","value", NULL
};
12070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
12073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
12075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 wxSpinCtrl_SetValue(_arg0
,_arg1
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) return NULL
;
12085 } Py_INCREF(Py_None
);
12086 _resultobj
= Py_None
;
12090 static void wxSpinCtrl_SetSelection(wxSpinCtrl
*self
,long from
,long to
) {
12092 static PyObject
*_wrap_wxSpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
* _resultobj
;
12094 wxSpinCtrl
* _arg0
;
12097 PyObject
* _argo0
= 0;
12098 char *_kwnames
[] = { "self","from","to", NULL
};
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSpinCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
12104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
12106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
12111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12112 wxSpinCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
12114 wxPyEndAllowThreads(__tstate
);
12115 if (PyErr_Occurred()) return NULL
;
12116 } Py_INCREF(Py_None
);
12117 _resultobj
= Py_None
;
12121 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
12122 wxToggleButton
*src
;
12124 src
= (wxToggleButton
*) ptr
;
12125 dest
= (wxControl
*) src
;
12126 return (void *) dest
;
12129 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
12130 wxToggleButton
*src
;
12132 src
= (wxToggleButton
*) ptr
;
12133 dest
= (wxWindow
*) src
;
12134 return (void *) dest
;
12137 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
12138 wxToggleButton
*src
;
12139 wxEvtHandler
*dest
;
12140 src
= (wxToggleButton
*) ptr
;
12141 dest
= (wxEvtHandler
*) src
;
12142 return (void *) dest
;
12145 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
12146 wxToggleButton
*src
;
12148 src
= (wxToggleButton
*) ptr
;
12149 dest
= (wxObject
*) src
;
12150 return (void *) dest
;
12153 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
12154 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
* _resultobj
;
12156 wxToggleButton
* _result
;
12160 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
12161 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
12162 long _arg5
= (long ) 0;
12163 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
12164 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
12165 PyObject
* _argo0
= 0;
12166 PyObject
* _obj2
= 0;
12168 PyObject
* _obj3
= 0;
12170 PyObject
* _obj4
= 0;
12171 PyObject
* _argo6
= 0;
12172 PyObject
* _obj7
= 0;
12173 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
12180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
12182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
12187 _arg2
= wxString_in_helper(_obj2
);
12194 if (! wxPoint_helper(_obj3
, &_arg3
))
12200 if (! wxSize_helper(_obj4
, &_arg4
))
12204 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
12205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
12211 _arg7
= wxString_in_helper(_obj7
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) return NULL
;
12222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
12223 _resultobj
= Py_BuildValue("s",_ptemp
);
12225 Py_INCREF(Py_None
);
12226 _resultobj
= Py_None
;
12239 #define new_wxPreToggleButton() (new wxToggleButton())
12240 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12241 PyObject
* _resultobj
;
12242 wxToggleButton
* _result
;
12243 char *_kwnames
[] = { NULL
};
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 _result
= (wxToggleButton
*)new_wxPreToggleButton();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) return NULL
;
12256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
12257 _resultobj
= Py_BuildValue("s",_ptemp
);
12259 Py_INCREF(Py_None
);
12260 _resultobj
= Py_None
;
12265 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
12266 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
* _resultobj
;
12269 wxToggleButton
* _arg0
;
12273 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
12274 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
12275 long _arg6
= (long ) 0;
12276 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
12277 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
12278 PyObject
* _argo0
= 0;
12279 PyObject
* _argo1
= 0;
12280 PyObject
* _obj3
= 0;
12282 PyObject
* _obj4
= 0;
12284 PyObject
* _obj5
= 0;
12285 PyObject
* _argo7
= 0;
12286 PyObject
* _obj8
= 0;
12287 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
12293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
12295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
12300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
12301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
12302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
12307 _arg3
= wxString_in_helper(_obj3
);
12314 if (! wxPoint_helper(_obj4
, &_arg4
))
12320 if (! wxSize_helper(_obj5
, &_arg5
))
12324 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
12325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
12331 _arg8
= wxString_in_helper(_obj8
);
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) return NULL
;
12341 } _resultobj
= Py_BuildValue("i",_result
);
12353 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
12354 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
* _resultobj
;
12356 wxToggleButton
* _arg0
;
12358 PyObject
* _argo0
= 0;
12360 char *_kwnames
[] = { "self","value", NULL
};
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
12366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
12368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
12372 _arg1
= (bool ) tempbool1
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 wxToggleButton_SetValue(_arg0
,_arg1
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) return NULL
;
12379 } Py_INCREF(Py_None
);
12380 _resultobj
= Py_None
;
12384 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
12385 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
* _resultobj
;
12388 wxToggleButton
* _arg0
;
12389 PyObject
* _argo0
= 0;
12390 char *_kwnames
[] = { "self", NULL
};
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
12396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
12398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 _result
= (bool )wxToggleButton_GetValue(_arg0
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) return NULL
;
12408 } _resultobj
= Py_BuildValue("i",_result
);
12412 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
12413 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
* _resultobj
;
12415 wxToggleButton
* _arg0
;
12417 PyObject
* _argo0
= 0;
12418 PyObject
* _obj1
= 0;
12419 char *_kwnames
[] = { "self","label", NULL
};
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
12425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
12427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
12432 _arg1
= wxString_in_helper(_obj1
);
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 wxToggleButton_SetLabel(_arg0
,*_arg1
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) return NULL
;
12442 } Py_INCREF(Py_None
);
12443 _resultobj
= Py_None
;
12451 static PyMethodDef controlscMethods
[] = {
12452 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12453 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12454 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12455 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12456 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
12457 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
12458 { "wxSpinCtrl_SetSelection", (PyCFunction
) _wrap_wxSpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12459 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12460 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12461 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12462 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
12463 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
12464 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12465 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12466 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12467 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12468 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
12469 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
12470 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12471 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12472 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
12473 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
12474 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12475 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12476 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
12477 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
12478 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
12479 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
12480 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12481 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
12482 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
12483 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
12484 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
12485 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
12486 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
12487 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
12488 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
12489 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12490 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12491 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12492 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
12493 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
12494 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
12495 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
12496 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12497 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12498 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12499 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12500 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12501 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12502 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
12503 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
12504 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
12505 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12506 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12507 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
12508 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
12509 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
12510 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12511 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12512 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
12513 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12514 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12515 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12516 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12517 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12518 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
12519 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
12520 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12521 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
12522 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
12523 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12524 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
12525 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
12526 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
12527 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
12528 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
12529 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12530 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
12531 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
12532 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12533 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12534 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
12535 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
12536 { "wxTextCtrl_IsMultiLine", (PyCFunction
) _wrap_wxTextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
12537 { "wxTextCtrl_IsSingleLine", (PyCFunction
) _wrap_wxTextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
12538 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
12539 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
12540 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12541 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
12542 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12543 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
12544 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12545 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
12546 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
12547 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
12548 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
12549 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
12550 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
12551 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
12552 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
12553 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
12554 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
12555 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
12556 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
12557 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
12558 { "wxTextCtrl_GetStyle", (PyCFunction
) _wrap_wxTextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12559 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
12560 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
12561 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12562 { "wxTextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_wxTextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
12563 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
12564 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
12565 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
12566 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
12567 { "wxTextCtrl_MarkDirty", (PyCFunction
) _wrap_wxTextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
12568 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
12569 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12570 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12571 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
12572 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12573 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12574 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12575 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
12576 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
12577 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
12578 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
12579 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
12580 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
12581 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12582 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12583 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12584 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12585 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12586 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
12587 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
12588 { "wxTextAttr_GetFlags", (PyCFunction
) _wrap_wxTextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
12589 { "wxTextAttr_GetRightIndent", (PyCFunction
) _wrap_wxTextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
12590 { "wxTextAttr_GetLeftIndent", (PyCFunction
) _wrap_wxTextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
12591 { "wxTextAttr_GetTabs", (PyCFunction
) _wrap_wxTextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
12592 { "wxTextAttr_GetAlignment", (PyCFunction
) _wrap_wxTextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12593 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12594 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12595 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12596 { "wxTextAttr_HasFlag", (PyCFunction
) _wrap_wxTextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
12597 { "wxTextAttr_HasRightIndent", (PyCFunction
) _wrap_wxTextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
12598 { "wxTextAttr_HasLeftIndent", (PyCFunction
) _wrap_wxTextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
12599 { "wxTextAttr_HasTabs", (PyCFunction
) _wrap_wxTextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
12600 { "wxTextAttr_HasAlignment", (PyCFunction
) _wrap_wxTextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12601 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
12602 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12603 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12604 { "wxTextAttr_SetFlags", (PyCFunction
) _wrap_wxTextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
12605 { "wxTextAttr_SetRightIndent", (PyCFunction
) _wrap_wxTextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
12606 { "wxTextAttr_SetLeftIndent", (PyCFunction
) _wrap_wxTextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
12607 { "wxTextAttr_SetTabs", (PyCFunction
) _wrap_wxTextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
12608 { "wxTextAttr_SetAlignment", (PyCFunction
) _wrap_wxTextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12609 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12610 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12611 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12612 { "wxTextAttr_Init", (PyCFunction
) _wrap_wxTextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
12613 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
12614 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
12615 { "wxCheckListBox_HitTestXY", (PyCFunction
) _wrap_wxCheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
12616 { "wxCheckListBox_HitTest", (PyCFunction
) _wrap_wxCheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
12617 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
12618 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
12619 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
12620 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
12621 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12622 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
12623 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
12624 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12625 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12626 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12627 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
12628 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
12629 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
12630 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
12631 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
12632 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
12633 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
12634 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
12635 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12636 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12637 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
12638 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
12639 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12640 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12641 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
12642 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
12643 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
12644 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
12645 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
12646 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
12647 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12648 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
12649 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
12650 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12651 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
12652 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12653 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
12654 { "wxGauge_IsVertical", (PyCFunction
) _wrap_wxGauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
12655 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12656 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
12657 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
12658 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
12659 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
12660 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
12661 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
12662 { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
12663 { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
12664 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
12665 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12666 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12667 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
12668 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
12669 { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12670 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
12671 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12672 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
12673 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12674 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
12675 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12676 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
12677 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12678 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12679 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
12680 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
12681 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12682 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
12683 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12684 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
12685 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
12686 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12687 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
12688 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
12689 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12690 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12691 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12692 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
12693 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
12694 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12695 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
12696 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
12697 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
12698 { "wxCheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_wxCheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
12699 { "wxCheckBox_Is3State", (PyCFunction
) _wrap_wxCheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
12700 { "wxCheckBox_Set3StateValue", (PyCFunction
) _wrap_wxCheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
12701 { "wxCheckBox_Get3StateValue", (PyCFunction
) _wrap_wxCheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
12702 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12703 { "wxCheckBox_IsChecked", (PyCFunction
) _wrap_wxCheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
12704 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12705 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12706 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
12707 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
12708 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
12709 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
12710 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
12711 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
12712 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
12713 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
12714 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
12715 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
12716 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
12717 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
12718 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
12719 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12720 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
12721 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
12722 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
12723 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12724 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12725 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
12726 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12727 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
12728 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
12729 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
12730 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
12731 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
12732 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
12733 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12734 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12735 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
12736 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
12737 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12738 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
12739 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12740 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
12741 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12742 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12743 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
12744 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12745 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
12746 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
12753 * This table is used by the pointer type-checker
12755 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12756 { "_signed_long","_long",0},
12757 { "_wxPrintQuality","_wxCoord",0},
12758 { "_wxPrintQuality","_int",0},
12759 { "_wxPrintQuality","_signed_int",0},
12760 { "_wxPrintQuality","_unsigned_int",0},
12761 { "_wxPrintQuality","_wxWindowID",0},
12762 { "_wxPrintQuality","_uint",0},
12763 { "_wxPrintQuality","_EBool",0},
12764 { "_wxPrintQuality","_size_t",0},
12765 { "_wxPrintQuality","_time_t",0},
12766 { "_byte","_unsigned_char",0},
12767 { "_long","_unsigned_long",0},
12768 { "_long","_signed_long",0},
12769 { "_size_t","_wxCoord",0},
12770 { "_size_t","_wxPrintQuality",0},
12771 { "_size_t","_time_t",0},
12772 { "_size_t","_unsigned_int",0},
12773 { "_size_t","_int",0},
12774 { "_size_t","_wxWindowID",0},
12775 { "_size_t","_uint",0},
12776 { "_uint","_wxCoord",0},
12777 { "_uint","_wxPrintQuality",0},
12778 { "_uint","_time_t",0},
12779 { "_uint","_size_t",0},
12780 { "_uint","_unsigned_int",0},
12781 { "_uint","_int",0},
12782 { "_uint","_wxWindowID",0},
12783 { "_wxChar","_char",0},
12784 { "_char","_wxChar",0},
12785 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
12786 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12787 { "_EBool","_wxCoord",0},
12788 { "_EBool","_wxPrintQuality",0},
12789 { "_EBool","_signed_int",0},
12790 { "_EBool","_int",0},
12791 { "_EBool","_wxWindowID",0},
12792 { "_unsigned_long","_long",0},
12793 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12794 { "_signed_int","_wxCoord",0},
12795 { "_signed_int","_wxPrintQuality",0},
12796 { "_signed_int","_EBool",0},
12797 { "_signed_int","_wxWindowID",0},
12798 { "_signed_int","_int",0},
12799 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
12800 { "_WXTYPE","_short",0},
12801 { "_WXTYPE","_signed_short",0},
12802 { "_WXTYPE","_unsigned_short",0},
12803 { "_unsigned_short","_WXTYPE",0},
12804 { "_unsigned_short","_short",0},
12805 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
12806 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
12807 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
12808 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
12809 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
12810 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
12811 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
12812 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
12813 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
12814 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
12815 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
12816 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
12817 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
12818 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
12819 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
12820 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
12821 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
12822 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
12823 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
12824 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
12825 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
12826 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
12827 { "_signed_short","_WXTYPE",0},
12828 { "_signed_short","_short",0},
12829 { "_unsigned_char","_byte",0},
12830 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
12831 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
12832 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
12833 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
12834 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
12835 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
12836 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
12837 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
12838 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
12839 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
12840 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
12841 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
12842 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
12843 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
12844 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
12845 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
12846 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
12847 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
12848 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
12849 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
12850 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
12851 { "_unsigned_int","_wxCoord",0},
12852 { "_unsigned_int","_wxPrintQuality",0},
12853 { "_unsigned_int","_time_t",0},
12854 { "_unsigned_int","_size_t",0},
12855 { "_unsigned_int","_uint",0},
12856 { "_unsigned_int","_wxWindowID",0},
12857 { "_unsigned_int","_int",0},
12858 { "_short","_WXTYPE",0},
12859 { "_short","_unsigned_short",0},
12860 { "_short","_signed_short",0},
12861 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
12862 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
12863 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
12864 { "_wxWindowID","_wxCoord",0},
12865 { "_wxWindowID","_wxPrintQuality",0},
12866 { "_wxWindowID","_time_t",0},
12867 { "_wxWindowID","_size_t",0},
12868 { "_wxWindowID","_EBool",0},
12869 { "_wxWindowID","_uint",0},
12870 { "_wxWindowID","_int",0},
12871 { "_wxWindowID","_signed_int",0},
12872 { "_wxWindowID","_unsigned_int",0},
12873 { "_int","_wxCoord",0},
12874 { "_int","_wxPrintQuality",0},
12875 { "_int","_time_t",0},
12876 { "_int","_size_t",0},
12877 { "_int","_EBool",0},
12878 { "_int","_uint",0},
12879 { "_int","_wxWindowID",0},
12880 { "_int","_unsigned_int",0},
12881 { "_int","_signed_int",0},
12882 { "_time_t","_wxCoord",0},
12883 { "_time_t","_wxPrintQuality",0},
12884 { "_time_t","_unsigned_int",0},
12885 { "_time_t","_int",0},
12886 { "_time_t","_wxWindowID",0},
12887 { "_time_t","_uint",0},
12888 { "_time_t","_size_t",0},
12889 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
12890 { "_wxCoord","_int",0},
12891 { "_wxCoord","_signed_int",0},
12892 { "_wxCoord","_unsigned_int",0},
12893 { "_wxCoord","_wxWindowID",0},
12894 { "_wxCoord","_uint",0},
12895 { "_wxCoord","_EBool",0},
12896 { "_wxCoord","_size_t",0},
12897 { "_wxCoord","_time_t",0},
12898 { "_wxCoord","_wxPrintQuality",0},
12899 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
12900 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
12901 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
12902 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
12903 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
12904 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
12905 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
12906 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
12907 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
12908 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
12909 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
12910 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
12911 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
12912 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
12913 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
12914 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
12915 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
12916 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
12917 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
12918 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
12919 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
12920 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
12921 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
12922 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
12923 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
12924 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
12925 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
12926 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
12927 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
12928 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
12929 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
12930 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
12931 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
12932 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
12933 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
12934 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
12935 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
12936 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
12937 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
12938 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
12939 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
12940 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
12941 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
12942 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
12945 static PyObject
*SWIG_globals
;
12949 SWIGEXPORT(void) initcontrolsc() {
12951 SWIG_globals
= SWIG_newvarlink();
12952 m
= Py_InitModule("controlsc", controlscMethods
);
12953 d
= PyModule_GetDict(m
);
12954 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12955 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
12956 PyDict_SetItemString(d
,"wxCHK_2STATE", PyInt_FromLong((long) wxCHK_2STATE
));
12957 PyDict_SetItemString(d
,"wxCHK_3STATE", PyInt_FromLong((long) wxCHK_3STATE
));
12958 PyDict_SetItemString(d
,"wxCHK_ALLOW_3RD_STATE_FOR_USER", PyInt_FromLong((long) wxCHK_ALLOW_3RD_STATE_FOR_USER
));
12959 PyDict_SetItemString(d
,"wxCHK_UNCHECKED", PyInt_FromLong((long) wxCHK_UNCHECKED
));
12960 PyDict_SetItemString(d
,"wxCHK_CHECKED", PyInt_FromLong((long) wxCHK_CHECKED
));
12961 PyDict_SetItemString(d
,"wxCHK_UNDETERMINED", PyInt_FromLong((long) wxCHK_UNDETERMINED
));
12962 PyDict_SetItemString(d
,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL
));
12963 PyDict_SetItemString(d
,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL
));
12964 PyDict_SetItemString(d
,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY
));
12965 PyDict_SetItemString(d
,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE
));
12966 PyDict_SetItemString(d
,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB
));
12967 PyDict_SetItemString(d
,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT
));
12968 PyDict_SetItemString(d
,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER
));
12969 PyDict_SetItemString(d
,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT
));
12970 PyDict_SetItemString(d
,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE
));
12971 PyDict_SetItemString(d
,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH
));
12972 PyDict_SetItemString(d
,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER
));
12973 PyDict_SetItemString(d
,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD
));
12974 PyDict_SetItemString(d
,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL
));
12975 PyDict_SetItemString(d
,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL
));
12976 PyDict_SetItemString(d
,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP
));
12977 PyDict_SetItemString(d
,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP
));
12978 PyDict_SetItemString(d
,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP
));
12979 PyDict_SetItemString(d
,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2
));
12980 PyDict_SetItemString(d
,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR
));
12981 PyDict_SetItemString(d
,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR
));
12982 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE
));
12983 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE
));
12984 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT
));
12985 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC
));
12986 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE
));
12987 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT
));
12988 PyDict_SetItemString(d
,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT
));
12989 PyDict_SetItemString(d
,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT
));
12990 PyDict_SetItemString(d
,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT
));
12991 PyDict_SetItemString(d
,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS
));
12992 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT
));
12993 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT
));
12994 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE
));
12995 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER
));
12996 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT
));
12997 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED
));
12998 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
13001 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
13002 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);