2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 //#define DECLARE_DEF_STRING(name) static wxString* wxPy##name
105 // Put some wx default wxChar* values into wxStrings.
106 DECLARE_DEF_STRING(ControlNameStr
);
107 DECLARE_DEF_STRING(ButtonNameStr
);
108 DECLARE_DEF_STRING(CheckBoxNameStr
);
109 DECLARE_DEF_STRING(ChoiceNameStr
);
110 DECLARE_DEF_STRING(ComboBoxNameStr
);
111 DECLARE_DEF_STRING(GaugeNameStr
);
112 DECLARE_DEF_STRING(StaticBoxNameStr
);
113 DECLARE_DEF_STRING(StaticTextNameStr
);
114 DECLARE_DEF_STRING(ListBoxNameStr
);
115 DECLARE_DEF_STRING(TextCtrlNameStr
);
116 DECLARE_DEF_STRING(ScrollBarNameStr
);
117 DECLARE_DEF_STRING(SPIN_BUTTON_NAME
);
118 DECLARE_DEF_STRING(StaticBitmapNameStr
);
119 DECLARE_DEF_STRING(RadioBoxNameStr
);
120 DECLARE_DEF_STRING(RadioButtonNameStr
);
121 DECLARE_DEF_STRING(SliderNameStr
);
123 wxChar
* wxSpinCtrlNameStr
= _T("wxSpinCtrl");
124 DECLARE_DEF_STRING(SpinCtrlNameStr
);
126 static const wxString
wxPyEmptyString(wxT(""));
130 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
132 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
136 static PyObject
*_wrap_wxDefaultValidator_get() {
140 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
141 pyobj
= PyString_FromString(ptemp
);
145 static void *SwigwxControlTowxWindow(void *ptr
) {
148 src
= (wxControl
*) ptr
;
149 dest
= (wxWindow
*) src
;
150 return (void *) dest
;
153 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
156 src
= (wxControl
*) ptr
;
157 dest
= (wxEvtHandler
*) src
;
158 return (void *) dest
;
161 static void *SwigwxControlTowxObject(void *ptr
) {
164 src
= (wxControl
*) ptr
;
165 dest
= (wxObject
*) src
;
166 return (void *) dest
;
169 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
170 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
171 PyObject
* _resultobj
;
175 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
176 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
177 long _arg4
= (long ) 0;
178 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
179 wxString
* _arg6
= (wxString
*) &wxPyControlNameStr
;
180 PyObject
* _argo0
= 0;
182 PyObject
* _obj2
= 0;
184 PyObject
* _obj3
= 0;
185 PyObject
* _argo5
= 0;
186 PyObject
* _obj6
= 0;
187 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOO:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
203 if (! wxPoint_helper(_obj2
, &_arg2
))
209 if (! wxSize_helper(_obj3
, &_arg3
))
213 if (_argo5
== Py_None
) { _arg5
= NULL
; }
214 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
221 _arg6
= wxString_in_helper(_obj6
);
226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
227 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
229 wxPyEndAllowThreads(__tstate
);
230 if (PyErr_Occurred()) return NULL
;
232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
233 _resultobj
= Py_BuildValue("s",_ptemp
);
236 _resultobj
= Py_None
;
245 #define new_wxPreControl() (new wxControl())
246 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
247 PyObject
* _resultobj
;
249 char *_kwnames
[] = { NULL
};
253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
257 _result
= (wxControl
*)new_wxPreControl();
259 wxPyEndAllowThreads(__tstate
);
260 if (PyErr_Occurred()) return NULL
;
262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
263 _resultobj
= Py_BuildValue("s",_ptemp
);
266 _resultobj
= Py_None
;
271 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
272 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
278 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
279 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
280 long _arg5
= (long ) 0;
281 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
282 wxString
* _arg7
= (wxString
*) &wxPyControlNameStr
;
283 PyObject
* _argo0
= 0;
284 PyObject
* _argo1
= 0;
286 PyObject
* _obj3
= 0;
288 PyObject
* _obj4
= 0;
289 PyObject
* _argo6
= 0;
290 PyObject
* _obj7
= 0;
291 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOO:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
313 if (! wxPoint_helper(_obj3
, &_arg3
))
319 if (! wxSize_helper(_obj4
, &_arg4
))
323 if (_argo6
== Py_None
) { _arg6
= NULL
; }
324 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
331 _arg7
= wxString_in_helper(_obj7
);
336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
339 wxPyEndAllowThreads(__tstate
);
340 if (PyErr_Occurred()) return NULL
;
341 } _resultobj
= Py_BuildValue("i",_result
);
349 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
350 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
353 wxCommandEvent
* _arg1
;
354 PyObject
* _argo0
= 0;
355 PyObject
* _argo1
= 0;
356 char *_kwnames
[] = { "self","event", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
377 wxControl_Command(_arg0
,*_arg1
);
379 wxPyEndAllowThreads(__tstate
);
380 if (PyErr_Occurred()) return NULL
;
381 } Py_INCREF(Py_None
);
382 _resultobj
= Py_None
;
386 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
387 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
388 PyObject
* _resultobj
;
391 PyObject
* _argo0
= 0;
392 char *_kwnames
[] = { "self", NULL
};
395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
406 _result
= new wxString (wxControl_GetLabel(_arg0
));
408 wxPyEndAllowThreads(__tstate
);
409 if (PyErr_Occurred()) return NULL
;
412 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
414 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
423 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
424 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
425 PyObject
* _resultobj
;
428 PyObject
* _argo0
= 0;
429 PyObject
* _obj1
= 0;
430 char *_kwnames
[] = { "self","label", NULL
};
433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
443 _arg1
= wxString_in_helper(_obj1
);
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 wxControl_SetLabel(_arg0
,*_arg1
);
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) return NULL
;
453 } Py_INCREF(Py_None
);
454 _resultobj
= Py_None
;
462 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
463 wxControlWithItems
*src
;
465 src
= (wxControlWithItems
*) ptr
;
466 dest
= (wxControl
*) src
;
467 return (void *) dest
;
470 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
471 wxControlWithItems
*src
;
473 src
= (wxControlWithItems
*) ptr
;
474 dest
= (wxWindow
*) src
;
475 return (void *) dest
;
478 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
479 wxControlWithItems
*src
;
481 src
= (wxControlWithItems
*) ptr
;
482 dest
= (wxEvtHandler
*) src
;
483 return (void *) dest
;
486 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
487 wxControlWithItems
*src
;
489 src
= (wxControlWithItems
*) ptr
;
490 dest
= (wxObject
*) src
;
491 return (void *) dest
;
494 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
495 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
496 PyObject
* _resultobj
;
497 wxControlWithItems
* _arg0
;
499 PyObject
* _argo0
= 0;
500 char *_kwnames
[] = { "self","n", NULL
};
503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
514 wxControlWithItems_Delete(_arg0
,_arg1
);
516 wxPyEndAllowThreads(__tstate
);
517 if (PyErr_Occurred()) return NULL
;
518 } Py_INCREF(Py_None
);
519 _resultobj
= Py_None
;
523 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
524 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
525 PyObject
* _resultobj
;
527 wxControlWithItems
* _arg0
;
528 PyObject
* _argo0
= 0;
529 char *_kwnames
[] = { "self", NULL
};
532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 _result
= (int )wxControlWithItems_GetCount(_arg0
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) return NULL
;
547 } _resultobj
= Py_BuildValue("i",_result
);
551 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
552 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
553 PyObject
* _resultobj
;
555 wxControlWithItems
* _arg0
;
557 PyObject
* _argo0
= 0;
558 char *_kwnames
[] = { "self","n", NULL
};
561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
572 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
574 wxPyEndAllowThreads(__tstate
);
575 if (PyErr_Occurred()) return NULL
;
578 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
580 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
589 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
590 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxControlWithItems
* _arg0
;
595 PyObject
* _argo0
= 0;
596 PyObject
* _obj2
= 0;
597 char *_kwnames
[] = { "self","n","s", NULL
};
600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
610 _arg2
= wxString_in_helper(_obj2
);
615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
616 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
618 wxPyEndAllowThreads(__tstate
);
619 if (PyErr_Occurred()) return NULL
;
620 } Py_INCREF(Py_None
);
621 _resultobj
= Py_None
;
629 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
630 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
631 PyObject
* _resultobj
;
633 wxControlWithItems
* _arg0
;
635 PyObject
* _argo0
= 0;
636 PyObject
* _obj1
= 0;
637 char *_kwnames
[] = { "self","s", NULL
};
640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
650 _arg1
= wxString_in_helper(_obj1
);
655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
656 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
658 wxPyEndAllowThreads(__tstate
);
659 if (PyErr_Occurred()) return NULL
;
660 } _resultobj
= Py_BuildValue("i",_result
);
668 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
669 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
670 PyObject
* _resultobj
;
671 wxControlWithItems
* _arg0
;
673 PyObject
* _argo0
= 0;
674 char *_kwnames
[] = { "self","n", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
688 wxControlWithItems_Select(_arg0
,_arg1
);
690 wxPyEndAllowThreads(__tstate
);
691 if (PyErr_Occurred()) return NULL
;
692 } Py_INCREF(Py_None
);
693 _resultobj
= Py_None
;
697 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
698 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
699 PyObject
* _resultobj
;
701 wxControlWithItems
* _arg0
;
702 PyObject
* _argo0
= 0;
703 char *_kwnames
[] = { "self", NULL
};
706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
717 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
719 wxPyEndAllowThreads(__tstate
);
720 if (PyErr_Occurred()) return NULL
;
721 } _resultobj
= Py_BuildValue("i",_result
);
725 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
726 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
729 wxControlWithItems
* _arg0
;
730 PyObject
* _argo0
= 0;
731 char *_kwnames
[] = { "self", NULL
};
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
745 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
747 wxPyEndAllowThreads(__tstate
);
748 if (PyErr_Occurred()) return NULL
;
751 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
753 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
762 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
764 wxPyClientData
* data
= new wxPyClientData(clientData
);
765 self
->Append(item
, data
);
769 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
770 PyObject
* _resultobj
;
771 wxControlWithItems
* _arg0
;
773 PyObject
* _arg2
= (PyObject
*) NULL
;
774 PyObject
* _argo0
= 0;
775 PyObject
* _obj1
= 0;
776 PyObject
* _obj2
= 0;
777 char *_kwnames
[] = { "self","item","clientData", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
790 _arg1
= wxString_in_helper(_obj1
);
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
813 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
814 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
816 Py_INCREF(data
->m_obj
);
823 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxControlWithItems
* _arg0
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self","n", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
843 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
845 wxPyEndAllowThreads(__tstate
);
846 if (PyErr_Occurred()) return NULL
;
848 _resultobj
= _result
;
853 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
854 wxPyClientData
* data
= new wxPyClientData(clientData
);
855 self
->SetClientObject(n
, data
);
857 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
859 wxControlWithItems
* _arg0
;
862 PyObject
* _argo0
= 0;
863 PyObject
* _obj2
= 0;
864 char *_kwnames
[] = { "self","n","clientData", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) return NULL
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
891 static PyObject
*_wrap_wxControlWithItems_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 PyObject
* _resultobj
;
893 wxControlWithItems
* _arg0
;
894 wxArrayString
* _arg1
;
895 PyObject
* _argo0
= 0;
896 PyObject
* _obj1
= 0;
897 char *_kwnames
[] = { "self","strings", NULL
};
900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))
903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
910 if (! PySequence_Check(_obj1
)) {
911 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
914 _arg1
= new wxArrayString
;
915 int i
, len
=PySequence_Length(_obj1
);
916 for (i
=0; i
<len
; i
++) {
917 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
919 PyObject
* str
= PyObject_Unicode(item
);
920 _arg1
->Add(PyUnicode_AsUnicode(str
));
922 PyObject
* str
= PyObject_Str(item
);
923 _arg1
->Add(PyString_AsString(str
));
930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
931 wxControlWithItems_AppendItems(_arg0
,*_arg1
);
933 wxPyEndAllowThreads(__tstate
);
934 if (PyErr_Occurred()) return NULL
;
935 } Py_INCREF(Py_None
);
936 _resultobj
= Py_None
;
944 static void *SwigwxButtonTowxControl(void *ptr
) {
947 src
= (wxButton
*) ptr
;
948 dest
= (wxControl
*) src
;
949 return (void *) dest
;
952 static void *SwigwxButtonTowxWindow(void *ptr
) {
955 src
= (wxButton
*) ptr
;
956 dest
= (wxWindow
*) src
;
957 return (void *) dest
;
960 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
963 src
= (wxButton
*) ptr
;
964 dest
= (wxEvtHandler
*) src
;
965 return (void *) dest
;
968 static void *SwigwxButtonTowxObject(void *ptr
) {
971 src
= (wxButton
*) ptr
;
972 dest
= (wxObject
*) src
;
973 return (void *) dest
;
976 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
977 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
983 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
984 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
985 long _arg5
= (long ) 0;
986 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
987 wxString
* _arg7
= (wxString
*) &wxPyButtonNameStr
;
988 PyObject
* _argo0
= 0;
989 PyObject
* _obj2
= 0;
991 PyObject
* _obj3
= 0;
993 PyObject
* _obj4
= 0;
994 PyObject
* _argo6
= 0;
995 PyObject
* _obj7
= 0;
996 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
1000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
1003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1010 _arg2
= wxString_in_helper(_obj2
);
1017 if (! wxPoint_helper(_obj3
, &_arg3
))
1023 if (! wxSize_helper(_obj4
, &_arg4
))
1027 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1028 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1035 _arg7
= wxString_in_helper(_obj7
);
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) return NULL
;
1046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1050 _resultobj
= Py_None
;
1063 #define new_wxPreButton() (new wxButton())
1064 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1067 char *_kwnames
[] = { NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1075 _result
= (wxButton
*)new_wxPreButton();
1077 wxPyEndAllowThreads(__tstate
);
1078 if (PyErr_Occurred()) return NULL
;
1080 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1081 _resultobj
= Py_BuildValue("s",_ptemp
);
1084 _resultobj
= Py_None
;
1089 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1090 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1097 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1098 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1099 long _arg6
= (long ) 0;
1100 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1101 wxString
* _arg8
= (wxString
*) &wxPyButtonNameStr
;
1102 PyObject
* _argo0
= 0;
1103 PyObject
* _argo1
= 0;
1104 PyObject
* _obj3
= 0;
1106 PyObject
* _obj4
= 0;
1108 PyObject
* _obj5
= 0;
1109 PyObject
* _argo7
= 0;
1110 PyObject
* _obj8
= 0;
1111 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
1117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1131 _arg3
= wxString_in_helper(_obj3
);
1138 if (! wxPoint_helper(_obj4
, &_arg4
))
1144 if (! wxSize_helper(_obj5
, &_arg5
))
1148 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1156 _arg8
= wxString_in_helper(_obj8
);
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) return NULL
;
1166 } _resultobj
= Py_BuildValue("i",_result
);
1178 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1179 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1180 PyObject
* _resultobj
;
1182 PyObject
* _argo0
= 0;
1183 char *_kwnames
[] = { "self", NULL
};
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1197 wxButton_SetDefault(_arg0
);
1199 wxPyEndAllowThreads(__tstate
);
1200 if (PyErr_Occurred()) return NULL
;
1201 } Py_INCREF(Py_None
);
1202 _resultobj
= Py_None
;
1206 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1207 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1208 PyObject
* _resultobj
;
1211 PyObject
* _argo0
= 0;
1213 PyObject
* _obj1
= 0;
1214 char *_kwnames
[] = { "self","colour", NULL
};
1217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1228 if (! wxColour_helper(_obj1
, &_arg1
))
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) return NULL
;
1237 } Py_INCREF(Py_None
);
1238 _resultobj
= Py_None
;
1242 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1243 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1244 PyObject
* _resultobj
;
1247 PyObject
* _argo0
= 0;
1249 PyObject
* _obj1
= 0;
1250 char *_kwnames
[] = { "self","colour", NULL
};
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1264 if (! wxColour_helper(_obj1
, &_arg1
))
1268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1269 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1271 wxPyEndAllowThreads(__tstate
);
1272 if (PyErr_Occurred()) return NULL
;
1273 } Py_INCREF(Py_None
);
1274 _resultobj
= Py_None
;
1278 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
* _resultobj
;
1281 char *_kwnames
[] = { NULL
};
1285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 _result
= new wxSize (wxButton::GetDefaultSize());
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1293 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1294 _resultobj
= Py_BuildValue("s",_ptemp
);
1298 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1299 wxBitmapButton
*src
;
1301 src
= (wxBitmapButton
*) ptr
;
1302 dest
= (wxButton
*) src
;
1303 return (void *) dest
;
1306 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1307 wxBitmapButton
*src
;
1309 src
= (wxBitmapButton
*) ptr
;
1310 dest
= (wxControl
*) src
;
1311 return (void *) dest
;
1314 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1315 wxBitmapButton
*src
;
1317 src
= (wxBitmapButton
*) ptr
;
1318 dest
= (wxWindow
*) src
;
1319 return (void *) dest
;
1322 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1323 wxBitmapButton
*src
;
1325 src
= (wxBitmapButton
*) ptr
;
1326 dest
= (wxEvtHandler
*) src
;
1327 return (void *) dest
;
1330 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1331 wxBitmapButton
*src
;
1333 src
= (wxBitmapButton
*) ptr
;
1334 dest
= (wxObject
*) src
;
1335 return (void *) dest
;
1338 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1339 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1340 PyObject
* _resultobj
;
1341 wxBitmapButton
* _result
;
1345 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1346 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1347 long _arg5
= (long ) wxBU_AUTODRAW
;
1348 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1349 wxString
* _arg7
= (wxString
*) &wxPyButtonNameStr
;
1350 PyObject
* _argo0
= 0;
1351 PyObject
* _argo2
= 0;
1353 PyObject
* _obj3
= 0;
1355 PyObject
* _obj4
= 0;
1356 PyObject
* _argo6
= 0;
1357 PyObject
* _obj7
= 0;
1358 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
1365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1372 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1373 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1381 if (! wxPoint_helper(_obj3
, &_arg3
))
1387 if (! wxSize_helper(_obj4
, &_arg4
))
1391 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1392 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1399 _arg7
= wxString_in_helper(_obj7
);
1404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1405 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1407 wxPyEndAllowThreads(__tstate
);
1408 if (PyErr_Occurred()) return NULL
;
1410 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1411 _resultobj
= Py_BuildValue("s",_ptemp
);
1414 _resultobj
= Py_None
;
1423 #define new_wxPreBitmapButton() (new wxBitmapButton())
1424 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1426 wxBitmapButton
* _result
;
1427 char *_kwnames
[] = { NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) return NULL
;
1440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1441 _resultobj
= Py_BuildValue("s",_ptemp
);
1444 _resultobj
= Py_None
;
1449 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1450 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1453 wxBitmapButton
* _arg0
;
1457 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1458 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1459 long _arg6
= (long ) wxBU_AUTODRAW
;
1460 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1461 wxString
* _arg8
= (wxString
*) &wxPyButtonNameStr
;
1462 PyObject
* _argo0
= 0;
1463 PyObject
* _argo1
= 0;
1464 PyObject
* _argo3
= 0;
1466 PyObject
* _obj4
= 0;
1468 PyObject
* _obj5
= 0;
1469 PyObject
* _argo7
= 0;
1470 PyObject
* _obj8
= 0;
1471 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1484 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1485 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1491 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1492 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1500 if (! wxPoint_helper(_obj4
, &_arg4
))
1506 if (! wxSize_helper(_obj5
, &_arg5
))
1510 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1511 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1518 _arg8
= wxString_in_helper(_obj8
);
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1536 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1537 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1540 wxBitmapButton
* _arg0
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) return NULL
;
1561 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1562 _resultobj
= Py_BuildValue("s",_ptemp
);
1566 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1567 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
* _resultobj
;
1570 wxBitmapButton
* _arg0
;
1571 PyObject
* _argo0
= 0;
1572 char *_kwnames
[] = { "self", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1591 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1592 _resultobj
= Py_BuildValue("s",_ptemp
);
1596 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1597 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
* _resultobj
;
1600 wxBitmapButton
* _arg0
;
1601 PyObject
* _argo0
= 0;
1602 char *_kwnames
[] = { "self", NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) return NULL
;
1621 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1622 _resultobj
= Py_BuildValue("s",_ptemp
);
1626 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1627 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1630 wxBitmapButton
* _arg0
;
1631 PyObject
* _argo0
= 0;
1632 char *_kwnames
[] = { "self", NULL
};
1636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) return NULL
;
1651 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1652 _resultobj
= Py_BuildValue("s",_ptemp
);
1656 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1657 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1658 PyObject
* _resultobj
;
1659 wxBitmapButton
* _arg0
;
1661 PyObject
* _argo0
= 0;
1662 PyObject
* _argo1
= 0;
1663 char *_kwnames
[] = { "self","bitmap", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) return NULL
;
1688 } Py_INCREF(Py_None
);
1689 _resultobj
= Py_None
;
1693 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1694 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1696 wxBitmapButton
* _arg0
;
1698 PyObject
* _argo0
= 0;
1699 PyObject
* _argo1
= 0;
1700 char *_kwnames
[] = { "self","bitmap", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1713 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1721 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1723 wxPyEndAllowThreads(__tstate
);
1724 if (PyErr_Occurred()) return NULL
;
1725 } Py_INCREF(Py_None
);
1726 _resultobj
= Py_None
;
1730 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1731 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1733 wxBitmapButton
* _arg0
;
1735 PyObject
* _argo0
= 0;
1736 PyObject
* _argo1
= 0;
1737 char *_kwnames
[] = { "self","bitmap", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1750 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) return NULL
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1768 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
* _resultobj
;
1770 wxBitmapButton
* _arg0
;
1772 PyObject
* _argo0
= 0;
1773 PyObject
* _argo1
= 0;
1774 char *_kwnames
[] = { "self","bitmap", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1797 wxPyEndAllowThreads(__tstate
);
1798 if (PyErr_Occurred()) return NULL
;
1799 } Py_INCREF(Py_None
);
1800 _resultobj
= Py_None
;
1804 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1805 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
* _resultobj
;
1807 wxBitmapButton
* _arg0
;
1810 PyObject
* _argo0
= 0;
1811 char *_kwnames
[] = { "self","x","y", NULL
};
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1829 } Py_INCREF(Py_None
);
1830 _resultobj
= Py_None
;
1834 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1835 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1838 wxBitmapButton
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 char *_kwnames
[] = { "self", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) return NULL
;
1858 } _resultobj
= Py_BuildValue("i",_result
);
1862 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1863 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1866 wxBitmapButton
* _arg0
;
1867 PyObject
* _argo0
= 0;
1868 char *_kwnames
[] = { "self", NULL
};
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1886 } _resultobj
= Py_BuildValue("i",_result
);
1890 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1893 src
= (wxCheckBox
*) ptr
;
1894 dest
= (wxControl
*) src
;
1895 return (void *) dest
;
1898 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1901 src
= (wxCheckBox
*) ptr
;
1902 dest
= (wxWindow
*) src
;
1903 return (void *) dest
;
1906 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1909 src
= (wxCheckBox
*) ptr
;
1910 dest
= (wxEvtHandler
*) src
;
1911 return (void *) dest
;
1914 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1917 src
= (wxCheckBox
*) ptr
;
1918 dest
= (wxObject
*) src
;
1919 return (void *) dest
;
1922 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1923 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
* _resultobj
;
1925 wxCheckBox
* _result
;
1929 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1930 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1931 long _arg5
= (long ) 0;
1932 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1933 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
1934 PyObject
* _argo0
= 0;
1935 PyObject
* _obj2
= 0;
1937 PyObject
* _obj3
= 0;
1939 PyObject
* _obj4
= 0;
1940 PyObject
* _argo6
= 0;
1941 PyObject
* _obj7
= 0;
1942 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
1949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1956 _arg2
= wxString_in_helper(_obj2
);
1963 if (! wxPoint_helper(_obj3
, &_arg3
))
1969 if (! wxSize_helper(_obj4
, &_arg4
))
1973 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1974 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1981 _arg7
= wxString_in_helper(_obj7
);
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1993 _resultobj
= Py_BuildValue("s",_ptemp
);
1996 _resultobj
= Py_None
;
2009 #define new_wxPreCheckBox() (new wxCheckBox())
2010 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
* _resultobj
;
2012 wxCheckBox
* _result
;
2013 char *_kwnames
[] = { NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2026 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2027 _resultobj
= Py_BuildValue("s",_ptemp
);
2030 _resultobj
= Py_None
;
2035 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2036 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2043 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2044 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2045 long _arg6
= (long ) 0;
2046 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2047 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
2048 PyObject
* _argo0
= 0;
2049 PyObject
* _argo1
= 0;
2050 PyObject
* _obj3
= 0;
2052 PyObject
* _obj4
= 0;
2054 PyObject
* _obj5
= 0;
2055 PyObject
* _argo7
= 0;
2056 PyObject
* _obj8
= 0;
2057 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2077 _arg3
= wxString_in_helper(_obj3
);
2084 if (! wxPoint_helper(_obj4
, &_arg4
))
2090 if (! wxSize_helper(_obj5
, &_arg5
))
2094 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2102 _arg8
= wxString_in_helper(_obj8
);
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) return NULL
;
2112 } _resultobj
= Py_BuildValue("i",_result
);
2124 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2125 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2129 PyObject
* _argo0
= 0;
2130 char *_kwnames
[] = { "self", NULL
};
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) return NULL
;
2148 } _resultobj
= Py_BuildValue("i",_result
);
2152 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2153 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2157 PyObject
* _argo0
= 0;
2159 char *_kwnames
[] = { "self","state", NULL
};
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2171 _arg1
= (bool ) tempbool1
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 wxCheckBox_SetValue(_arg0
,_arg1
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) return NULL
;
2178 } Py_INCREF(Py_None
);
2179 _resultobj
= Py_None
;
2183 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2185 wxControlWithItems
*dest
;
2186 src
= (wxChoice
*) ptr
;
2187 dest
= (wxControlWithItems
*) src
;
2188 return (void *) dest
;
2191 static void *SwigwxChoiceTowxControl(void *ptr
) {
2194 src
= (wxChoice
*) ptr
;
2195 dest
= (wxControl
*) src
;
2196 return (void *) dest
;
2199 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2202 src
= (wxChoice
*) ptr
;
2203 dest
= (wxWindow
*) src
;
2204 return (void *) dest
;
2207 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2210 src
= (wxChoice
*) ptr
;
2211 dest
= (wxEvtHandler
*) src
;
2212 return (void *) dest
;
2215 static void *SwigwxChoiceTowxObject(void *ptr
) {
2218 src
= (wxChoice
*) ptr
;
2219 dest
= (wxObject
*) src
;
2220 return (void *) dest
;
2223 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2224 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
* _resultobj
;
2229 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2230 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2231 int _arg4
= (int ) 0;
2232 wxString
* _arg5
= (wxString
*) NULL
;
2233 long _arg6
= (long ) 0;
2234 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2235 wxString
* _arg8
= (wxString
*) &wxPyChoiceNameStr
;
2236 PyObject
* _argo0
= 0;
2238 PyObject
* _obj2
= 0;
2240 PyObject
* _obj3
= 0;
2241 PyObject
* _obj5
= 0;
2242 PyObject
* _argo7
= 0;
2243 PyObject
* _obj8
= 0;
2244 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2260 if (! wxPoint_helper(_obj2
, &_arg2
))
2266 if (! wxSize_helper(_obj3
, &_arg3
))
2271 _arg5
= wxString_LIST_helper(_obj5
);
2272 if (_arg5
== NULL
) {
2277 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2285 _arg8
= wxString_in_helper(_obj8
);
2291 _arg4
= PyList_Size(_obj5
);
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2304 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2305 _resultobj
= Py_BuildValue("s",_ptemp
);
2308 _resultobj
= Py_None
;
2320 #define new_wxPreChoice() (new wxChoice())
2321 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
* _resultobj
;
2324 char *_kwnames
[] = { NULL
};
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= (wxChoice
*)new_wxPreChoice();
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2338 _resultobj
= Py_BuildValue("s",_ptemp
);
2341 _resultobj
= Py_None
;
2346 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2347 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
* _resultobj
;
2353 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2354 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2355 int _arg5
= (int ) 0;
2356 wxString
* _arg6
= (wxString
*) NULL
;
2357 long _arg7
= (long ) 0;
2358 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2359 wxString
* _arg9
= (wxString
*) &wxPyChoiceNameStr
;
2360 PyObject
* _argo0
= 0;
2361 PyObject
* _argo1
= 0;
2363 PyObject
* _obj3
= 0;
2365 PyObject
* _obj4
= 0;
2366 PyObject
* _obj6
= 0;
2367 PyObject
* _argo8
= 0;
2368 PyObject
* _obj9
= 0;
2369 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2391 if (! wxPoint_helper(_obj3
, &_arg3
))
2397 if (! wxSize_helper(_obj4
, &_arg4
))
2402 _arg6
= wxString_LIST_helper(_obj6
);
2403 if (_arg6
== NULL
) {
2408 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2409 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2416 _arg9
= wxString_in_helper(_obj9
);
2422 _arg5
= PyList_Size(_obj6
);
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2434 } _resultobj
= Py_BuildValue("i",_result
);
2445 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2446 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 wxChoice_Clear(_arg0
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) return NULL
;
2468 } Py_INCREF(Py_None
);
2469 _resultobj
= Py_None
;
2473 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2474 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
* _resultobj
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2493 _result
= (int )wxChoice_GetColumns(_arg0
);
2495 wxPyEndAllowThreads(__tstate
);
2496 if (PyErr_Occurred()) return NULL
;
2497 } _resultobj
= Py_BuildValue("i",_result
);
2501 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2502 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2505 int _arg1
= (int ) 1;
2506 PyObject
* _argo0
= 0;
2507 char *_kwnames
[] = { "self","n", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 wxChoice_SetColumns(_arg0
,_arg1
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) return NULL
;
2525 } Py_INCREF(Py_None
);
2526 _resultobj
= Py_None
;
2530 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2531 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self","n", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 wxChoice_SetSelection(_arg0
,_arg1
);
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) return NULL
;
2554 } Py_INCREF(Py_None
);
2555 _resultobj
= Py_None
;
2559 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2560 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
* _resultobj
;
2564 PyObject
* _argo0
= 0;
2565 PyObject
* _obj1
= 0;
2566 char *_kwnames
[] = { "self","string", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2579 _arg1
= wxString_in_helper(_obj1
);
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2598 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2599 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2604 PyObject
* _argo0
= 0;
2605 PyObject
* _obj2
= 0;
2606 char *_kwnames
[] = { "self","n","s", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2619 _arg2
= wxString_in_helper(_obj2
);
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) return NULL
;
2629 } Py_INCREF(Py_None
);
2630 _resultobj
= Py_None
;
2638 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2641 src
= (wxComboBox
*) ptr
;
2642 dest
= (wxControl
*) src
;
2643 return (void *) dest
;
2646 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2649 src
= (wxComboBox
*) ptr
;
2650 dest
= (wxWindow
*) src
;
2651 return (void *) dest
;
2654 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2657 src
= (wxComboBox
*) ptr
;
2658 dest
= (wxEvtHandler
*) src
;
2659 return (void *) dest
;
2662 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2665 src
= (wxComboBox
*) ptr
;
2666 dest
= (wxObject
*) src
;
2667 return (void *) dest
;
2670 #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))
2671 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
* _resultobj
;
2673 wxComboBox
* _result
;
2676 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2677 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2678 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2679 int _arg5
= (int ) 0;
2680 wxString
* _arg6
= (wxString
*) NULL
;
2681 long _arg7
= (long ) 0;
2682 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2683 wxString
* _arg9
= (wxString
*) &wxPyComboBoxNameStr
;
2684 PyObject
* _argo0
= 0;
2685 PyObject
* _obj2
= 0;
2687 PyObject
* _obj3
= 0;
2689 PyObject
* _obj4
= 0;
2690 PyObject
* _obj6
= 0;
2691 PyObject
* _argo8
= 0;
2692 PyObject
* _obj9
= 0;
2693 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOOlOO:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2708 _arg2
= wxString_in_helper(_obj2
);
2715 if (! wxPoint_helper(_obj3
, &_arg3
))
2721 if (! wxSize_helper(_obj4
, &_arg4
))
2726 _arg6
= wxString_LIST_helper(_obj6
);
2727 if (_arg6
== NULL
) {
2732 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2733 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2740 _arg9
= wxString_in_helper(_obj9
);
2746 _arg5
= PyList_Size(_obj6
);
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) return NULL
;
2759 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2760 _resultobj
= Py_BuildValue("s",_ptemp
);
2763 _resultobj
= Py_None
;
2779 #define new_wxPreComboBox() (new wxComboBox())
2780 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2782 wxComboBox
* _result
;
2783 char *_kwnames
[] = { NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 _result
= (wxComboBox
*)new_wxPreComboBox();
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) return NULL
;
2796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2797 _resultobj
= Py_BuildValue("s",_ptemp
);
2800 _resultobj
= Py_None
;
2805 #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))
2806 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2812 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2813 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2814 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2815 int _arg6
= (int ) 0;
2816 wxString
* _arg7
= (wxString
*) NULL
;
2817 long _arg8
= (long ) 0;
2818 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2819 wxString
* _arg10
= (wxString
*) &wxPyComboBoxNameStr
;
2820 PyObject
* _argo0
= 0;
2821 PyObject
* _argo1
= 0;
2822 PyObject
* _obj3
= 0;
2824 PyObject
* _obj4
= 0;
2826 PyObject
* _obj5
= 0;
2827 PyObject
* _obj7
= 0;
2828 PyObject
* _argo9
= 0;
2829 PyObject
* _obj10
= 0;
2830 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOOlOO:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
2836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2843 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2851 _arg3
= wxString_in_helper(_obj3
);
2858 if (! wxPoint_helper(_obj4
, &_arg4
))
2864 if (! wxSize_helper(_obj5
, &_arg5
))
2869 _arg7
= wxString_LIST_helper(_obj7
);
2870 if (_arg7
== NULL
) {
2875 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2883 _arg10
= wxString_in_helper(_obj10
);
2889 _arg6
= PyList_Size(_obj7
);
2896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
2899 wxPyEndAllowThreads(__tstate
);
2900 if (PyErr_Occurred()) return NULL
;
2901 } _resultobj
= Py_BuildValue("i",_result
);
2916 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2917 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2920 PyObject
* _argo0
= 0;
2921 char *_kwnames
[] = { "self", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 wxComboBox_Copy(_arg0
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) return NULL
;
2939 } Py_INCREF(Py_None
);
2940 _resultobj
= Py_None
;
2944 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2945 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2948 PyObject
* _argo0
= 0;
2949 char *_kwnames
[] = { "self", NULL
};
2952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 wxComboBox_Cut(_arg0
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) return NULL
;
2967 } Py_INCREF(Py_None
);
2968 _resultobj
= Py_None
;
2972 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2973 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) return NULL
;
2996 } _resultobj
= Py_BuildValue("l",_result
);
3000 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3001 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
* _resultobj
;
3005 PyObject
* _argo0
= 0;
3006 char *_kwnames
[] = { "self", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) return NULL
;
3024 } _resultobj
= Py_BuildValue("l",_result
);
3028 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3029 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
* _resultobj
;
3033 PyObject
* _argo0
= 0;
3034 char *_kwnames
[] = { "self", NULL
};
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) return NULL
;
3054 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3056 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3065 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3066 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3069 PyObject
* _argo0
= 0;
3070 char *_kwnames
[] = { "self", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 wxComboBox_Paste(_arg0
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) return NULL
;
3088 } Py_INCREF(Py_None
);
3089 _resultobj
= Py_None
;
3093 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3094 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3100 PyObject
* _argo0
= 0;
3101 PyObject
* _obj3
= 0;
3102 char *_kwnames
[] = { "self","from","to","text", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3115 _arg3
= wxString_in_helper(_obj3
);
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) return NULL
;
3125 } Py_INCREF(Py_None
);
3126 _resultobj
= Py_None
;
3134 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3135 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self","from","to", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) return NULL
;
3159 } Py_INCREF(Py_None
);
3160 _resultobj
= Py_None
;
3164 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3165 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3166 PyObject
* _resultobj
;
3169 PyObject
* _argo0
= 0;
3170 char *_kwnames
[] = { "self","pos", NULL
};
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3184 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3186 wxPyEndAllowThreads(__tstate
);
3187 if (PyErr_Occurred()) return NULL
;
3188 } Py_INCREF(Py_None
);
3189 _resultobj
= Py_None
;
3193 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3194 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
* _resultobj
;
3197 PyObject
* _argo0
= 0;
3198 char *_kwnames
[] = { "self", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 wxComboBox_SetInsertionPointEnd(_arg0
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) return NULL
;
3216 } Py_INCREF(Py_None
);
3217 _resultobj
= Py_None
;
3221 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3222 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self","n", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 wxComboBox_SetSelection(_arg0
,_arg1
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3251 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3256 PyObject
* _argo0
= 0;
3257 char *_kwnames
[] = { "self","from","to", NULL
};
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3275 } Py_INCREF(Py_None
);
3276 _resultobj
= Py_None
;
3280 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3281 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3285 PyObject
* _argo0
= 0;
3286 PyObject
* _obj1
= 0;
3287 char *_kwnames
[] = { "self","text", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
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_SetValue. Expected _wxComboBox_p.");
3300 _arg1
= wxString_in_helper(_obj1
);
3305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3306 wxComboBox_SetValue(_arg0
,*_arg1
);
3308 wxPyEndAllowThreads(__tstate
);
3309 if (PyErr_Occurred()) return NULL
;
3310 } Py_INCREF(Py_None
);
3311 _resultobj
= Py_None
;
3319 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3320 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3324 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self","editable", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3338 _arg1
= (bool ) tempbool1
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 wxComboBox_SetEditable(_arg0
,_arg1
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) return NULL
;
3345 } Py_INCREF(Py_None
);
3346 _resultobj
= Py_None
;
3350 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3351 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 wxComboBox_Clear(_arg0
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3373 } Py_INCREF(Py_None
);
3374 _resultobj
= Py_None
;
3378 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3379 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self","n", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 wxComboBox_Delete(_arg0
,_arg1
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) return NULL
;
3402 } Py_INCREF(Py_None
);
3403 _resultobj
= Py_None
;
3407 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3408 static PyObject
*_wrap_wxComboBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 _result
= (int )wxComboBox_GetCount(_arg0
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) return NULL
;
3431 } _resultobj
= Py_BuildValue("i",_result
);
3435 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3436 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3441 PyObject
* _argo0
= 0;
3442 char *_kwnames
[] = { "self","n", NULL
};
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) return NULL
;
3462 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3464 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3473 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3474 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
* _resultobj
;
3479 PyObject
* _argo0
= 0;
3480 PyObject
* _obj1
= 0;
3481 char *_kwnames
[] = { "self","s", NULL
};
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3494 _arg1
= wxString_in_helper(_obj1
);
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) return NULL
;
3504 } _resultobj
= Py_BuildValue("i",_result
);
3512 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3513 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
* _resultobj
;
3517 PyObject
* _argo0
= 0;
3518 char *_kwnames
[] = { "self", NULL
};
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
3524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 _result
= (int )wxComboBox_GetSelection(_arg0
);
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) return NULL
;
3536 } _resultobj
= Py_BuildValue("i",_result
);
3540 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3541 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3542 PyObject
* _resultobj
;
3545 PyObject
* _argo0
= 0;
3546 char *_kwnames
[] = { "self", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) return NULL
;
3566 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3568 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3577 static void wxComboBox_Append(wxComboBox
*self
,const wxString
& item
,PyObject
* clientData
) {
3579 wxPyClientData
* data
= new wxPyClientData(clientData
);
3580 self
->Append(item
, data
);
3584 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3588 PyObject
* _arg2
= (PyObject
*) NULL
;
3589 PyObject
* _argo0
= 0;
3590 PyObject
* _obj1
= 0;
3591 PyObject
* _obj2
= 0;
3592 char *_kwnames
[] = { "self","item","clientData", NULL
};
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3605 _arg1
= wxString_in_helper(_obj1
);
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 wxComboBox_Append(_arg0
,*_arg1
,_arg2
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) return NULL
;
3619 } Py_INCREF(Py_None
);
3620 _resultobj
= Py_None
;
3628 static PyObject
* wxComboBox_GetClientData(wxComboBox
*self
,int n
) {
3629 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3631 Py_INCREF(data
->m_obj
);
3638 static PyObject
*_wrap_wxComboBox_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3643 PyObject
* _argo0
= 0;
3644 char *_kwnames
[] = { "self","n", NULL
};
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))
3650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 _result
= (PyObject
*)wxComboBox_GetClientData(_arg0
,_arg1
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) return NULL
;
3663 _resultobj
= _result
;
3668 static void wxComboBox_SetClientData(wxComboBox
*self
,int n
,PyObject
* clientData
) {
3669 wxPyClientData
* data
= new wxPyClientData(clientData
);
3670 self
->SetClientObject(n
, data
);
3672 static PyObject
*_wrap_wxComboBox_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3677 PyObject
* _argo0
= 0;
3678 PyObject
* _obj2
= 0;
3679 char *_kwnames
[] = { "self","n","clientData", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3696 wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
);
3698 wxPyEndAllowThreads(__tstate
);
3699 if (PyErr_Occurred()) return NULL
;
3700 } Py_INCREF(Py_None
);
3701 _resultobj
= Py_None
;
3705 static void *SwigwxGaugeTowxControl(void *ptr
) {
3708 src
= (wxGauge
*) ptr
;
3709 dest
= (wxControl
*) src
;
3710 return (void *) dest
;
3713 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3716 src
= (wxGauge
*) ptr
;
3717 dest
= (wxWindow
*) src
;
3718 return (void *) dest
;
3721 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3724 src
= (wxGauge
*) ptr
;
3725 dest
= (wxEvtHandler
*) src
;
3726 return (void *) dest
;
3729 static void *SwigwxGaugeTowxObject(void *ptr
) {
3732 src
= (wxGauge
*) ptr
;
3733 dest
= (wxObject
*) src
;
3734 return (void *) dest
;
3737 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3738 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3744 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3745 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3746 long _arg5
= (long ) wxGA_HORIZONTAL
;
3747 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3748 wxString
* _arg7
= (wxString
*) &wxPyGaugeNameStr
;
3749 PyObject
* _argo0
= 0;
3751 PyObject
* _obj3
= 0;
3753 PyObject
* _obj4
= 0;
3754 PyObject
* _argo6
= 0;
3755 PyObject
* _obj7
= 0;
3756 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOO:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
3763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3772 if (! wxPoint_helper(_obj3
, &_arg3
))
3778 if (! wxSize_helper(_obj4
, &_arg4
))
3782 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3790 _arg7
= wxString_in_helper(_obj7
);
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) return NULL
;
3801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3802 _resultobj
= Py_BuildValue("s",_ptemp
);
3805 _resultobj
= Py_None
;
3814 #define new_wxPreGauge() (new wxGauge())
3815 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3818 char *_kwnames
[] = { NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 _result
= (wxGauge
*)new_wxPreGauge();
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) return NULL
;
3831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3832 _resultobj
= Py_BuildValue("s",_ptemp
);
3835 _resultobj
= Py_None
;
3840 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3841 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3848 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3849 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3850 long _arg6
= (long ) wxGA_HORIZONTAL
;
3851 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3852 wxString
* _arg8
= (wxString
*) &wxPyGaugeNameStr
;
3853 PyObject
* _argo0
= 0;
3854 PyObject
* _argo1
= 0;
3856 PyObject
* _obj4
= 0;
3858 PyObject
* _obj5
= 0;
3859 PyObject
* _argo7
= 0;
3860 PyObject
* _obj8
= 0;
3861 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOO:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
3867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3874 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3875 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3883 if (! wxPoint_helper(_obj4
, &_arg4
))
3889 if (! wxSize_helper(_obj5
, &_arg5
))
3893 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3901 _arg8
= wxString_in_helper(_obj8
);
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3919 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3920 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
* _resultobj
;
3924 PyObject
* _argo0
= 0;
3925 char *_kwnames
[] = { "self", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3947 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3948 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3952 PyObject
* _argo0
= 0;
3953 char *_kwnames
[] = { "self", NULL
};
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 _result
= (int )wxGauge_GetRange(_arg0
);
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) return NULL
;
3971 } _resultobj
= Py_BuildValue("i",_result
);
3975 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3976 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
* _resultobj
;
3980 PyObject
* _argo0
= 0;
3981 char *_kwnames
[] = { "self", NULL
};
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) return NULL
;
3999 } _resultobj
= Py_BuildValue("i",_result
);
4003 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
4004 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
* _resultobj
;
4008 PyObject
* _argo0
= 0;
4009 char *_kwnames
[] = { "self", NULL
};
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
4015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 _result
= (int )wxGauge_GetValue(_arg0
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) return NULL
;
4027 } _resultobj
= Py_BuildValue("i",_result
);
4031 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
4032 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
* _resultobj
;
4036 PyObject
* _argo0
= 0;
4037 char *_kwnames
[] = { "self","width", NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
4043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 wxGauge_SetBezelFace(_arg0
,_arg1
);
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) return NULL
;
4055 } Py_INCREF(Py_None
);
4056 _resultobj
= Py_None
;
4060 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
4061 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
* _resultobj
;
4065 PyObject
* _argo0
= 0;
4066 char *_kwnames
[] = { "self","range", NULL
};
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
4072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 wxGauge_SetRange(_arg0
,_arg1
);
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) return NULL
;
4084 } Py_INCREF(Py_None
);
4085 _resultobj
= Py_None
;
4089 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
4090 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4094 PyObject
* _argo0
= 0;
4095 char *_kwnames
[] = { "self","width", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 wxGauge_SetShadowWidth(_arg0
,_arg1
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4113 } Py_INCREF(Py_None
);
4114 _resultobj
= Py_None
;
4118 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4119 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4123 PyObject
* _argo0
= 0;
4124 char *_kwnames
[] = { "self","pos", NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
4130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 wxGauge_SetValue(_arg0
,_arg1
);
4140 wxPyEndAllowThreads(__tstate
);
4141 if (PyErr_Occurred()) return NULL
;
4142 } Py_INCREF(Py_None
);
4143 _resultobj
= Py_None
;
4147 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
4150 src
= (wxStaticBox
*) ptr
;
4151 dest
= (wxControl
*) src
;
4152 return (void *) dest
;
4155 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
4158 src
= (wxStaticBox
*) ptr
;
4159 dest
= (wxWindow
*) src
;
4160 return (void *) dest
;
4163 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
4166 src
= (wxStaticBox
*) ptr
;
4167 dest
= (wxEvtHandler
*) src
;
4168 return (void *) dest
;
4171 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
4174 src
= (wxStaticBox
*) ptr
;
4175 dest
= (wxObject
*) src
;
4176 return (void *) dest
;
4179 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4180 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4182 wxStaticBox
* _result
;
4186 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4187 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4188 long _arg5
= (long ) 0;
4189 wxString
* _arg6
= (wxString
*) &wxPyStaticBoxNameStr
;
4190 PyObject
* _argo0
= 0;
4191 PyObject
* _obj2
= 0;
4193 PyObject
* _obj3
= 0;
4195 PyObject
* _obj4
= 0;
4196 PyObject
* _obj6
= 0;
4197 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4211 _arg2
= wxString_in_helper(_obj2
);
4218 if (! wxPoint_helper(_obj3
, &_arg3
))
4224 if (! wxSize_helper(_obj4
, &_arg4
))
4229 _arg6
= wxString_in_helper(_obj6
);
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) return NULL
;
4240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4241 _resultobj
= Py_BuildValue("s",_ptemp
);
4244 _resultobj
= Py_None
;
4257 #define new_wxPreStaticBox() (new wxStaticBox())
4258 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4260 wxStaticBox
* _result
;
4261 char *_kwnames
[] = { NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) return NULL
;
4274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4275 _resultobj
= Py_BuildValue("s",_ptemp
);
4278 _resultobj
= Py_None
;
4283 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4284 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4287 wxStaticBox
* _arg0
;
4291 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4292 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4293 long _arg6
= (long ) 0;
4294 wxString
* _arg7
= (wxString
*) &wxPyStaticBoxNameStr
;
4295 PyObject
* _argo0
= 0;
4296 PyObject
* _argo1
= 0;
4297 PyObject
* _obj3
= 0;
4299 PyObject
* _obj4
= 0;
4301 PyObject
* _obj5
= 0;
4302 PyObject
* _obj7
= 0;
4303 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4323 _arg3
= wxString_in_helper(_obj3
);
4330 if (! wxPoint_helper(_obj4
, &_arg4
))
4336 if (! wxSize_helper(_obj5
, &_arg5
))
4341 _arg7
= wxString_in_helper(_obj7
);
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) return NULL
;
4351 } _resultobj
= Py_BuildValue("i",_result
);
4363 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4366 src
= (wxStaticLine
*) ptr
;
4367 dest
= (wxControl
*) src
;
4368 return (void *) dest
;
4371 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4374 src
= (wxStaticLine
*) ptr
;
4375 dest
= (wxWindow
*) src
;
4376 return (void *) dest
;
4379 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4382 src
= (wxStaticLine
*) ptr
;
4383 dest
= (wxEvtHandler
*) src
;
4384 return (void *) dest
;
4387 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4390 src
= (wxStaticLine
*) ptr
;
4391 dest
= (wxObject
*) src
;
4392 return (void *) dest
;
4395 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4396 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4398 wxStaticLine
* _result
;
4401 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4402 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4403 long _arg4
= (long ) wxLI_HORIZONTAL
;
4404 wxString
* _arg5
= (wxString
*) &wxPyStaticTextNameStr
;
4405 PyObject
* _argo0
= 0;
4407 PyObject
* _obj2
= 0;
4409 PyObject
* _obj3
= 0;
4410 PyObject
* _obj5
= 0;
4411 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4427 if (! wxPoint_helper(_obj2
, &_arg2
))
4433 if (! wxSize_helper(_obj3
, &_arg3
))
4438 _arg5
= wxString_in_helper(_obj5
);
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) return NULL
;
4449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4450 _resultobj
= Py_BuildValue("s",_ptemp
);
4453 _resultobj
= Py_None
;
4462 #define new_wxPreStaticLine() (new wxStaticLine())
4463 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4465 wxStaticLine
* _result
;
4466 char *_kwnames
[] = { NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4480 _resultobj
= Py_BuildValue("s",_ptemp
);
4483 _resultobj
= Py_None
;
4488 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4489 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
* _resultobj
;
4492 wxStaticLine
* _arg0
;
4495 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4496 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4497 long _arg5
= (long ) wxLI_HORIZONTAL
;
4498 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4499 PyObject
* _argo0
= 0;
4500 PyObject
* _argo1
= 0;
4502 PyObject
* _obj3
= 0;
4504 PyObject
* _obj4
= 0;
4505 PyObject
* _obj6
= 0;
4506 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4528 if (! wxPoint_helper(_obj3
, &_arg3
))
4534 if (! wxSize_helper(_obj4
, &_arg4
))
4539 _arg6
= wxString_in_helper(_obj6
);
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) return NULL
;
4549 } _resultobj
= Py_BuildValue("i",_result
);
4557 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4560 src
= (wxStaticText
*) ptr
;
4561 dest
= (wxControl
*) src
;
4562 return (void *) dest
;
4565 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4568 src
= (wxStaticText
*) ptr
;
4569 dest
= (wxWindow
*) src
;
4570 return (void *) dest
;
4573 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4576 src
= (wxStaticText
*) ptr
;
4577 dest
= (wxEvtHandler
*) src
;
4578 return (void *) dest
;
4581 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4584 src
= (wxStaticText
*) ptr
;
4585 dest
= (wxObject
*) src
;
4586 return (void *) dest
;
4589 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4590 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4592 wxStaticText
* _result
;
4596 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4597 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4598 long _arg5
= (long ) 0;
4599 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4600 PyObject
* _argo0
= 0;
4601 PyObject
* _obj2
= 0;
4603 PyObject
* _obj3
= 0;
4605 PyObject
* _obj4
= 0;
4606 PyObject
* _obj6
= 0;
4607 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4621 _arg2
= wxString_in_helper(_obj2
);
4628 if (! wxPoint_helper(_obj3
, &_arg3
))
4634 if (! wxSize_helper(_obj4
, &_arg4
))
4639 _arg6
= wxString_in_helper(_obj6
);
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) return NULL
;
4650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4651 _resultobj
= Py_BuildValue("s",_ptemp
);
4654 _resultobj
= Py_None
;
4667 #define new_wxPreStaticText() (new wxStaticText())
4668 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4670 wxStaticText
* _result
;
4671 char *_kwnames
[] = { NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 _result
= (wxStaticText
*)new_wxPreStaticText();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) return NULL
;
4684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4685 _resultobj
= Py_BuildValue("s",_ptemp
);
4688 _resultobj
= Py_None
;
4693 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4694 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4697 wxStaticText
* _arg0
;
4701 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4702 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4703 long _arg6
= (long ) 0;
4704 wxString
* _arg7
= (wxString
*) &wxPyStaticTextNameStr
;
4705 PyObject
* _argo0
= 0;
4706 PyObject
* _argo1
= 0;
4707 PyObject
* _obj3
= 0;
4709 PyObject
* _obj4
= 0;
4711 PyObject
* _obj5
= 0;
4712 PyObject
* _obj7
= 0;
4713 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4733 _arg3
= wxString_in_helper(_obj3
);
4740 if (! wxPoint_helper(_obj4
, &_arg4
))
4746 if (! wxSize_helper(_obj5
, &_arg5
))
4751 _arg7
= wxString_in_helper(_obj7
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } _resultobj
= Py_BuildValue("i",_result
);
4773 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4774 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
* _resultobj
;
4777 wxStaticText
* _arg0
;
4778 PyObject
* _argo0
= 0;
4779 char *_kwnames
[] = { "self", NULL
};
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) return NULL
;
4799 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4810 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4811 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4813 wxStaticText
* _arg0
;
4815 PyObject
* _argo0
= 0;
4816 PyObject
* _obj1
= 0;
4817 char *_kwnames
[] = { "self","label", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4830 _arg1
= wxString_in_helper(_obj1
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 wxStaticText_SetLabel(_arg0
,*_arg1
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) return NULL
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4849 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4851 wxControlWithItems
*dest
;
4852 src
= (wxListBox
*) ptr
;
4853 dest
= (wxControlWithItems
*) src
;
4854 return (void *) dest
;
4857 static void *SwigwxListBoxTowxControl(void *ptr
) {
4860 src
= (wxListBox
*) ptr
;
4861 dest
= (wxControl
*) src
;
4862 return (void *) dest
;
4865 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4868 src
= (wxListBox
*) ptr
;
4869 dest
= (wxWindow
*) src
;
4870 return (void *) dest
;
4873 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4876 src
= (wxListBox
*) ptr
;
4877 dest
= (wxEvtHandler
*) src
;
4878 return (void *) dest
;
4881 static void *SwigwxListBoxTowxObject(void *ptr
) {
4884 src
= (wxListBox
*) ptr
;
4885 dest
= (wxObject
*) src
;
4886 return (void *) dest
;
4889 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4890 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4892 wxListBox
* _result
;
4895 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4896 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4898 wxString
* _arg5
= (wxString
*) NULL
;
4899 long _arg6
= (long ) 0;
4900 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4901 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
4902 PyObject
* _argo0
= 0;
4904 PyObject
* _obj2
= 0;
4906 PyObject
* _obj3
= 0;
4907 PyObject
* _obj5
= 0;
4908 PyObject
* _argo7
= 0;
4909 PyObject
* _obj8
= 0;
4910 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
4917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4926 if (! wxPoint_helper(_obj2
, &_arg2
))
4932 if (! wxSize_helper(_obj3
, &_arg3
))
4937 _arg5
= wxString_LIST_helper(_obj5
);
4938 if (_arg5
== NULL
) {
4943 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4951 _arg8
= wxString_in_helper(_obj8
);
4957 _arg4
= PyList_Size(_obj5
);
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) return NULL
;
4970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4971 _resultobj
= Py_BuildValue("s",_ptemp
);
4974 _resultobj
= Py_None
;
4986 #define new_wxPreListBox() (new wxListBox())
4987 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
* _resultobj
;
4989 wxListBox
* _result
;
4990 char *_kwnames
[] = { NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 _result
= (wxListBox
*)new_wxPreListBox();
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) return NULL
;
5003 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
5004 _resultobj
= Py_BuildValue("s",_ptemp
);
5007 _resultobj
= Py_None
;
5012 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5013 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5019 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5020 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5022 wxString
* _arg6
= (wxString
*) NULL
;
5023 long _arg7
= (long ) 0;
5024 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5025 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5026 PyObject
* _argo0
= 0;
5027 PyObject
* _argo1
= 0;
5029 PyObject
* _obj3
= 0;
5031 PyObject
* _obj4
= 0;
5032 PyObject
* _obj6
= 0;
5033 PyObject
* _argo8
= 0;
5034 PyObject
* _obj9
= 0;
5035 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
5048 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5049 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
5057 if (! wxPoint_helper(_obj3
, &_arg3
))
5063 if (! wxSize_helper(_obj4
, &_arg4
))
5068 _arg6
= wxString_LIST_helper(_obj6
);
5069 if (_arg6
== NULL
) {
5074 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
5082 _arg9
= wxString_in_helper(_obj9
);
5088 _arg5
= PyList_Size(_obj6
);
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) return NULL
;
5100 } _resultobj
= Py_BuildValue("i",_result
);
5111 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
5112 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5115 PyObject
* _argo0
= 0;
5116 char *_kwnames
[] = { "self", NULL
};
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxListBox_Clear(_arg0
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) return NULL
;
5134 } Py_INCREF(Py_None
);
5135 _resultobj
= Py_None
;
5139 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5140 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5145 char *_kwnames
[] = { "self","n", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 wxListBox_Deselect(_arg0
,_arg1
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) return NULL
;
5163 } Py_INCREF(Py_None
);
5164 _resultobj
= Py_None
;
5168 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
5170 self
->GetSelections(lst
);
5171 PyObject
*tup
= PyTuple_New(lst
.GetCount());
5172 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
5173 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
5177 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5181 PyObject
* _argo0
= 0;
5182 char *_kwnames
[] = { "self", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) return NULL
;
5201 _resultobj
= _result
;
5206 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5207 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5213 PyObject
* _argo0
= 0;
5214 PyObject
* _obj2
= 0;
5215 char *_kwnames
[] = { "self","choices","pos", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5228 _arg2
= wxString_LIST_helper(_obj2
);
5229 if (_arg2
== NULL
) {
5235 _arg1
= PyList_Size(_obj2
);
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) return NULL
;
5247 } Py_INCREF(Py_None
);
5248 _resultobj
= Py_None
;
5255 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5256 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
* _resultobj
;
5261 PyObject
* _argo0
= 0;
5262 char *_kwnames
[] = { "self","n", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) return NULL
;
5280 } _resultobj
= Py_BuildValue("i",_result
);
5284 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5285 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
* _resultobj
;
5290 PyObject
* _argo0
= 0;
5291 char *_kwnames
[] = { "self","n", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) return NULL
;
5309 } _resultobj
= Py_BuildValue("i",_result
);
5313 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5314 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
* _resultobj
;
5319 PyObject
* _argo0
= 0;
5320 PyObject
* _obj2
= 0;
5321 char *_kwnames
[] = { "self","choices", NULL
};
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5335 _arg2
= wxString_LIST_helper(_obj2
);
5336 if (_arg2
== NULL
) {
5342 _arg1
= PyList_Size(_obj2
);
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) return NULL
;
5354 } Py_INCREF(Py_None
);
5355 _resultobj
= Py_None
;
5362 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5363 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self","n", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 wxListBox_SetFirstItem(_arg0
,_arg1
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) return NULL
;
5386 } Py_INCREF(Py_None
);
5387 _resultobj
= Py_None
;
5391 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5392 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
* _resultobj
;
5396 PyObject
* _argo0
= 0;
5397 PyObject
* _obj1
= 0;
5398 char *_kwnames
[] = { "self","string", NULL
};
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5411 _arg1
= wxString_in_helper(_obj1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) return NULL
;
5421 } Py_INCREF(Py_None
);
5422 _resultobj
= Py_None
;
5430 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5431 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5435 bool _arg2
= (bool ) TRUE
;
5436 PyObject
* _argo0
= 0;
5437 int tempbool2
= (int) TRUE
;
5438 char *_kwnames
[] = { "self","n","select", NULL
};
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5450 _arg2
= (bool ) tempbool2
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) return NULL
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5462 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5463 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5468 PyObject
* _argo0
= 0;
5469 PyObject
* _obj2
= 0;
5470 char *_kwnames
[] = { "self","n","string", NULL
};
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5483 _arg2
= wxString_in_helper(_obj2
);
5488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5489 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) return NULL
;
5493 } Py_INCREF(Py_None
);
5494 _resultobj
= Py_None
;
5502 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5503 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
* _resultobj
;
5507 bool _arg2
= (bool ) TRUE
;
5508 PyObject
* _argo0
= 0;
5509 PyObject
* _obj1
= 0;
5510 int tempbool2
= (int) TRUE
;
5511 char *_kwnames
[] = { "self","string","select", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5524 _arg1
= wxString_in_helper(_obj1
);
5528 _arg2
= (bool ) tempbool2
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) return NULL
;
5535 } Py_INCREF(Py_None
);
5536 _resultobj
= Py_None
;
5544 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5545 wxCheckListBox
*src
;
5547 src
= (wxCheckListBox
*) ptr
;
5548 dest
= (wxListBox
*) src
;
5549 return (void *) dest
;
5552 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5553 wxCheckListBox
*src
;
5554 wxControlWithItems
*dest
;
5555 src
= (wxCheckListBox
*) ptr
;
5556 dest
= (wxControlWithItems
*) src
;
5557 return (void *) dest
;
5560 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5561 wxCheckListBox
*src
;
5563 src
= (wxCheckListBox
*) ptr
;
5564 dest
= (wxControl
*) src
;
5565 return (void *) dest
;
5568 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5569 wxCheckListBox
*src
;
5571 src
= (wxCheckListBox
*) ptr
;
5572 dest
= (wxWindow
*) src
;
5573 return (void *) dest
;
5576 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5577 wxCheckListBox
*src
;
5579 src
= (wxCheckListBox
*) ptr
;
5580 dest
= (wxEvtHandler
*) src
;
5581 return (void *) dest
;
5584 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5585 wxCheckListBox
*src
;
5587 src
= (wxCheckListBox
*) ptr
;
5588 dest
= (wxObject
*) src
;
5589 return (void *) dest
;
5592 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5593 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
* _resultobj
;
5595 wxCheckListBox
* _result
;
5598 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5599 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5600 int _arg4
= (int ) 0;
5601 wxString
* _arg5
= (wxString
*) NULL
;
5602 long _arg6
= (long ) 0;
5603 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5604 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
5605 PyObject
* _argo0
= 0;
5607 PyObject
* _obj2
= 0;
5609 PyObject
* _obj3
= 0;
5610 PyObject
* _obj5
= 0;
5611 PyObject
* _argo7
= 0;
5612 PyObject
* _obj8
= 0;
5613 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5629 if (! wxPoint_helper(_obj2
, &_arg2
))
5635 if (! wxSize_helper(_obj3
, &_arg3
))
5640 _arg5
= wxString_LIST_helper(_obj5
);
5641 if (_arg5
== NULL
) {
5646 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5647 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5654 _arg8
= wxString_in_helper(_obj8
);
5660 _arg4
= PyList_Size(_obj5
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) return NULL
;
5673 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5674 _resultobj
= Py_BuildValue("s",_ptemp
);
5677 _resultobj
= Py_None
;
5689 #define new_wxPreCheckListBox() (new wxCheckListBox())
5690 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
* _resultobj
;
5692 wxCheckListBox
* _result
;
5693 char *_kwnames
[] = { NULL
};
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) return NULL
;
5706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5707 _resultobj
= Py_BuildValue("s",_ptemp
);
5710 _resultobj
= Py_None
;
5715 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5716 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
* _resultobj
;
5719 wxCheckListBox
* _arg0
;
5722 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5723 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5724 int _arg5
= (int ) 0;
5725 wxString
* _arg6
= (wxString
*) NULL
;
5726 long _arg7
= (long ) 0;
5727 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5728 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5729 PyObject
* _argo0
= 0;
5730 PyObject
* _argo1
= 0;
5732 PyObject
* _obj3
= 0;
5734 PyObject
* _obj4
= 0;
5735 PyObject
* _obj6
= 0;
5736 PyObject
* _argo8
= 0;
5737 PyObject
* _obj9
= 0;
5738 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5760 if (! wxPoint_helper(_obj3
, &_arg3
))
5766 if (! wxSize_helper(_obj4
, &_arg4
))
5771 _arg6
= wxString_LIST_helper(_obj6
);
5772 if (_arg6
== NULL
) {
5777 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5778 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5785 _arg9
= wxString_in_helper(_obj9
);
5791 _arg5
= PyList_Size(_obj6
);
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) return NULL
;
5803 } _resultobj
= Py_BuildValue("i",_result
);
5814 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5815 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5818 wxCheckListBox
* _arg0
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self","uiIndex", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) return NULL
;
5839 } _resultobj
= Py_BuildValue("i",_result
);
5843 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5844 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5846 wxCheckListBox
* _arg0
;
5848 int _arg2
= (int ) TRUE
;
5849 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) return NULL
;
5868 } Py_INCREF(Py_None
);
5869 _resultobj
= Py_None
;
5873 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5874 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
* _resultobj
;
5876 wxCheckListBox
* _arg0
;
5880 PyObject
* _argo0
= 0;
5881 PyObject
* _obj2
= 0;
5882 char *_kwnames
[] = { "self","choices","pos", NULL
};
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5895 _arg2
= wxString_LIST_helper(_obj2
);
5896 if (_arg2
== NULL
) {
5902 _arg1
= PyList_Size(_obj2
);
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) return NULL
;
5914 } Py_INCREF(Py_None
);
5915 _resultobj
= Py_None
;
5922 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5923 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5926 wxCheckListBox
* _arg0
;
5927 PyObject
* _argo0
= 0;
5928 char *_kwnames
[] = { "self", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) return NULL
;
5946 } _resultobj
= Py_BuildValue("i",_result
);
5950 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5951 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
* _resultobj
;
5953 wxTextAttr
* _result
;
5954 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5955 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5956 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5958 PyObject
* _obj0
= 0;
5960 PyObject
* _obj1
= 0;
5961 PyObject
* _argo2
= 0;
5962 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5971 if (! wxColour_helper(_obj0
, &_arg0
))
5977 if (! wxColour_helper(_obj1
, &_arg1
))
5981 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) return NULL
;
5994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5995 _resultobj
= Py_BuildValue("s",_ptemp
);
5998 _resultobj
= Py_None
;
6003 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
6004 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
* _resultobj
;
6007 PyObject
* _argo0
= 0;
6008 char *_kwnames
[] = { "self", NULL
};
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
6014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 delete_wxTextAttr(_arg0
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) return NULL
;
6026 } Py_INCREF(Py_None
);
6027 _resultobj
= Py_None
;
6031 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6032 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
* _resultobj
;
6036 PyObject
* _argo0
= 0;
6038 PyObject
* _obj1
= 0;
6039 char *_kwnames
[] = { "self","colText", NULL
};
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
6045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
6053 if (! wxColour_helper(_obj1
, &_arg1
))
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) return NULL
;
6062 } Py_INCREF(Py_None
);
6063 _resultobj
= Py_None
;
6067 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6068 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6072 PyObject
* _argo0
= 0;
6074 PyObject
* _obj1
= 0;
6075 char *_kwnames
[] = { "self","colBack", NULL
};
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
6081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6089 if (! wxColour_helper(_obj1
, &_arg1
))
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) return NULL
;
6098 } Py_INCREF(Py_None
);
6099 _resultobj
= Py_None
;
6103 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6104 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
* _resultobj
;
6108 PyObject
* _argo0
= 0;
6109 PyObject
* _argo1
= 0;
6110 char *_kwnames
[] = { "self","font", NULL
};
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
6116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6123 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6124 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 wxTextAttr_SetFont(_arg0
,*_arg1
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) return NULL
;
6135 } Py_INCREF(Py_None
);
6136 _resultobj
= Py_None
;
6140 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6141 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6142 PyObject
* _resultobj
;
6145 PyObject
* _argo0
= 0;
6146 char *_kwnames
[] = { "self", NULL
};
6149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) return NULL
;
6164 } _resultobj
= Py_BuildValue("i",_result
);
6168 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6169 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
* _resultobj
;
6173 PyObject
* _argo0
= 0;
6174 char *_kwnames
[] = { "self", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) return NULL
;
6192 } _resultobj
= Py_BuildValue("i",_result
);
6196 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6197 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
* _resultobj
;
6201 PyObject
* _argo0
= 0;
6202 char *_kwnames
[] = { "self", NULL
};
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) return NULL
;
6220 } _resultobj
= Py_BuildValue("i",_result
);
6224 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6225 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6229 PyObject
* _argo0
= 0;
6230 char *_kwnames
[] = { "self", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) return NULL
;
6249 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6250 _resultobj
= Py_BuildValue("s",_ptemp
);
6254 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6255 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6259 PyObject
* _argo0
= 0;
6260 char *_kwnames
[] = { "self", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) return NULL
;
6279 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6280 _resultobj
= Py_BuildValue("s",_ptemp
);
6284 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6285 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6289 PyObject
* _argo0
= 0;
6290 char *_kwnames
[] = { "self", NULL
};
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6305 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) return NULL
;
6309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6310 _resultobj
= Py_BuildValue("s",_ptemp
);
6314 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6315 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6319 PyObject
* _argo0
= 0;
6320 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) return NULL
;
6338 } _resultobj
= Py_BuildValue("i",_result
);
6342 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
* _resultobj
;
6344 wxTextAttr
* _result
;
6348 PyObject
* _argo0
= 0;
6349 PyObject
* _argo1
= 0;
6350 PyObject
* _argo2
= 0;
6351 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6365 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6372 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6373 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) return NULL
;
6384 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6385 _resultobj
= Py_BuildValue("s",_ptemp
);
6389 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6392 src
= (wxTextCtrl
*) ptr
;
6393 dest
= (wxControl
*) src
;
6394 return (void *) dest
;
6397 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6400 src
= (wxTextCtrl
*) ptr
;
6401 dest
= (wxWindow
*) src
;
6402 return (void *) dest
;
6405 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6408 src
= (wxTextCtrl
*) ptr
;
6409 dest
= (wxEvtHandler
*) src
;
6410 return (void *) dest
;
6413 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6416 src
= (wxTextCtrl
*) ptr
;
6417 dest
= (wxObject
*) src
;
6418 return (void *) dest
;
6421 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6422 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
* _resultobj
;
6424 wxTextCtrl
* _result
;
6427 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6428 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6429 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6430 long _arg5
= (long ) 0;
6431 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6432 wxString
* _arg7
= (wxString
*) &wxPyTextCtrlNameStr
;
6433 PyObject
* _argo0
= 0;
6434 PyObject
* _obj2
= 0;
6436 PyObject
* _obj3
= 0;
6438 PyObject
* _obj4
= 0;
6439 PyObject
* _argo6
= 0;
6440 PyObject
* _obj7
= 0;
6441 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6456 _arg2
= wxString_in_helper(_obj2
);
6463 if (! wxPoint_helper(_obj3
, &_arg3
))
6469 if (! wxSize_helper(_obj4
, &_arg4
))
6473 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6474 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6481 _arg7
= wxString_in_helper(_obj7
);
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) return NULL
;
6492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6493 _resultobj
= Py_BuildValue("s",_ptemp
);
6496 _resultobj
= Py_None
;
6509 #define new_wxPreTextCtrl() (new wxTextCtrl())
6510 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6512 wxTextCtrl
* _result
;
6513 char *_kwnames
[] = { NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) return NULL
;
6526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6527 _resultobj
= Py_BuildValue("s",_ptemp
);
6530 _resultobj
= Py_None
;
6535 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6536 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6542 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
6543 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6544 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6545 long _arg6
= (long ) 0;
6546 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6547 wxString
* _arg8
= (wxString
*) &wxPyTextCtrlNameStr
;
6548 PyObject
* _argo0
= 0;
6549 PyObject
* _argo1
= 0;
6550 PyObject
* _obj3
= 0;
6552 PyObject
* _obj4
= 0;
6554 PyObject
* _obj5
= 0;
6555 PyObject
* _argo7
= 0;
6556 PyObject
* _obj8
= 0;
6557 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
6563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6578 _arg3
= wxString_in_helper(_obj3
);
6585 if (! wxPoint_helper(_obj4
, &_arg4
))
6591 if (! wxSize_helper(_obj5
, &_arg5
))
6595 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6596 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6603 _arg8
= wxString_in_helper(_obj8
);
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) return NULL
;
6613 } _resultobj
= Py_BuildValue("i",_result
);
6625 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6626 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) return NULL
;
6651 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6653 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6662 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6663 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6667 PyObject
* _argo0
= 0;
6668 PyObject
* _obj1
= 0;
6669 char *_kwnames
[] = { "self","value", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6682 _arg1
= wxString_in_helper(_obj1
);
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) return NULL
;
6692 } Py_INCREF(Py_None
);
6693 _resultobj
= Py_None
;
6701 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6702 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self","from","to", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) return NULL
;
6729 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6731 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6740 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6741 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
* _resultobj
;
6746 PyObject
* _argo0
= 0;
6747 char *_kwnames
[] = { "self","lineNo", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) return NULL
;
6765 } _resultobj
= Py_BuildValue("i",_result
);
6769 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6770 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
* _resultobj
;
6775 PyObject
* _argo0
= 0;
6776 char *_kwnames
[] = { "self","lineNo", NULL
};
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) return NULL
;
6796 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6798 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6807 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6808 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6809 PyObject
* _resultobj
;
6812 PyObject
* _argo0
= 0;
6813 char *_kwnames
[] = { "self", NULL
};
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) return NULL
;
6831 } _resultobj
= Py_BuildValue("i",_result
);
6835 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6836 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
* _resultobj
;
6840 PyObject
* _argo0
= 0;
6841 char *_kwnames
[] = { "self", NULL
};
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) return NULL
;
6859 } _resultobj
= Py_BuildValue("i",_result
);
6863 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6864 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "self", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6885 wxPyEndAllowThreads(__tstate
);
6886 if (PyErr_Occurred()) return NULL
;
6887 } _resultobj
= Py_BuildValue("i",_result
);
6891 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6892 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
* _resultobj
;
6899 PyObject
* _argo0
= 0;
6900 char *_kwnames
[] = { "self", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) return NULL
;
6924 } Py_INCREF(Py_None
);
6925 _resultobj
= Py_None
;
6928 o
= PyInt_FromLong((long) (*_arg1
));
6929 _resultobj
= t_output_helper(_resultobj
, o
);
6933 o
= PyInt_FromLong((long) (*_arg2
));
6934 _resultobj
= t_output_helper(_resultobj
, o
);
6939 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6940 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
* _resultobj
;
6944 PyObject
* _argo0
= 0;
6945 char *_kwnames
[] = { "self", NULL
};
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) return NULL
;
6965 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6967 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6976 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6977 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6980 PyObject
* _argo0
= 0;
6981 char *_kwnames
[] = { "self", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
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_Clear. Expected _wxTextCtrl_p.");
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 wxTextCtrl_Clear(_arg0
);
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) return NULL
;
6999 } Py_INCREF(Py_None
);
7000 _resultobj
= Py_None
;
7004 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7005 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
* _resultobj
;
7011 PyObject
* _argo0
= 0;
7012 PyObject
* _obj3
= 0;
7013 char *_kwnames
[] = { "self","from","to","value", NULL
};
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
7019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
7026 _arg3
= wxString_in_helper(_obj3
);
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) return NULL
;
7036 } Py_INCREF(Py_None
);
7037 _resultobj
= Py_None
;
7045 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7046 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self","from","to", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) return NULL
;
7070 } Py_INCREF(Py_None
);
7071 _resultobj
= Py_None
;
7075 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
7076 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
* _resultobj
;
7081 PyObject
* _argo0
= 0;
7082 PyObject
* _obj1
= 0;
7083 char *_kwnames
[] = { "self","file", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7096 _arg1
= wxString_in_helper(_obj1
);
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) return NULL
;
7106 } _resultobj
= Py_BuildValue("i",_result
);
7114 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7115 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
* _resultobj
;
7119 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
7120 PyObject
* _argo0
= 0;
7121 PyObject
* _obj1
= 0;
7122 char *_kwnames
[] = { "self","file", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
7136 _arg1
= wxString_in_helper(_obj1
);
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) return NULL
;
7146 } _resultobj
= Py_BuildValue("i",_result
);
7154 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7155 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 wxTextCtrl_DiscardEdits(_arg0
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } Py_INCREF(Py_None
);
7178 _resultobj
= Py_None
;
7182 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7183 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
* _resultobj
;
7186 unsigned long _arg1
;
7187 PyObject
* _argo0
= 0;
7188 char *_kwnames
[] = { "self","len", NULL
};
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7202 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7204 wxPyEndAllowThreads(__tstate
);
7205 if (PyErr_Occurred()) return NULL
;
7206 } Py_INCREF(Py_None
);
7207 _resultobj
= Py_None
;
7211 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7212 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
* _resultobj
;
7216 PyObject
* _argo0
= 0;
7217 PyObject
* _obj1
= 0;
7218 char *_kwnames
[] = { "self","text", NULL
};
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7231 _arg1
= wxString_in_helper(_obj1
);
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) return NULL
;
7241 } Py_INCREF(Py_None
);
7242 _resultobj
= Py_None
;
7250 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7251 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
* _resultobj
;
7255 PyObject
* _argo0
= 0;
7256 PyObject
* _obj1
= 0;
7257 char *_kwnames
[] = { "self","text", NULL
};
7260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7270 _arg1
= wxString_in_helper(_obj1
);
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) return NULL
;
7280 } Py_INCREF(Py_None
);
7281 _resultobj
= Py_None
;
7289 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7290 static PyObject
*_wrap_wxTextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
* _resultobj
;
7295 PyObject
* _argo0
= 0;
7296 PyObject
* _argo1
= 0;
7297 char *_kwnames
[] = { "self","event", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_EmulateKeyPress",_kwnames
,&_argo0
,&_argo1
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 _result
= (bool )wxTextCtrl_EmulateKeyPress(_arg0
,*_arg1
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) return NULL
;
7322 } _resultobj
= Py_BuildValue("i",_result
);
7326 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7327 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7334 PyObject
* _argo0
= 0;
7335 PyObject
* _argo3
= 0;
7336 char *_kwnames
[] = { "self","start","end","style", NULL
};
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7349 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) return NULL
;
7361 } _resultobj
= Py_BuildValue("i",_result
);
7365 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7366 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
* _resultobj
;
7371 PyObject
* _argo0
= 0;
7372 PyObject
* _argo1
= 0;
7373 char *_kwnames
[] = { "self","style", NULL
};
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7386 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7387 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) return NULL
;
7398 } _resultobj
= Py_BuildValue("i",_result
);
7402 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7403 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
* _resultobj
;
7405 wxTextAttr
* _result
;
7407 PyObject
* _argo0
= 0;
7408 char *_kwnames
[] = { "self", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7424 _result
= (wxTextAttr
*) &_result_ref
;
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) return NULL
;
7429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7430 _resultobj
= Py_BuildValue("s",_ptemp
);
7433 _resultobj
= Py_None
;
7438 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7439 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7445 PyObject
* _argo0
= 0;
7446 char *_kwnames
[] = { "self","x","y", NULL
};
7449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) return NULL
;
7464 } _resultobj
= Py_BuildValue("l",_result
);
7468 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7469 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
* _resultobj
;
7477 PyObject
* _argo0
= 0;
7478 char *_kwnames
[] = { "self","pos", NULL
};
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) return NULL
;
7502 } Py_INCREF(Py_None
);
7503 _resultobj
= Py_None
;
7506 o
= PyInt_FromLong((long) (*_arg2
));
7507 _resultobj
= t_output_helper(_resultobj
, o
);
7511 o
= PyInt_FromLong((long) (*_arg3
));
7512 _resultobj
= t_output_helper(_resultobj
, o
);
7517 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7518 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7519 PyObject
* _resultobj
;
7522 PyObject
* _argo0
= 0;
7523 char *_kwnames
[] = { "self","pos", NULL
};
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) return NULL
;
7541 } Py_INCREF(Py_None
);
7542 _resultobj
= Py_None
;
7546 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7547 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
* _resultobj
;
7550 PyObject
* _argo0
= 0;
7551 char *_kwnames
[] = { "self", NULL
};
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 wxTextCtrl_Copy(_arg0
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) return NULL
;
7569 } Py_INCREF(Py_None
);
7570 _resultobj
= Py_None
;
7574 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7575 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
* _resultobj
;
7578 PyObject
* _argo0
= 0;
7579 char *_kwnames
[] = { "self", NULL
};
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 wxTextCtrl_Cut(_arg0
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) return NULL
;
7597 } Py_INCREF(Py_None
);
7598 _resultobj
= Py_None
;
7602 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7603 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
* _resultobj
;
7606 PyObject
* _argo0
= 0;
7607 char *_kwnames
[] = { "self", NULL
};
7610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
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_Paste. Expected _wxTextCtrl_p.");
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 wxTextCtrl_Paste(_arg0
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) return NULL
;
7625 } Py_INCREF(Py_None
);
7626 _resultobj
= Py_None
;
7630 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7631 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
* _resultobj
;
7635 PyObject
* _argo0
= 0;
7636 char *_kwnames
[] = { "self", NULL
};
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) return NULL
;
7654 } _resultobj
= Py_BuildValue("i",_result
);
7658 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7659 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
* _resultobj
;
7663 PyObject
* _argo0
= 0;
7664 char *_kwnames
[] = { "self", NULL
};
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) return NULL
;
7682 } _resultobj
= Py_BuildValue("i",_result
);
7686 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7687 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
* _resultobj
;
7691 PyObject
* _argo0
= 0;
7692 char *_kwnames
[] = { "self", NULL
};
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) return NULL
;
7710 } _resultobj
= Py_BuildValue("i",_result
);
7714 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7715 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
* _resultobj
;
7718 PyObject
* _argo0
= 0;
7719 char *_kwnames
[] = { "self", NULL
};
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 wxTextCtrl_Undo(_arg0
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) return NULL
;
7737 } Py_INCREF(Py_None
);
7738 _resultobj
= Py_None
;
7742 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7743 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
* _resultobj
;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self", NULL
};
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 wxTextCtrl_Redo(_arg0
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) return NULL
;
7765 } Py_INCREF(Py_None
);
7766 _resultobj
= Py_None
;
7770 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7771 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
* _resultobj
;
7775 PyObject
* _argo0
= 0;
7776 char *_kwnames
[] = { "self", NULL
};
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7792 wxPyEndAllowThreads(__tstate
);
7793 if (PyErr_Occurred()) return NULL
;
7794 } _resultobj
= Py_BuildValue("i",_result
);
7798 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7799 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7803 PyObject
* _argo0
= 0;
7804 char *_kwnames
[] = { "self", NULL
};
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) return NULL
;
7822 } _resultobj
= Py_BuildValue("i",_result
);
7826 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7827 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
* _resultobj
;
7831 PyObject
* _argo0
= 0;
7832 char *_kwnames
[] = { "self","pos", NULL
};
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) return NULL
;
7850 } Py_INCREF(Py_None
);
7851 _resultobj
= Py_None
;
7855 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7856 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7859 PyObject
* _argo0
= 0;
7860 char *_kwnames
[] = { "self", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) return NULL
;
7878 } Py_INCREF(Py_None
);
7879 _resultobj
= Py_None
;
7883 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7884 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
* _resultobj
;
7888 PyObject
* _argo0
= 0;
7889 char *_kwnames
[] = { "self", NULL
};
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) return NULL
;
7907 } _resultobj
= Py_BuildValue("l",_result
);
7911 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7912 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
* _resultobj
;
7916 PyObject
* _argo0
= 0;
7917 char *_kwnames
[] = { "self", NULL
};
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) return NULL
;
7935 } _resultobj
= Py_BuildValue("l",_result
);
7939 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7940 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7945 PyObject
* _argo0
= 0;
7946 char *_kwnames
[] = { "self","from","to", NULL
};
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) return NULL
;
7964 } Py_INCREF(Py_None
);
7965 _resultobj
= Py_None
;
7969 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7970 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
* _resultobj
;
7973 PyObject
* _argo0
= 0;
7974 char *_kwnames
[] = { "self", NULL
};
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 wxTextCtrl_SelectAll(_arg0
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) return NULL
;
7992 } Py_INCREF(Py_None
);
7993 _resultobj
= Py_None
;
7997 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7998 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
* _resultobj
;
8002 PyObject
* _argo0
= 0;
8004 char *_kwnames
[] = { "self","editable", NULL
};
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
8010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
8016 _arg1
= (bool ) tempbool1
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 wxTextCtrl_SetEditable(_arg0
,_arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) return NULL
;
8023 } Py_INCREF(Py_None
);
8024 _resultobj
= Py_None
;
8028 #define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8029 static PyObject
*_wrap_wxTextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
* _resultobj
;
8033 PyObject
* _argo0
= 0;
8034 char *_kwnames
[] = { "self", NULL
};
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsSingleLine",_kwnames
,&_argo0
))
8040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 _result
= (bool )wxTextCtrl_IsSingleLine(_arg0
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) return NULL
;
8052 } _resultobj
= Py_BuildValue("i",_result
);
8056 #define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8057 static PyObject
*_wrap_wxTextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
* _resultobj
;
8061 PyObject
* _argo0
= 0;
8062 char *_kwnames
[] = { "self", NULL
};
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsMultiLine",_kwnames
,&_argo0
))
8068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 _result
= (bool )wxTextCtrl_IsMultiLine(_arg0
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) return NULL
;
8080 } _resultobj
= Py_BuildValue("i",_result
);
8084 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
8085 self
->AppendText(text
);
8087 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8091 PyObject
* _argo0
= 0;
8092 PyObject
* _obj1
= 0;
8093 char *_kwnames
[] = { "self","text", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8106 _arg1
= wxString_in_helper(_obj1
);
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 wxTextCtrl_write(_arg0
,*_arg1
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) return NULL
;
8116 } Py_INCREF(Py_None
);
8117 _resultobj
= Py_None
;
8125 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
8126 return self
->GetValue().Mid(from
, to
- from
);
8128 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
* _resultobj
;
8134 PyObject
* _argo0
= 0;
8135 char *_kwnames
[] = { "self","from","to", NULL
};
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) return NULL
;
8155 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8157 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8166 static void *SwigwxScrollBarTowxControl(void *ptr
) {
8169 src
= (wxScrollBar
*) ptr
;
8170 dest
= (wxControl
*) src
;
8171 return (void *) dest
;
8174 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
8177 src
= (wxScrollBar
*) ptr
;
8178 dest
= (wxWindow
*) src
;
8179 return (void *) dest
;
8182 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
8185 src
= (wxScrollBar
*) ptr
;
8186 dest
= (wxEvtHandler
*) src
;
8187 return (void *) dest
;
8190 static void *SwigwxScrollBarTowxObject(void *ptr
) {
8193 src
= (wxScrollBar
*) ptr
;
8194 dest
= (wxObject
*) src
;
8195 return (void *) dest
;
8198 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8199 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
* _resultobj
;
8201 wxScrollBar
* _result
;
8203 wxWindowID _arg1
= (wxWindowID
) -1;
8204 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8205 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8206 long _arg4
= (long ) wxSB_HORIZONTAL
;
8207 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
8208 wxString
* _arg6
= (wxString
*) &wxPyScrollBarNameStr
;
8209 PyObject
* _argo0
= 0;
8211 PyObject
* _obj2
= 0;
8213 PyObject
* _obj3
= 0;
8214 PyObject
* _argo5
= 0;
8215 PyObject
* _obj6
= 0;
8216 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
8223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8232 if (! wxPoint_helper(_obj2
, &_arg2
))
8238 if (! wxSize_helper(_obj3
, &_arg3
))
8242 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8243 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
8244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8250 _arg6
= wxString_in_helper(_obj6
);
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) return NULL
;
8261 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8262 _resultobj
= Py_BuildValue("s",_ptemp
);
8265 _resultobj
= Py_None
;
8274 #define new_wxPreScrollBar() (new wxScrollBar())
8275 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
* _resultobj
;
8277 wxScrollBar
* _result
;
8278 char *_kwnames
[] = { NULL
};
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 _result
= (wxScrollBar
*)new_wxPreScrollBar();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) return NULL
;
8291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8292 _resultobj
= Py_BuildValue("s",_ptemp
);
8295 _resultobj
= Py_None
;
8300 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8301 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
* _resultobj
;
8304 wxScrollBar
* _arg0
;
8306 wxWindowID _arg2
= (wxWindowID
) -1;
8307 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8308 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8309 long _arg5
= (long ) wxSB_HORIZONTAL
;
8310 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8311 wxString
* _arg7
= (wxString
*) &wxPyScrollBarNameStr
;
8312 PyObject
* _argo0
= 0;
8313 PyObject
* _argo1
= 0;
8315 PyObject
* _obj3
= 0;
8317 PyObject
* _obj4
= 0;
8318 PyObject
* _argo6
= 0;
8319 PyObject
* _obj7
= 0;
8320 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
8326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8342 if (! wxPoint_helper(_obj3
, &_arg3
))
8348 if (! wxSize_helper(_obj4
, &_arg4
))
8352 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8353 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8360 _arg7
= wxString_in_helper(_obj7
);
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) return NULL
;
8370 } _resultobj
= Py_BuildValue("i",_result
);
8378 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8379 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
* _resultobj
;
8382 wxScrollBar
* _arg0
;
8383 PyObject
* _argo0
= 0;
8384 char *_kwnames
[] = { "self", NULL
};
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8398 _result
= (int )wxScrollBar_GetRange(_arg0
);
8400 wxPyEndAllowThreads(__tstate
);
8401 if (PyErr_Occurred()) return NULL
;
8402 } _resultobj
= Py_BuildValue("i",_result
);
8406 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8407 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
* _resultobj
;
8410 wxScrollBar
* _arg0
;
8411 PyObject
* _argo0
= 0;
8412 char *_kwnames
[] = { "self", NULL
};
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) return NULL
;
8430 } _resultobj
= Py_BuildValue("i",_result
);
8434 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8435 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
* _resultobj
;
8438 wxScrollBar
* _arg0
;
8439 PyObject
* _argo0
= 0;
8440 char *_kwnames
[] = { "self", NULL
};
8443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) return NULL
;
8458 } _resultobj
= Py_BuildValue("i",_result
);
8462 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8463 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
* _resultobj
;
8466 wxScrollBar
* _arg0
;
8467 PyObject
* _argo0
= 0;
8468 char *_kwnames
[] = { "self", NULL
};
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8482 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) return NULL
;
8486 } _resultobj
= Py_BuildValue("i",_result
);
8490 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8491 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
* _resultobj
;
8494 wxScrollBar
* _arg0
;
8495 PyObject
* _argo0
= 0;
8496 char *_kwnames
[] = { "self", NULL
};
8499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) return NULL
;
8514 } _resultobj
= Py_BuildValue("i",_result
);
8518 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8519 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
* _resultobj
;
8521 wxScrollBar
* _arg0
;
8523 PyObject
* _argo0
= 0;
8524 char *_kwnames
[] = { "self","viewStart", NULL
};
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) return NULL
;
8542 } Py_INCREF(Py_None
);
8543 _resultobj
= Py_None
;
8547 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8548 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
* _resultobj
;
8550 wxScrollBar
* _arg0
;
8555 bool _arg5
= (bool ) TRUE
;
8556 PyObject
* _argo0
= 0;
8557 int tempbool5
= (int) TRUE
;
8558 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8570 _arg5
= (bool ) tempbool5
;
8572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8573 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) return NULL
;
8577 } Py_INCREF(Py_None
);
8578 _resultobj
= Py_None
;
8582 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8585 src
= (wxSpinButton
*) ptr
;
8586 dest
= (wxControl
*) src
;
8587 return (void *) dest
;
8590 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8593 src
= (wxSpinButton
*) ptr
;
8594 dest
= (wxWindow
*) src
;
8595 return (void *) dest
;
8598 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8601 src
= (wxSpinButton
*) ptr
;
8602 dest
= (wxEvtHandler
*) src
;
8603 return (void *) dest
;
8606 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8609 src
= (wxSpinButton
*) ptr
;
8610 dest
= (wxObject
*) src
;
8611 return (void *) dest
;
8614 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8615 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8616 PyObject
* _resultobj
;
8617 wxSpinButton
* _result
;
8619 wxWindowID _arg1
= (wxWindowID
) -1;
8620 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8621 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8622 long _arg4
= (long ) wxSP_HORIZONTAL
;
8623 wxString
* _arg5
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8624 PyObject
* _argo0
= 0;
8626 PyObject
* _obj2
= 0;
8628 PyObject
* _obj3
= 0;
8629 PyObject
* _obj5
= 0;
8630 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
8637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8646 if (! wxPoint_helper(_obj2
, &_arg2
))
8652 if (! wxSize_helper(_obj3
, &_arg3
))
8657 _arg5
= wxString_in_helper(_obj5
);
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) return NULL
;
8668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8669 _resultobj
= Py_BuildValue("s",_ptemp
);
8672 _resultobj
= Py_None
;
8681 #define new_wxPreSpinButton() (new wxSpinButton())
8682 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
* _resultobj
;
8684 wxSpinButton
* _result
;
8685 char *_kwnames
[] = { NULL
};
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) return NULL
;
8698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8699 _resultobj
= Py_BuildValue("s",_ptemp
);
8702 _resultobj
= Py_None
;
8707 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8708 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
* _resultobj
;
8711 wxSpinButton
* _arg0
;
8713 wxWindowID _arg2
= (wxWindowID
) -1;
8714 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8715 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8716 long _arg5
= (long ) wxSP_HORIZONTAL
;
8717 wxString
* _arg6
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8718 PyObject
* _argo0
= 0;
8719 PyObject
* _argo1
= 0;
8721 PyObject
* _obj3
= 0;
8723 PyObject
* _obj4
= 0;
8724 PyObject
* _obj6
= 0;
8725 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8738 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8739 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8747 if (! wxPoint_helper(_obj3
, &_arg3
))
8753 if (! wxSize_helper(_obj4
, &_arg4
))
8758 _arg6
= wxString_in_helper(_obj6
);
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) return NULL
;
8768 } _resultobj
= Py_BuildValue("i",_result
);
8776 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8777 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
* _resultobj
;
8780 wxSpinButton
* _arg0
;
8781 PyObject
* _argo0
= 0;
8782 char *_kwnames
[] = { "self", NULL
};
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 _result
= (int )wxSpinButton_GetMax(_arg0
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) return NULL
;
8800 } _resultobj
= Py_BuildValue("i",_result
);
8804 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8805 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
* _resultobj
;
8808 wxSpinButton
* _arg0
;
8809 PyObject
* _argo0
= 0;
8810 char *_kwnames
[] = { "self", NULL
};
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 _result
= (int )wxSpinButton_GetMin(_arg0
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) return NULL
;
8828 } _resultobj
= Py_BuildValue("i",_result
);
8832 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8833 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8834 PyObject
* _resultobj
;
8836 wxSpinButton
* _arg0
;
8837 PyObject
* _argo0
= 0;
8838 char *_kwnames
[] = { "self", NULL
};
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 _result
= (int )wxSpinButton_GetValue(_arg0
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) return NULL
;
8856 } _resultobj
= Py_BuildValue("i",_result
);
8860 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8861 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
* _resultobj
;
8863 wxSpinButton
* _arg0
;
8866 PyObject
* _argo0
= 0;
8867 char *_kwnames
[] = { "self","min","max", NULL
};
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) return NULL
;
8885 } Py_INCREF(Py_None
);
8886 _resultobj
= Py_None
;
8890 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8891 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
* _resultobj
;
8893 wxSpinButton
* _arg0
;
8895 PyObject
* _argo0
= 0;
8896 char *_kwnames
[] = { "self","value", NULL
};
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 wxSpinButton_SetValue(_arg0
,_arg1
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) return NULL
;
8914 } Py_INCREF(Py_None
);
8915 _resultobj
= Py_None
;
8919 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8920 wxStaticBitmap
*src
;
8922 src
= (wxStaticBitmap
*) ptr
;
8923 dest
= (wxControl
*) src
;
8924 return (void *) dest
;
8927 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8928 wxStaticBitmap
*src
;
8930 src
= (wxStaticBitmap
*) ptr
;
8931 dest
= (wxWindow
*) src
;
8932 return (void *) dest
;
8935 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8936 wxStaticBitmap
*src
;
8938 src
= (wxStaticBitmap
*) ptr
;
8939 dest
= (wxEvtHandler
*) src
;
8940 return (void *) dest
;
8943 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8944 wxStaticBitmap
*src
;
8946 src
= (wxStaticBitmap
*) ptr
;
8947 dest
= (wxObject
*) src
;
8948 return (void *) dest
;
8951 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8952 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
* _resultobj
;
8954 wxStaticBitmap
* _result
;
8958 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8959 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8960 long _arg5
= (long ) 0;
8961 wxString
* _arg6
= (wxString
*) &wxPyStaticBitmapNameStr
;
8962 PyObject
* _argo0
= 0;
8963 PyObject
* _argo2
= 0;
8965 PyObject
* _obj3
= 0;
8967 PyObject
* _obj4
= 0;
8968 PyObject
* _obj6
= 0;
8969 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8983 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8984 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8992 if (! wxPoint_helper(_obj3
, &_arg3
))
8998 if (! wxSize_helper(_obj4
, &_arg4
))
9003 _arg6
= wxString_in_helper(_obj6
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) return NULL
;
9014 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
9015 _resultobj
= Py_BuildValue("s",_ptemp
);
9018 _resultobj
= Py_None
;
9027 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
9028 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
* _resultobj
;
9030 wxStaticBitmap
* _result
;
9031 char *_kwnames
[] = { NULL
};
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) return NULL
;
9044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
9045 _resultobj
= Py_BuildValue("s",_ptemp
);
9048 _resultobj
= Py_None
;
9053 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9054 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
* _resultobj
;
9057 wxStaticBitmap
* _arg0
;
9061 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9062 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9063 long _arg6
= (long ) 0;
9064 wxString
* _arg7
= (wxString
*) &wxPyStaticBitmapNameStr
;
9065 PyObject
* _argo0
= 0;
9066 PyObject
* _argo1
= 0;
9067 PyObject
* _argo3
= 0;
9069 PyObject
* _obj4
= 0;
9071 PyObject
* _obj5
= 0;
9072 PyObject
* _obj7
= 0;
9073 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
9086 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9087 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
9093 if (_argo3
== Py_None
) { _arg3
= NULL
; }
9094 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
9095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9102 if (! wxPoint_helper(_obj4
, &_arg4
))
9108 if (! wxSize_helper(_obj5
, &_arg5
))
9113 _arg7
= wxString_in_helper(_obj7
);
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) return NULL
;
9123 } _resultobj
= Py_BuildValue("i",_result
);
9131 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
9132 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
* _resultobj
;
9135 wxStaticBitmap
* _arg0
;
9136 PyObject
* _argo0
= 0;
9137 char *_kwnames
[] = { "self", NULL
};
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
9144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) return NULL
;
9156 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
9157 _resultobj
= Py_BuildValue("s",_ptemp
);
9161 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
9162 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
* _resultobj
;
9164 wxStaticBitmap
* _arg0
;
9166 PyObject
* _argo0
= 0;
9167 PyObject
* _argo1
= 0;
9168 char *_kwnames
[] = { "self","bitmap", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
9174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9181 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9182 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
9183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) return NULL
;
9193 } Py_INCREF(Py_None
);
9194 _resultobj
= Py_None
;
9198 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
9199 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
* _resultobj
;
9201 wxStaticBitmap
* _arg0
;
9203 PyObject
* _argo0
= 0;
9204 PyObject
* _argo1
= 0;
9205 char *_kwnames
[] = { "self","icon", NULL
};
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
9211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
9213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9218 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9219 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
9220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) return NULL
;
9230 } Py_INCREF(Py_None
);
9231 _resultobj
= Py_None
;
9235 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
9238 src
= (wxRadioBox
*) ptr
;
9239 dest
= (wxControl
*) src
;
9240 return (void *) dest
;
9243 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
9246 src
= (wxRadioBox
*) ptr
;
9247 dest
= (wxWindow
*) src
;
9248 return (void *) dest
;
9251 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
9254 src
= (wxRadioBox
*) ptr
;
9255 dest
= (wxEvtHandler
*) src
;
9256 return (void *) dest
;
9259 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
9262 src
= (wxRadioBox
*) ptr
;
9263 dest
= (wxObject
*) src
;
9264 return (void *) dest
;
9267 #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))
9268 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
* _resultobj
;
9270 wxRadioBox
* _result
;
9274 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9275 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9276 int _arg5
= (int ) 0;
9277 wxString
* _arg6
= (wxString
*) NULL
;
9278 int _arg7
= (int ) 0;
9279 long _arg8
= (long ) wxRA_HORIZONTAL
;
9280 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9281 wxString
* _arg10
= (wxString
*) &wxPyRadioBoxNameStr
;
9282 PyObject
* _argo0
= 0;
9283 PyObject
* _obj2
= 0;
9285 PyObject
* _obj3
= 0;
9287 PyObject
* _obj4
= 0;
9288 PyObject
* _obj6
= 0;
9289 PyObject
* _argo9
= 0;
9290 PyObject
* _obj10
= 0;
9291 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOO:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_obj10
))
9298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9305 _arg2
= wxString_in_helper(_obj2
);
9312 if (! wxPoint_helper(_obj3
, &_arg3
))
9318 if (! wxSize_helper(_obj4
, &_arg4
))
9323 _arg6
= wxString_LIST_helper(_obj6
);
9324 if (_arg6
== NULL
) {
9329 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9330 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9337 _arg10
= wxString_in_helper(_obj10
);
9343 _arg5
= PyList_Size(_obj6
);
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) return NULL
;
9356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9357 _resultobj
= Py_BuildValue("s",_ptemp
);
9360 _resultobj
= Py_None
;
9376 #define new_wxPreRadioBox() (new wxRadioBox())
9377 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
* _resultobj
;
9379 wxRadioBox
* _result
;
9380 char *_kwnames
[] = { NULL
};
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) return NULL
;
9393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9394 _resultobj
= Py_BuildValue("s",_ptemp
);
9397 _resultobj
= Py_None
;
9402 #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))
9403 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
* _resultobj
;
9410 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9411 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9412 int _arg6
= (int ) 0;
9413 wxString
* _arg7
= (wxString
*) NULL
;
9414 int _arg8
= (int ) 0;
9415 long _arg9
= (long ) wxRA_HORIZONTAL
;
9416 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9417 wxString
* _arg11
= (wxString
*) &wxPyRadioBoxNameStr
;
9418 PyObject
* _argo0
= 0;
9419 PyObject
* _argo1
= 0;
9420 PyObject
* _obj3
= 0;
9422 PyObject
* _obj4
= 0;
9424 PyObject
* _obj5
= 0;
9425 PyObject
* _obj7
= 0;
9426 PyObject
* _argo10
= 0;
9427 PyObject
* _obj11
= 0;
9428 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_obj11
))
9434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9448 _arg3
= wxString_in_helper(_obj3
);
9455 if (! wxPoint_helper(_obj4
, &_arg4
))
9461 if (! wxSize_helper(_obj5
, &_arg5
))
9466 _arg7
= wxString_LIST_helper(_obj7
);
9467 if (_arg7
== NULL
) {
9472 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9473 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9480 _arg11
= wxString_in_helper(_obj11
);
9486 _arg6
= PyList_Size(_obj7
);
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,*_arg11
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) return NULL
;
9498 } _resultobj
= Py_BuildValue("i",_result
);
9513 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9514 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
* _resultobj
;
9518 PyObject
* _argo0
= 0;
9520 char *_kwnames
[] = { "self","enable", NULL
};
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9532 _arg1
= (bool ) tempbool1
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 wxRadioBox_Enable(_arg0
,_arg1
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) return NULL
;
9539 } Py_INCREF(Py_None
);
9540 _resultobj
= Py_None
;
9544 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9545 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
* _resultobj
;
9550 PyObject
* _argo0
= 0;
9552 char *_kwnames
[] = { "self","n","enable", NULL
};
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9564 _arg2
= (bool ) tempbool2
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) return NULL
;
9571 } Py_INCREF(Py_None
);
9572 _resultobj
= Py_None
;
9576 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9577 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
* _resultobj
;
9582 PyObject
* _argo0
= 0;
9583 PyObject
* _obj1
= 0;
9584 char *_kwnames
[] = { "self","string", NULL
};
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9597 _arg1
= wxString_in_helper(_obj1
);
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) return NULL
;
9607 } _resultobj
= Py_BuildValue("i",_result
);
9615 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9616 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
* _resultobj
;
9621 PyObject
* _argo0
= 0;
9622 char *_kwnames
[] = { "self","n", NULL
};
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) return NULL
;
9642 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9644 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9653 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9654 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
* _resultobj
;
9659 PyObject
* _argo0
= 0;
9660 char *_kwnames
[] = { "self","item", NULL
};
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
9666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) return NULL
;
9680 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9682 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9691 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9692 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
* _resultobj
;
9697 PyObject
* _argo0
= 0;
9698 PyObject
* _obj2
= 0;
9699 char *_kwnames
[] = { "self","item","label", NULL
};
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9712 _arg2
= wxString_in_helper(_obj2
);
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) return NULL
;
9722 } Py_INCREF(Py_None
);
9723 _resultobj
= Py_None
;
9731 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9732 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
* _resultobj
;
9736 PyObject
* _argo0
= 0;
9737 char *_kwnames
[] = { "self", NULL
};
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) return NULL
;
9755 } _resultobj
= Py_BuildValue("i",_result
);
9759 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9760 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
* _resultobj
;
9764 PyObject
* _argo0
= 0;
9765 char *_kwnames
[] = { "self", NULL
};
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) return NULL
;
9785 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9787 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9796 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9797 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
* _resultobj
;
9801 PyObject
* _argo0
= 0;
9802 char *_kwnames
[] = { "self", NULL
};
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 _result
= (int )wxRadioBox_GetCount(_arg0
);
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) return NULL
;
9820 } _resultobj
= Py_BuildValue("i",_result
);
9824 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9825 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9826 PyObject
* _resultobj
;
9829 PyObject
* _argo0
= 0;
9830 char *_kwnames
[] = { "self","n", NULL
};
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 wxRadioBox_SetSelection(_arg0
,_arg1
);
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) return NULL
;
9848 } Py_INCREF(Py_None
);
9849 _resultobj
= Py_None
;
9853 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9854 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
* _resultobj
;
9858 PyObject
* _argo0
= 0;
9859 PyObject
* _obj1
= 0;
9860 char *_kwnames
[] = { "self","string", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9873 _arg1
= wxString_in_helper(_obj1
);
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) return NULL
;
9883 } Py_INCREF(Py_None
);
9884 _resultobj
= Py_None
;
9892 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9893 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
* _resultobj
;
9897 PyObject
* _argo0
= 0;
9899 char *_kwnames
[] = { "self","show", NULL
};
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9911 _arg1
= (bool ) tempbool1
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 wxRadioBox_Show(_arg0
,_arg1
);
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) return NULL
;
9918 } Py_INCREF(Py_None
);
9919 _resultobj
= Py_None
;
9923 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9924 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
* _resultobj
;
9929 PyObject
* _argo0
= 0;
9931 char *_kwnames
[] = { "self","item","show", NULL
};
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9943 _arg2
= (bool ) tempbool2
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) return NULL
;
9950 } Py_INCREF(Py_None
);
9951 _resultobj
= Py_None
;
9955 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9958 src
= (wxRadioButton
*) ptr
;
9959 dest
= (wxControl
*) src
;
9960 return (void *) dest
;
9963 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9966 src
= (wxRadioButton
*) ptr
;
9967 dest
= (wxWindow
*) src
;
9968 return (void *) dest
;
9971 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9974 src
= (wxRadioButton
*) ptr
;
9975 dest
= (wxEvtHandler
*) src
;
9976 return (void *) dest
;
9979 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9982 src
= (wxRadioButton
*) ptr
;
9983 dest
= (wxObject
*) src
;
9984 return (void *) dest
;
9987 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9988 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
* _resultobj
;
9990 wxRadioButton
* _result
;
9994 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9995 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9996 long _arg5
= (long ) 0;
9997 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9998 wxString
* _arg7
= (wxString
*) &wxPyRadioButtonNameStr
;
9999 PyObject
* _argo0
= 0;
10000 PyObject
* _obj2
= 0;
10002 PyObject
* _obj3
= 0;
10004 PyObject
* _obj4
= 0;
10005 PyObject
* _argo6
= 0;
10006 PyObject
* _obj7
= 0;
10007 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
10014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10021 _arg2
= wxString_in_helper(_obj2
);
10028 if (! wxPoint_helper(_obj3
, &_arg3
))
10034 if (! wxSize_helper(_obj4
, &_arg4
))
10038 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10039 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10046 _arg7
= wxString_in_helper(_obj7
);
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) return NULL
;
10057 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
10058 _resultobj
= Py_BuildValue("s",_ptemp
);
10060 Py_INCREF(Py_None
);
10061 _resultobj
= Py_None
;
10074 #define new_wxPreRadioButton() (new wxRadioButton())
10075 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
* _resultobj
;
10077 wxRadioButton
* _result
;
10078 char *_kwnames
[] = { NULL
};
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 _result
= (wxRadioButton
*)new_wxPreRadioButton();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) return NULL
;
10091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
10092 _resultobj
= Py_BuildValue("s",_ptemp
);
10094 Py_INCREF(Py_None
);
10095 _resultobj
= Py_None
;
10100 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10101 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
* _resultobj
;
10104 wxRadioButton
* _arg0
;
10108 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10109 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10110 long _arg6
= (long ) 0;
10111 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
10112 wxString
* _arg8
= (wxString
*) &wxPyRadioButtonNameStr
;
10113 PyObject
* _argo0
= 0;
10114 PyObject
* _argo1
= 0;
10115 PyObject
* _obj3
= 0;
10117 PyObject
* _obj4
= 0;
10119 PyObject
* _obj5
= 0;
10120 PyObject
* _argo7
= 0;
10121 PyObject
* _obj8
= 0;
10122 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
10128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10142 _arg3
= wxString_in_helper(_obj3
);
10149 if (! wxPoint_helper(_obj4
, &_arg4
))
10155 if (! wxSize_helper(_obj5
, &_arg5
))
10159 if (_argo7
== Py_None
) { _arg7
= NULL
; }
10160 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
10161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
10167 _arg8
= wxString_in_helper(_obj8
);
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) return NULL
;
10177 } _resultobj
= Py_BuildValue("i",_result
);
10189 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
10190 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
* _resultobj
;
10193 wxRadioButton
* _arg0
;
10194 PyObject
* _argo0
= 0;
10195 char *_kwnames
[] = { "self", NULL
};
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
10201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10209 _result
= (bool )wxRadioButton_GetValue(_arg0
);
10211 wxPyEndAllowThreads(__tstate
);
10212 if (PyErr_Occurred()) return NULL
;
10213 } _resultobj
= Py_BuildValue("i",_result
);
10217 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10218 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
* _resultobj
;
10220 wxRadioButton
* _arg0
;
10222 PyObject
* _argo0
= 0;
10224 char *_kwnames
[] = { "self","value", NULL
};
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10236 _arg1
= (bool ) tempbool1
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 wxRadioButton_SetValue(_arg0
,_arg1
);
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) return NULL
;
10243 } Py_INCREF(Py_None
);
10244 _resultobj
= Py_None
;
10248 static void *SwigwxSliderTowxControl(void *ptr
) {
10251 src
= (wxSlider
*) ptr
;
10252 dest
= (wxControl
*) src
;
10253 return (void *) dest
;
10256 static void *SwigwxSliderTowxWindow(void *ptr
) {
10259 src
= (wxSlider
*) ptr
;
10260 dest
= (wxWindow
*) src
;
10261 return (void *) dest
;
10264 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10266 wxEvtHandler
*dest
;
10267 src
= (wxSlider
*) ptr
;
10268 dest
= (wxEvtHandler
*) src
;
10269 return (void *) dest
;
10272 static void *SwigwxSliderTowxObject(void *ptr
) {
10275 src
= (wxSlider
*) ptr
;
10276 dest
= (wxObject
*) src
;
10277 return (void *) dest
;
10280 #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))
10281 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
* _resultobj
;
10283 wxSlider
* _result
;
10289 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10290 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10291 long _arg7
= (long ) wxSL_HORIZONTAL
;
10292 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10293 wxString
* _arg9
= (wxString
*) &wxPySliderNameStr
;
10294 PyObject
* _argo0
= 0;
10296 PyObject
* _obj5
= 0;
10298 PyObject
* _obj6
= 0;
10299 PyObject
* _argo8
= 0;
10300 PyObject
* _obj9
= 0;
10301 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOO:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
10308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10317 if (! wxPoint_helper(_obj5
, &_arg5
))
10323 if (! wxSize_helper(_obj6
, &_arg6
))
10327 if (_argo8
== Py_None
) { _arg8
= NULL
; }
10328 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10335 _arg9
= wxString_in_helper(_obj9
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,*_arg9
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) return NULL
;
10346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10347 _resultobj
= Py_BuildValue("s",_ptemp
);
10349 Py_INCREF(Py_None
);
10350 _resultobj
= Py_None
;
10359 #define new_wxPreSlider() (new wxSlider())
10360 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
* _resultobj
;
10362 wxSlider
* _result
;
10363 char *_kwnames
[] = { NULL
};
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 _result
= (wxSlider
*)new_wxPreSlider();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) return NULL
;
10376 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10377 _resultobj
= Py_BuildValue("s",_ptemp
);
10379 Py_INCREF(Py_None
);
10380 _resultobj
= Py_None
;
10385 #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))
10386 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
* _resultobj
;
10395 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10396 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10397 long _arg8
= (long ) wxSL_HORIZONTAL
;
10398 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10399 wxString
* _arg10
= (wxString
*) &wxPySliderNameStr
;
10400 PyObject
* _argo0
= 0;
10401 PyObject
* _argo1
= 0;
10403 PyObject
* _obj6
= 0;
10405 PyObject
* _obj7
= 0;
10406 PyObject
* _argo9
= 0;
10407 PyObject
* _obj10
= 0;
10408 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOO:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
10414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10430 if (! wxPoint_helper(_obj6
, &_arg6
))
10436 if (! wxSize_helper(_obj7
, &_arg7
))
10440 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10441 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10448 _arg10
= wxString_in_helper(_obj10
);
10449 if (_arg10
== NULL
)
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,*_arg10
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) return NULL
;
10458 } _resultobj
= Py_BuildValue("i",_result
);
10466 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10467 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
* _resultobj
;
10470 PyObject
* _argo0
= 0;
10471 char *_kwnames
[] = { "self", NULL
};
10474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 wxSlider_ClearSel(_arg0
);
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) return NULL
;
10489 } Py_INCREF(Py_None
);
10490 _resultobj
= Py_None
;
10494 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10495 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
* _resultobj
;
10498 PyObject
* _argo0
= 0;
10499 char *_kwnames
[] = { "self", NULL
};
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 wxSlider_ClearTicks(_arg0
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) return NULL
;
10517 } Py_INCREF(Py_None
);
10518 _resultobj
= Py_None
;
10522 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10523 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
* _resultobj
;
10527 PyObject
* _argo0
= 0;
10528 char *_kwnames
[] = { "self", NULL
};
10531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 _result
= (int )wxSlider_GetLineSize(_arg0
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) return NULL
;
10546 } _resultobj
= Py_BuildValue("i",_result
);
10550 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10551 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
* _resultobj
;
10555 PyObject
* _argo0
= 0;
10556 char *_kwnames
[] = { "self", NULL
};
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 _result
= (int )wxSlider_GetMax(_arg0
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) return NULL
;
10574 } _resultobj
= Py_BuildValue("i",_result
);
10578 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10579 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
* _resultobj
;
10583 PyObject
* _argo0
= 0;
10584 char *_kwnames
[] = { "self", NULL
};
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 _result
= (int )wxSlider_GetMin(_arg0
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) return NULL
;
10602 } _resultobj
= Py_BuildValue("i",_result
);
10606 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10607 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
* _resultobj
;
10611 PyObject
* _argo0
= 0;
10612 char *_kwnames
[] = { "self", NULL
};
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 _result
= (int )wxSlider_GetPageSize(_arg0
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) return NULL
;
10630 } _resultobj
= Py_BuildValue("i",_result
);
10634 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10635 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
* _resultobj
;
10639 PyObject
* _argo0
= 0;
10640 char *_kwnames
[] = { "self", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) return NULL
;
10658 } _resultobj
= Py_BuildValue("i",_result
);
10662 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10663 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
* _resultobj
;
10667 PyObject
* _argo0
= 0;
10668 char *_kwnames
[] = { "self", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 _result
= (int )wxSlider_GetSelStart(_arg0
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) return NULL
;
10686 } _resultobj
= Py_BuildValue("i",_result
);
10690 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10691 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
* _resultobj
;
10695 PyObject
* _argo0
= 0;
10696 char *_kwnames
[] = { "self", NULL
};
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) return NULL
;
10714 } _resultobj
= Py_BuildValue("i",_result
);
10718 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10719 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
* _resultobj
;
10723 PyObject
* _argo0
= 0;
10724 char *_kwnames
[] = { "self", NULL
};
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) return NULL
;
10742 } _resultobj
= Py_BuildValue("i",_result
);
10746 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10747 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
* _resultobj
;
10751 PyObject
* _argo0
= 0;
10752 char *_kwnames
[] = { "self", NULL
};
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 _result
= (int )wxSlider_GetValue(_arg0
);
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) return NULL
;
10770 } _resultobj
= Py_BuildValue("i",_result
);
10774 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10775 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
* _resultobj
;
10780 PyObject
* _argo0
= 0;
10781 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) return NULL
;
10799 } Py_INCREF(Py_None
);
10800 _resultobj
= Py_None
;
10804 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10805 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
* _resultobj
;
10810 PyObject
* _argo0
= 0;
10811 char *_kwnames
[] = { "self","n","pos", NULL
};
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) return NULL
;
10829 } Py_INCREF(Py_None
);
10830 _resultobj
= Py_None
;
10834 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10835 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
* _resultobj
;
10839 PyObject
* _argo0
= 0;
10840 char *_kwnames
[] = { "self","lineSize", NULL
};
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 wxSlider_SetLineSize(_arg0
,_arg1
);
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) return NULL
;
10858 } Py_INCREF(Py_None
);
10859 _resultobj
= Py_None
;
10863 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10864 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
* _resultobj
;
10868 PyObject
* _argo0
= 0;
10869 char *_kwnames
[] = { "self","pageSize", NULL
};
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 wxSlider_SetPageSize(_arg0
,_arg1
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) return NULL
;
10887 } Py_INCREF(Py_None
);
10888 _resultobj
= Py_None
;
10892 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10893 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
* _resultobj
;
10898 PyObject
* _argo0
= 0;
10899 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) return NULL
;
10917 } Py_INCREF(Py_None
);
10918 _resultobj
= Py_None
;
10922 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10923 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
* _resultobj
;
10927 PyObject
* _argo0
= 0;
10928 char *_kwnames
[] = { "self","len", NULL
};
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 wxSlider_SetThumbLength(_arg0
,_arg1
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) return NULL
;
10946 } Py_INCREF(Py_None
);
10947 _resultobj
= Py_None
;
10951 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10952 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
* _resultobj
;
10956 PyObject
* _argo0
= 0;
10957 char *_kwnames
[] = { "self","tickPos", NULL
};
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 wxSlider_SetTick(_arg0
,_arg1
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) return NULL
;
10975 } Py_INCREF(Py_None
);
10976 _resultobj
= Py_None
;
10980 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10981 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
* _resultobj
;
10985 PyObject
* _argo0
= 0;
10986 char *_kwnames
[] = { "self","value", NULL
};
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 wxSlider_SetValue(_arg0
,_arg1
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) return NULL
;
11004 } Py_INCREF(Py_None
);
11005 _resultobj
= Py_None
;
11009 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
11011 wxSpinButton
*dest
;
11012 src
= (wxSpinCtrl
*) ptr
;
11013 dest
= (wxSpinButton
*) src
;
11014 return (void *) dest
;
11017 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
11020 src
= (wxSpinCtrl
*) ptr
;
11021 dest
= (wxControl
*) src
;
11022 return (void *) dest
;
11025 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
11028 src
= (wxSpinCtrl
*) ptr
;
11029 dest
= (wxWindow
*) src
;
11030 return (void *) dest
;
11033 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
11035 wxEvtHandler
*dest
;
11036 src
= (wxSpinCtrl
*) ptr
;
11037 dest
= (wxEvtHandler
*) src
;
11038 return (void *) dest
;
11041 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
11044 src
= (wxSpinCtrl
*) ptr
;
11045 dest
= (wxObject
*) src
;
11046 return (void *) dest
;
11049 #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))
11050 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
* _resultobj
;
11052 wxSpinCtrl
* _result
;
11054 wxWindowID _arg1
= (wxWindowID
) -1;
11055 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
11056 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11057 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11058 long _arg5
= (long ) wxSP_ARROW_KEYS
;
11059 int _arg6
= (int ) 0;
11060 int _arg7
= (int ) 100;
11061 int _arg8
= (int ) 0;
11062 wxString
* _arg9
= (wxString
*) &wxPySpinCtrlNameStr
;
11063 PyObject
* _argo0
= 0;
11064 PyObject
* _obj2
= 0;
11066 PyObject
* _obj3
= 0;
11068 PyObject
* _obj4
= 0;
11069 PyObject
* _obj9
= 0;
11070 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_obj9
))
11077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11085 _arg2
= wxString_in_helper(_obj2
);
11092 if (! wxPoint_helper(_obj3
, &_arg3
))
11098 if (! wxSize_helper(_obj4
, &_arg4
))
11103 _arg9
= wxString_in_helper(_obj9
);
11108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
);
11111 wxPyEndAllowThreads(__tstate
);
11112 if (PyErr_Occurred()) return NULL
;
11114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
11115 _resultobj
= Py_BuildValue("s",_ptemp
);
11117 Py_INCREF(Py_None
);
11118 _resultobj
= Py_None
;
11131 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
11132 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
* _resultobj
;
11134 wxSpinCtrl
* _result
;
11135 char *_kwnames
[] = { NULL
};
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
11145 wxPyEndAllowThreads(__tstate
);
11146 if (PyErr_Occurred()) return NULL
;
11148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
11149 _resultobj
= Py_BuildValue("s",_ptemp
);
11151 Py_INCREF(Py_None
);
11152 _resultobj
= Py_None
;
11157 #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))
11158 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
* _resultobj
;
11161 wxSpinCtrl
* _arg0
;
11163 wxWindowID _arg2
= (wxWindowID
) -1;
11164 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
11165 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11166 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11167 long _arg6
= (long ) wxSP_ARROW_KEYS
;
11168 int _arg7
= (int ) 0;
11169 int _arg8
= (int ) 100;
11170 int _arg9
= (int ) 0;
11171 wxString
* _arg10
= (wxString
*) &wxPySpinCtrlNameStr
;
11172 PyObject
* _argo0
= 0;
11173 PyObject
* _argo1
= 0;
11174 PyObject
* _obj3
= 0;
11176 PyObject
* _obj4
= 0;
11178 PyObject
* _obj5
= 0;
11179 PyObject
* _obj10
= 0;
11180 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_obj10
))
11186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11193 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11194 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11201 _arg3
= wxString_in_helper(_obj3
);
11208 if (! wxPoint_helper(_obj4
, &_arg4
))
11214 if (! wxSize_helper(_obj5
, &_arg5
))
11219 _arg10
= wxString_in_helper(_obj10
);
11220 if (_arg10
== NULL
)
11224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11225 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
);
11227 wxPyEndAllowThreads(__tstate
);
11228 if (PyErr_Occurred()) return NULL
;
11229 } _resultobj
= Py_BuildValue("i",_result
);
11241 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11242 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
* _resultobj
;
11245 wxSpinCtrl
* _arg0
;
11246 PyObject
* _argo0
= 0;
11247 char *_kwnames
[] = { "self", NULL
};
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
11253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) return NULL
;
11265 } _resultobj
= Py_BuildValue("i",_result
);
11269 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11270 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
* _resultobj
;
11273 wxSpinCtrl
* _arg0
;
11274 PyObject
* _argo0
= 0;
11275 char *_kwnames
[] = { "self", NULL
};
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
11281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) return NULL
;
11293 } _resultobj
= Py_BuildValue("i",_result
);
11297 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11298 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
* _resultobj
;
11301 wxSpinCtrl
* _arg0
;
11302 PyObject
* _argo0
= 0;
11303 char *_kwnames
[] = { "self", NULL
};
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
11309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) return NULL
;
11321 } _resultobj
= Py_BuildValue("i",_result
);
11325 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11326 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
* _resultobj
;
11328 wxSpinCtrl
* _arg0
;
11331 PyObject
* _argo0
= 0;
11332 char *_kwnames
[] = { "self","min","max", NULL
};
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) return NULL
;
11350 } Py_INCREF(Py_None
);
11351 _resultobj
= Py_None
;
11355 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11356 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
* _resultobj
;
11358 wxSpinCtrl
* _arg0
;
11360 PyObject
* _argo0
= 0;
11361 char *_kwnames
[] = { "self","value", NULL
};
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) return NULL
;
11379 } Py_INCREF(Py_None
);
11380 _resultobj
= Py_None
;
11384 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
11385 wxToggleButton
*src
;
11387 src
= (wxToggleButton
*) ptr
;
11388 dest
= (wxControl
*) src
;
11389 return (void *) dest
;
11392 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
11393 wxToggleButton
*src
;
11395 src
= (wxToggleButton
*) ptr
;
11396 dest
= (wxWindow
*) src
;
11397 return (void *) dest
;
11400 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
11401 wxToggleButton
*src
;
11402 wxEvtHandler
*dest
;
11403 src
= (wxToggleButton
*) ptr
;
11404 dest
= (wxEvtHandler
*) src
;
11405 return (void *) dest
;
11408 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
11409 wxToggleButton
*src
;
11411 src
= (wxToggleButton
*) ptr
;
11412 dest
= (wxObject
*) src
;
11413 return (void *) dest
;
11416 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11417 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
* _resultobj
;
11419 wxToggleButton
* _result
;
11423 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11424 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11425 long _arg5
= (long ) 0;
11426 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
11427 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
11428 PyObject
* _argo0
= 0;
11429 PyObject
* _obj2
= 0;
11431 PyObject
* _obj3
= 0;
11433 PyObject
* _obj4
= 0;
11434 PyObject
* _argo6
= 0;
11435 PyObject
* _obj7
= 0;
11436 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
11443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11450 _arg2
= wxString_in_helper(_obj2
);
11457 if (! wxPoint_helper(_obj3
, &_arg3
))
11463 if (! wxSize_helper(_obj4
, &_arg4
))
11467 if (_argo6
== Py_None
) { _arg6
= NULL
; }
11468 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11475 _arg7
= wxString_in_helper(_obj7
);
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) return NULL
;
11486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11487 _resultobj
= Py_BuildValue("s",_ptemp
);
11489 Py_INCREF(Py_None
);
11490 _resultobj
= Py_None
;
11503 #define new_wxPreToggleButton() (new wxToggleButton())
11504 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
* _resultobj
;
11506 wxToggleButton
* _result
;
11507 char *_kwnames
[] = { NULL
};
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) return NULL
;
11520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11521 _resultobj
= Py_BuildValue("s",_ptemp
);
11523 Py_INCREF(Py_None
);
11524 _resultobj
= Py_None
;
11529 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11530 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
* _resultobj
;
11533 wxToggleButton
* _arg0
;
11537 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11538 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11539 long _arg6
= (long ) 0;
11540 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11541 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
11542 PyObject
* _argo0
= 0;
11543 PyObject
* _argo1
= 0;
11544 PyObject
* _obj3
= 0;
11546 PyObject
* _obj4
= 0;
11548 PyObject
* _obj5
= 0;
11549 PyObject
* _argo7
= 0;
11550 PyObject
* _obj8
= 0;
11551 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
11557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11564 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11565 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11571 _arg3
= wxString_in_helper(_obj3
);
11578 if (! wxPoint_helper(_obj4
, &_arg4
))
11584 if (! wxSize_helper(_obj5
, &_arg5
))
11588 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11589 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11596 _arg8
= wxString_in_helper(_obj8
);
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) return NULL
;
11606 } _resultobj
= Py_BuildValue("i",_result
);
11618 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11619 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
* _resultobj
;
11621 wxToggleButton
* _arg0
;
11623 PyObject
* _argo0
= 0;
11625 char *_kwnames
[] = { "self","value", NULL
};
11628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11637 _arg1
= (bool ) tempbool1
;
11639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11640 wxToggleButton_SetValue(_arg0
,_arg1
);
11642 wxPyEndAllowThreads(__tstate
);
11643 if (PyErr_Occurred()) return NULL
;
11644 } Py_INCREF(Py_None
);
11645 _resultobj
= Py_None
;
11649 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11650 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
* _resultobj
;
11653 wxToggleButton
* _arg0
;
11654 PyObject
* _argo0
= 0;
11655 char *_kwnames
[] = { "self", NULL
};
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) return NULL
;
11673 } _resultobj
= Py_BuildValue("i",_result
);
11677 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11678 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
* _resultobj
;
11680 wxToggleButton
* _arg0
;
11682 PyObject
* _argo0
= 0;
11683 PyObject
* _obj1
= 0;
11684 char *_kwnames
[] = { "self","label", NULL
};
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11697 _arg1
= wxString_in_helper(_obj1
);
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) return NULL
;
11707 } Py_INCREF(Py_None
);
11708 _resultobj
= Py_None
;
11716 static PyMethodDef controlscMethods
[] = {
11717 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11735 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11736 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11737 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11738 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11739 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11740 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11741 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11742 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11743 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11744 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11745 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11746 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11747 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11748 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11749 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11750 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11751 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11752 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11753 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11754 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11755 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11756 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11757 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11758 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11759 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11760 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11761 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11762 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11763 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11764 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11765 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11766 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11767 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11768 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11769 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11770 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11771 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11772 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11773 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11774 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11775 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11776 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11777 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11778 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11779 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11780 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11781 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11782 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11783 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11784 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11785 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11786 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11787 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11788 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11789 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11790 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11791 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11792 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11793 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11794 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11795 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11796 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11797 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11798 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11799 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11800 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11801 { "wxTextCtrl_IsMultiLine", (PyCFunction
) _wrap_wxTextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
11802 { "wxTextCtrl_IsSingleLine", (PyCFunction
) _wrap_wxTextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
11803 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11804 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11805 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11806 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11807 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11808 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11809 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11810 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11811 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11812 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11813 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11814 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11815 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11816 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11817 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11818 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11819 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11820 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11821 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11822 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11823 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11824 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11825 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11826 { "wxTextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_wxTextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
11827 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11828 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11829 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11830 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11831 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11832 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11833 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11834 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11835 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11836 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11837 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11838 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11839 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11840 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11841 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11842 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11843 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11844 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11845 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11846 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11847 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11848 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11849 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11850 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11851 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11852 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11853 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11854 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11855 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11856 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11857 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11858 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11859 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11860 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11861 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11862 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11863 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11864 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11865 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11866 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11867 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11868 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11869 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11870 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11871 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11872 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11873 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11874 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11875 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11876 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11877 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11878 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11879 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11880 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11881 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11882 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11883 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11884 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11885 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11886 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11887 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11888 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11889 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11890 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11891 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11892 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11893 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11894 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11895 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11896 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11897 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11898 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11899 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11900 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11901 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11902 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11903 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11904 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11905 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11906 { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11907 { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11908 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11909 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11910 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11911 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11912 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11913 { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11914 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11915 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11916 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11917 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11918 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11919 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11920 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11921 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11922 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11923 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11924 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11925 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11926 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11927 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11928 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11929 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11930 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11931 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11932 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11933 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11934 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11935 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11936 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11937 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11938 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11939 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11940 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11941 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11942 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11943 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11944 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11945 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11946 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11947 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11948 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11949 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11950 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11951 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11952 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11953 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11954 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11955 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11956 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11957 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11958 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11959 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11960 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11961 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11962 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11963 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11964 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11965 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11966 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11967 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11968 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11969 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11970 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11971 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11972 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11973 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11974 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11975 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11976 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11977 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11978 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11979 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11980 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11981 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11982 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11983 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11984 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11985 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11992 * This table is used by the pointer type-checker
11994 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11995 { "_signed_long","_long",0},
11996 { "_wxPrintQuality","_wxCoord",0},
11997 { "_wxPrintQuality","_int",0},
11998 { "_wxPrintQuality","_signed_int",0},
11999 { "_wxPrintQuality","_unsigned_int",0},
12000 { "_wxPrintQuality","_wxWindowID",0},
12001 { "_wxPrintQuality","_uint",0},
12002 { "_wxPrintQuality","_EBool",0},
12003 { "_wxPrintQuality","_size_t",0},
12004 { "_wxPrintQuality","_time_t",0},
12005 { "_byte","_unsigned_char",0},
12006 { "_long","_unsigned_long",0},
12007 { "_long","_signed_long",0},
12008 { "_size_t","_wxCoord",0},
12009 { "_size_t","_wxPrintQuality",0},
12010 { "_size_t","_time_t",0},
12011 { "_size_t","_unsigned_int",0},
12012 { "_size_t","_int",0},
12013 { "_size_t","_wxWindowID",0},
12014 { "_size_t","_uint",0},
12015 { "_uint","_wxCoord",0},
12016 { "_uint","_wxPrintQuality",0},
12017 { "_uint","_time_t",0},
12018 { "_uint","_size_t",0},
12019 { "_uint","_unsigned_int",0},
12020 { "_uint","_int",0},
12021 { "_uint","_wxWindowID",0},
12022 { "_wxChar","_char",0},
12023 { "_char","_wxChar",0},
12024 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
12025 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12026 { "_EBool","_wxCoord",0},
12027 { "_EBool","_wxPrintQuality",0},
12028 { "_EBool","_signed_int",0},
12029 { "_EBool","_int",0},
12030 { "_EBool","_wxWindowID",0},
12031 { "_unsigned_long","_long",0},
12032 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12033 { "_signed_int","_wxCoord",0},
12034 { "_signed_int","_wxPrintQuality",0},
12035 { "_signed_int","_EBool",0},
12036 { "_signed_int","_wxWindowID",0},
12037 { "_signed_int","_int",0},
12038 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
12039 { "_WXTYPE","_short",0},
12040 { "_WXTYPE","_signed_short",0},
12041 { "_WXTYPE","_unsigned_short",0},
12042 { "_unsigned_short","_WXTYPE",0},
12043 { "_unsigned_short","_short",0},
12044 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
12045 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
12046 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
12047 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
12048 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
12049 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
12050 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
12051 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
12052 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
12053 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
12054 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
12055 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
12056 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
12057 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
12058 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
12059 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
12060 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
12061 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
12062 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
12063 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
12064 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
12065 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
12066 { "_signed_short","_WXTYPE",0},
12067 { "_signed_short","_short",0},
12068 { "_unsigned_char","_byte",0},
12069 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
12070 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
12071 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
12072 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
12073 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
12074 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
12075 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
12076 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
12077 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
12078 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
12079 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
12080 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
12081 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
12082 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
12083 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
12084 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
12085 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
12086 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
12087 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
12088 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
12089 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
12090 { "_unsigned_int","_wxCoord",0},
12091 { "_unsigned_int","_wxPrintQuality",0},
12092 { "_unsigned_int","_time_t",0},
12093 { "_unsigned_int","_size_t",0},
12094 { "_unsigned_int","_uint",0},
12095 { "_unsigned_int","_wxWindowID",0},
12096 { "_unsigned_int","_int",0},
12097 { "_short","_WXTYPE",0},
12098 { "_short","_unsigned_short",0},
12099 { "_short","_signed_short",0},
12100 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
12101 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
12102 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
12103 { "_wxWindowID","_wxCoord",0},
12104 { "_wxWindowID","_wxPrintQuality",0},
12105 { "_wxWindowID","_time_t",0},
12106 { "_wxWindowID","_size_t",0},
12107 { "_wxWindowID","_EBool",0},
12108 { "_wxWindowID","_uint",0},
12109 { "_wxWindowID","_int",0},
12110 { "_wxWindowID","_signed_int",0},
12111 { "_wxWindowID","_unsigned_int",0},
12112 { "_int","_wxCoord",0},
12113 { "_int","_wxPrintQuality",0},
12114 { "_int","_time_t",0},
12115 { "_int","_size_t",0},
12116 { "_int","_EBool",0},
12117 { "_int","_uint",0},
12118 { "_int","_wxWindowID",0},
12119 { "_int","_unsigned_int",0},
12120 { "_int","_signed_int",0},
12121 { "_time_t","_wxCoord",0},
12122 { "_time_t","_wxPrintQuality",0},
12123 { "_time_t","_unsigned_int",0},
12124 { "_time_t","_int",0},
12125 { "_time_t","_wxWindowID",0},
12126 { "_time_t","_uint",0},
12127 { "_time_t","_size_t",0},
12128 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
12129 { "_wxCoord","_int",0},
12130 { "_wxCoord","_signed_int",0},
12131 { "_wxCoord","_unsigned_int",0},
12132 { "_wxCoord","_wxWindowID",0},
12133 { "_wxCoord","_uint",0},
12134 { "_wxCoord","_EBool",0},
12135 { "_wxCoord","_size_t",0},
12136 { "_wxCoord","_time_t",0},
12137 { "_wxCoord","_wxPrintQuality",0},
12138 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
12139 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
12140 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
12141 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
12142 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
12143 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
12144 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
12145 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
12146 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
12147 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
12148 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
12149 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
12150 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
12151 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
12152 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
12153 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
12154 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
12155 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
12156 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
12157 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
12158 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
12159 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
12160 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
12161 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
12162 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
12163 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
12164 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
12165 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
12166 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
12167 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
12168 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
12169 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
12170 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
12171 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
12172 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
12173 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
12174 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
12175 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
12176 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
12177 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
12178 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
12179 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
12180 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
12181 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
12184 static PyObject
*SWIG_globals
;
12188 SWIGEXPORT(void) initcontrolsc() {
12190 SWIG_globals
= SWIG_newvarlink();
12191 m
= Py_InitModule("controlsc", controlscMethods
);
12192 d
= PyModule_GetDict(m
);
12193 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
12194 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
12195 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
12198 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
12199 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);