2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1272 static PyObject
*_wrap_wxButton_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
* _resultobj
;
1276 PyObject
* _argo0
= 0;
1277 PyObject
* _argo1
= 0;
1278 char *_kwnames
[] = { "self","bitmap", NULL
};
1281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetImageLabel",_kwnames
,&_argo0
,&_argo1
))
1284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1291 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 wxButton_SetImageLabel(_arg0
,*_arg1
);
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) return NULL
;
1302 } Py_INCREF(Py_None
);
1303 _resultobj
= Py_None
;
1307 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1308 static PyObject
*_wrap_wxButton_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1313 PyObject
* _argo0
= 0;
1314 char *_kwnames
[] = { "self","x","y", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxButton_SetImageMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1328 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
1330 wxPyEndAllowThreads(__tstate
);
1331 if (PyErr_Occurred()) return NULL
;
1332 } Py_INCREF(Py_None
);
1333 _resultobj
= Py_None
;
1337 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1340 char *_kwnames
[] = { NULL
};
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 _result
= new wxSize (wxButton::GetDefaultSize());
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1352 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1353 _resultobj
= Py_BuildValue("s",_ptemp
);
1357 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1358 wxBitmapButton
*src
;
1360 src
= (wxBitmapButton
*) ptr
;
1361 dest
= (wxButton
*) src
;
1362 return (void *) dest
;
1365 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1366 wxBitmapButton
*src
;
1368 src
= (wxBitmapButton
*) ptr
;
1369 dest
= (wxControl
*) src
;
1370 return (void *) dest
;
1373 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1374 wxBitmapButton
*src
;
1376 src
= (wxBitmapButton
*) ptr
;
1377 dest
= (wxWindow
*) src
;
1378 return (void *) dest
;
1381 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1382 wxBitmapButton
*src
;
1384 src
= (wxBitmapButton
*) ptr
;
1385 dest
= (wxEvtHandler
*) src
;
1386 return (void *) dest
;
1389 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1390 wxBitmapButton
*src
;
1392 src
= (wxBitmapButton
*) ptr
;
1393 dest
= (wxObject
*) src
;
1394 return (void *) dest
;
1397 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1398 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
* _resultobj
;
1400 wxBitmapButton
* _result
;
1404 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1405 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1406 long _arg5
= (long ) wxBU_AUTODRAW
;
1407 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1408 wxString
* _arg7
= (wxString
*) &wxPyButtonNameStr
;
1409 PyObject
* _argo0
= 0;
1410 PyObject
* _argo2
= 0;
1412 PyObject
* _obj3
= 0;
1414 PyObject
* _obj4
= 0;
1415 PyObject
* _argo6
= 0;
1416 PyObject
* _obj7
= 0;
1417 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
1424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1431 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1439 if (! wxPoint_helper(_obj3
, &_arg3
))
1445 if (! wxSize_helper(_obj4
, &_arg4
))
1449 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1456 _arg7
= wxString_in_helper(_obj7
);
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) return NULL
;
1467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1468 _resultobj
= Py_BuildValue("s",_ptemp
);
1471 _resultobj
= Py_None
;
1480 #define new_wxPreBitmapButton() (new wxBitmapButton())
1481 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxBitmapButton
* _result
;
1484 char *_kwnames
[] = { NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1498 _resultobj
= Py_BuildValue("s",_ptemp
);
1501 _resultobj
= Py_None
;
1506 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1507 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
* _resultobj
;
1510 wxBitmapButton
* _arg0
;
1514 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1515 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1516 long _arg6
= (long ) wxBU_AUTODRAW
;
1517 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1518 wxString
* _arg8
= (wxString
*) &wxPyButtonNameStr
;
1519 PyObject
* _argo0
= 0;
1520 PyObject
* _argo1
= 0;
1521 PyObject
* _argo3
= 0;
1523 PyObject
* _obj4
= 0;
1525 PyObject
* _obj5
= 0;
1526 PyObject
* _argo7
= 0;
1527 PyObject
* _obj8
= 0;
1528 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
1534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1548 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1556 if (! wxPoint_helper(_obj4
, &_arg4
))
1562 if (! wxSize_helper(_obj5
, &_arg5
))
1566 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1573 _arg8
= wxString_in_helper(_obj8
);
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) return NULL
;
1583 } _resultobj
= Py_BuildValue("i",_result
);
1591 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1592 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1595 wxBitmapButton
* _arg0
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) return NULL
;
1616 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1617 _resultobj
= Py_BuildValue("s",_ptemp
);
1621 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1622 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1625 wxBitmapButton
* _arg0
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1647 _resultobj
= Py_BuildValue("s",_ptemp
);
1651 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1652 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1655 wxBitmapButton
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 char *_kwnames
[] = { "self", NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1672 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1674 wxPyEndAllowThreads(__tstate
);
1675 if (PyErr_Occurred()) return NULL
;
1676 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1677 _resultobj
= Py_BuildValue("s",_ptemp
);
1681 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1682 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
* _resultobj
;
1685 wxBitmapButton
* _arg0
;
1686 PyObject
* _argo0
= 0;
1687 char *_kwnames
[] = { "self", NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
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_GetBitmapSelected. Expected _wxBitmapButton_p.");
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) return NULL
;
1706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1707 _resultobj
= Py_BuildValue("s",_ptemp
);
1711 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1712 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1714 wxBitmapButton
* _arg0
;
1716 PyObject
* _argo0
= 0;
1717 PyObject
* _argo1
= 0;
1718 char *_kwnames
[] = { "self","bitmap", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1731 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1738 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1740 wxPyEndAllowThreads(__tstate
);
1741 if (PyErr_Occurred()) return NULL
;
1742 } Py_INCREF(Py_None
);
1743 _resultobj
= Py_None
;
1747 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1748 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1750 wxBitmapButton
* _arg0
;
1752 PyObject
* _argo0
= 0;
1753 PyObject
* _argo1
= 0;
1754 char *_kwnames
[] = { "self","bitmap", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1767 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } Py_INCREF(Py_None
);
1779 _resultobj
= Py_None
;
1783 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1784 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1786 wxBitmapButton
* _arg0
;
1788 PyObject
* _argo0
= 0;
1789 PyObject
* _argo1
= 0;
1790 char *_kwnames
[] = { "self","bitmap", NULL
};
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1803 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } Py_INCREF(Py_None
);
1815 _resultobj
= Py_None
;
1819 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1820 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 wxBitmapButton
* _arg0
;
1824 PyObject
* _argo0
= 0;
1825 PyObject
* _argo1
= 0;
1826 char *_kwnames
[] = { "self","bitmap", NULL
};
1829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1839 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) return NULL
;
1850 } Py_INCREF(Py_None
);
1851 _resultobj
= Py_None
;
1855 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1856 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1858 wxBitmapButton
* _arg0
;
1861 PyObject
* _argo0
= 0;
1862 char *_kwnames
[] = { "self","x","y", NULL
};
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) return NULL
;
1880 } Py_INCREF(Py_None
);
1881 _resultobj
= Py_None
;
1885 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1886 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
* _resultobj
;
1889 wxBitmapButton
* _arg0
;
1890 PyObject
* _argo0
= 0;
1891 char *_kwnames
[] = { "self", NULL
};
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) return NULL
;
1909 } _resultobj
= Py_BuildValue("i",_result
);
1913 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1914 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1917 wxBitmapButton
* _arg0
;
1918 PyObject
* _argo0
= 0;
1919 char *_kwnames
[] = { "self", NULL
};
1922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) return NULL
;
1937 } _resultobj
= Py_BuildValue("i",_result
);
1941 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1944 src
= (wxCheckBox
*) ptr
;
1945 dest
= (wxControl
*) src
;
1946 return (void *) dest
;
1949 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1952 src
= (wxCheckBox
*) ptr
;
1953 dest
= (wxWindow
*) src
;
1954 return (void *) dest
;
1957 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1960 src
= (wxCheckBox
*) ptr
;
1961 dest
= (wxEvtHandler
*) src
;
1962 return (void *) dest
;
1965 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1968 src
= (wxCheckBox
*) ptr
;
1969 dest
= (wxObject
*) src
;
1970 return (void *) dest
;
1973 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1974 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxCheckBox
* _result
;
1980 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1981 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1982 long _arg5
= (long ) 0;
1983 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1984 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
1985 PyObject
* _argo0
= 0;
1986 PyObject
* _obj2
= 0;
1988 PyObject
* _obj3
= 0;
1990 PyObject
* _obj4
= 0;
1991 PyObject
* _argo6
= 0;
1992 PyObject
* _obj7
= 0;
1993 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
2007 _arg2
= wxString_in_helper(_obj2
);
2014 if (! wxPoint_helper(_obj3
, &_arg3
))
2020 if (! wxSize_helper(_obj4
, &_arg4
))
2024 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2031 _arg7
= wxString_in_helper(_obj7
);
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) return NULL
;
2042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2043 _resultobj
= Py_BuildValue("s",_ptemp
);
2046 _resultobj
= Py_None
;
2059 #define new_wxPreCheckBox() (new wxCheckBox())
2060 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
* _resultobj
;
2062 wxCheckBox
* _result
;
2063 char *_kwnames
[] = { NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) return NULL
;
2076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2077 _resultobj
= Py_BuildValue("s",_ptemp
);
2080 _resultobj
= Py_None
;
2085 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2086 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2093 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2094 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2095 long _arg6
= (long ) 0;
2096 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2097 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
2098 PyObject
* _argo0
= 0;
2099 PyObject
* _argo1
= 0;
2100 PyObject
* _obj3
= 0;
2102 PyObject
* _obj4
= 0;
2104 PyObject
* _obj5
= 0;
2105 PyObject
* _argo7
= 0;
2106 PyObject
* _obj8
= 0;
2107 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2127 _arg3
= wxString_in_helper(_obj3
);
2134 if (! wxPoint_helper(_obj4
, &_arg4
))
2140 if (! wxSize_helper(_obj5
, &_arg5
))
2144 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2151 _arg8
= wxString_in_helper(_obj8
);
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) return NULL
;
2161 } _resultobj
= Py_BuildValue("i",_result
);
2173 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2174 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
* _resultobj
;
2178 PyObject
* _argo0
= 0;
2179 char *_kwnames
[] = { "self", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) return NULL
;
2197 } _resultobj
= Py_BuildValue("i",_result
);
2201 #define wxCheckBox_IsChecked(_swigobj) (_swigobj->IsChecked())
2202 static PyObject
*_wrap_wxCheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2206 PyObject
* _argo0
= 0;
2207 char *_kwnames
[] = { "self", NULL
};
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_IsChecked",_kwnames
,&_argo0
))
2213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p.");
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 _result
= (bool )wxCheckBox_IsChecked(_arg0
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) return NULL
;
2225 } _resultobj
= Py_BuildValue("i",_result
);
2229 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2230 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2234 PyObject
* _argo0
= 0;
2236 char *_kwnames
[] = { "self","state", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2248 _arg1
= (bool ) tempbool1
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 wxCheckBox_SetValue(_arg0
,_arg1
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) return NULL
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2260 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2262 wxControlWithItems
*dest
;
2263 src
= (wxChoice
*) ptr
;
2264 dest
= (wxControlWithItems
*) src
;
2265 return (void *) dest
;
2268 static void *SwigwxChoiceTowxControl(void *ptr
) {
2271 src
= (wxChoice
*) ptr
;
2272 dest
= (wxControl
*) src
;
2273 return (void *) dest
;
2276 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2279 src
= (wxChoice
*) ptr
;
2280 dest
= (wxWindow
*) src
;
2281 return (void *) dest
;
2284 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2287 src
= (wxChoice
*) ptr
;
2288 dest
= (wxEvtHandler
*) src
;
2289 return (void *) dest
;
2292 static void *SwigwxChoiceTowxObject(void *ptr
) {
2295 src
= (wxChoice
*) ptr
;
2296 dest
= (wxObject
*) src
;
2297 return (void *) dest
;
2300 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2301 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2302 PyObject
* _resultobj
;
2306 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2307 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2308 int _arg4
= (int ) 0;
2309 wxString
* _arg5
= (wxString
*) NULL
;
2310 long _arg6
= (long ) 0;
2311 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2312 wxString
* _arg8
= (wxString
*) &wxPyChoiceNameStr
;
2313 PyObject
* _argo0
= 0;
2315 PyObject
* _obj2
= 0;
2317 PyObject
* _obj3
= 0;
2318 PyObject
* _obj5
= 0;
2319 PyObject
* _argo7
= 0;
2320 PyObject
* _obj8
= 0;
2321 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2337 if (! wxPoint_helper(_obj2
, &_arg2
))
2343 if (! wxSize_helper(_obj3
, &_arg3
))
2348 _arg5
= wxString_LIST_helper(_obj5
);
2349 if (_arg5
== NULL
) {
2354 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2361 _arg8
= wxString_in_helper(_obj8
);
2367 _arg4
= PyList_Size(_obj5
);
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) return NULL
;
2380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2381 _resultobj
= Py_BuildValue("s",_ptemp
);
2384 _resultobj
= Py_None
;
2396 #define new_wxPreChoice() (new wxChoice())
2397 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2400 char *_kwnames
[] = { NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 _result
= (wxChoice
*)new_wxPreChoice();
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2413 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2414 _resultobj
= Py_BuildValue("s",_ptemp
);
2417 _resultobj
= Py_None
;
2422 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2423 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2429 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2430 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2431 int _arg5
= (int ) 0;
2432 wxString
* _arg6
= (wxString
*) NULL
;
2433 long _arg7
= (long ) 0;
2434 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2435 wxString
* _arg9
= (wxString
*) &wxPyChoiceNameStr
;
2436 PyObject
* _argo0
= 0;
2437 PyObject
* _argo1
= 0;
2439 PyObject
* _obj3
= 0;
2441 PyObject
* _obj4
= 0;
2442 PyObject
* _obj6
= 0;
2443 PyObject
* _argo8
= 0;
2444 PyObject
* _obj9
= 0;
2445 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2467 if (! wxPoint_helper(_obj3
, &_arg3
))
2473 if (! wxSize_helper(_obj4
, &_arg4
))
2478 _arg6
= wxString_LIST_helper(_obj6
);
2479 if (_arg6
== NULL
) {
2484 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2491 _arg9
= wxString_in_helper(_obj9
);
2497 _arg5
= PyList_Size(_obj6
);
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) return NULL
;
2509 } _resultobj
= Py_BuildValue("i",_result
);
2520 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2521 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 wxChoice_Clear(_arg0
);
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) return NULL
;
2543 } Py_INCREF(Py_None
);
2544 _resultobj
= Py_None
;
2548 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2549 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2553 PyObject
* _argo0
= 0;
2554 char *_kwnames
[] = { "self", NULL
};
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2568 _result
= (int )wxChoice_GetColumns(_arg0
);
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) return NULL
;
2572 } _resultobj
= Py_BuildValue("i",_result
);
2576 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2577 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2580 int _arg1
= (int ) 1;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self","n", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 wxChoice_SetColumns(_arg0
,_arg1
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) return NULL
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2606 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self","n", NULL
};
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxChoice_SetSelection(_arg0
,_arg1
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2634 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2635 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 PyObject
* _obj1
= 0;
2641 char *_kwnames
[] = { "self","string", NULL
};
2644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2654 _arg1
= wxString_in_helper(_obj1
);
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) return NULL
;
2664 } Py_INCREF(Py_None
);
2665 _resultobj
= Py_None
;
2673 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2674 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
* _resultobj
;
2679 PyObject
* _argo0
= 0;
2680 PyObject
* _obj2
= 0;
2681 char *_kwnames
[] = { "self","n","s", NULL
};
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2694 _arg2
= wxString_in_helper(_obj2
);
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) return NULL
;
2704 } Py_INCREF(Py_None
);
2705 _resultobj
= Py_None
;
2713 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2716 src
= (wxComboBox
*) ptr
;
2717 dest
= (wxChoice
*) src
;
2718 return (void *) dest
;
2721 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2723 wxControlWithItems
*dest
;
2724 src
= (wxComboBox
*) ptr
;
2725 dest
= (wxControlWithItems
*) src
;
2726 return (void *) dest
;
2729 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2732 src
= (wxComboBox
*) ptr
;
2733 dest
= (wxControl
*) src
;
2734 return (void *) dest
;
2737 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2740 src
= (wxComboBox
*) ptr
;
2741 dest
= (wxWindow
*) src
;
2742 return (void *) dest
;
2745 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2748 src
= (wxComboBox
*) ptr
;
2749 dest
= (wxEvtHandler
*) src
;
2750 return (void *) dest
;
2753 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2756 src
= (wxComboBox
*) ptr
;
2757 dest
= (wxObject
*) src
;
2758 return (void *) dest
;
2761 #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))
2762 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2763 PyObject
* _resultobj
;
2764 wxComboBox
* _result
;
2767 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2768 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2769 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2770 int _arg5
= (int ) 0;
2771 wxString
* _arg6
= (wxString
*) NULL
;
2772 long _arg7
= (long ) 0;
2773 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2774 wxString
* _arg9
= (wxString
*) &wxPyComboBoxNameStr
;
2775 PyObject
* _argo0
= 0;
2776 PyObject
* _obj2
= 0;
2778 PyObject
* _obj3
= 0;
2780 PyObject
* _obj4
= 0;
2781 PyObject
* _obj6
= 0;
2782 PyObject
* _argo8
= 0;
2783 PyObject
* _obj9
= 0;
2784 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOOlOO:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2799 _arg2
= wxString_in_helper(_obj2
);
2806 if (! wxPoint_helper(_obj3
, &_arg3
))
2812 if (! wxSize_helper(_obj4
, &_arg4
))
2817 _arg6
= wxString_LIST_helper(_obj6
);
2818 if (_arg6
== NULL
) {
2823 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2830 _arg9
= wxString_in_helper(_obj9
);
2836 _arg5
= PyList_Size(_obj6
);
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) return NULL
;
2849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2850 _resultobj
= Py_BuildValue("s",_ptemp
);
2853 _resultobj
= Py_None
;
2869 #define new_wxPreComboBox() (new wxComboBox())
2870 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2872 wxComboBox
* _result
;
2873 char *_kwnames
[] = { NULL
};
2877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2881 _result
= (wxComboBox
*)new_wxPreComboBox();
2883 wxPyEndAllowThreads(__tstate
);
2884 if (PyErr_Occurred()) return NULL
;
2886 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2887 _resultobj
= Py_BuildValue("s",_ptemp
);
2890 _resultobj
= Py_None
;
2895 #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))
2896 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2902 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2903 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2904 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2905 int _arg6
= (int ) 0;
2906 wxString
* _arg7
= (wxString
*) NULL
;
2907 long _arg8
= (long ) 0;
2908 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2909 wxString
* _arg10
= (wxString
*) &wxPyComboBoxNameStr
;
2910 PyObject
* _argo0
= 0;
2911 PyObject
* _argo1
= 0;
2912 PyObject
* _obj3
= 0;
2914 PyObject
* _obj4
= 0;
2916 PyObject
* _obj5
= 0;
2917 PyObject
* _obj7
= 0;
2918 PyObject
* _argo9
= 0;
2919 PyObject
* _obj10
= 0;
2920 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOOlOO:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2933 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2934 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2941 _arg3
= wxString_in_helper(_obj3
);
2948 if (! wxPoint_helper(_obj4
, &_arg4
))
2954 if (! wxSize_helper(_obj5
, &_arg5
))
2959 _arg7
= wxString_LIST_helper(_obj7
);
2960 if (_arg7
== NULL
) {
2965 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2972 _arg10
= wxString_in_helper(_obj10
);
2978 _arg6
= PyList_Size(_obj7
);
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) return NULL
;
2990 } _resultobj
= Py_BuildValue("i",_result
);
3005 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
3006 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3009 PyObject
* _argo0
= 0;
3010 char *_kwnames
[] = { "self", NULL
};
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
3016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 wxComboBox_Copy(_arg0
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) return NULL
;
3028 } Py_INCREF(Py_None
);
3029 _resultobj
= Py_None
;
3033 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
3034 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
* _resultobj
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 wxComboBox_Cut(_arg0
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3061 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3062 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) return NULL
;
3085 } _resultobj
= Py_BuildValue("l",_result
);
3089 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3090 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) return NULL
;
3113 } _resultobj
= Py_BuildValue("l",_result
);
3117 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3118 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) return NULL
;
3143 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
3145 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3154 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3155 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3158 PyObject
* _argo0
= 0;
3159 char *_kwnames
[] = { "self", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 wxComboBox_Paste(_arg0
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) return NULL
;
3177 } Py_INCREF(Py_None
);
3178 _resultobj
= Py_None
;
3182 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3183 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
* _resultobj
;
3189 PyObject
* _argo0
= 0;
3190 PyObject
* _obj3
= 0;
3191 char *_kwnames
[] = { "self","from","to","text", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3204 _arg3
= wxString_in_helper(_obj3
);
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) return NULL
;
3214 } Py_INCREF(Py_None
);
3215 _resultobj
= Py_None
;
3223 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3224 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3229 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self","from","to", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) return NULL
;
3248 } Py_INCREF(Py_None
);
3249 _resultobj
= Py_None
;
3253 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3254 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3258 PyObject
* _argo0
= 0;
3259 char *_kwnames
[] = { "self","pos", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) return NULL
;
3277 } Py_INCREF(Py_None
);
3278 _resultobj
= Py_None
;
3282 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3283 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3286 PyObject
* _argo0
= 0;
3287 char *_kwnames
[] = { "self", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 wxComboBox_SetInsertionPointEnd(_arg0
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) return NULL
;
3305 } Py_INCREF(Py_None
);
3306 _resultobj
= Py_None
;
3310 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3311 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3315 PyObject
* _argo0
= 0;
3316 char *_kwnames
[] = { "self","n", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 wxComboBox_SetSelection(_arg0
,_arg1
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) return NULL
;
3334 } Py_INCREF(Py_None
);
3335 _resultobj
= Py_None
;
3339 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3340 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3345 PyObject
* _argo0
= 0;
3346 char *_kwnames
[] = { "self","from","to", NULL
};
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3360 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3362 wxPyEndAllowThreads(__tstate
);
3363 if (PyErr_Occurred()) return NULL
;
3364 } Py_INCREF(Py_None
);
3365 _resultobj
= Py_None
;
3369 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3370 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3374 PyObject
* _argo0
= 0;
3375 PyObject
* _obj1
= 0;
3376 char *_kwnames
[] = { "self","text", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3389 _arg1
= wxString_in_helper(_obj1
);
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 wxComboBox_SetValue(_arg0
,*_arg1
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) return NULL
;
3399 } Py_INCREF(Py_None
);
3400 _resultobj
= Py_None
;
3408 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3409 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
* _resultobj
;
3413 PyObject
* _argo0
= 0;
3415 char *_kwnames
[] = { "self","editable", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3427 _arg1
= (bool ) tempbool1
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 wxComboBox_SetEditable(_arg0
,_arg1
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) return NULL
;
3434 } Py_INCREF(Py_None
);
3435 _resultobj
= Py_None
;
3439 static void *SwigwxGaugeTowxControl(void *ptr
) {
3442 src
= (wxGauge
*) ptr
;
3443 dest
= (wxControl
*) src
;
3444 return (void *) dest
;
3447 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3450 src
= (wxGauge
*) ptr
;
3451 dest
= (wxWindow
*) src
;
3452 return (void *) dest
;
3455 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3458 src
= (wxGauge
*) ptr
;
3459 dest
= (wxEvtHandler
*) src
;
3460 return (void *) dest
;
3463 static void *SwigwxGaugeTowxObject(void *ptr
) {
3466 src
= (wxGauge
*) ptr
;
3467 dest
= (wxObject
*) src
;
3468 return (void *) dest
;
3471 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3472 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3478 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3479 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3480 long _arg5
= (long ) wxGA_HORIZONTAL
;
3481 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3482 wxString
* _arg7
= (wxString
*) &wxPyGaugeNameStr
;
3483 PyObject
* _argo0
= 0;
3485 PyObject
* _obj3
= 0;
3487 PyObject
* _obj4
= 0;
3488 PyObject
* _argo6
= 0;
3489 PyObject
* _obj7
= 0;
3490 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOO:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3506 if (! wxPoint_helper(_obj3
, &_arg3
))
3512 if (! wxSize_helper(_obj4
, &_arg4
))
3516 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3523 _arg7
= wxString_in_helper(_obj7
);
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) return NULL
;
3534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3535 _resultobj
= Py_BuildValue("s",_ptemp
);
3538 _resultobj
= Py_None
;
3547 #define new_wxPreGauge() (new wxGauge())
3548 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
* _resultobj
;
3551 char *_kwnames
[] = { NULL
};
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 _result
= (wxGauge
*)new_wxPreGauge();
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) return NULL
;
3564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3565 _resultobj
= Py_BuildValue("s",_ptemp
);
3568 _resultobj
= Py_None
;
3573 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3574 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
* _resultobj
;
3581 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3582 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3583 long _arg6
= (long ) wxGA_HORIZONTAL
;
3584 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3585 wxString
* _arg8
= (wxString
*) &wxPyGaugeNameStr
;
3586 PyObject
* _argo0
= 0;
3587 PyObject
* _argo1
= 0;
3589 PyObject
* _obj4
= 0;
3591 PyObject
* _obj5
= 0;
3592 PyObject
* _argo7
= 0;
3593 PyObject
* _obj8
= 0;
3594 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOO:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
3600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3607 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3616 if (! wxPoint_helper(_obj4
, &_arg4
))
3622 if (! wxSize_helper(_obj5
, &_arg5
))
3626 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3633 _arg8
= wxString_in_helper(_obj8
);
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3643 } _resultobj
= Py_BuildValue("i",_result
);
3651 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3652 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) return NULL
;
3675 } _resultobj
= Py_BuildValue("i",_result
);
3679 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3680 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3684 PyObject
* _argo0
= 0;
3685 char *_kwnames
[] = { "self", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 _result
= (int )wxGauge_GetRange(_arg0
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) return NULL
;
3703 } _resultobj
= Py_BuildValue("i",_result
);
3707 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3708 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
* _resultobj
;
3712 PyObject
* _argo0
= 0;
3713 char *_kwnames
[] = { "self", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) return NULL
;
3731 } _resultobj
= Py_BuildValue("i",_result
);
3735 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3736 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3740 PyObject
* _argo0
= 0;
3741 char *_kwnames
[] = { "self", NULL
};
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 _result
= (int )wxGauge_GetValue(_arg0
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) return NULL
;
3759 } _resultobj
= Py_BuildValue("i",_result
);
3763 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3764 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
* _resultobj
;
3768 PyObject
* _argo0
= 0;
3769 char *_kwnames
[] = { "self","width", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 wxGauge_SetBezelFace(_arg0
,_arg1
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) return NULL
;
3787 } Py_INCREF(Py_None
);
3788 _resultobj
= Py_None
;
3792 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3793 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3797 PyObject
* _argo0
= 0;
3798 char *_kwnames
[] = { "self","range", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 wxGauge_SetRange(_arg0
,_arg1
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) return NULL
;
3816 } Py_INCREF(Py_None
);
3817 _resultobj
= Py_None
;
3821 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3822 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3826 PyObject
* _argo0
= 0;
3827 char *_kwnames
[] = { "self","width", NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3843 wxPyEndAllowThreads(__tstate
);
3844 if (PyErr_Occurred()) return NULL
;
3845 } Py_INCREF(Py_None
);
3846 _resultobj
= Py_None
;
3850 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3851 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
* _resultobj
;
3855 PyObject
* _argo0
= 0;
3856 char *_kwnames
[] = { "self","pos", NULL
};
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 wxGauge_SetValue(_arg0
,_arg1
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) return NULL
;
3874 } Py_INCREF(Py_None
);
3875 _resultobj
= Py_None
;
3879 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3882 src
= (wxStaticBox
*) ptr
;
3883 dest
= (wxControl
*) src
;
3884 return (void *) dest
;
3887 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3890 src
= (wxStaticBox
*) ptr
;
3891 dest
= (wxWindow
*) src
;
3892 return (void *) dest
;
3895 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3898 src
= (wxStaticBox
*) ptr
;
3899 dest
= (wxEvtHandler
*) src
;
3900 return (void *) dest
;
3903 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3906 src
= (wxStaticBox
*) ptr
;
3907 dest
= (wxObject
*) src
;
3908 return (void *) dest
;
3911 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3912 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
* _resultobj
;
3914 wxStaticBox
* _result
;
3918 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3919 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3920 long _arg5
= (long ) 0;
3921 wxString
* _arg6
= (wxString
*) &wxPyStaticBoxNameStr
;
3922 PyObject
* _argo0
= 0;
3923 PyObject
* _obj2
= 0;
3925 PyObject
* _obj3
= 0;
3927 PyObject
* _obj4
= 0;
3928 PyObject
* _obj6
= 0;
3929 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
3936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3943 _arg2
= wxString_in_helper(_obj2
);
3950 if (! wxPoint_helper(_obj3
, &_arg3
))
3956 if (! wxSize_helper(_obj4
, &_arg4
))
3961 _arg6
= wxString_in_helper(_obj6
);
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) return NULL
;
3972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3973 _resultobj
= Py_BuildValue("s",_ptemp
);
3976 _resultobj
= Py_None
;
3989 #define new_wxPreStaticBox() (new wxStaticBox())
3990 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
* _resultobj
;
3992 wxStaticBox
* _result
;
3993 char *_kwnames
[] = { NULL
};
3997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) return NULL
;
4006 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4007 _resultobj
= Py_BuildValue("s",_ptemp
);
4010 _resultobj
= Py_None
;
4015 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4016 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
* _resultobj
;
4019 wxStaticBox
* _arg0
;
4023 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4024 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4025 long _arg6
= (long ) 0;
4026 wxString
* _arg7
= (wxString
*) &wxPyStaticBoxNameStr
;
4027 PyObject
* _argo0
= 0;
4028 PyObject
* _argo1
= 0;
4029 PyObject
* _obj3
= 0;
4031 PyObject
* _obj4
= 0;
4033 PyObject
* _obj5
= 0;
4034 PyObject
* _obj7
= 0;
4035 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4055 _arg3
= wxString_in_helper(_obj3
);
4062 if (! wxPoint_helper(_obj4
, &_arg4
))
4068 if (! wxSize_helper(_obj5
, &_arg5
))
4073 _arg7
= wxString_in_helper(_obj7
);
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) return NULL
;
4083 } _resultobj
= Py_BuildValue("i",_result
);
4095 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4098 src
= (wxStaticLine
*) ptr
;
4099 dest
= (wxControl
*) src
;
4100 return (void *) dest
;
4103 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4106 src
= (wxStaticLine
*) ptr
;
4107 dest
= (wxWindow
*) src
;
4108 return (void *) dest
;
4111 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4114 src
= (wxStaticLine
*) ptr
;
4115 dest
= (wxEvtHandler
*) src
;
4116 return (void *) dest
;
4119 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4122 src
= (wxStaticLine
*) ptr
;
4123 dest
= (wxObject
*) src
;
4124 return (void *) dest
;
4127 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4128 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4130 wxStaticLine
* _result
;
4133 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4134 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4135 long _arg4
= (long ) wxLI_HORIZONTAL
;
4136 wxString
* _arg5
= (wxString
*) &wxPyStaticTextNameStr
;
4137 PyObject
* _argo0
= 0;
4139 PyObject
* _obj2
= 0;
4141 PyObject
* _obj3
= 0;
4142 PyObject
* _obj5
= 0;
4143 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4159 if (! wxPoint_helper(_obj2
, &_arg2
))
4165 if (! wxSize_helper(_obj3
, &_arg3
))
4170 _arg5
= wxString_in_helper(_obj5
);
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) return NULL
;
4181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4182 _resultobj
= Py_BuildValue("s",_ptemp
);
4185 _resultobj
= Py_None
;
4194 #define new_wxPreStaticLine() (new wxStaticLine())
4195 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4197 wxStaticLine
* _result
;
4198 char *_kwnames
[] = { NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) return NULL
;
4211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4212 _resultobj
= Py_BuildValue("s",_ptemp
);
4215 _resultobj
= Py_None
;
4220 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4221 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
* _resultobj
;
4224 wxStaticLine
* _arg0
;
4227 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4228 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4229 long _arg5
= (long ) wxLI_HORIZONTAL
;
4230 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4231 PyObject
* _argo0
= 0;
4232 PyObject
* _argo1
= 0;
4234 PyObject
* _obj3
= 0;
4236 PyObject
* _obj4
= 0;
4237 PyObject
* _obj6
= 0;
4238 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4260 if (! wxPoint_helper(_obj3
, &_arg3
))
4266 if (! wxSize_helper(_obj4
, &_arg4
))
4271 _arg6
= wxString_in_helper(_obj6
);
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) return NULL
;
4281 } _resultobj
= Py_BuildValue("i",_result
);
4289 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4292 src
= (wxStaticText
*) ptr
;
4293 dest
= (wxControl
*) src
;
4294 return (void *) dest
;
4297 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4300 src
= (wxStaticText
*) ptr
;
4301 dest
= (wxWindow
*) src
;
4302 return (void *) dest
;
4305 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4308 src
= (wxStaticText
*) ptr
;
4309 dest
= (wxEvtHandler
*) src
;
4310 return (void *) dest
;
4313 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4316 src
= (wxStaticText
*) ptr
;
4317 dest
= (wxObject
*) src
;
4318 return (void *) dest
;
4321 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4322 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4324 wxStaticText
* _result
;
4328 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4329 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4330 long _arg5
= (long ) 0;
4331 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4332 PyObject
* _argo0
= 0;
4333 PyObject
* _obj2
= 0;
4335 PyObject
* _obj3
= 0;
4337 PyObject
* _obj4
= 0;
4338 PyObject
* _obj6
= 0;
4339 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4353 _arg2
= wxString_in_helper(_obj2
);
4360 if (! wxPoint_helper(_obj3
, &_arg3
))
4366 if (! wxSize_helper(_obj4
, &_arg4
))
4371 _arg6
= wxString_in_helper(_obj6
);
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) return NULL
;
4382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4383 _resultobj
= Py_BuildValue("s",_ptemp
);
4386 _resultobj
= Py_None
;
4399 #define new_wxPreStaticText() (new wxStaticText())
4400 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
* _resultobj
;
4402 wxStaticText
* _result
;
4403 char *_kwnames
[] = { NULL
};
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 _result
= (wxStaticText
*)new_wxPreStaticText();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4417 _resultobj
= Py_BuildValue("s",_ptemp
);
4420 _resultobj
= Py_None
;
4425 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4426 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
* _resultobj
;
4429 wxStaticText
* _arg0
;
4433 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4434 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4435 long _arg6
= (long ) 0;
4436 wxString
* _arg7
= (wxString
*) &wxPyStaticTextNameStr
;
4437 PyObject
* _argo0
= 0;
4438 PyObject
* _argo1
= 0;
4439 PyObject
* _obj3
= 0;
4441 PyObject
* _obj4
= 0;
4443 PyObject
* _obj5
= 0;
4444 PyObject
* _obj7
= 0;
4445 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4458 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4459 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4465 _arg3
= wxString_in_helper(_obj3
);
4472 if (! wxPoint_helper(_obj4
, &_arg4
))
4478 if (! wxSize_helper(_obj5
, &_arg5
))
4483 _arg7
= wxString_in_helper(_obj7
);
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4491 wxPyEndAllowThreads(__tstate
);
4492 if (PyErr_Occurred()) return NULL
;
4493 } _resultobj
= Py_BuildValue("i",_result
);
4505 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4506 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4509 wxStaticText
* _arg0
;
4510 PyObject
* _argo0
= 0;
4511 char *_kwnames
[] = { "self", NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) return NULL
;
4531 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
4533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4542 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4543 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
* _resultobj
;
4545 wxStaticText
* _arg0
;
4547 PyObject
* _argo0
= 0;
4548 PyObject
* _obj1
= 0;
4549 char *_kwnames
[] = { "self","label", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4562 _arg1
= wxString_in_helper(_obj1
);
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 wxStaticText_SetLabel(_arg0
,*_arg1
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4572 } Py_INCREF(Py_None
);
4573 _resultobj
= Py_None
;
4581 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4583 wxControlWithItems
*dest
;
4584 src
= (wxListBox
*) ptr
;
4585 dest
= (wxControlWithItems
*) src
;
4586 return (void *) dest
;
4589 static void *SwigwxListBoxTowxControl(void *ptr
) {
4592 src
= (wxListBox
*) ptr
;
4593 dest
= (wxControl
*) src
;
4594 return (void *) dest
;
4597 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4600 src
= (wxListBox
*) ptr
;
4601 dest
= (wxWindow
*) src
;
4602 return (void *) dest
;
4605 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4608 src
= (wxListBox
*) ptr
;
4609 dest
= (wxEvtHandler
*) src
;
4610 return (void *) dest
;
4613 static void *SwigwxListBoxTowxObject(void *ptr
) {
4616 src
= (wxListBox
*) ptr
;
4617 dest
= (wxObject
*) src
;
4618 return (void *) dest
;
4621 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4622 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
* _resultobj
;
4624 wxListBox
* _result
;
4627 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4628 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4630 wxString
* _arg5
= (wxString
*) NULL
;
4631 long _arg6
= (long ) 0;
4632 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4633 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
4634 PyObject
* _argo0
= 0;
4636 PyObject
* _obj2
= 0;
4638 PyObject
* _obj3
= 0;
4639 PyObject
* _obj5
= 0;
4640 PyObject
* _argo7
= 0;
4641 PyObject
* _obj8
= 0;
4642 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4658 if (! wxPoint_helper(_obj2
, &_arg2
))
4664 if (! wxSize_helper(_obj3
, &_arg3
))
4669 _arg5
= wxString_LIST_helper(_obj5
);
4670 if (_arg5
== NULL
) {
4675 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4682 _arg8
= wxString_in_helper(_obj8
);
4688 _arg4
= PyList_Size(_obj5
);
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) return NULL
;
4701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4702 _resultobj
= Py_BuildValue("s",_ptemp
);
4705 _resultobj
= Py_None
;
4717 #define new_wxPreListBox() (new wxListBox())
4718 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4720 wxListBox
* _result
;
4721 char *_kwnames
[] = { NULL
};
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 _result
= (wxListBox
*)new_wxPreListBox();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) return NULL
;
4734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4735 _resultobj
= Py_BuildValue("s",_ptemp
);
4738 _resultobj
= Py_None
;
4743 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4744 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4750 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4751 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4753 wxString
* _arg6
= (wxString
*) NULL
;
4754 long _arg7
= (long ) 0;
4755 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4756 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
4757 PyObject
* _argo0
= 0;
4758 PyObject
* _argo1
= 0;
4760 PyObject
* _obj3
= 0;
4762 PyObject
* _obj4
= 0;
4763 PyObject
* _obj6
= 0;
4764 PyObject
* _argo8
= 0;
4765 PyObject
* _obj9
= 0;
4766 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
4772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4788 if (! wxPoint_helper(_obj3
, &_arg3
))
4794 if (! wxSize_helper(_obj4
, &_arg4
))
4799 _arg6
= wxString_LIST_helper(_obj6
);
4800 if (_arg6
== NULL
) {
4805 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4812 _arg9
= wxString_in_helper(_obj9
);
4818 _arg5
= PyList_Size(_obj6
);
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) return NULL
;
4830 } _resultobj
= Py_BuildValue("i",_result
);
4841 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4842 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4845 PyObject
* _argo0
= 0;
4846 char *_kwnames
[] = { "self", NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxListBox_Clear(_arg0
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4869 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4870 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4874 PyObject
* _argo0
= 0;
4875 char *_kwnames
[] = { "self","n", NULL
};
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 wxListBox_Deselect(_arg0
,_arg1
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) return NULL
;
4893 } Py_INCREF(Py_None
);
4894 _resultobj
= Py_None
;
4898 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4900 self
->GetSelections(lst
);
4901 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4902 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4903 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4907 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
* _resultobj
;
4911 PyObject
* _argo0
= 0;
4912 char *_kwnames
[] = { "self", NULL
};
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4926 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) return NULL
;
4931 _resultobj
= _result
;
4936 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4937 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4943 PyObject
* _argo0
= 0;
4944 PyObject
* _obj2
= 0;
4945 char *_kwnames
[] = { "self","choices","pos", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4958 _arg2
= wxString_LIST_helper(_obj2
);
4959 if (_arg2
== NULL
) {
4965 _arg1
= PyList_Size(_obj2
);
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) return NULL
;
4977 } Py_INCREF(Py_None
);
4978 _resultobj
= Py_None
;
4985 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4986 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
* _resultobj
;
4991 PyObject
* _argo0
= 0;
4992 char *_kwnames
[] = { "self","n", NULL
};
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) return NULL
;
5010 } _resultobj
= Py_BuildValue("i",_result
);
5014 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5015 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
* _resultobj
;
5020 PyObject
* _argo0
= 0;
5021 char *_kwnames
[] = { "self","n", NULL
};
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) return NULL
;
5039 } _resultobj
= Py_BuildValue("i",_result
);
5043 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5044 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5049 PyObject
* _argo0
= 0;
5050 PyObject
* _obj2
= 0;
5051 char *_kwnames
[] = { "self","choices", NULL
};
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5065 _arg2
= wxString_LIST_helper(_obj2
);
5066 if (_arg2
== NULL
) {
5072 _arg1
= PyList_Size(_obj2
);
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } Py_INCREF(Py_None
);
5085 _resultobj
= Py_None
;
5092 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5093 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
* _resultobj
;
5097 PyObject
* _argo0
= 0;
5098 char *_kwnames
[] = { "self","n", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 wxListBox_SetFirstItem(_arg0
,_arg1
);
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) return NULL
;
5116 } Py_INCREF(Py_None
);
5117 _resultobj
= Py_None
;
5121 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5122 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
* _resultobj
;
5126 PyObject
* _argo0
= 0;
5127 PyObject
* _obj1
= 0;
5128 char *_kwnames
[] = { "self","string", NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5141 _arg1
= wxString_in_helper(_obj1
);
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5147 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5149 wxPyEndAllowThreads(__tstate
);
5150 if (PyErr_Occurred()) return NULL
;
5151 } Py_INCREF(Py_None
);
5152 _resultobj
= Py_None
;
5160 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5161 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
* _resultobj
;
5165 bool _arg2
= (bool ) TRUE
;
5166 PyObject
* _argo0
= 0;
5167 int tempbool2
= (int) TRUE
;
5168 char *_kwnames
[] = { "self","n","select", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5180 _arg2
= (bool ) tempbool2
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) return NULL
;
5187 } Py_INCREF(Py_None
);
5188 _resultobj
= Py_None
;
5192 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5193 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
* _resultobj
;
5198 PyObject
* _argo0
= 0;
5199 PyObject
* _obj2
= 0;
5200 char *_kwnames
[] = { "self","n","string", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5213 _arg2
= wxString_in_helper(_obj2
);
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) return NULL
;
5223 } Py_INCREF(Py_None
);
5224 _resultobj
= Py_None
;
5232 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5233 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
* _resultobj
;
5237 bool _arg2
= (bool ) TRUE
;
5238 PyObject
* _argo0
= 0;
5239 PyObject
* _obj1
= 0;
5240 int tempbool2
= (int) TRUE
;
5241 char *_kwnames
[] = { "self","string","select", NULL
};
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5254 _arg1
= wxString_in_helper(_obj1
);
5258 _arg2
= (bool ) tempbool2
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) return NULL
;
5265 } Py_INCREF(Py_None
);
5266 _resultobj
= Py_None
;
5274 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5275 wxCheckListBox
*src
;
5277 src
= (wxCheckListBox
*) ptr
;
5278 dest
= (wxListBox
*) src
;
5279 return (void *) dest
;
5282 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5283 wxCheckListBox
*src
;
5284 wxControlWithItems
*dest
;
5285 src
= (wxCheckListBox
*) ptr
;
5286 dest
= (wxControlWithItems
*) src
;
5287 return (void *) dest
;
5290 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5291 wxCheckListBox
*src
;
5293 src
= (wxCheckListBox
*) ptr
;
5294 dest
= (wxControl
*) src
;
5295 return (void *) dest
;
5298 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5299 wxCheckListBox
*src
;
5301 src
= (wxCheckListBox
*) ptr
;
5302 dest
= (wxWindow
*) src
;
5303 return (void *) dest
;
5306 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5307 wxCheckListBox
*src
;
5309 src
= (wxCheckListBox
*) ptr
;
5310 dest
= (wxEvtHandler
*) src
;
5311 return (void *) dest
;
5314 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5315 wxCheckListBox
*src
;
5317 src
= (wxCheckListBox
*) ptr
;
5318 dest
= (wxObject
*) src
;
5319 return (void *) dest
;
5322 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5323 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
* _resultobj
;
5325 wxCheckListBox
* _result
;
5328 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5329 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5330 int _arg4
= (int ) 0;
5331 wxString
* _arg5
= (wxString
*) NULL
;
5332 long _arg6
= (long ) 0;
5333 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5334 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
5335 PyObject
* _argo0
= 0;
5337 PyObject
* _obj2
= 0;
5339 PyObject
* _obj3
= 0;
5340 PyObject
* _obj5
= 0;
5341 PyObject
* _argo7
= 0;
5342 PyObject
* _obj8
= 0;
5343 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
5350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5359 if (! wxPoint_helper(_obj2
, &_arg2
))
5365 if (! wxSize_helper(_obj3
, &_arg3
))
5370 _arg5
= wxString_LIST_helper(_obj5
);
5371 if (_arg5
== NULL
) {
5376 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5383 _arg8
= wxString_in_helper(_obj8
);
5389 _arg4
= PyList_Size(_obj5
);
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) return NULL
;
5402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5403 _resultobj
= Py_BuildValue("s",_ptemp
);
5406 _resultobj
= Py_None
;
5418 #define new_wxPreCheckListBox() (new wxCheckListBox())
5419 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
* _resultobj
;
5421 wxCheckListBox
* _result
;
5422 char *_kwnames
[] = { NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) return NULL
;
5435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5436 _resultobj
= Py_BuildValue("s",_ptemp
);
5439 _resultobj
= Py_None
;
5444 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5445 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
* _resultobj
;
5448 wxCheckListBox
* _arg0
;
5451 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5452 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5453 int _arg5
= (int ) 0;
5454 wxString
* _arg6
= (wxString
*) NULL
;
5455 long _arg7
= (long ) 0;
5456 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5457 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5458 PyObject
* _argo0
= 0;
5459 PyObject
* _argo1
= 0;
5461 PyObject
* _obj3
= 0;
5463 PyObject
* _obj4
= 0;
5464 PyObject
* _obj6
= 0;
5465 PyObject
* _argo8
= 0;
5466 PyObject
* _obj9
= 0;
5467 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5480 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5481 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5489 if (! wxPoint_helper(_obj3
, &_arg3
))
5495 if (! wxSize_helper(_obj4
, &_arg4
))
5500 _arg6
= wxString_LIST_helper(_obj6
);
5501 if (_arg6
== NULL
) {
5506 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5513 _arg9
= wxString_in_helper(_obj9
);
5519 _arg5
= PyList_Size(_obj6
);
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5531 } _resultobj
= Py_BuildValue("i",_result
);
5542 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5543 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5546 wxCheckListBox
* _arg0
;
5548 PyObject
* _argo0
= 0;
5549 char *_kwnames
[] = { "self","uiIndex", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) return NULL
;
5567 } _resultobj
= Py_BuildValue("i",_result
);
5571 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5572 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5574 wxCheckListBox
* _arg0
;
5576 int _arg2
= (int ) TRUE
;
5577 PyObject
* _argo0
= 0;
5578 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) return NULL
;
5596 } Py_INCREF(Py_None
);
5597 _resultobj
= Py_None
;
5601 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5602 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5604 wxCheckListBox
* _arg0
;
5608 PyObject
* _argo0
= 0;
5609 PyObject
* _obj2
= 0;
5610 char *_kwnames
[] = { "self","choices","pos", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5623 _arg2
= wxString_LIST_helper(_obj2
);
5624 if (_arg2
== NULL
) {
5630 _arg1
= PyList_Size(_obj2
);
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) return NULL
;
5642 } Py_INCREF(Py_None
);
5643 _resultobj
= Py_None
;
5650 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5651 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
* _resultobj
;
5654 wxCheckListBox
* _arg0
;
5655 PyObject
* _argo0
= 0;
5656 char *_kwnames
[] = { "self", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5674 } _resultobj
= Py_BuildValue("i",_result
);
5678 #define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5679 static PyObject
*_wrap_wxCheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5682 wxCheckListBox
* _arg0
;
5684 PyObject
* _argo0
= 0;
5686 PyObject
* _obj1
= 0;
5687 char *_kwnames
[] = { "self","pt", NULL
};
5690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCheckListBox_HitTest",_kwnames
,&_argo0
,&_obj1
))
5693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
5701 if (! wxPoint_helper(_obj1
, &_arg1
))
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 _result
= (int )wxCheckListBox_HitTest(_arg0
,*_arg1
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) return NULL
;
5710 } _resultobj
= Py_BuildValue("i",_result
);
5714 #define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5715 static PyObject
*_wrap_wxCheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
* _resultobj
;
5718 wxCheckListBox
* _arg0
;
5721 PyObject
* _argo0
= 0;
5722 char *_kwnames
[] = { "self","x","y", NULL
};
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCheckListBox_HitTestXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 _result
= (int )wxCheckListBox_HitTestXY(_arg0
,_arg1
,_arg2
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) return NULL
;
5740 } _resultobj
= Py_BuildValue("i",_result
);
5744 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5745 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
* _resultobj
;
5747 wxTextAttr
* _result
;
5748 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5749 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5750 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5751 wxTextAttrAlignment _arg3
= (wxTextAttrAlignment
) (wxTEXT_ALIGNMENT_DEFAULT
);
5753 PyObject
* _obj0
= 0;
5755 PyObject
* _obj1
= 0;
5756 PyObject
* _argo2
= 0;
5757 char *_kwnames
[] = { "colText","colBack","font","alignment", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOi:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
,&_arg3
))
5766 if (! wxColour_helper(_obj0
, &_arg0
))
5772 if (! wxColour_helper(_obj1
, &_arg1
))
5776 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
,_arg3
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) return NULL
;
5788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5789 _resultobj
= Py_BuildValue("s",_ptemp
);
5792 _resultobj
= Py_None
;
5797 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5798 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5801 PyObject
* _argo0
= 0;
5802 char *_kwnames
[] = { "self", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 delete_wxTextAttr(_arg0
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) return NULL
;
5820 } Py_INCREF(Py_None
);
5821 _resultobj
= Py_None
;
5825 #define wxTextAttr_Init(_swigobj) (_swigobj->Init())
5826 static PyObject
*_wrap_wxTextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
* _resultobj
;
5829 PyObject
* _argo0
= 0;
5830 char *_kwnames
[] = { "self", NULL
};
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_Init",_kwnames
,&_argo0
))
5836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p.");
5843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5844 wxTextAttr_Init(_arg0
);
5846 wxPyEndAllowThreads(__tstate
);
5847 if (PyErr_Occurred()) return NULL
;
5848 } Py_INCREF(Py_None
);
5849 _resultobj
= Py_None
;
5853 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5854 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
* _resultobj
;
5858 PyObject
* _argo0
= 0;
5860 PyObject
* _obj1
= 0;
5861 char *_kwnames
[] = { "self","colText", NULL
};
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5875 if (! wxColour_helper(_obj1
, &_arg1
))
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) return NULL
;
5884 } Py_INCREF(Py_None
);
5885 _resultobj
= Py_None
;
5889 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5890 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
* _resultobj
;
5894 PyObject
* _argo0
= 0;
5896 PyObject
* _obj1
= 0;
5897 char *_kwnames
[] = { "self","colBack", NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5911 if (! wxColour_helper(_obj1
, &_arg1
))
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5920 } Py_INCREF(Py_None
);
5921 _resultobj
= Py_None
;
5925 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5926 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5930 PyObject
* _argo0
= 0;
5931 PyObject
* _argo1
= 0;
5932 char *_kwnames
[] = { "self","font", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5945 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 wxTextAttr_SetFont(_arg0
,*_arg1
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) return NULL
;
5956 } Py_INCREF(Py_None
);
5957 _resultobj
= Py_None
;
5961 #define wxTextAttr_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
5962 static PyObject
*_wrap_wxTextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
* _resultobj
;
5965 wxTextAttrAlignment _arg1
;
5966 PyObject
* _argo0
= 0;
5967 char *_kwnames
[] = { "self","alignment", NULL
};
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetAlignment",_kwnames
,&_argo0
,&_arg1
))
5973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p.");
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 wxTextAttr_SetAlignment(_arg0
,_arg1
);
5983 wxPyEndAllowThreads(__tstate
);
5984 if (PyErr_Occurred()) return NULL
;
5985 } Py_INCREF(Py_None
);
5986 _resultobj
= Py_None
;
5990 #define wxTextAttr_SetTabs(_swigobj,_swigarg0) (_swigobj->SetTabs(_swigarg0))
5991 static PyObject
*_wrap_wxTextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
* _resultobj
;
5995 PyObject
* _argo0
= 0;
5996 PyObject
* _obj1
= 0;
5997 char *_kwnames
[] = { "self","tabs", NULL
};
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTabs",_kwnames
,&_argo0
,&_obj1
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p.");
6010 if (! PySequence_Check(_obj1
)) {
6011 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6014 _arg1
= new wxArrayInt
;
6015 int i
, len
=PySequence_Length(_obj1
);
6016 for (i
=0; i
<len
; i
++) {
6017 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
6018 PyObject
* number
= PyNumber_Int(item
);
6019 _arg1
->Add(PyInt_AS_LONG(number
));
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 wxTextAttr_SetTabs(_arg0
,*_arg1
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) return NULL
;
6030 } Py_INCREF(Py_None
);
6031 _resultobj
= Py_None
;
6039 #define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0) (_swigobj->SetLeftIndent(_swigarg0))
6040 static PyObject
*_wrap_wxTextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self","indent", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetLeftIndent",_kwnames
,&_argo0
,&_arg1
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p.");
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 wxTextAttr_SetLeftIndent(_arg0
,_arg1
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) return NULL
;
6063 } Py_INCREF(Py_None
);
6064 _resultobj
= Py_None
;
6068 #define wxTextAttr_SetRightIndent(_swigobj,_swigarg0) (_swigobj->SetRightIndent(_swigarg0))
6069 static PyObject
*_wrap_wxTextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
* _resultobj
;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self","indent", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextAttr_SetRightIndent",_kwnames
,&_argo0
,&_arg1
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p.");
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 wxTextAttr_SetRightIndent(_arg0
,_arg1
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) return NULL
;
6092 } Py_INCREF(Py_None
);
6093 _resultobj
= Py_None
;
6097 #define wxTextAttr_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
6098 static PyObject
*_wrap_wxTextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6102 PyObject
* _argo0
= 0;
6103 char *_kwnames
[] = { "self","flags", NULL
};
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextAttr_SetFlags",_kwnames
,&_argo0
,&_arg1
))
6109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p.");
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 wxTextAttr_SetFlags(_arg0
,_arg1
);
6119 wxPyEndAllowThreads(__tstate
);
6120 if (PyErr_Occurred()) return NULL
;
6121 } Py_INCREF(Py_None
);
6122 _resultobj
= Py_None
;
6126 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6127 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
* _resultobj
;
6131 PyObject
* _argo0
= 0;
6132 char *_kwnames
[] = { "self", NULL
};
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6146 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) return NULL
;
6150 } _resultobj
= Py_BuildValue("i",_result
);
6154 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6155 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "self", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) return NULL
;
6178 } _resultobj
= Py_BuildValue("i",_result
);
6182 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6183 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
* _resultobj
;
6187 PyObject
* _argo0
= 0;
6188 char *_kwnames
[] = { "self", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) return NULL
;
6206 } _resultobj
= Py_BuildValue("i",_result
);
6210 #define wxTextAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
6211 static PyObject
*_wrap_wxTextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6215 PyObject
* _argo0
= 0;
6216 char *_kwnames
[] = { "self", NULL
};
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasAlignment",_kwnames
,&_argo0
))
6222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p.");
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 _result
= (bool )wxTextAttr_HasAlignment(_arg0
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) return NULL
;
6234 } _resultobj
= Py_BuildValue("i",_result
);
6238 #define wxTextAttr_HasTabs(_swigobj) (_swigobj->HasTabs())
6239 static PyObject
*_wrap_wxTextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
* _resultobj
;
6243 PyObject
* _argo0
= 0;
6244 char *_kwnames
[] = { "self", NULL
};
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTabs",_kwnames
,&_argo0
))
6250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p.");
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 _result
= (bool )wxTextAttr_HasTabs(_arg0
);
6260 wxPyEndAllowThreads(__tstate
);
6261 if (PyErr_Occurred()) return NULL
;
6262 } _resultobj
= Py_BuildValue("i",_result
);
6266 #define wxTextAttr_HasLeftIndent(_swigobj) (_swigobj->HasLeftIndent())
6267 static PyObject
*_wrap_wxTextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
* _resultobj
;
6271 PyObject
* _argo0
= 0;
6272 char *_kwnames
[] = { "self", NULL
};
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasLeftIndent",_kwnames
,&_argo0
))
6278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p.");
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 _result
= (bool )wxTextAttr_HasLeftIndent(_arg0
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) return NULL
;
6290 } _resultobj
= Py_BuildValue("i",_result
);
6294 #define wxTextAttr_HasRightIndent(_swigobj) (_swigobj->HasRightIndent())
6295 static PyObject
*_wrap_wxTextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
* _resultobj
;
6299 PyObject
* _argo0
= 0;
6300 char *_kwnames
[] = { "self", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasRightIndent",_kwnames
,&_argo0
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p.");
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 _result
= (bool )wxTextAttr_HasRightIndent(_arg0
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxTextAttr_HasFlag(_swigobj,_swigarg0) (_swigobj->HasFlag(_swigarg0))
6323 static PyObject
*_wrap_wxTextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6328 PyObject
* _argo0
= 0;
6329 char *_kwnames
[] = { "self","flag", NULL
};
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextAttr_HasFlag",_kwnames
,&_argo0
,&_arg1
))
6335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p.");
6342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6343 _result
= (bool )wxTextAttr_HasFlag(_arg0
,_arg1
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) return NULL
;
6347 } _resultobj
= Py_BuildValue("i",_result
);
6351 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6352 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
* _resultobj
;
6356 PyObject
* _argo0
= 0;
6357 char *_kwnames
[] = { "self", NULL
};
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) return NULL
;
6376 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6377 _resultobj
= Py_BuildValue("s",_ptemp
);
6381 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6382 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
* _resultobj
;
6386 PyObject
* _argo0
= 0;
6387 char *_kwnames
[] = { "self", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) return NULL
;
6406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6407 _resultobj
= Py_BuildValue("s",_ptemp
);
6411 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6412 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self", NULL
};
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6432 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6434 wxPyEndAllowThreads(__tstate
);
6435 if (PyErr_Occurred()) return NULL
;
6436 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6437 _resultobj
= Py_BuildValue("s",_ptemp
);
6441 #define wxTextAttr_GetAlignment(_swigobj) (_swigobj->GetAlignment())
6442 static PyObject
*_wrap_wxTextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
* _resultobj
;
6444 wxTextAttrAlignment _result
;
6446 PyObject
* _argo0
= 0;
6447 char *_kwnames
[] = { "self", NULL
};
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetAlignment",_kwnames
,&_argo0
))
6453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p.");
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 _result
= (wxTextAttrAlignment
)wxTextAttr_GetAlignment(_arg0
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) return NULL
;
6465 } _resultobj
= Py_BuildValue("i",_result
);
6469 #define wxTextAttr_GetTabs(_swigobj) (_swigobj->GetTabs())
6470 static PyObject
*_wrap_wxTextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6472 wxArrayInt
* _result
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTabs",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p.");
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 const wxArrayInt
& _result_ref
= wxTextAttr_GetTabs(_arg0
);
6490 _result
= (wxArrayInt
*) &_result_ref
;
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) return NULL
;
6495 _resultobj
= PyList_New(0);
6497 for (idx
= 0; idx
< _result
->GetCount(); idx
+= 1) {
6498 PyObject
* val
= PyInt_FromLong(_result
->Item(idx
));
6499 PyList_Append(_resultobj
, val
);
6506 #define wxTextAttr_GetLeftIndent(_swigobj) (_swigobj->GetLeftIndent())
6507 static PyObject
*_wrap_wxTextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6511 PyObject
* _argo0
= 0;
6512 char *_kwnames
[] = { "self", NULL
};
6515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetLeftIndent",_kwnames
,&_argo0
))
6518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p.");
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 _result
= (long )wxTextAttr_GetLeftIndent(_arg0
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) return NULL
;
6530 } _resultobj
= Py_BuildValue("l",_result
);
6534 #define wxTextAttr_GetRightIndent(_swigobj) (_swigobj->GetRightIndent())
6535 static PyObject
*_wrap_wxTextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6536 PyObject
* _resultobj
;
6539 PyObject
* _argo0
= 0;
6540 char *_kwnames
[] = { "self", NULL
};
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetRightIndent",_kwnames
,&_argo0
))
6546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p.");
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 _result
= (long )wxTextAttr_GetRightIndent(_arg0
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) return NULL
;
6558 } _resultobj
= Py_BuildValue("l",_result
);
6562 #define wxTextAttr_GetFlags(_swigobj) (_swigobj->GetFlags())
6563 static PyObject
*_wrap_wxTextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
* _resultobj
;
6567 PyObject
* _argo0
= 0;
6568 char *_kwnames
[] = { "self", NULL
};
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFlags",_kwnames
,&_argo0
))
6574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p.");
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 _result
= (long )wxTextAttr_GetFlags(_arg0
);
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) return NULL
;
6586 } _resultobj
= Py_BuildValue("l",_result
);
6590 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6591 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
* _resultobj
;
6595 PyObject
* _argo0
= 0;
6596 char *_kwnames
[] = { "self", NULL
};
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) return NULL
;
6614 } _resultobj
= Py_BuildValue("i",_result
);
6618 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
* _resultobj
;
6620 wxTextAttr
* _result
;
6624 PyObject
* _argo0
= 0;
6625 PyObject
* _argo1
= 0;
6626 PyObject
* _argo2
= 0;
6627 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6634 if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6640 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6646 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6647 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) return NULL
;
6658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6659 _resultobj
= Py_BuildValue("s",_ptemp
);
6663 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6666 src
= (wxTextCtrl
*) ptr
;
6667 dest
= (wxControl
*) src
;
6668 return (void *) dest
;
6671 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6674 src
= (wxTextCtrl
*) ptr
;
6675 dest
= (wxWindow
*) src
;
6676 return (void *) dest
;
6679 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6682 src
= (wxTextCtrl
*) ptr
;
6683 dest
= (wxEvtHandler
*) src
;
6684 return (void *) dest
;
6687 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6690 src
= (wxTextCtrl
*) ptr
;
6691 dest
= (wxObject
*) src
;
6692 return (void *) dest
;
6695 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6696 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
* _resultobj
;
6698 wxTextCtrl
* _result
;
6701 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6702 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6703 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6704 long _arg5
= (long ) 0;
6705 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6706 wxString
* _arg7
= (wxString
*) &wxPyTextCtrlNameStr
;
6707 PyObject
* _argo0
= 0;
6708 PyObject
* _obj2
= 0;
6710 PyObject
* _obj3
= 0;
6712 PyObject
* _obj4
= 0;
6713 PyObject
* _argo6
= 0;
6714 PyObject
* _obj7
= 0;
6715 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6730 _arg2
= wxString_in_helper(_obj2
);
6737 if (! wxPoint_helper(_obj3
, &_arg3
))
6743 if (! wxSize_helper(_obj4
, &_arg4
))
6747 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6754 _arg7
= wxString_in_helper(_obj7
);
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) return NULL
;
6765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6766 _resultobj
= Py_BuildValue("s",_ptemp
);
6769 _resultobj
= Py_None
;
6782 #define new_wxPreTextCtrl() (new wxTextCtrl())
6783 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
* _resultobj
;
6785 wxTextCtrl
* _result
;
6786 char *_kwnames
[] = { NULL
};
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) return NULL
;
6799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6800 _resultobj
= Py_BuildValue("s",_ptemp
);
6803 _resultobj
= Py_None
;
6808 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6809 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6815 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
6816 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6817 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6818 long _arg6
= (long ) 0;
6819 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6820 wxString
* _arg8
= (wxString
*) &wxPyTextCtrlNameStr
;
6821 PyObject
* _argo0
= 0;
6822 PyObject
* _argo1
= 0;
6823 PyObject
* _obj3
= 0;
6825 PyObject
* _obj4
= 0;
6827 PyObject
* _obj5
= 0;
6828 PyObject
* _argo7
= 0;
6829 PyObject
* _obj8
= 0;
6830 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
6836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6851 _arg3
= wxString_in_helper(_obj3
);
6858 if (! wxPoint_helper(_obj4
, &_arg4
))
6864 if (! wxSize_helper(_obj5
, &_arg5
))
6868 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6875 _arg8
= wxString_in_helper(_obj8
);
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
6883 wxPyEndAllowThreads(__tstate
);
6884 if (PyErr_Occurred()) return NULL
;
6885 } _resultobj
= Py_BuildValue("i",_result
);
6897 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6898 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6902 PyObject
* _argo0
= 0;
6903 char *_kwnames
[] = { "self", NULL
};
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) return NULL
;
6923 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
6925 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6934 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6935 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6939 PyObject
* _argo0
= 0;
6940 PyObject
* _obj1
= 0;
6941 char *_kwnames
[] = { "self","value", NULL
};
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6954 _arg1
= wxString_in_helper(_obj1
);
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) return NULL
;
6964 } Py_INCREF(Py_None
);
6965 _resultobj
= Py_None
;
6973 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6974 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
* _resultobj
;
6980 PyObject
* _argo0
= 0;
6981 char *_kwnames
[] = { "self","from","to", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) return NULL
;
7001 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7003 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7012 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
7013 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
* _resultobj
;
7018 PyObject
* _argo0
= 0;
7019 char *_kwnames
[] = { "self","lineNo", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) return NULL
;
7037 } _resultobj
= Py_BuildValue("i",_result
);
7041 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
7042 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7047 PyObject
* _argo0
= 0;
7048 char *_kwnames
[] = { "self","lineNo", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) return NULL
;
7068 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7070 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7079 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
7080 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
* _resultobj
;
7084 PyObject
* _argo0
= 0;
7085 char *_kwnames
[] = { "self", NULL
};
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
7091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7103 } _resultobj
= Py_BuildValue("i",_result
);
7107 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
7108 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) return NULL
;
7131 } _resultobj
= Py_BuildValue("i",_result
);
7135 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7136 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
* _resultobj
;
7140 PyObject
* _argo0
= 0;
7141 char *_kwnames
[] = { "self", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) return NULL
;
7159 } _resultobj
= Py_BuildValue("i",_result
);
7163 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7164 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
* _resultobj
;
7171 PyObject
* _argo0
= 0;
7172 char *_kwnames
[] = { "self", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) return NULL
;
7196 } Py_INCREF(Py_None
);
7197 _resultobj
= Py_None
;
7200 o
= PyInt_FromLong((long) (*_arg1
));
7201 _resultobj
= t_output_helper(_resultobj
, o
);
7205 o
= PyInt_FromLong((long) (*_arg2
));
7206 _resultobj
= t_output_helper(_resultobj
, o
);
7211 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7212 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
* _resultobj
;
7216 PyObject
* _argo0
= 0;
7217 char *_kwnames
[] = { "self", NULL
};
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
7223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) return NULL
;
7237 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
7239 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7248 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
7249 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
* _resultobj
;
7252 PyObject
* _argo0
= 0;
7253 char *_kwnames
[] = { "self", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 wxTextCtrl_Clear(_arg0
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) return NULL
;
7271 } Py_INCREF(Py_None
);
7272 _resultobj
= Py_None
;
7276 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7277 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
* _resultobj
;
7283 PyObject
* _argo0
= 0;
7284 PyObject
* _obj3
= 0;
7285 char *_kwnames
[] = { "self","from","to","value", NULL
};
7288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
7291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
7298 _arg3
= wxString_in_helper(_obj3
);
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) return NULL
;
7308 } Py_INCREF(Py_None
);
7309 _resultobj
= Py_None
;
7317 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7318 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
* _resultobj
;
7323 PyObject
* _argo0
= 0;
7324 char *_kwnames
[] = { "self","from","to", NULL
};
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) return NULL
;
7342 } Py_INCREF(Py_None
);
7343 _resultobj
= Py_None
;
7347 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
7348 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7353 PyObject
* _argo0
= 0;
7354 PyObject
* _obj1
= 0;
7355 char *_kwnames
[] = { "self","file", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7368 _arg1
= wxString_in_helper(_obj1
);
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } _resultobj
= Py_BuildValue("i",_result
);
7386 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7387 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
7392 PyObject
* _argo0
= 0;
7393 PyObject
* _obj1
= 0;
7394 char *_kwnames
[] = { "self","file", NULL
};
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
7400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
7408 _arg1
= wxString_in_helper(_obj1
);
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) return NULL
;
7418 } _resultobj
= Py_BuildValue("i",_result
);
7426 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7427 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
* _resultobj
;
7430 PyObject
* _argo0
= 0;
7431 char *_kwnames
[] = { "self", NULL
};
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
7437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 wxTextCtrl_DiscardEdits(_arg0
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) return NULL
;
7449 } Py_INCREF(Py_None
);
7450 _resultobj
= Py_None
;
7454 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7455 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
* _resultobj
;
7458 unsigned long _arg1
;
7459 PyObject
* _argo0
= 0;
7460 char *_kwnames
[] = { "self","len", NULL
};
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) return NULL
;
7478 } Py_INCREF(Py_None
);
7479 _resultobj
= Py_None
;
7483 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7484 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
* _resultobj
;
7488 PyObject
* _argo0
= 0;
7489 PyObject
* _obj1
= 0;
7490 char *_kwnames
[] = { "self","text", NULL
};
7493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7503 _arg1
= wxString_in_helper(_obj1
);
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) return NULL
;
7513 } Py_INCREF(Py_None
);
7514 _resultobj
= Py_None
;
7522 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7523 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
* _resultobj
;
7527 PyObject
* _argo0
= 0;
7528 PyObject
* _obj1
= 0;
7529 char *_kwnames
[] = { "self","text", NULL
};
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7542 _arg1
= wxString_in_helper(_obj1
);
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) return NULL
;
7552 } Py_INCREF(Py_None
);
7553 _resultobj
= Py_None
;
7561 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7562 static PyObject
*_wrap_wxTextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
* _resultobj
;
7567 PyObject
* _argo0
= 0;
7568 PyObject
* _argo1
= 0;
7569 char *_kwnames
[] = { "self","event", NULL
};
7572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_EmulateKeyPress",_kwnames
,&_argo0
,&_argo1
))
7575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7582 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 _result
= (bool )wxTextCtrl_EmulateKeyPress(_arg0
,*_arg1
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) return NULL
;
7593 } _resultobj
= Py_BuildValue("i",_result
);
7597 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7598 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7605 PyObject
* _argo0
= 0;
7606 PyObject
* _argo3
= 0;
7607 char *_kwnames
[] = { "self","start","end","style", NULL
};
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7620 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) return NULL
;
7631 } _resultobj
= Py_BuildValue("i",_result
);
7635 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7636 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7641 PyObject
* _argo0
= 0;
7642 PyObject
* _argo1
= 0;
7643 char *_kwnames
[] = { "self","style", NULL
};
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7656 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) return NULL
;
7667 } _resultobj
= Py_BuildValue("i",_result
);
7671 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7672 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7674 wxTextAttr
* _result
;
7676 PyObject
* _argo0
= 0;
7677 char *_kwnames
[] = { "self", NULL
};
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7693 _result
= (wxTextAttr
*) &_result_ref
;
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) return NULL
;
7698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7699 _resultobj
= Py_BuildValue("s",_ptemp
);
7702 _resultobj
= Py_None
;
7707 #define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyle(_swigarg0,_swigarg1))
7708 static PyObject
*_wrap_wxTextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
* _resultobj
;
7714 PyObject
* _argo0
= 0;
7715 PyObject
* _argo2
= 0;
7716 char *_kwnames
[] = { "self","position","style", NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OlO:wxTextCtrl_GetStyle",_kwnames
,&_argo0
,&_arg1
,&_argo2
))
7722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p.");
7729 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextAttr_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p.");
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 _result
= (bool )wxTextCtrl_GetStyle(_arg0
,_arg1
,*_arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) return NULL
;
7740 } _resultobj
= Py_BuildValue("i",_result
);
7744 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7745 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7746 PyObject
* _resultobj
;
7751 PyObject
* _argo0
= 0;
7752 char *_kwnames
[] = { "self","x","y", NULL
};
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) return NULL
;
7770 } _resultobj
= Py_BuildValue("l",_result
);
7774 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7775 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7776 PyObject
* _resultobj
;
7783 PyObject
* _argo0
= 0;
7784 char *_kwnames
[] = { "self","pos", NULL
};
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) return NULL
;
7808 } Py_INCREF(Py_None
);
7809 _resultobj
= Py_None
;
7812 o
= PyInt_FromLong((long) (*_arg2
));
7813 _resultobj
= t_output_helper(_resultobj
, o
);
7817 o
= PyInt_FromLong((long) (*_arg3
));
7818 _resultobj
= t_output_helper(_resultobj
, o
);
7823 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7824 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
* _resultobj
;
7828 PyObject
* _argo0
= 0;
7829 char *_kwnames
[] = { "self","pos", NULL
};
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) return NULL
;
7847 } Py_INCREF(Py_None
);
7848 _resultobj
= Py_None
;
7852 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7853 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
* _resultobj
;
7856 PyObject
* _argo0
= 0;
7857 char *_kwnames
[] = { "self", NULL
};
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 wxTextCtrl_Copy(_arg0
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) return NULL
;
7875 } Py_INCREF(Py_None
);
7876 _resultobj
= Py_None
;
7880 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7881 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7882 PyObject
* _resultobj
;
7884 PyObject
* _argo0
= 0;
7885 char *_kwnames
[] = { "self", NULL
};
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 wxTextCtrl_Cut(_arg0
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) return NULL
;
7903 } Py_INCREF(Py_None
);
7904 _resultobj
= Py_None
;
7908 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7909 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
* _resultobj
;
7912 PyObject
* _argo0
= 0;
7913 char *_kwnames
[] = { "self", NULL
};
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 wxTextCtrl_Paste(_arg0
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) return NULL
;
7931 } Py_INCREF(Py_None
);
7932 _resultobj
= Py_None
;
7936 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7937 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
* _resultobj
;
7941 PyObject
* _argo0
= 0;
7942 char *_kwnames
[] = { "self", NULL
};
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) return NULL
;
7960 } _resultobj
= Py_BuildValue("i",_result
);
7964 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7965 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7969 PyObject
* _argo0
= 0;
7970 char *_kwnames
[] = { "self", NULL
};
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) return NULL
;
7988 } _resultobj
= Py_BuildValue("i",_result
);
7992 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7993 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
* _resultobj
;
7997 PyObject
* _argo0
= 0;
7998 char *_kwnames
[] = { "self", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) return NULL
;
8016 } _resultobj
= Py_BuildValue("i",_result
);
8020 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
8021 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
* _resultobj
;
8024 PyObject
* _argo0
= 0;
8025 char *_kwnames
[] = { "self", NULL
};
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
8031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 wxTextCtrl_Undo(_arg0
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) return NULL
;
8043 } Py_INCREF(Py_None
);
8044 _resultobj
= Py_None
;
8048 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
8049 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
* _resultobj
;
8052 PyObject
* _argo0
= 0;
8053 char *_kwnames
[] = { "self", NULL
};
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
8059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 wxTextCtrl_Redo(_arg0
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) return NULL
;
8071 } Py_INCREF(Py_None
);
8072 _resultobj
= Py_None
;
8076 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
8077 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
* _resultobj
;
8081 PyObject
* _argo0
= 0;
8082 char *_kwnames
[] = { "self", NULL
};
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
8088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) return NULL
;
8100 } _resultobj
= Py_BuildValue("i",_result
);
8104 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
8105 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8109 PyObject
* _argo0
= 0;
8110 char *_kwnames
[] = { "self", NULL
};
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
8116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) return NULL
;
8128 } _resultobj
= Py_BuildValue("i",_result
);
8132 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
8133 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
* _resultobj
;
8137 PyObject
* _argo0
= 0;
8138 char *_kwnames
[] = { "self","pos", NULL
};
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
8144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) return NULL
;
8156 } Py_INCREF(Py_None
);
8157 _resultobj
= Py_None
;
8161 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
8162 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
* _resultobj
;
8165 PyObject
* _argo0
= 0;
8166 char *_kwnames
[] = { "self", NULL
};
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
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_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 wxTextCtrl_SetInsertionPointEnd(_arg0
);
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) return NULL
;
8184 } Py_INCREF(Py_None
);
8185 _resultobj
= Py_None
;
8189 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
8190 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
* _resultobj
;
8194 PyObject
* _argo0
= 0;
8195 char *_kwnames
[] = { "self", NULL
};
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
8201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) return NULL
;
8213 } _resultobj
= Py_BuildValue("l",_result
);
8217 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
8218 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8222 PyObject
* _argo0
= 0;
8223 char *_kwnames
[] = { "self", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
8229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) return NULL
;
8241 } _resultobj
= Py_BuildValue("l",_result
);
8245 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8246 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
* _resultobj
;
8251 PyObject
* _argo0
= 0;
8252 char *_kwnames
[] = { "self","from","to", NULL
};
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) return NULL
;
8270 } Py_INCREF(Py_None
);
8271 _resultobj
= Py_None
;
8275 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
8276 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8279 PyObject
* _argo0
= 0;
8280 char *_kwnames
[] = { "self", NULL
};
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
8286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 wxTextCtrl_SelectAll(_arg0
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) return NULL
;
8298 } Py_INCREF(Py_None
);
8299 _resultobj
= Py_None
;
8303 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
8304 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8308 PyObject
* _argo0
= 0;
8310 char *_kwnames
[] = { "self","editable", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
8322 _arg1
= (bool ) tempbool1
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 wxTextCtrl_SetEditable(_arg0
,_arg1
);
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) return NULL
;
8329 } Py_INCREF(Py_None
);
8330 _resultobj
= Py_None
;
8334 #define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8335 static PyObject
*_wrap_wxTextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
* _resultobj
;
8339 PyObject
* _argo0
= 0;
8340 char *_kwnames
[] = { "self", NULL
};
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsSingleLine",_kwnames
,&_argo0
))
8346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 _result
= (bool )wxTextCtrl_IsSingleLine(_arg0
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) return NULL
;
8358 } _resultobj
= Py_BuildValue("i",_result
);
8362 #define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8363 static PyObject
*_wrap_wxTextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
* _resultobj
;
8367 PyObject
* _argo0
= 0;
8368 char *_kwnames
[] = { "self", NULL
};
8371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsMultiLine",_kwnames
,&_argo0
))
8374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 _result
= (bool )wxTextCtrl_IsMultiLine(_arg0
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) return NULL
;
8386 } _resultobj
= Py_BuildValue("i",_result
);
8390 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
8391 self
->AppendText(text
);
8393 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
* _resultobj
;
8397 PyObject
* _argo0
= 0;
8398 PyObject
* _obj1
= 0;
8399 char *_kwnames
[] = { "self","text", NULL
};
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
8405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8412 _arg1
= wxString_in_helper(_obj1
);
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 wxTextCtrl_write(_arg0
,*_arg1
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) return NULL
;
8422 } Py_INCREF(Py_None
);
8423 _resultobj
= Py_None
;
8431 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
8432 return self
->GetValue().Mid(from
, to
- from
);
8434 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
* _resultobj
;
8440 PyObject
* _argo0
= 0;
8441 char *_kwnames
[] = { "self","from","to", NULL
};
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) return NULL
;
8461 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
8463 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8472 static void *SwigwxScrollBarTowxControl(void *ptr
) {
8475 src
= (wxScrollBar
*) ptr
;
8476 dest
= (wxControl
*) src
;
8477 return (void *) dest
;
8480 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
8483 src
= (wxScrollBar
*) ptr
;
8484 dest
= (wxWindow
*) src
;
8485 return (void *) dest
;
8488 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
8491 src
= (wxScrollBar
*) ptr
;
8492 dest
= (wxEvtHandler
*) src
;
8493 return (void *) dest
;
8496 static void *SwigwxScrollBarTowxObject(void *ptr
) {
8499 src
= (wxScrollBar
*) ptr
;
8500 dest
= (wxObject
*) src
;
8501 return (void *) dest
;
8504 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8505 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
* _resultobj
;
8507 wxScrollBar
* _result
;
8509 wxWindowID _arg1
= (wxWindowID
) -1;
8510 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8511 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8512 long _arg4
= (long ) wxSB_HORIZONTAL
;
8513 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
8514 wxString
* _arg6
= (wxString
*) &wxPyScrollBarNameStr
;
8515 PyObject
* _argo0
= 0;
8517 PyObject
* _obj2
= 0;
8519 PyObject
* _obj3
= 0;
8520 PyObject
* _argo5
= 0;
8521 PyObject
* _obj6
= 0;
8522 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
8529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8538 if (! wxPoint_helper(_obj2
, &_arg2
))
8544 if (! wxSize_helper(_obj3
, &_arg3
))
8548 if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
8549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8555 _arg6
= wxString_in_helper(_obj6
);
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) return NULL
;
8566 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8567 _resultobj
= Py_BuildValue("s",_ptemp
);
8570 _resultobj
= Py_None
;
8579 #define new_wxPreScrollBar() (new wxScrollBar())
8580 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
* _resultobj
;
8582 wxScrollBar
* _result
;
8583 char *_kwnames
[] = { NULL
};
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 _result
= (wxScrollBar
*)new_wxPreScrollBar();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) return NULL
;
8596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8597 _resultobj
= Py_BuildValue("s",_ptemp
);
8600 _resultobj
= Py_None
;
8605 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8606 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
* _resultobj
;
8609 wxScrollBar
* _arg0
;
8611 wxWindowID _arg2
= (wxWindowID
) -1;
8612 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8613 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8614 long _arg5
= (long ) wxSB_HORIZONTAL
;
8615 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8616 wxString
* _arg7
= (wxString
*) &wxPyScrollBarNameStr
;
8617 PyObject
* _argo0
= 0;
8618 PyObject
* _argo1
= 0;
8620 PyObject
* _obj3
= 0;
8622 PyObject
* _obj4
= 0;
8623 PyObject
* _argo6
= 0;
8624 PyObject
* _obj7
= 0;
8625 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
8631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8647 if (! wxPoint_helper(_obj3
, &_arg3
))
8653 if (! wxSize_helper(_obj4
, &_arg4
))
8657 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8664 _arg7
= wxString_in_helper(_obj7
);
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) return NULL
;
8674 } _resultobj
= Py_BuildValue("i",_result
);
8682 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8683 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
* _resultobj
;
8686 wxScrollBar
* _arg0
;
8687 PyObject
* _argo0
= 0;
8688 char *_kwnames
[] = { "self", NULL
};
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 _result
= (int )wxScrollBar_GetRange(_arg0
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) return NULL
;
8706 } _resultobj
= Py_BuildValue("i",_result
);
8710 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8711 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
* _resultobj
;
8714 wxScrollBar
* _arg0
;
8715 PyObject
* _argo0
= 0;
8716 char *_kwnames
[] = { "self", NULL
};
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) return NULL
;
8734 } _resultobj
= Py_BuildValue("i",_result
);
8738 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8739 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
* _resultobj
;
8742 wxScrollBar
* _arg0
;
8743 PyObject
* _argo0
= 0;
8744 char *_kwnames
[] = { "self", NULL
};
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) return NULL
;
8762 } _resultobj
= Py_BuildValue("i",_result
);
8766 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8767 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
* _resultobj
;
8770 wxScrollBar
* _arg0
;
8771 PyObject
* _argo0
= 0;
8772 char *_kwnames
[] = { "self", NULL
};
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) return NULL
;
8790 } _resultobj
= Py_BuildValue("i",_result
);
8794 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8795 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
* _resultobj
;
8798 wxScrollBar
* _arg0
;
8799 PyObject
* _argo0
= 0;
8800 char *_kwnames
[] = { "self", NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) return NULL
;
8818 } _resultobj
= Py_BuildValue("i",_result
);
8822 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8823 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
* _resultobj
;
8825 wxScrollBar
* _arg0
;
8827 PyObject
* _argo0
= 0;
8828 char *_kwnames
[] = { "self","viewStart", NULL
};
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) return NULL
;
8846 } Py_INCREF(Py_None
);
8847 _resultobj
= Py_None
;
8851 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8852 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
* _resultobj
;
8854 wxScrollBar
* _arg0
;
8859 bool _arg5
= (bool ) TRUE
;
8860 PyObject
* _argo0
= 0;
8861 int tempbool5
= (int) TRUE
;
8862 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8874 _arg5
= (bool ) tempbool5
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) return NULL
;
8881 } Py_INCREF(Py_None
);
8882 _resultobj
= Py_None
;
8886 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8889 src
= (wxSpinButton
*) ptr
;
8890 dest
= (wxControl
*) src
;
8891 return (void *) dest
;
8894 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8897 src
= (wxSpinButton
*) ptr
;
8898 dest
= (wxWindow
*) src
;
8899 return (void *) dest
;
8902 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8905 src
= (wxSpinButton
*) ptr
;
8906 dest
= (wxEvtHandler
*) src
;
8907 return (void *) dest
;
8910 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8913 src
= (wxSpinButton
*) ptr
;
8914 dest
= (wxObject
*) src
;
8915 return (void *) dest
;
8918 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8919 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
* _resultobj
;
8921 wxSpinButton
* _result
;
8923 wxWindowID _arg1
= (wxWindowID
) -1;
8924 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8925 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8926 long _arg4
= (long ) wxSP_HORIZONTAL
;
8927 wxString
* _arg5
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8928 PyObject
* _argo0
= 0;
8930 PyObject
* _obj2
= 0;
8932 PyObject
* _obj3
= 0;
8933 PyObject
* _obj5
= 0;
8934 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
8941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8950 if (! wxPoint_helper(_obj2
, &_arg2
))
8956 if (! wxSize_helper(_obj3
, &_arg3
))
8961 _arg5
= wxString_in_helper(_obj5
);
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) return NULL
;
8972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8973 _resultobj
= Py_BuildValue("s",_ptemp
);
8976 _resultobj
= Py_None
;
8985 #define new_wxPreSpinButton() (new wxSpinButton())
8986 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
* _resultobj
;
8988 wxSpinButton
* _result
;
8989 char *_kwnames
[] = { NULL
};
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) return NULL
;
9002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
9003 _resultobj
= Py_BuildValue("s",_ptemp
);
9006 _resultobj
= Py_None
;
9011 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9012 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
* _resultobj
;
9015 wxSpinButton
* _arg0
;
9017 wxWindowID _arg2
= (wxWindowID
) -1;
9018 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9019 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9020 long _arg5
= (long ) wxSP_HORIZONTAL
;
9021 wxString
* _arg6
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
9022 PyObject
* _argo0
= 0;
9023 PyObject
* _argo1
= 0;
9025 PyObject
* _obj3
= 0;
9027 PyObject
* _obj4
= 0;
9028 PyObject
* _obj6
= 0;
9029 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
9035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
9042 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9043 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
9051 if (! wxPoint_helper(_obj3
, &_arg3
))
9057 if (! wxSize_helper(_obj4
, &_arg4
))
9062 _arg6
= wxString_in_helper(_obj6
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) return NULL
;
9072 } _resultobj
= Py_BuildValue("i",_result
);
9080 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
9081 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9084 wxSpinButton
* _arg0
;
9085 PyObject
* _argo0
= 0;
9086 char *_kwnames
[] = { "self", NULL
};
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
9092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 _result
= (int )wxSpinButton_GetMax(_arg0
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) return NULL
;
9104 } _resultobj
= Py_BuildValue("i",_result
);
9108 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
9109 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
* _resultobj
;
9112 wxSpinButton
* _arg0
;
9113 PyObject
* _argo0
= 0;
9114 char *_kwnames
[] = { "self", NULL
};
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
9120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 _result
= (int )wxSpinButton_GetMin(_arg0
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) return NULL
;
9132 } _resultobj
= Py_BuildValue("i",_result
);
9136 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
9137 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
* _resultobj
;
9140 wxSpinButton
* _arg0
;
9141 PyObject
* _argo0
= 0;
9142 char *_kwnames
[] = { "self", NULL
};
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
9148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 _result
= (int )wxSpinButton_GetValue(_arg0
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) return NULL
;
9160 } _resultobj
= Py_BuildValue("i",_result
);
9164 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
9165 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
* _resultobj
;
9167 wxSpinButton
* _arg0
;
9170 PyObject
* _argo0
= 0;
9171 char *_kwnames
[] = { "self","min","max", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) return NULL
;
9189 } Py_INCREF(Py_None
);
9190 _resultobj
= Py_None
;
9194 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9195 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
* _resultobj
;
9197 wxSpinButton
* _arg0
;
9199 PyObject
* _argo0
= 0;
9200 char *_kwnames
[] = { "self","value", NULL
};
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
9206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
9208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 wxSpinButton_SetValue(_arg0
,_arg1
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) return NULL
;
9218 } Py_INCREF(Py_None
);
9219 _resultobj
= Py_None
;
9223 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
9224 wxStaticBitmap
*src
;
9226 src
= (wxStaticBitmap
*) ptr
;
9227 dest
= (wxControl
*) src
;
9228 return (void *) dest
;
9231 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
9232 wxStaticBitmap
*src
;
9234 src
= (wxStaticBitmap
*) ptr
;
9235 dest
= (wxWindow
*) src
;
9236 return (void *) dest
;
9239 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
9240 wxStaticBitmap
*src
;
9242 src
= (wxStaticBitmap
*) ptr
;
9243 dest
= (wxEvtHandler
*) src
;
9244 return (void *) dest
;
9247 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
9248 wxStaticBitmap
*src
;
9250 src
= (wxStaticBitmap
*) ptr
;
9251 dest
= (wxObject
*) src
;
9252 return (void *) dest
;
9255 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9256 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
* _resultobj
;
9258 wxStaticBitmap
* _result
;
9262 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9263 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9264 long _arg5
= (long ) 0;
9265 wxString
* _arg6
= (wxString
*) &wxPyStaticBitmapNameStr
;
9266 PyObject
* _argo0
= 0;
9267 PyObject
* _argo2
= 0;
9269 PyObject
* _obj3
= 0;
9271 PyObject
* _obj4
= 0;
9272 PyObject
* _obj6
= 0;
9273 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
9280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
9287 if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
9288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
9295 if (! wxPoint_helper(_obj3
, &_arg3
))
9301 if (! wxSize_helper(_obj4
, &_arg4
))
9306 _arg6
= wxString_in_helper(_obj6
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) return NULL
;
9317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
9318 _resultobj
= Py_BuildValue("s",_ptemp
);
9321 _resultobj
= Py_None
;
9330 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
9331 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
* _resultobj
;
9333 wxStaticBitmap
* _result
;
9334 char *_kwnames
[] = { NULL
};
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) return NULL
;
9347 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
9348 _resultobj
= Py_BuildValue("s",_ptemp
);
9351 _resultobj
= Py_None
;
9356 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9357 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
* _resultobj
;
9360 wxStaticBitmap
* _arg0
;
9364 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9365 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9366 long _arg6
= (long ) 0;
9367 wxString
* _arg7
= (wxString
*) &wxPyStaticBitmapNameStr
;
9368 PyObject
* _argo0
= 0;
9369 PyObject
* _argo1
= 0;
9370 PyObject
* _argo3
= 0;
9372 PyObject
* _obj4
= 0;
9374 PyObject
* _obj5
= 0;
9375 PyObject
* _obj7
= 0;
9376 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
9382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
9389 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9390 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
9396 if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9404 if (! wxPoint_helper(_obj4
, &_arg4
))
9410 if (! wxSize_helper(_obj5
, &_arg5
))
9415 _arg7
= wxString_in_helper(_obj7
);
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) return NULL
;
9425 } _resultobj
= Py_BuildValue("i",_result
);
9433 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
9434 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
* _resultobj
;
9437 wxStaticBitmap
* _arg0
;
9438 PyObject
* _argo0
= 0;
9439 char *_kwnames
[] = { "self", NULL
};
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
9446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) return NULL
;
9458 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9459 _resultobj
= Py_BuildValue("s",_ptemp
);
9463 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
9464 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
* _resultobj
;
9466 wxStaticBitmap
* _arg0
;
9468 PyObject
* _argo0
= 0;
9469 PyObject
* _argo1
= 0;
9470 char *_kwnames
[] = { "self","bitmap", NULL
};
9473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
9476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9483 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
9492 wxPyEndAllowThreads(__tstate
);
9493 if (PyErr_Occurred()) return NULL
;
9494 } Py_INCREF(Py_None
);
9495 _resultobj
= Py_None
;
9499 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
9500 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
* _resultobj
;
9502 wxStaticBitmap
* _arg0
;
9504 PyObject
* _argo0
= 0;
9505 PyObject
* _argo1
= 0;
9506 char *_kwnames
[] = { "self","icon", NULL
};
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
9512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9519 if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) return NULL
;
9530 } Py_INCREF(Py_None
);
9531 _resultobj
= Py_None
;
9535 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
9538 src
= (wxRadioBox
*) ptr
;
9539 dest
= (wxControl
*) src
;
9540 return (void *) dest
;
9543 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
9546 src
= (wxRadioBox
*) ptr
;
9547 dest
= (wxWindow
*) src
;
9548 return (void *) dest
;
9551 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
9554 src
= (wxRadioBox
*) ptr
;
9555 dest
= (wxEvtHandler
*) src
;
9556 return (void *) dest
;
9559 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
9562 src
= (wxRadioBox
*) ptr
;
9563 dest
= (wxObject
*) src
;
9564 return (void *) dest
;
9567 #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))
9568 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
* _resultobj
;
9570 wxRadioBox
* _result
;
9574 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9575 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9576 int _arg5
= (int ) 0;
9577 wxString
* _arg6
= (wxString
*) NULL
;
9578 int _arg7
= (int ) 0;
9579 long _arg8
= (long ) wxRA_HORIZONTAL
;
9580 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9581 wxString
* _arg10
= (wxString
*) &wxPyRadioBoxNameStr
;
9582 PyObject
* _argo0
= 0;
9583 PyObject
* _obj2
= 0;
9585 PyObject
* _obj3
= 0;
9587 PyObject
* _obj4
= 0;
9588 PyObject
* _obj6
= 0;
9589 PyObject
* _argo9
= 0;
9590 PyObject
* _obj10
= 0;
9591 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOO:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_obj10
))
9598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9605 _arg2
= wxString_in_helper(_obj2
);
9612 if (! wxPoint_helper(_obj3
, &_arg3
))
9618 if (! wxSize_helper(_obj4
, &_arg4
))
9623 _arg6
= wxString_LIST_helper(_obj6
);
9624 if (_arg6
== NULL
) {
9629 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9636 _arg10
= wxString_in_helper(_obj10
);
9642 _arg5
= PyList_Size(_obj6
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) return NULL
;
9655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9656 _resultobj
= Py_BuildValue("s",_ptemp
);
9659 _resultobj
= Py_None
;
9675 #define new_wxPreRadioBox() (new wxRadioBox())
9676 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
* _resultobj
;
9678 wxRadioBox
* _result
;
9679 char *_kwnames
[] = { NULL
};
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) return NULL
;
9692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9693 _resultobj
= Py_BuildValue("s",_ptemp
);
9696 _resultobj
= Py_None
;
9701 #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))
9702 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
* _resultobj
;
9709 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9710 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9711 int _arg6
= (int ) 0;
9712 wxString
* _arg7
= (wxString
*) NULL
;
9713 int _arg8
= (int ) 0;
9714 long _arg9
= (long ) wxRA_HORIZONTAL
;
9715 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9716 wxString
* _arg11
= (wxString
*) &wxPyRadioBoxNameStr
;
9717 PyObject
* _argo0
= 0;
9718 PyObject
* _argo1
= 0;
9719 PyObject
* _obj3
= 0;
9721 PyObject
* _obj4
= 0;
9723 PyObject
* _obj5
= 0;
9724 PyObject
* _obj7
= 0;
9725 PyObject
* _argo10
= 0;
9726 PyObject
* _obj11
= 0;
9727 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_obj11
))
9733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9740 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9741 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9747 _arg3
= wxString_in_helper(_obj3
);
9754 if (! wxPoint_helper(_obj4
, &_arg4
))
9760 if (! wxSize_helper(_obj5
, &_arg5
))
9765 _arg7
= wxString_LIST_helper(_obj7
);
9766 if (_arg7
== NULL
) {
9771 if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9778 _arg11
= wxString_in_helper(_obj11
);
9784 _arg6
= PyList_Size(_obj7
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,*_arg11
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) return NULL
;
9796 } _resultobj
= Py_BuildValue("i",_result
);
9811 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9812 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
* _resultobj
;
9816 PyObject
* _argo0
= 0;
9818 char *_kwnames
[] = { "self","enable", NULL
};
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9830 _arg1
= (bool ) tempbool1
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 wxRadioBox_Enable(_arg0
,_arg1
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) return NULL
;
9837 } Py_INCREF(Py_None
);
9838 _resultobj
= Py_None
;
9842 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9843 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
* _resultobj
;
9848 PyObject
* _argo0
= 0;
9850 char *_kwnames
[] = { "self","n","enable", NULL
};
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9862 _arg2
= (bool ) tempbool2
;
9864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9865 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9867 wxPyEndAllowThreads(__tstate
);
9868 if (PyErr_Occurred()) return NULL
;
9869 } Py_INCREF(Py_None
);
9870 _resultobj
= Py_None
;
9874 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9875 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
* _resultobj
;
9880 PyObject
* _argo0
= 0;
9881 PyObject
* _obj1
= 0;
9882 char *_kwnames
[] = { "self","string", NULL
};
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9895 _arg1
= wxString_in_helper(_obj1
);
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) return NULL
;
9905 } _resultobj
= Py_BuildValue("i",_result
);
9913 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9914 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
* _resultobj
;
9919 PyObject
* _argo0
= 0;
9920 char *_kwnames
[] = { "self","n", NULL
};
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) return NULL
;
9940 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
9942 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9951 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9952 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
* _resultobj
;
9957 PyObject
* _argo0
= 0;
9958 PyObject
* _obj2
= 0;
9959 char *_kwnames
[] = { "self","n","label", NULL
};
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9972 _arg2
= wxString_in_helper(_obj2
);
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) return NULL
;
9982 } Py_INCREF(Py_None
);
9983 _resultobj
= Py_None
;
9991 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9992 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
* _resultobj
;
9996 PyObject
* _argo0
= 0;
9997 char *_kwnames
[] = { "self", NULL
};
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
10003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) return NULL
;
10015 } _resultobj
= Py_BuildValue("i",_result
);
10019 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
10020 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
* _resultobj
;
10023 wxRadioBox
* _arg0
;
10024 PyObject
* _argo0
= 0;
10025 char *_kwnames
[] = { "self", NULL
};
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
10031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) return NULL
;
10043 } _resultobj
= Py_BuildValue("i",_result
);
10047 #define wxRadioBox_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
10048 static PyObject
*_wrap_wxRadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
* _resultobj
;
10051 wxRadioBox
* _arg0
;
10053 wxDirection
* _arg2
;
10055 PyObject
* _argo0
= 0;
10056 PyObject
* _argo2
= 0;
10057 char *_kwnames
[] = { "self","item","dir","style", NULL
};
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiOl:wxRadioBox_GetNextItem",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_arg3
))
10063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetNextItem. Expected _wxRadioBox_p.");
10070 if (_argo2
== Py_None
) { _arg2
= NULL
; }
10071 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxDirection_p")) {
10072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxRadioBox_GetNextItem. Expected _wxDirection_p.");
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 _result
= (int )wxRadioBox_GetNextItem(_arg0
,_arg1
,*_arg2
,_arg3
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) return NULL
;
10082 } _resultobj
= Py_BuildValue("i",_result
);
10086 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
10087 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
* _resultobj
;
10090 wxRadioBox
* _arg0
;
10091 PyObject
* _argo0
= 0;
10092 char *_kwnames
[] = { "self", NULL
};
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
10098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 _result
= (int )wxRadioBox_GetSelection(_arg0
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) return NULL
;
10110 } _resultobj
= Py_BuildValue("i",_result
);
10114 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
10115 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
* _resultobj
;
10117 wxString
* _result
;
10118 wxRadioBox
* _arg0
;
10119 PyObject
* _argo0
= 0;
10120 char *_kwnames
[] = { "self", NULL
};
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
10126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
10133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10134 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
10136 wxPyEndAllowThreads(__tstate
);
10137 if (PyErr_Occurred()) return NULL
;
10140 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
10142 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
10151 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
10152 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
* _resultobj
;
10155 wxRadioBox
* _arg0
;
10156 PyObject
* _argo0
= 0;
10157 char *_kwnames
[] = { "self", NULL
};
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
10163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 _result
= (int )wxRadioBox_GetCount(_arg0
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) return NULL
;
10175 } _resultobj
= Py_BuildValue("i",_result
);
10179 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
10180 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
* _resultobj
;
10182 wxRadioBox
* _arg0
;
10184 PyObject
* _argo0
= 0;
10185 char *_kwnames
[] = { "self","n", NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
10191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxRadioBox_SetSelection(_arg0
,_arg1
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) return NULL
;
10203 } Py_INCREF(Py_None
);
10204 _resultobj
= Py_None
;
10208 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
10209 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
* _resultobj
;
10211 wxRadioBox
* _arg0
;
10213 PyObject
* _argo0
= 0;
10214 PyObject
* _obj1
= 0;
10215 char *_kwnames
[] = { "self","string", NULL
};
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
10221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
10228 _arg1
= wxString_in_helper(_obj1
);
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) return NULL
;
10238 } Py_INCREF(Py_None
);
10239 _resultobj
= Py_None
;
10247 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
10248 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
* _resultobj
;
10250 wxRadioBox
* _arg0
;
10252 PyObject
* _argo0
= 0;
10254 char *_kwnames
[] = { "self","show", NULL
};
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
10260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
10266 _arg1
= (bool ) tempbool1
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 wxRadioBox_Show(_arg0
,_arg1
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) return NULL
;
10273 } Py_INCREF(Py_None
);
10274 _resultobj
= Py_None
;
10278 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
10279 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
* _resultobj
;
10281 wxRadioBox
* _arg0
;
10284 PyObject
* _argo0
= 0;
10286 char *_kwnames
[] = { "self","item","show", NULL
};
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
10292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
10294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
10298 _arg2
= (bool ) tempbool2
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) return NULL
;
10305 } Py_INCREF(Py_None
);
10306 _resultobj
= Py_None
;
10310 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
10311 wxRadioButton
*src
;
10313 src
= (wxRadioButton
*) ptr
;
10314 dest
= (wxControl
*) src
;
10315 return (void *) dest
;
10318 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
10319 wxRadioButton
*src
;
10321 src
= (wxRadioButton
*) ptr
;
10322 dest
= (wxWindow
*) src
;
10323 return (void *) dest
;
10326 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
10327 wxRadioButton
*src
;
10328 wxEvtHandler
*dest
;
10329 src
= (wxRadioButton
*) ptr
;
10330 dest
= (wxEvtHandler
*) src
;
10331 return (void *) dest
;
10334 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
10335 wxRadioButton
*src
;
10337 src
= (wxRadioButton
*) ptr
;
10338 dest
= (wxObject
*) src
;
10339 return (void *) dest
;
10342 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10343 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
* _resultobj
;
10345 wxRadioButton
* _result
;
10349 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10350 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10351 long _arg5
= (long ) 0;
10352 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10353 wxString
* _arg7
= (wxString
*) &wxPyRadioButtonNameStr
;
10354 PyObject
* _argo0
= 0;
10355 PyObject
* _obj2
= 0;
10357 PyObject
* _obj3
= 0;
10359 PyObject
* _obj4
= 0;
10360 PyObject
* _argo6
= 0;
10361 PyObject
* _obj7
= 0;
10362 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
10369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10376 _arg2
= wxString_in_helper(_obj2
);
10383 if (! wxPoint_helper(_obj3
, &_arg3
))
10389 if (! wxSize_helper(_obj4
, &_arg4
))
10393 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10400 _arg7
= wxString_in_helper(_obj7
);
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) return NULL
;
10411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
10412 _resultobj
= Py_BuildValue("s",_ptemp
);
10414 Py_INCREF(Py_None
);
10415 _resultobj
= Py_None
;
10428 #define new_wxPreRadioButton() (new wxRadioButton())
10429 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
* _resultobj
;
10431 wxRadioButton
* _result
;
10432 char *_kwnames
[] = { NULL
};
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 _result
= (wxRadioButton
*)new_wxPreRadioButton();
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) return NULL
;
10445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
10446 _resultobj
= Py_BuildValue("s",_ptemp
);
10448 Py_INCREF(Py_None
);
10449 _resultobj
= Py_None
;
10454 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10455 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10456 PyObject
* _resultobj
;
10458 wxRadioButton
* _arg0
;
10462 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10463 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10464 long _arg6
= (long ) 0;
10465 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
10466 wxString
* _arg8
= (wxString
*) &wxPyRadioButtonNameStr
;
10467 PyObject
* _argo0
= 0;
10468 PyObject
* _argo1
= 0;
10469 PyObject
* _obj3
= 0;
10471 PyObject
* _obj4
= 0;
10473 PyObject
* _obj5
= 0;
10474 PyObject
* _argo7
= 0;
10475 PyObject
* _obj8
= 0;
10476 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
10482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10496 _arg3
= wxString_in_helper(_obj3
);
10503 if (! wxPoint_helper(_obj4
, &_arg4
))
10509 if (! wxSize_helper(_obj5
, &_arg5
))
10513 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
10514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
10520 _arg8
= wxString_in_helper(_obj8
);
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) return NULL
;
10530 } _resultobj
= Py_BuildValue("i",_result
);
10542 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
10543 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
* _resultobj
;
10546 wxRadioButton
* _arg0
;
10547 PyObject
* _argo0
= 0;
10548 char *_kwnames
[] = { "self", NULL
};
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
10554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 _result
= (bool )wxRadioButton_GetValue(_arg0
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) return NULL
;
10566 } _resultobj
= Py_BuildValue("i",_result
);
10570 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10571 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
* _resultobj
;
10573 wxRadioButton
* _arg0
;
10575 PyObject
* _argo0
= 0;
10577 char *_kwnames
[] = { "self","value", NULL
};
10580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10589 _arg1
= (bool ) tempbool1
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 wxRadioButton_SetValue(_arg0
,_arg1
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) return NULL
;
10596 } Py_INCREF(Py_None
);
10597 _resultobj
= Py_None
;
10601 static void *SwigwxSliderTowxControl(void *ptr
) {
10604 src
= (wxSlider
*) ptr
;
10605 dest
= (wxControl
*) src
;
10606 return (void *) dest
;
10609 static void *SwigwxSliderTowxWindow(void *ptr
) {
10612 src
= (wxSlider
*) ptr
;
10613 dest
= (wxWindow
*) src
;
10614 return (void *) dest
;
10617 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10619 wxEvtHandler
*dest
;
10620 src
= (wxSlider
*) ptr
;
10621 dest
= (wxEvtHandler
*) src
;
10622 return (void *) dest
;
10625 static void *SwigwxSliderTowxObject(void *ptr
) {
10628 src
= (wxSlider
*) ptr
;
10629 dest
= (wxObject
*) src
;
10630 return (void *) dest
;
10633 #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))
10634 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
* _resultobj
;
10636 wxSlider
* _result
;
10642 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10643 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10644 long _arg7
= (long ) wxSL_HORIZONTAL
;
10645 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10646 wxString
* _arg9
= (wxString
*) &wxPySliderNameStr
;
10647 PyObject
* _argo0
= 0;
10649 PyObject
* _obj5
= 0;
10651 PyObject
* _obj6
= 0;
10652 PyObject
* _argo8
= 0;
10653 PyObject
* _obj9
= 0;
10654 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOO:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
10661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10670 if (! wxPoint_helper(_obj5
, &_arg5
))
10676 if (! wxSize_helper(_obj6
, &_arg6
))
10680 if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10687 _arg9
= wxString_in_helper(_obj9
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,*_arg9
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) return NULL
;
10698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10699 _resultobj
= Py_BuildValue("s",_ptemp
);
10701 Py_INCREF(Py_None
);
10702 _resultobj
= Py_None
;
10711 #define new_wxPreSlider() (new wxSlider())
10712 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
* _resultobj
;
10714 wxSlider
* _result
;
10715 char *_kwnames
[] = { NULL
};
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 _result
= (wxSlider
*)new_wxPreSlider();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) return NULL
;
10728 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10729 _resultobj
= Py_BuildValue("s",_ptemp
);
10731 Py_INCREF(Py_None
);
10732 _resultobj
= Py_None
;
10737 #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))
10738 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
* _resultobj
;
10747 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10748 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10749 long _arg8
= (long ) wxSL_HORIZONTAL
;
10750 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10751 wxString
* _arg10
= (wxString
*) &wxPySliderNameStr
;
10752 PyObject
* _argo0
= 0;
10753 PyObject
* _argo1
= 0;
10755 PyObject
* _obj6
= 0;
10757 PyObject
* _obj7
= 0;
10758 PyObject
* _argo9
= 0;
10759 PyObject
* _obj10
= 0;
10760 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOO:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
10766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10773 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10774 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10782 if (! wxPoint_helper(_obj6
, &_arg6
))
10788 if (! wxSize_helper(_obj7
, &_arg7
))
10792 if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10799 _arg10
= wxString_in_helper(_obj10
);
10800 if (_arg10
== NULL
)
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,*_arg10
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) return NULL
;
10809 } _resultobj
= Py_BuildValue("i",_result
);
10817 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10818 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
* _resultobj
;
10821 PyObject
* _argo0
= 0;
10822 char *_kwnames
[] = { "self", NULL
};
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 wxSlider_ClearSel(_arg0
);
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) return NULL
;
10840 } Py_INCREF(Py_None
);
10841 _resultobj
= Py_None
;
10845 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10846 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
* _resultobj
;
10849 PyObject
* _argo0
= 0;
10850 char *_kwnames
[] = { "self", NULL
};
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 wxSlider_ClearTicks(_arg0
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) return NULL
;
10868 } Py_INCREF(Py_None
);
10869 _resultobj
= Py_None
;
10873 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10874 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
* _resultobj
;
10878 PyObject
* _argo0
= 0;
10879 char *_kwnames
[] = { "self", NULL
};
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 _result
= (int )wxSlider_GetLineSize(_arg0
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) return NULL
;
10897 } _resultobj
= Py_BuildValue("i",_result
);
10901 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10902 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
* _resultobj
;
10906 PyObject
* _argo0
= 0;
10907 char *_kwnames
[] = { "self", NULL
};
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 _result
= (int )wxSlider_GetMax(_arg0
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) return NULL
;
10925 } _resultobj
= Py_BuildValue("i",_result
);
10929 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10930 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
* _resultobj
;
10934 PyObject
* _argo0
= 0;
10935 char *_kwnames
[] = { "self", NULL
};
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 _result
= (int )wxSlider_GetMin(_arg0
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) return NULL
;
10953 } _resultobj
= Py_BuildValue("i",_result
);
10957 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10958 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
* _resultobj
;
10962 PyObject
* _argo0
= 0;
10963 char *_kwnames
[] = { "self", NULL
};
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10977 _result
= (int )wxSlider_GetPageSize(_arg0
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) return NULL
;
10981 } _resultobj
= Py_BuildValue("i",_result
);
10985 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10986 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
* _resultobj
;
10990 PyObject
* _argo0
= 0;
10991 char *_kwnames
[] = { "self", NULL
};
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 _result
= (int )wxSlider_GetSelEnd(_arg0
);
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) return NULL
;
11009 } _resultobj
= Py_BuildValue("i",_result
);
11013 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
11014 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
* _resultobj
;
11018 PyObject
* _argo0
= 0;
11019 char *_kwnames
[] = { "self", NULL
};
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
11025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 _result
= (int )wxSlider_GetSelStart(_arg0
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) return NULL
;
11037 } _resultobj
= Py_BuildValue("i",_result
);
11041 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
11042 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
* _resultobj
;
11046 PyObject
* _argo0
= 0;
11047 char *_kwnames
[] = { "self", NULL
};
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
11053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 _result
= (int )wxSlider_GetThumbLength(_arg0
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) return NULL
;
11065 } _resultobj
= Py_BuildValue("i",_result
);
11069 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
11070 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
* _resultobj
;
11074 PyObject
* _argo0
= 0;
11075 char *_kwnames
[] = { "self", NULL
};
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
11081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 _result
= (int )wxSlider_GetTickFreq(_arg0
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) return NULL
;
11093 } _resultobj
= Py_BuildValue("i",_result
);
11097 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
11098 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11099 PyObject
* _resultobj
;
11102 PyObject
* _argo0
= 0;
11103 char *_kwnames
[] = { "self", NULL
};
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
11109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 _result
= (int )wxSlider_GetValue(_arg0
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) return NULL
;
11121 } _resultobj
= Py_BuildValue("i",_result
);
11125 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11126 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
* _resultobj
;
11131 PyObject
* _argo0
= 0;
11132 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) return NULL
;
11150 } Py_INCREF(Py_None
);
11151 _resultobj
= Py_None
;
11155 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
11156 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
* _resultobj
;
11161 PyObject
* _argo0
= 0;
11162 char *_kwnames
[] = { "self","n","pos", NULL
};
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) return NULL
;
11180 } Py_INCREF(Py_None
);
11181 _resultobj
= Py_None
;
11185 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
11186 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
* _resultobj
;
11190 PyObject
* _argo0
= 0;
11191 char *_kwnames
[] = { "self","lineSize", NULL
};
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
11197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
11204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11205 wxSlider_SetLineSize(_arg0
,_arg1
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) return NULL
;
11209 } Py_INCREF(Py_None
);
11210 _resultobj
= Py_None
;
11214 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
11215 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
* _resultobj
;
11219 PyObject
* _argo0
= 0;
11220 char *_kwnames
[] = { "self","pageSize", NULL
};
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
11226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 wxSlider_SetPageSize(_arg0
,_arg1
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) return NULL
;
11238 } Py_INCREF(Py_None
);
11239 _resultobj
= Py_None
;
11243 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
11244 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
* _resultobj
;
11249 PyObject
* _argo0
= 0;
11250 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) return NULL
;
11268 } Py_INCREF(Py_None
);
11269 _resultobj
= Py_None
;
11273 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
11274 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
* _resultobj
;
11278 PyObject
* _argo0
= 0;
11279 char *_kwnames
[] = { "self","len", NULL
};
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
11285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 wxSlider_SetThumbLength(_arg0
,_arg1
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) return NULL
;
11297 } Py_INCREF(Py_None
);
11298 _resultobj
= Py_None
;
11302 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
11303 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
* _resultobj
;
11307 PyObject
* _argo0
= 0;
11308 char *_kwnames
[] = { "self","tickPos", NULL
};
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
11314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 wxSlider_SetTick(_arg0
,_arg1
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) return NULL
;
11326 } Py_INCREF(Py_None
);
11327 _resultobj
= Py_None
;
11331 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11332 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
* _resultobj
;
11336 PyObject
* _argo0
= 0;
11337 char *_kwnames
[] = { "self","value", NULL
};
11340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
11343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
11345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 wxSlider_SetValue(_arg0
,_arg1
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) return NULL
;
11355 } Py_INCREF(Py_None
);
11356 _resultobj
= Py_None
;
11360 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
11362 wxSpinButton
*dest
;
11363 src
= (wxSpinCtrl
*) ptr
;
11364 dest
= (wxSpinButton
*) src
;
11365 return (void *) dest
;
11368 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
11371 src
= (wxSpinCtrl
*) ptr
;
11372 dest
= (wxControl
*) src
;
11373 return (void *) dest
;
11376 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
11379 src
= (wxSpinCtrl
*) ptr
;
11380 dest
= (wxWindow
*) src
;
11381 return (void *) dest
;
11384 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
11386 wxEvtHandler
*dest
;
11387 src
= (wxSpinCtrl
*) ptr
;
11388 dest
= (wxEvtHandler
*) src
;
11389 return (void *) dest
;
11392 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
11395 src
= (wxSpinCtrl
*) ptr
;
11396 dest
= (wxObject
*) src
;
11397 return (void *) dest
;
11400 #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))
11401 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
* _resultobj
;
11403 wxSpinCtrl
* _result
;
11405 wxWindowID _arg1
= (wxWindowID
) -1;
11406 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11407 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11408 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11409 long _arg5
= (long ) wxSP_ARROW_KEYS
;
11410 int _arg6
= (int ) 0;
11411 int _arg7
= (int ) 100;
11412 int _arg8
= (int ) 0;
11413 wxString
* _arg9
= (wxString
*) &wxPySpinCtrlNameStr
;
11414 PyObject
* _argo0
= 0;
11415 PyObject
* _obj2
= 0;
11417 PyObject
* _obj3
= 0;
11419 PyObject
* _obj4
= 0;
11420 PyObject
* _obj9
= 0;
11421 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
11425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_obj9
))
11428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11436 _arg2
= wxString_in_helper(_obj2
);
11443 if (! wxPoint_helper(_obj3
, &_arg3
))
11449 if (! wxSize_helper(_obj4
, &_arg4
))
11454 _arg9
= wxString_in_helper(_obj9
);
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) return NULL
;
11465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
11466 _resultobj
= Py_BuildValue("s",_ptemp
);
11468 Py_INCREF(Py_None
);
11469 _resultobj
= Py_None
;
11482 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
11483 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
* _resultobj
;
11485 wxSpinCtrl
* _result
;
11486 char *_kwnames
[] = { NULL
};
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) return NULL
;
11499 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
11500 _resultobj
= Py_BuildValue("s",_ptemp
);
11502 Py_INCREF(Py_None
);
11503 _resultobj
= Py_None
;
11508 #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))
11509 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
* _resultobj
;
11512 wxSpinCtrl
* _arg0
;
11514 wxWindowID _arg2
= (wxWindowID
) -1;
11515 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
11516 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11517 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11518 long _arg6
= (long ) wxSP_ARROW_KEYS
;
11519 int _arg7
= (int ) 0;
11520 int _arg8
= (int ) 100;
11521 int _arg9
= (int ) 0;
11522 wxString
* _arg10
= (wxString
*) &wxPySpinCtrlNameStr
;
11523 PyObject
* _argo0
= 0;
11524 PyObject
* _argo1
= 0;
11525 PyObject
* _obj3
= 0;
11527 PyObject
* _obj4
= 0;
11529 PyObject
* _obj5
= 0;
11530 PyObject
* _obj10
= 0;
11531 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
11534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_obj10
))
11537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11552 _arg3
= wxString_in_helper(_obj3
);
11559 if (! wxPoint_helper(_obj4
, &_arg4
))
11565 if (! wxSize_helper(_obj5
, &_arg5
))
11570 _arg10
= wxString_in_helper(_obj10
);
11571 if (_arg10
== NULL
)
11575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
);
11578 wxPyEndAllowThreads(__tstate
);
11579 if (PyErr_Occurred()) return NULL
;
11580 } _resultobj
= Py_BuildValue("i",_result
);
11592 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11593 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
* _resultobj
;
11596 wxSpinCtrl
* _arg0
;
11597 PyObject
* _argo0
= 0;
11598 char *_kwnames
[] = { "self", NULL
};
11601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
11604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) return NULL
;
11616 } _resultobj
= Py_BuildValue("i",_result
);
11620 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11621 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11622 PyObject
* _resultobj
;
11624 wxSpinCtrl
* _arg0
;
11625 PyObject
* _argo0
= 0;
11626 char *_kwnames
[] = { "self", NULL
};
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
11632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) return NULL
;
11644 } _resultobj
= Py_BuildValue("i",_result
);
11648 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11649 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
* _resultobj
;
11652 wxSpinCtrl
* _arg0
;
11653 PyObject
* _argo0
= 0;
11654 char *_kwnames
[] = { "self", NULL
};
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
11660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) return NULL
;
11672 } _resultobj
= Py_BuildValue("i",_result
);
11676 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11677 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
* _resultobj
;
11679 wxSpinCtrl
* _arg0
;
11682 PyObject
* _argo0
= 0;
11683 char *_kwnames
[] = { "self","min","max", NULL
};
11686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) return NULL
;
11701 } Py_INCREF(Py_None
);
11702 _resultobj
= Py_None
;
11706 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11707 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
* _resultobj
;
11709 wxSpinCtrl
* _arg0
;
11711 PyObject
* _argo0
= 0;
11712 char *_kwnames
[] = { "self","value", NULL
};
11715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) return NULL
;
11730 } Py_INCREF(Py_None
);
11731 _resultobj
= Py_None
;
11735 #define wxSpinCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
11736 static PyObject
*_wrap_wxSpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
* _resultobj
;
11738 wxSpinCtrl
* _arg0
;
11741 PyObject
* _argo0
= 0;
11742 char *_kwnames
[] = { "self","from","to", NULL
};
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxSpinCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 wxSpinCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) return NULL
;
11760 } Py_INCREF(Py_None
);
11761 _resultobj
= Py_None
;
11765 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
11766 wxToggleButton
*src
;
11768 src
= (wxToggleButton
*) ptr
;
11769 dest
= (wxControl
*) src
;
11770 return (void *) dest
;
11773 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
11774 wxToggleButton
*src
;
11776 src
= (wxToggleButton
*) ptr
;
11777 dest
= (wxWindow
*) src
;
11778 return (void *) dest
;
11781 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
11782 wxToggleButton
*src
;
11783 wxEvtHandler
*dest
;
11784 src
= (wxToggleButton
*) ptr
;
11785 dest
= (wxEvtHandler
*) src
;
11786 return (void *) dest
;
11789 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
11790 wxToggleButton
*src
;
11792 src
= (wxToggleButton
*) ptr
;
11793 dest
= (wxObject
*) src
;
11794 return (void *) dest
;
11797 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11798 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11799 PyObject
* _resultobj
;
11800 wxToggleButton
* _result
;
11804 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11805 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11806 long _arg5
= (long ) 0;
11807 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
11808 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
11809 PyObject
* _argo0
= 0;
11810 PyObject
* _obj2
= 0;
11812 PyObject
* _obj3
= 0;
11814 PyObject
* _obj4
= 0;
11815 PyObject
* _argo6
= 0;
11816 PyObject
* _obj7
= 0;
11817 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
11824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11831 _arg2
= wxString_in_helper(_obj2
);
11838 if (! wxPoint_helper(_obj3
, &_arg3
))
11844 if (! wxSize_helper(_obj4
, &_arg4
))
11848 if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11855 _arg7
= wxString_in_helper(_obj7
);
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) return NULL
;
11866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11867 _resultobj
= Py_BuildValue("s",_ptemp
);
11869 Py_INCREF(Py_None
);
11870 _resultobj
= Py_None
;
11883 #define new_wxPreToggleButton() (new wxToggleButton())
11884 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11885 PyObject
* _resultobj
;
11886 wxToggleButton
* _result
;
11887 char *_kwnames
[] = { NULL
};
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11895 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) return NULL
;
11900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11901 _resultobj
= Py_BuildValue("s",_ptemp
);
11903 Py_INCREF(Py_None
);
11904 _resultobj
= Py_None
;
11909 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11910 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
* _resultobj
;
11913 wxToggleButton
* _arg0
;
11917 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11918 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11919 long _arg6
= (long ) 0;
11920 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11921 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
11922 PyObject
* _argo0
= 0;
11923 PyObject
* _argo1
= 0;
11924 PyObject
* _obj3
= 0;
11926 PyObject
* _obj4
= 0;
11928 PyObject
* _obj5
= 0;
11929 PyObject
* _argo7
= 0;
11930 PyObject
* _obj8
= 0;
11931 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
11937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11944 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11945 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11951 _arg3
= wxString_in_helper(_obj3
);
11958 if (! wxPoint_helper(_obj4
, &_arg4
))
11964 if (! wxSize_helper(_obj5
, &_arg5
))
11968 if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11975 _arg8
= wxString_in_helper(_obj8
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) return NULL
;
11985 } _resultobj
= Py_BuildValue("i",_result
);
11997 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11998 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
* _resultobj
;
12000 wxToggleButton
* _arg0
;
12002 PyObject
* _argo0
= 0;
12004 char *_kwnames
[] = { "self","value", NULL
};
12007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
12010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
12012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
12016 _arg1
= (bool ) tempbool1
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 wxToggleButton_SetValue(_arg0
,_arg1
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) return NULL
;
12023 } Py_INCREF(Py_None
);
12024 _resultobj
= Py_None
;
12028 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
12029 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
* _resultobj
;
12032 wxToggleButton
* _arg0
;
12033 PyObject
* _argo0
= 0;
12034 char *_kwnames
[] = { "self", NULL
};
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
12040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
12042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 _result
= (bool )wxToggleButton_GetValue(_arg0
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) return NULL
;
12052 } _resultobj
= Py_BuildValue("i",_result
);
12056 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
12057 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
* _resultobj
;
12059 wxToggleButton
* _arg0
;
12061 PyObject
* _argo0
= 0;
12062 PyObject
* _obj1
= 0;
12063 char *_kwnames
[] = { "self","label", NULL
};
12066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
12069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
12070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
12071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
12076 _arg1
= wxString_in_helper(_obj1
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 wxToggleButton_SetLabel(_arg0
,*_arg1
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) return NULL
;
12086 } Py_INCREF(Py_None
);
12087 _resultobj
= Py_None
;
12095 static PyMethodDef controlscMethods
[] = {
12096 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12097 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12098 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12099 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12100 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
12101 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
12102 { "wxSpinCtrl_SetSelection", (PyCFunction
) _wrap_wxSpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12103 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12104 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12105 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12106 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
12107 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
12108 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12109 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12110 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12111 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12112 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
12113 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
12114 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12115 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12116 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
12117 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
12118 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12119 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12120 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
12121 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
12122 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
12123 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
12124 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12125 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
12126 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
12127 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
12128 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
12129 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
12130 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
12131 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
12132 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
12133 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12134 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12135 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12136 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
12137 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
12138 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
12139 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
12140 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12141 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12142 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12143 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12144 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12145 { "wxRadioBox_GetNextItem", (PyCFunction
) _wrap_wxRadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
12146 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
12147 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
12148 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12149 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
12150 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
12151 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
12152 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
12153 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12154 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
12155 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
12156 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
12157 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12158 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12159 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
12160 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12161 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12162 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12163 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12164 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12165 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
12166 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
12167 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12168 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
12169 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
12170 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
12171 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
12172 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
12173 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
12174 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
12175 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
12176 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
12177 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
12178 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
12179 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12180 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12181 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
12182 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
12183 { "wxTextCtrl_IsMultiLine", (PyCFunction
) _wrap_wxTextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
12184 { "wxTextCtrl_IsSingleLine", (PyCFunction
) _wrap_wxTextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
12185 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
12186 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
12187 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12188 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
12189 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12190 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
12191 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12192 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
12193 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
12194 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
12195 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
12196 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
12197 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
12198 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
12199 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
12200 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
12201 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
12202 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
12203 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
12204 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
12205 { "wxTextCtrl_GetStyle", (PyCFunction
) _wrap_wxTextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12206 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
12207 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
12208 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12209 { "wxTextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_wxTextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
12210 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
12211 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
12212 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
12213 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
12214 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
12215 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12216 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12217 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
12218 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12219 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12220 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12221 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
12222 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
12223 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
12224 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
12225 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
12226 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
12227 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12228 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12229 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12230 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12231 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12232 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
12233 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
12234 { "wxTextAttr_GetFlags", (PyCFunction
) _wrap_wxTextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
12235 { "wxTextAttr_GetRightIndent", (PyCFunction
) _wrap_wxTextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
12236 { "wxTextAttr_GetLeftIndent", (PyCFunction
) _wrap_wxTextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
12237 { "wxTextAttr_GetTabs", (PyCFunction
) _wrap_wxTextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
12238 { "wxTextAttr_GetAlignment", (PyCFunction
) _wrap_wxTextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12239 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
12240 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12241 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12242 { "wxTextAttr_HasFlag", (PyCFunction
) _wrap_wxTextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
12243 { "wxTextAttr_HasRightIndent", (PyCFunction
) _wrap_wxTextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
12244 { "wxTextAttr_HasLeftIndent", (PyCFunction
) _wrap_wxTextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
12245 { "wxTextAttr_HasTabs", (PyCFunction
) _wrap_wxTextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
12246 { "wxTextAttr_HasAlignment", (PyCFunction
) _wrap_wxTextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12247 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
12248 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12249 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12250 { "wxTextAttr_SetFlags", (PyCFunction
) _wrap_wxTextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
12251 { "wxTextAttr_SetRightIndent", (PyCFunction
) _wrap_wxTextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
12252 { "wxTextAttr_SetLeftIndent", (PyCFunction
) _wrap_wxTextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
12253 { "wxTextAttr_SetTabs", (PyCFunction
) _wrap_wxTextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
12254 { "wxTextAttr_SetAlignment", (PyCFunction
) _wrap_wxTextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
12255 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
12256 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12257 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
12258 { "wxTextAttr_Init", (PyCFunction
) _wrap_wxTextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
12259 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
12260 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
12261 { "wxCheckListBox_HitTestXY", (PyCFunction
) _wrap_wxCheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
12262 { "wxCheckListBox_HitTest", (PyCFunction
) _wrap_wxCheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
12263 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
12264 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
12265 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
12266 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
12267 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12268 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
12269 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
12270 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12271 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12272 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12273 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
12274 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
12275 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
12276 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
12277 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
12278 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
12279 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
12280 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
12281 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12282 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12283 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
12284 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
12285 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12286 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12287 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
12288 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
12289 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
12290 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
12291 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
12292 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
12293 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12294 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
12295 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
12296 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12297 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
12298 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
12299 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
12300 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12301 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
12302 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
12303 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
12304 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
12305 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
12306 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
12307 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
12308 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12309 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
12310 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12311 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
12312 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12313 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
12314 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
12315 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
12316 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12317 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
12318 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
12319 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
12320 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
12321 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12322 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
12323 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
12324 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12325 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12326 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12327 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
12328 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
12329 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12330 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
12331 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
12332 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
12333 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
12334 { "wxCheckBox_IsChecked", (PyCFunction
) _wrap_wxCheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
12335 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
12336 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
12337 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
12338 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
12339 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
12340 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
12341 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
12342 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
12343 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
12344 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
12345 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
12346 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
12347 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
12348 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
12349 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
12350 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12351 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
12352 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
12353 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
12354 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
12355 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
12356 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12357 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
12358 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
12359 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
12360 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
12361 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
12362 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
12363 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
12364 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
12365 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
12366 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
12367 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12368 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
12369 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
12370 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
12371 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
12372 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
12373 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
12374 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12375 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
12376 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
12377 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12378 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
12379 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
12386 * This table is used by the pointer type-checker
12388 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
12389 { "_signed_long","_long",0},
12390 { "_wxPrintQuality","_wxCoord",0},
12391 { "_wxPrintQuality","_int",0},
12392 { "_wxPrintQuality","_signed_int",0},
12393 { "_wxPrintQuality","_unsigned_int",0},
12394 { "_wxPrintQuality","_wxWindowID",0},
12395 { "_wxPrintQuality","_uint",0},
12396 { "_wxPrintQuality","_EBool",0},
12397 { "_wxPrintQuality","_size_t",0},
12398 { "_wxPrintQuality","_time_t",0},
12399 { "_byte","_unsigned_char",0},
12400 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
12401 { "_long","_unsigned_long",0},
12402 { "_long","_signed_long",0},
12403 { "_size_t","_wxCoord",0},
12404 { "_size_t","_wxPrintQuality",0},
12405 { "_size_t","_time_t",0},
12406 { "_size_t","_unsigned_int",0},
12407 { "_size_t","_int",0},
12408 { "_size_t","_wxWindowID",0},
12409 { "_size_t","_uint",0},
12410 { "_uint","_wxCoord",0},
12411 { "_uint","_wxPrintQuality",0},
12412 { "_uint","_time_t",0},
12413 { "_uint","_size_t",0},
12414 { "_uint","_unsigned_int",0},
12415 { "_uint","_int",0},
12416 { "_uint","_wxWindowID",0},
12417 { "_wxChar","_char",0},
12418 { "_char","_wxChar",0},
12419 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
12420 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12421 { "_EBool","_wxCoord",0},
12422 { "_EBool","_wxPrintQuality",0},
12423 { "_EBool","_signed_int",0},
12424 { "_EBool","_int",0},
12425 { "_EBool","_wxWindowID",0},
12426 { "_unsigned_long","_long",0},
12427 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12428 { "_signed_int","_wxCoord",0},
12429 { "_signed_int","_wxPrintQuality",0},
12430 { "_signed_int","_EBool",0},
12431 { "_signed_int","_wxWindowID",0},
12432 { "_signed_int","_int",0},
12433 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
12434 { "_WXTYPE","_short",0},
12435 { "_WXTYPE","_signed_short",0},
12436 { "_WXTYPE","_unsigned_short",0},
12437 { "_unsigned_short","_WXTYPE",0},
12438 { "_unsigned_short","_short",0},
12439 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
12440 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
12441 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
12442 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
12443 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
12444 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
12445 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
12446 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
12447 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
12448 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
12449 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
12450 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
12451 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
12452 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
12453 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
12454 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
12455 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
12456 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
12457 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
12458 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
12459 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
12460 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
12461 { "_signed_short","_WXTYPE",0},
12462 { "_signed_short","_short",0},
12463 { "_unsigned_char","_byte",0},
12464 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
12465 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
12466 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
12467 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
12468 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
12469 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
12470 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
12471 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
12472 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
12473 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
12474 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
12475 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
12476 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
12477 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
12478 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
12479 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
12480 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
12481 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
12482 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
12483 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
12484 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
12485 { "_unsigned_int","_wxCoord",0},
12486 { "_unsigned_int","_wxPrintQuality",0},
12487 { "_unsigned_int","_time_t",0},
12488 { "_unsigned_int","_size_t",0},
12489 { "_unsigned_int","_uint",0},
12490 { "_unsigned_int","_wxWindowID",0},
12491 { "_unsigned_int","_int",0},
12492 { "_short","_WXTYPE",0},
12493 { "_short","_unsigned_short",0},
12494 { "_short","_signed_short",0},
12495 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
12496 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
12497 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
12498 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
12499 { "_wxWindowID","_wxCoord",0},
12500 { "_wxWindowID","_wxPrintQuality",0},
12501 { "_wxWindowID","_time_t",0},
12502 { "_wxWindowID","_size_t",0},
12503 { "_wxWindowID","_EBool",0},
12504 { "_wxWindowID","_uint",0},
12505 { "_wxWindowID","_int",0},
12506 { "_wxWindowID","_signed_int",0},
12507 { "_wxWindowID","_unsigned_int",0},
12508 { "_int","_wxCoord",0},
12509 { "_int","_wxPrintQuality",0},
12510 { "_int","_time_t",0},
12511 { "_int","_size_t",0},
12512 { "_int","_EBool",0},
12513 { "_int","_uint",0},
12514 { "_int","_wxWindowID",0},
12515 { "_int","_unsigned_int",0},
12516 { "_int","_signed_int",0},
12517 { "_time_t","_wxCoord",0},
12518 { "_time_t","_wxPrintQuality",0},
12519 { "_time_t","_unsigned_int",0},
12520 { "_time_t","_int",0},
12521 { "_time_t","_wxWindowID",0},
12522 { "_time_t","_uint",0},
12523 { "_time_t","_size_t",0},
12524 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
12525 { "_wxCoord","_int",0},
12526 { "_wxCoord","_signed_int",0},
12527 { "_wxCoord","_unsigned_int",0},
12528 { "_wxCoord","_wxWindowID",0},
12529 { "_wxCoord","_uint",0},
12530 { "_wxCoord","_EBool",0},
12531 { "_wxCoord","_size_t",0},
12532 { "_wxCoord","_time_t",0},
12533 { "_wxCoord","_wxPrintQuality",0},
12534 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
12535 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
12536 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
12537 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
12538 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
12539 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
12540 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
12541 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
12542 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
12543 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
12544 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
12545 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
12546 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
12547 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
12548 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
12549 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
12550 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
12551 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
12552 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
12553 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
12554 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
12555 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
12556 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
12557 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
12558 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
12559 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
12560 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
12561 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
12562 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
12563 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
12564 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
12565 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
12566 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
12567 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
12568 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
12569 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
12570 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
12571 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
12572 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
12573 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
12574 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
12575 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
12576 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
12577 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
12580 static PyObject
*SWIG_globals
;
12584 SWIGEXPORT(void) initcontrolsc() {
12586 SWIG_globals
= SWIG_newvarlink();
12587 m
= Py_InitModule("controlsc", controlscMethods
);
12588 d
= PyModule_GetDict(m
);
12589 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12590 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
12591 PyDict_SetItemString(d
,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL
));
12592 PyDict_SetItemString(d
,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL
));
12593 PyDict_SetItemString(d
,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY
));
12594 PyDict_SetItemString(d
,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE
));
12595 PyDict_SetItemString(d
,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB
));
12596 PyDict_SetItemString(d
,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT
));
12597 PyDict_SetItemString(d
,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER
));
12598 PyDict_SetItemString(d
,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT
));
12599 PyDict_SetItemString(d
,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE
));
12600 PyDict_SetItemString(d
,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH
));
12601 PyDict_SetItemString(d
,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER
));
12602 PyDict_SetItemString(d
,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD
));
12603 PyDict_SetItemString(d
,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL
));
12604 PyDict_SetItemString(d
,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL
));
12605 PyDict_SetItemString(d
,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP
));
12606 PyDict_SetItemString(d
,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP
));
12607 PyDict_SetItemString(d
,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP
));
12608 PyDict_SetItemString(d
,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2
));
12609 PyDict_SetItemString(d
,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR
));
12610 PyDict_SetItemString(d
,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR
));
12611 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE
));
12612 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE
));
12613 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT
));
12614 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC
));
12615 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE
));
12616 PyDict_SetItemString(d
,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT
));
12617 PyDict_SetItemString(d
,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT
));
12618 PyDict_SetItemString(d
,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT
));
12619 PyDict_SetItemString(d
,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT
));
12620 PyDict_SetItemString(d
,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS
));
12621 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT
));
12622 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT
));
12623 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE
));
12624 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER
));
12625 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT
));
12626 PyDict_SetItemString(d
,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED
));
12627 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
12630 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12631 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);