2 * FILE : src/mac/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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 *SwigwxComboBoxTowxChoice(void *ptr
) {
2641 src
= (wxComboBox
*) ptr
;
2642 dest
= (wxChoice
*) src
;
2643 return (void *) dest
;
2646 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2648 wxControlWithItems
*dest
;
2649 src
= (wxComboBox
*) ptr
;
2650 dest
= (wxControlWithItems
*) src
;
2651 return (void *) dest
;
2654 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2657 src
= (wxComboBox
*) ptr
;
2658 dest
= (wxControl
*) src
;
2659 return (void *) dest
;
2662 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2665 src
= (wxComboBox
*) ptr
;
2666 dest
= (wxWindow
*) src
;
2667 return (void *) dest
;
2670 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2673 src
= (wxComboBox
*) ptr
;
2674 dest
= (wxEvtHandler
*) src
;
2675 return (void *) dest
;
2678 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2681 src
= (wxComboBox
*) ptr
;
2682 dest
= (wxObject
*) src
;
2683 return (void *) dest
;
2686 #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))
2687 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
* _resultobj
;
2689 wxComboBox
* _result
;
2692 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2693 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2694 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2695 int _arg5
= (int ) 0;
2696 wxString
* _arg6
= (wxString
*) NULL
;
2697 long _arg7
= (long ) 0;
2698 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2699 wxString
* _arg9
= (wxString
*) &wxPyComboBoxNameStr
;
2700 PyObject
* _argo0
= 0;
2701 PyObject
* _obj2
= 0;
2703 PyObject
* _obj3
= 0;
2705 PyObject
* _obj4
= 0;
2706 PyObject
* _obj6
= 0;
2707 PyObject
* _argo8
= 0;
2708 PyObject
* _obj9
= 0;
2709 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOOlOO:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2724 _arg2
= wxString_in_helper(_obj2
);
2731 if (! wxPoint_helper(_obj3
, &_arg3
))
2737 if (! wxSize_helper(_obj4
, &_arg4
))
2742 _arg6
= wxString_LIST_helper(_obj6
);
2743 if (_arg6
== NULL
) {
2748 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2756 _arg9
= wxString_in_helper(_obj9
);
2762 _arg5
= PyList_Size(_obj6
);
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) return NULL
;
2775 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2779 _resultobj
= Py_None
;
2795 #define new_wxPreComboBox() (new wxComboBox())
2796 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
* _resultobj
;
2798 wxComboBox
* _result
;
2799 char *_kwnames
[] = { NULL
};
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 _result
= (wxComboBox
*)new_wxPreComboBox();
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2813 _resultobj
= Py_BuildValue("s",_ptemp
);
2816 _resultobj
= Py_None
;
2821 #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))
2822 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2828 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2829 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2830 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2831 int _arg6
= (int ) 0;
2832 wxString
* _arg7
= (wxString
*) NULL
;
2833 long _arg8
= (long ) 0;
2834 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2835 wxString
* _arg10
= (wxString
*) &wxPyComboBoxNameStr
;
2836 PyObject
* _argo0
= 0;
2837 PyObject
* _argo1
= 0;
2838 PyObject
* _obj3
= 0;
2840 PyObject
* _obj4
= 0;
2842 PyObject
* _obj5
= 0;
2843 PyObject
* _obj7
= 0;
2844 PyObject
* _argo9
= 0;
2845 PyObject
* _obj10
= 0;
2846 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOOlOO:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2859 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2867 _arg3
= wxString_in_helper(_obj3
);
2874 if (! wxPoint_helper(_obj4
, &_arg4
))
2880 if (! wxSize_helper(_obj5
, &_arg5
))
2885 _arg7
= wxString_LIST_helper(_obj7
);
2886 if (_arg7
== NULL
) {
2891 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2892 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2899 _arg10
= wxString_in_helper(_obj10
);
2905 _arg6
= PyList_Size(_obj7
);
2912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2913 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
2915 wxPyEndAllowThreads(__tstate
);
2916 if (PyErr_Occurred()) return NULL
;
2917 } _resultobj
= Py_BuildValue("i",_result
);
2932 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2933 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2936 PyObject
* _argo0
= 0;
2937 char *_kwnames
[] = { "self", NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 wxComboBox_Copy(_arg0
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) return NULL
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2960 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2961 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2964 PyObject
* _argo0
= 0;
2965 char *_kwnames
[] = { "self", NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 wxComboBox_Cut(_arg0
);
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) return NULL
;
2983 } Py_INCREF(Py_None
);
2984 _resultobj
= Py_None
;
2988 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2989 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
* _resultobj
;
2993 PyObject
* _argo0
= 0;
2994 char *_kwnames
[] = { "self", NULL
};
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
3000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3008 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
3010 wxPyEndAllowThreads(__tstate
);
3011 if (PyErr_Occurred()) return NULL
;
3012 } _resultobj
= Py_BuildValue("l",_result
);
3016 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3017 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) return NULL
;
3040 } _resultobj
= Py_BuildValue("l",_result
);
3044 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3045 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3049 PyObject
* _argo0
= 0;
3050 char *_kwnames
[] = { "self", NULL
};
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) return NULL
;
3070 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3072 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3081 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3082 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3085 PyObject
* _argo0
= 0;
3086 char *_kwnames
[] = { "self", NULL
};
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3100 wxComboBox_Paste(_arg0
);
3102 wxPyEndAllowThreads(__tstate
);
3103 if (PyErr_Occurred()) return NULL
;
3104 } Py_INCREF(Py_None
);
3105 _resultobj
= Py_None
;
3109 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3110 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
* _resultobj
;
3116 PyObject
* _argo0
= 0;
3117 PyObject
* _obj3
= 0;
3118 char *_kwnames
[] = { "self","from","to","text", NULL
};
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3131 _arg3
= wxString_in_helper(_obj3
);
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) return NULL
;
3141 } Py_INCREF(Py_None
);
3142 _resultobj
= Py_None
;
3150 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3151 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
* _resultobj
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self","from","to", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) return NULL
;
3175 } Py_INCREF(Py_None
);
3176 _resultobj
= Py_None
;
3180 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3181 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3185 PyObject
* _argo0
= 0;
3186 char *_kwnames
[] = { "self","pos", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) return NULL
;
3204 } Py_INCREF(Py_None
);
3205 _resultobj
= Py_None
;
3209 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3210 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3211 PyObject
* _resultobj
;
3213 PyObject
* _argo0
= 0;
3214 char *_kwnames
[] = { "self", NULL
};
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 wxComboBox_SetInsertionPointEnd(_arg0
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) return NULL
;
3232 } Py_INCREF(Py_None
);
3233 _resultobj
= Py_None
;
3237 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3238 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
* _resultobj
;
3242 PyObject
* _argo0
= 0;
3243 char *_kwnames
[] = { "self","n", NULL
};
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3257 wxComboBox_SetSelection(_arg0
,_arg1
);
3259 wxPyEndAllowThreads(__tstate
);
3260 if (PyErr_Occurred()) return NULL
;
3261 } Py_INCREF(Py_None
);
3262 _resultobj
= Py_None
;
3266 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3267 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3268 PyObject
* _resultobj
;
3272 PyObject
* _argo0
= 0;
3273 char *_kwnames
[] = { "self","from","to", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) return NULL
;
3291 } Py_INCREF(Py_None
);
3292 _resultobj
= Py_None
;
3296 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3297 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3301 PyObject
* _argo0
= 0;
3302 PyObject
* _obj1
= 0;
3303 char *_kwnames
[] = { "self","text", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3316 _arg1
= wxString_in_helper(_obj1
);
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxComboBox_SetValue(_arg0
,*_arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) return NULL
;
3326 } Py_INCREF(Py_None
);
3327 _resultobj
= Py_None
;
3335 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3336 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3340 PyObject
* _argo0
= 0;
3342 char *_kwnames
[] = { "self","editable", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3354 _arg1
= (bool ) tempbool1
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 wxComboBox_SetEditable(_arg0
,_arg1
);
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) return NULL
;
3361 } Py_INCREF(Py_None
);
3362 _resultobj
= Py_None
;
3366 static void *SwigwxGaugeTowxControl(void *ptr
) {
3369 src
= (wxGauge
*) ptr
;
3370 dest
= (wxControl
*) src
;
3371 return (void *) dest
;
3374 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3377 src
= (wxGauge
*) ptr
;
3378 dest
= (wxWindow
*) src
;
3379 return (void *) dest
;
3382 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3385 src
= (wxGauge
*) ptr
;
3386 dest
= (wxEvtHandler
*) src
;
3387 return (void *) dest
;
3390 static void *SwigwxGaugeTowxObject(void *ptr
) {
3393 src
= (wxGauge
*) ptr
;
3394 dest
= (wxObject
*) src
;
3395 return (void *) dest
;
3398 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3399 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
* _resultobj
;
3405 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3406 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3407 long _arg5
= (long ) wxGA_HORIZONTAL
;
3408 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3409 wxString
* _arg7
= (wxString
*) &wxPyGaugeNameStr
;
3410 PyObject
* _argo0
= 0;
3412 PyObject
* _obj3
= 0;
3414 PyObject
* _obj4
= 0;
3415 PyObject
* _argo6
= 0;
3416 PyObject
* _obj7
= 0;
3417 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOO:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
3424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3433 if (! wxPoint_helper(_obj3
, &_arg3
))
3439 if (! wxSize_helper(_obj4
, &_arg4
))
3443 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3444 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3451 _arg7
= wxString_in_helper(_obj7
);
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) return NULL
;
3462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3463 _resultobj
= Py_BuildValue("s",_ptemp
);
3466 _resultobj
= Py_None
;
3475 #define new_wxPreGauge() (new wxGauge())
3476 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3479 char *_kwnames
[] = { NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 _result
= (wxGauge
*)new_wxPreGauge();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) return NULL
;
3492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3493 _resultobj
= Py_BuildValue("s",_ptemp
);
3496 _resultobj
= Py_None
;
3501 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3502 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3509 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3510 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3511 long _arg6
= (long ) wxGA_HORIZONTAL
;
3512 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3513 wxString
* _arg8
= (wxString
*) &wxPyGaugeNameStr
;
3514 PyObject
* _argo0
= 0;
3515 PyObject
* _argo1
= 0;
3517 PyObject
* _obj4
= 0;
3519 PyObject
* _obj5
= 0;
3520 PyObject
* _argo7
= 0;
3521 PyObject
* _obj8
= 0;
3522 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOO:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
3528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3544 if (! wxPoint_helper(_obj4
, &_arg4
))
3550 if (! wxSize_helper(_obj5
, &_arg5
))
3554 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3562 _arg8
= wxString_in_helper(_obj8
);
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) return NULL
;
3572 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3581 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3585 PyObject
* _argo0
= 0;
3586 char *_kwnames
[] = { "self", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) return NULL
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3609 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 _result
= (int )wxGauge_GetRange(_arg0
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } _resultobj
= Py_BuildValue("i",_result
);
3636 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3637 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
* _resultobj
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) return NULL
;
3660 } _resultobj
= Py_BuildValue("i",_result
);
3664 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3665 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3669 PyObject
* _argo0
= 0;
3670 char *_kwnames
[] = { "self", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 _result
= (int )wxGauge_GetValue(_arg0
);
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) return NULL
;
3688 } _resultobj
= Py_BuildValue("i",_result
);
3692 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3693 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3697 PyObject
* _argo0
= 0;
3698 char *_kwnames
[] = { "self","width", NULL
};
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 wxGauge_SetBezelFace(_arg0
,_arg1
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) return NULL
;
3716 } Py_INCREF(Py_None
);
3717 _resultobj
= Py_None
;
3721 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3722 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
* _resultobj
;
3726 PyObject
* _argo0
= 0;
3727 char *_kwnames
[] = { "self","range", NULL
};
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 wxGauge_SetRange(_arg0
,_arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) return NULL
;
3745 } Py_INCREF(Py_None
);
3746 _resultobj
= Py_None
;
3750 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3751 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
* _resultobj
;
3755 PyObject
* _argo0
= 0;
3756 char *_kwnames
[] = { "self","width", NULL
};
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) return NULL
;
3774 } Py_INCREF(Py_None
);
3775 _resultobj
= Py_None
;
3779 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3780 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3784 PyObject
* _argo0
= 0;
3785 char *_kwnames
[] = { "self","pos", NULL
};
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 wxGauge_SetValue(_arg0
,_arg1
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) return NULL
;
3803 } Py_INCREF(Py_None
);
3804 _resultobj
= Py_None
;
3808 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3811 src
= (wxStaticBox
*) ptr
;
3812 dest
= (wxControl
*) src
;
3813 return (void *) dest
;
3816 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3819 src
= (wxStaticBox
*) ptr
;
3820 dest
= (wxWindow
*) src
;
3821 return (void *) dest
;
3824 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3827 src
= (wxStaticBox
*) ptr
;
3828 dest
= (wxEvtHandler
*) src
;
3829 return (void *) dest
;
3832 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3835 src
= (wxStaticBox
*) ptr
;
3836 dest
= (wxObject
*) src
;
3837 return (void *) dest
;
3840 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3841 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3843 wxStaticBox
* _result
;
3847 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3848 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3849 long _arg5
= (long ) 0;
3850 wxString
* _arg6
= (wxString
*) &wxPyStaticBoxNameStr
;
3851 PyObject
* _argo0
= 0;
3852 PyObject
* _obj2
= 0;
3854 PyObject
* _obj3
= 0;
3856 PyObject
* _obj4
= 0;
3857 PyObject
* _obj6
= 0;
3858 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3872 _arg2
= wxString_in_helper(_obj2
);
3879 if (! wxPoint_helper(_obj3
, &_arg3
))
3885 if (! wxSize_helper(_obj4
, &_arg4
))
3890 _arg6
= wxString_in_helper(_obj6
);
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) return NULL
;
3901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3902 _resultobj
= Py_BuildValue("s",_ptemp
);
3905 _resultobj
= Py_None
;
3918 #define new_wxPreStaticBox() (new wxStaticBox())
3919 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3921 wxStaticBox
* _result
;
3922 char *_kwnames
[] = { NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3930 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3932 wxPyEndAllowThreads(__tstate
);
3933 if (PyErr_Occurred()) return NULL
;
3935 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3936 _resultobj
= Py_BuildValue("s",_ptemp
);
3939 _resultobj
= Py_None
;
3944 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3945 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
* _resultobj
;
3948 wxStaticBox
* _arg0
;
3952 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3953 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3954 long _arg6
= (long ) 0;
3955 wxString
* _arg7
= (wxString
*) &wxPyStaticBoxNameStr
;
3956 PyObject
* _argo0
= 0;
3957 PyObject
* _argo1
= 0;
3958 PyObject
* _obj3
= 0;
3960 PyObject
* _obj4
= 0;
3962 PyObject
* _obj5
= 0;
3963 PyObject
* _obj7
= 0;
3964 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3977 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3984 _arg3
= wxString_in_helper(_obj3
);
3991 if (! wxPoint_helper(_obj4
, &_arg4
))
3997 if (! wxSize_helper(_obj5
, &_arg5
))
4002 _arg7
= wxString_in_helper(_obj7
);
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) return NULL
;
4012 } _resultobj
= Py_BuildValue("i",_result
);
4024 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4027 src
= (wxStaticLine
*) ptr
;
4028 dest
= (wxControl
*) src
;
4029 return (void *) dest
;
4032 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4035 src
= (wxStaticLine
*) ptr
;
4036 dest
= (wxWindow
*) src
;
4037 return (void *) dest
;
4040 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4043 src
= (wxStaticLine
*) ptr
;
4044 dest
= (wxEvtHandler
*) src
;
4045 return (void *) dest
;
4048 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4051 src
= (wxStaticLine
*) ptr
;
4052 dest
= (wxObject
*) src
;
4053 return (void *) dest
;
4056 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4057 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4059 wxStaticLine
* _result
;
4062 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4063 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4064 long _arg4
= (long ) wxLI_HORIZONTAL
;
4065 wxString
* _arg5
= (wxString
*) &wxPyStaticTextNameStr
;
4066 PyObject
* _argo0
= 0;
4068 PyObject
* _obj2
= 0;
4070 PyObject
* _obj3
= 0;
4071 PyObject
* _obj5
= 0;
4072 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4088 if (! wxPoint_helper(_obj2
, &_arg2
))
4094 if (! wxSize_helper(_obj3
, &_arg3
))
4099 _arg5
= wxString_in_helper(_obj5
);
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) return NULL
;
4110 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4111 _resultobj
= Py_BuildValue("s",_ptemp
);
4114 _resultobj
= Py_None
;
4123 #define new_wxPreStaticLine() (new wxStaticLine())
4124 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxStaticLine
* _result
;
4127 char *_kwnames
[] = { NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) return NULL
;
4140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4141 _resultobj
= Py_BuildValue("s",_ptemp
);
4144 _resultobj
= Py_None
;
4149 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4150 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4153 wxStaticLine
* _arg0
;
4156 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4157 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4158 long _arg5
= (long ) wxLI_HORIZONTAL
;
4159 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4160 PyObject
* _argo0
= 0;
4161 PyObject
* _argo1
= 0;
4163 PyObject
* _obj3
= 0;
4165 PyObject
* _obj4
= 0;
4166 PyObject
* _obj6
= 0;
4167 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4180 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4189 if (! wxPoint_helper(_obj3
, &_arg3
))
4195 if (! wxSize_helper(_obj4
, &_arg4
))
4200 _arg6
= wxString_in_helper(_obj6
);
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) return NULL
;
4210 } _resultobj
= Py_BuildValue("i",_result
);
4218 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4221 src
= (wxStaticText
*) ptr
;
4222 dest
= (wxControl
*) src
;
4223 return (void *) dest
;
4226 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4229 src
= (wxStaticText
*) ptr
;
4230 dest
= (wxWindow
*) src
;
4231 return (void *) dest
;
4234 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4237 src
= (wxStaticText
*) ptr
;
4238 dest
= (wxEvtHandler
*) src
;
4239 return (void *) dest
;
4242 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4245 src
= (wxStaticText
*) ptr
;
4246 dest
= (wxObject
*) src
;
4247 return (void *) dest
;
4250 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4251 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4253 wxStaticText
* _result
;
4257 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4258 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4259 long _arg5
= (long ) 0;
4260 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4261 PyObject
* _argo0
= 0;
4262 PyObject
* _obj2
= 0;
4264 PyObject
* _obj3
= 0;
4266 PyObject
* _obj4
= 0;
4267 PyObject
* _obj6
= 0;
4268 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4282 _arg2
= wxString_in_helper(_obj2
);
4289 if (! wxPoint_helper(_obj3
, &_arg3
))
4295 if (! wxSize_helper(_obj4
, &_arg4
))
4300 _arg6
= wxString_in_helper(_obj6
);
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) return NULL
;
4311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4312 _resultobj
= Py_BuildValue("s",_ptemp
);
4315 _resultobj
= Py_None
;
4328 #define new_wxPreStaticText() (new wxStaticText())
4329 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4331 wxStaticText
* _result
;
4332 char *_kwnames
[] = { NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 _result
= (wxStaticText
*)new_wxPreStaticText();
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) return NULL
;
4345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4346 _resultobj
= Py_BuildValue("s",_ptemp
);
4349 _resultobj
= Py_None
;
4354 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4355 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4358 wxStaticText
* _arg0
;
4362 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4363 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4364 long _arg6
= (long ) 0;
4365 wxString
* _arg7
= (wxString
*) &wxPyStaticTextNameStr
;
4366 PyObject
* _argo0
= 0;
4367 PyObject
* _argo1
= 0;
4368 PyObject
* _obj3
= 0;
4370 PyObject
* _obj4
= 0;
4372 PyObject
* _obj5
= 0;
4373 PyObject
* _obj7
= 0;
4374 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4387 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4394 _arg3
= wxString_in_helper(_obj3
);
4401 if (! wxPoint_helper(_obj4
, &_arg4
))
4407 if (! wxSize_helper(_obj5
, &_arg5
))
4412 _arg7
= wxString_in_helper(_obj7
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) return NULL
;
4422 } _resultobj
= Py_BuildValue("i",_result
);
4434 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4435 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4438 wxStaticText
* _arg0
;
4439 PyObject
* _argo0
= 0;
4440 char *_kwnames
[] = { "self", NULL
};
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) return NULL
;
4460 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4462 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4471 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4472 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4474 wxStaticText
* _arg0
;
4476 PyObject
* _argo0
= 0;
4477 PyObject
* _obj1
= 0;
4478 char *_kwnames
[] = { "self","label", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4491 _arg1
= wxString_in_helper(_obj1
);
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 wxStaticText_SetLabel(_arg0
,*_arg1
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) return NULL
;
4501 } Py_INCREF(Py_None
);
4502 _resultobj
= Py_None
;
4510 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4512 wxControlWithItems
*dest
;
4513 src
= (wxListBox
*) ptr
;
4514 dest
= (wxControlWithItems
*) src
;
4515 return (void *) dest
;
4518 static void *SwigwxListBoxTowxControl(void *ptr
) {
4521 src
= (wxListBox
*) ptr
;
4522 dest
= (wxControl
*) src
;
4523 return (void *) dest
;
4526 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4529 src
= (wxListBox
*) ptr
;
4530 dest
= (wxWindow
*) src
;
4531 return (void *) dest
;
4534 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4537 src
= (wxListBox
*) ptr
;
4538 dest
= (wxEvtHandler
*) src
;
4539 return (void *) dest
;
4542 static void *SwigwxListBoxTowxObject(void *ptr
) {
4545 src
= (wxListBox
*) ptr
;
4546 dest
= (wxObject
*) src
;
4547 return (void *) dest
;
4550 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4551 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4553 wxListBox
* _result
;
4556 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4557 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4559 wxString
* _arg5
= (wxString
*) NULL
;
4560 long _arg6
= (long ) 0;
4561 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4562 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
4563 PyObject
* _argo0
= 0;
4565 PyObject
* _obj2
= 0;
4567 PyObject
* _obj3
= 0;
4568 PyObject
* _obj5
= 0;
4569 PyObject
* _argo7
= 0;
4570 PyObject
* _obj8
= 0;
4571 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
4578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4587 if (! wxPoint_helper(_obj2
, &_arg2
))
4593 if (! wxSize_helper(_obj3
, &_arg3
))
4598 _arg5
= wxString_LIST_helper(_obj5
);
4599 if (_arg5
== NULL
) {
4604 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4612 _arg8
= wxString_in_helper(_obj8
);
4618 _arg4
= PyList_Size(_obj5
);
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) return NULL
;
4631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4632 _resultobj
= Py_BuildValue("s",_ptemp
);
4635 _resultobj
= Py_None
;
4647 #define new_wxPreListBox() (new wxListBox())
4648 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4650 wxListBox
* _result
;
4651 char *_kwnames
[] = { NULL
};
4655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 _result
= (wxListBox
*)new_wxPreListBox();
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) return NULL
;
4664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4665 _resultobj
= Py_BuildValue("s",_ptemp
);
4668 _resultobj
= Py_None
;
4673 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4674 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
* _resultobj
;
4680 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4681 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4683 wxString
* _arg6
= (wxString
*) NULL
;
4684 long _arg7
= (long ) 0;
4685 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4686 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
4687 PyObject
* _argo0
= 0;
4688 PyObject
* _argo1
= 0;
4690 PyObject
* _obj3
= 0;
4692 PyObject
* _obj4
= 0;
4693 PyObject
* _obj6
= 0;
4694 PyObject
* _argo8
= 0;
4695 PyObject
* _obj9
= 0;
4696 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
4702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4709 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4718 if (! wxPoint_helper(_obj3
, &_arg3
))
4724 if (! wxSize_helper(_obj4
, &_arg4
))
4729 _arg6
= wxString_LIST_helper(_obj6
);
4730 if (_arg6
== NULL
) {
4735 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4743 _arg9
= wxString_in_helper(_obj9
);
4749 _arg5
= PyList_Size(_obj6
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) return NULL
;
4761 } _resultobj
= Py_BuildValue("i",_result
);
4772 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4773 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4776 PyObject
* _argo0
= 0;
4777 char *_kwnames
[] = { "self", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxListBox_Clear(_arg0
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) return NULL
;
4795 } Py_INCREF(Py_None
);
4796 _resultobj
= Py_None
;
4800 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4801 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4805 PyObject
* _argo0
= 0;
4806 char *_kwnames
[] = { "self","n", NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 wxListBox_Deselect(_arg0
,_arg1
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) return NULL
;
4824 } Py_INCREF(Py_None
);
4825 _resultobj
= Py_None
;
4829 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4831 self
->GetSelections(lst
);
4832 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4833 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4834 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4838 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4842 PyObject
* _argo0
= 0;
4843 char *_kwnames
[] = { "self", NULL
};
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) return NULL
;
4862 _resultobj
= _result
;
4867 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4868 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4874 PyObject
* _argo0
= 0;
4875 PyObject
* _obj2
= 0;
4876 char *_kwnames
[] = { "self","choices","pos", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4889 _arg2
= wxString_LIST_helper(_obj2
);
4890 if (_arg2
== NULL
) {
4896 _arg1
= PyList_Size(_obj2
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) return NULL
;
4908 } Py_INCREF(Py_None
);
4909 _resultobj
= Py_None
;
4916 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4917 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
* _resultobj
;
4922 PyObject
* _argo0
= 0;
4923 char *_kwnames
[] = { "self","n", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4937 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) return NULL
;
4941 } _resultobj
= Py_BuildValue("i",_result
);
4945 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4946 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4951 PyObject
* _argo0
= 0;
4952 char *_kwnames
[] = { "self","n", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) return NULL
;
4970 } _resultobj
= Py_BuildValue("i",_result
);
4974 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4975 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
* _resultobj
;
4980 PyObject
* _argo0
= 0;
4981 PyObject
* _obj2
= 0;
4982 char *_kwnames
[] = { "self","choices", NULL
};
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4996 _arg2
= wxString_LIST_helper(_obj2
);
4997 if (_arg2
== NULL
) {
5003 _arg1
= PyList_Size(_obj2
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) return NULL
;
5015 } Py_INCREF(Py_None
);
5016 _resultobj
= Py_None
;
5023 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5024 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
* _resultobj
;
5028 PyObject
* _argo0
= 0;
5029 char *_kwnames
[] = { "self","n", NULL
};
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 wxListBox_SetFirstItem(_arg0
,_arg1
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) return NULL
;
5047 } Py_INCREF(Py_None
);
5048 _resultobj
= Py_None
;
5052 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5053 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
* _resultobj
;
5057 PyObject
* _argo0
= 0;
5058 PyObject
* _obj1
= 0;
5059 char *_kwnames
[] = { "self","string", NULL
};
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5072 _arg1
= wxString_in_helper(_obj1
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) return NULL
;
5082 } Py_INCREF(Py_None
);
5083 _resultobj
= Py_None
;
5091 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5092 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
* _resultobj
;
5096 bool _arg2
= (bool ) TRUE
;
5097 PyObject
* _argo0
= 0;
5098 int tempbool2
= (int) TRUE
;
5099 char *_kwnames
[] = { "self","n","select", NULL
};
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5111 _arg2
= (bool ) tempbool2
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) return NULL
;
5118 } Py_INCREF(Py_None
);
5119 _resultobj
= Py_None
;
5123 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5124 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5129 PyObject
* _argo0
= 0;
5130 PyObject
* _obj2
= 0;
5131 char *_kwnames
[] = { "self","n","string", NULL
};
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5144 _arg2
= wxString_in_helper(_obj2
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) return NULL
;
5154 } Py_INCREF(Py_None
);
5155 _resultobj
= Py_None
;
5163 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5164 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
* _resultobj
;
5168 bool _arg2
= (bool ) TRUE
;
5169 PyObject
* _argo0
= 0;
5170 PyObject
* _obj1
= 0;
5171 int tempbool2
= (int) TRUE
;
5172 char *_kwnames
[] = { "self","string","select", NULL
};
5175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5185 _arg1
= wxString_in_helper(_obj1
);
5189 _arg2
= (bool ) tempbool2
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) return NULL
;
5196 } Py_INCREF(Py_None
);
5197 _resultobj
= Py_None
;
5205 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5206 wxCheckListBox
*src
;
5208 src
= (wxCheckListBox
*) ptr
;
5209 dest
= (wxListBox
*) src
;
5210 return (void *) dest
;
5213 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5214 wxCheckListBox
*src
;
5215 wxControlWithItems
*dest
;
5216 src
= (wxCheckListBox
*) ptr
;
5217 dest
= (wxControlWithItems
*) src
;
5218 return (void *) dest
;
5221 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5222 wxCheckListBox
*src
;
5224 src
= (wxCheckListBox
*) ptr
;
5225 dest
= (wxControl
*) src
;
5226 return (void *) dest
;
5229 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5230 wxCheckListBox
*src
;
5232 src
= (wxCheckListBox
*) ptr
;
5233 dest
= (wxWindow
*) src
;
5234 return (void *) dest
;
5237 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5238 wxCheckListBox
*src
;
5240 src
= (wxCheckListBox
*) ptr
;
5241 dest
= (wxEvtHandler
*) src
;
5242 return (void *) dest
;
5245 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5246 wxCheckListBox
*src
;
5248 src
= (wxCheckListBox
*) ptr
;
5249 dest
= (wxObject
*) src
;
5250 return (void *) dest
;
5253 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5254 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5256 wxCheckListBox
* _result
;
5259 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5260 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5261 int _arg4
= (int ) 0;
5262 wxString
* _arg5
= (wxString
*) NULL
;
5263 long _arg6
= (long ) 0;
5264 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5265 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
5266 PyObject
* _argo0
= 0;
5268 PyObject
* _obj2
= 0;
5270 PyObject
* _obj3
= 0;
5271 PyObject
* _obj5
= 0;
5272 PyObject
* _argo7
= 0;
5273 PyObject
* _obj8
= 0;
5274 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5290 if (! wxPoint_helper(_obj2
, &_arg2
))
5296 if (! wxSize_helper(_obj3
, &_arg3
))
5301 _arg5
= wxString_LIST_helper(_obj5
);
5302 if (_arg5
== NULL
) {
5307 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5308 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5315 _arg8
= wxString_in_helper(_obj8
);
5321 _arg4
= PyList_Size(_obj5
);
5328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5329 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) return NULL
;
5334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5335 _resultobj
= Py_BuildValue("s",_ptemp
);
5338 _resultobj
= Py_None
;
5350 #define new_wxPreCheckListBox() (new wxCheckListBox())
5351 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5353 wxCheckListBox
* _result
;
5354 char *_kwnames
[] = { NULL
};
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) return NULL
;
5367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5368 _resultobj
= Py_BuildValue("s",_ptemp
);
5371 _resultobj
= Py_None
;
5376 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5377 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
* _resultobj
;
5380 wxCheckListBox
* _arg0
;
5383 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5384 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5385 int _arg5
= (int ) 0;
5386 wxString
* _arg6
= (wxString
*) NULL
;
5387 long _arg7
= (long ) 0;
5388 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5389 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5390 PyObject
* _argo0
= 0;
5391 PyObject
* _argo1
= 0;
5393 PyObject
* _obj3
= 0;
5395 PyObject
* _obj4
= 0;
5396 PyObject
* _obj6
= 0;
5397 PyObject
* _argo8
= 0;
5398 PyObject
* _obj9
= 0;
5399 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5412 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5421 if (! wxPoint_helper(_obj3
, &_arg3
))
5427 if (! wxSize_helper(_obj4
, &_arg4
))
5432 _arg6
= wxString_LIST_helper(_obj6
);
5433 if (_arg6
== NULL
) {
5438 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5446 _arg9
= wxString_in_helper(_obj9
);
5452 _arg5
= PyList_Size(_obj6
);
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) return NULL
;
5464 } _resultobj
= Py_BuildValue("i",_result
);
5475 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5476 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
* _resultobj
;
5479 wxCheckListBox
* _arg0
;
5481 PyObject
* _argo0
= 0;
5482 char *_kwnames
[] = { "self","uiIndex", NULL
};
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) return NULL
;
5500 } _resultobj
= Py_BuildValue("i",_result
);
5504 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5505 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
* _resultobj
;
5507 wxCheckListBox
* _arg0
;
5509 int _arg2
= (int ) TRUE
;
5510 PyObject
* _argo0
= 0;
5511 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) return NULL
;
5529 } Py_INCREF(Py_None
);
5530 _resultobj
= Py_None
;
5534 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5535 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
* _resultobj
;
5537 wxCheckListBox
* _arg0
;
5541 PyObject
* _argo0
= 0;
5542 PyObject
* _obj2
= 0;
5543 char *_kwnames
[] = { "self","choices","pos", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5556 _arg2
= wxString_LIST_helper(_obj2
);
5557 if (_arg2
== NULL
) {
5563 _arg1
= PyList_Size(_obj2
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) return NULL
;
5575 } Py_INCREF(Py_None
);
5576 _resultobj
= Py_None
;
5583 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5584 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
* _resultobj
;
5586 wxTextAttr
* _result
;
5587 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5588 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5589 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5591 PyObject
* _obj0
= 0;
5593 PyObject
* _obj1
= 0;
5594 PyObject
* _argo2
= 0;
5595 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5604 if (! wxColour_helper(_obj0
, &_arg0
))
5610 if (! wxColour_helper(_obj1
, &_arg1
))
5614 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) return NULL
;
5627 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5628 _resultobj
= Py_BuildValue("s",_ptemp
);
5631 _resultobj
= Py_None
;
5636 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5637 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5640 PyObject
* _argo0
= 0;
5641 char *_kwnames
[] = { "self", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 delete_wxTextAttr(_arg0
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) return NULL
;
5659 } Py_INCREF(Py_None
);
5660 _resultobj
= Py_None
;
5664 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5665 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
* _resultobj
;
5669 PyObject
* _argo0
= 0;
5671 PyObject
* _obj1
= 0;
5672 char *_kwnames
[] = { "self","colText", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5686 if (! wxColour_helper(_obj1
, &_arg1
))
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) return NULL
;
5695 } Py_INCREF(Py_None
);
5696 _resultobj
= Py_None
;
5700 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5701 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5705 PyObject
* _argo0
= 0;
5707 PyObject
* _obj1
= 0;
5708 char *_kwnames
[] = { "self","colBack", NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5722 if (! wxColour_helper(_obj1
, &_arg1
))
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) return NULL
;
5731 } Py_INCREF(Py_None
);
5732 _resultobj
= Py_None
;
5736 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5737 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5741 PyObject
* _argo0
= 0;
5742 PyObject
* _argo1
= 0;
5743 char *_kwnames
[] = { "self","font", NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 wxTextAttr_SetFont(_arg0
,*_arg1
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) return NULL
;
5768 } Py_INCREF(Py_None
);
5769 _resultobj
= Py_None
;
5773 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5774 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
* _resultobj
;
5778 PyObject
* _argo0
= 0;
5779 char *_kwnames
[] = { "self", NULL
};
5782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) return NULL
;
5797 } _resultobj
= Py_BuildValue("i",_result
);
5801 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5802 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
* _resultobj
;
5806 PyObject
* _argo0
= 0;
5807 char *_kwnames
[] = { "self", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) return NULL
;
5825 } _resultobj
= Py_BuildValue("i",_result
);
5829 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5830 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) return NULL
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5858 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5862 PyObject
* _argo0
= 0;
5863 char *_kwnames
[] = { "self", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) return NULL
;
5882 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5883 _resultobj
= Py_BuildValue("s",_ptemp
);
5887 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5888 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
* _resultobj
;
5892 PyObject
* _argo0
= 0;
5893 char *_kwnames
[] = { "self", NULL
};
5897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) return NULL
;
5912 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5913 _resultobj
= Py_BuildValue("s",_ptemp
);
5917 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5918 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self", NULL
};
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) return NULL
;
5942 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5943 _resultobj
= Py_BuildValue("s",_ptemp
);
5947 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5948 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
* _resultobj
;
5952 PyObject
* _argo0
= 0;
5953 char *_kwnames
[] = { "self", NULL
};
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) return NULL
;
5971 } _resultobj
= Py_BuildValue("i",_result
);
5975 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5977 wxTextAttr
* _result
;
5981 PyObject
* _argo0
= 0;
5982 PyObject
* _argo1
= 0;
5983 PyObject
* _argo2
= 0;
5984 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6005 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) return NULL
;
6017 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6018 _resultobj
= Py_BuildValue("s",_ptemp
);
6022 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6025 src
= (wxTextCtrl
*) ptr
;
6026 dest
= (wxControl
*) src
;
6027 return (void *) dest
;
6030 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6033 src
= (wxTextCtrl
*) ptr
;
6034 dest
= (wxWindow
*) src
;
6035 return (void *) dest
;
6038 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6041 src
= (wxTextCtrl
*) ptr
;
6042 dest
= (wxEvtHandler
*) src
;
6043 return (void *) dest
;
6046 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6049 src
= (wxTextCtrl
*) ptr
;
6050 dest
= (wxObject
*) src
;
6051 return (void *) dest
;
6054 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6055 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6057 wxTextCtrl
* _result
;
6060 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6061 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6062 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6063 long _arg5
= (long ) 0;
6064 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6065 wxString
* _arg7
= (wxString
*) &wxPyTextCtrlNameStr
;
6066 PyObject
* _argo0
= 0;
6067 PyObject
* _obj2
= 0;
6069 PyObject
* _obj3
= 0;
6071 PyObject
* _obj4
= 0;
6072 PyObject
* _argo6
= 0;
6073 PyObject
* _obj7
= 0;
6074 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6089 _arg2
= wxString_in_helper(_obj2
);
6096 if (! wxPoint_helper(_obj3
, &_arg3
))
6102 if (! wxSize_helper(_obj4
, &_arg4
))
6106 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6107 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6114 _arg7
= wxString_in_helper(_obj7
);
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) return NULL
;
6125 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6126 _resultobj
= Py_BuildValue("s",_ptemp
);
6129 _resultobj
= Py_None
;
6142 #define new_wxPreTextCtrl() (new wxTextCtrl())
6143 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
* _resultobj
;
6145 wxTextCtrl
* _result
;
6146 char *_kwnames
[] = { NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6159 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6160 _resultobj
= Py_BuildValue("s",_ptemp
);
6163 _resultobj
= Py_None
;
6168 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6169 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
* _resultobj
;
6175 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
6176 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6177 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6178 long _arg6
= (long ) 0;
6179 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6180 wxString
* _arg8
= (wxString
*) &wxPyTextCtrlNameStr
;
6181 PyObject
* _argo0
= 0;
6182 PyObject
* _argo1
= 0;
6183 PyObject
* _obj3
= 0;
6185 PyObject
* _obj4
= 0;
6187 PyObject
* _obj5
= 0;
6188 PyObject
* _argo7
= 0;
6189 PyObject
* _obj8
= 0;
6190 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6211 _arg3
= wxString_in_helper(_obj3
);
6218 if (! wxPoint_helper(_obj4
, &_arg4
))
6224 if (! wxSize_helper(_obj5
, &_arg5
))
6228 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6236 _arg8
= wxString_in_helper(_obj8
);
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) return NULL
;
6246 } _resultobj
= Py_BuildValue("i",_result
);
6258 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6259 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6263 PyObject
* _argo0
= 0;
6264 char *_kwnames
[] = { "self", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6280 wxPyEndAllowThreads(__tstate
);
6281 if (PyErr_Occurred()) return NULL
;
6284 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6286 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6295 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6296 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6300 PyObject
* _argo0
= 0;
6301 PyObject
* _obj1
= 0;
6302 char *_kwnames
[] = { "self","value", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6315 _arg1
= wxString_in_helper(_obj1
);
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) return NULL
;
6325 } Py_INCREF(Py_None
);
6326 _resultobj
= Py_None
;
6334 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6335 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6341 PyObject
* _argo0
= 0;
6342 char *_kwnames
[] = { "self","from","to", NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6358 wxPyEndAllowThreads(__tstate
);
6359 if (PyErr_Occurred()) return NULL
;
6362 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6364 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6373 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6374 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
* _resultobj
;
6379 PyObject
* _argo0
= 0;
6380 char *_kwnames
[] = { "self","lineNo", NULL
};
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) return NULL
;
6398 } _resultobj
= Py_BuildValue("i",_result
);
6402 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6403 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
* _resultobj
;
6408 PyObject
* _argo0
= 0;
6409 char *_kwnames
[] = { "self","lineNo", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) return NULL
;
6429 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6431 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6440 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6441 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
* _resultobj
;
6445 PyObject
* _argo0
= 0;
6446 char *_kwnames
[] = { "self", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) return NULL
;
6464 } _resultobj
= Py_BuildValue("i",_result
);
6468 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6469 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6473 PyObject
* _argo0
= 0;
6474 char *_kwnames
[] = { "self", NULL
};
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) return NULL
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6497 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6501 PyObject
* _argo0
= 0;
6502 char *_kwnames
[] = { "self", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) return NULL
;
6520 } _resultobj
= Py_BuildValue("i",_result
);
6524 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6525 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
* _resultobj
;
6532 PyObject
* _argo0
= 0;
6533 char *_kwnames
[] = { "self", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) return NULL
;
6557 } Py_INCREF(Py_None
);
6558 _resultobj
= Py_None
;
6561 o
= PyInt_FromLong((long) (*_arg1
));
6562 _resultobj
= t_output_helper(_resultobj
, o
);
6566 o
= PyInt_FromLong((long) (*_arg2
));
6567 _resultobj
= t_output_helper(_resultobj
, o
);
6572 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6573 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
* _resultobj
;
6577 PyObject
* _argo0
= 0;
6578 char *_kwnames
[] = { "self", NULL
};
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) return NULL
;
6598 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6600 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6609 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6610 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6613 PyObject
* _argo0
= 0;
6614 char *_kwnames
[] = { "self", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 wxTextCtrl_Clear(_arg0
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) return NULL
;
6632 } Py_INCREF(Py_None
);
6633 _resultobj
= Py_None
;
6637 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6638 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6644 PyObject
* _argo0
= 0;
6645 PyObject
* _obj3
= 0;
6646 char *_kwnames
[] = { "self","from","to","value", NULL
};
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6659 _arg3
= wxString_in_helper(_obj3
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } Py_INCREF(Py_None
);
6670 _resultobj
= Py_None
;
6678 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6679 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self","from","to", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) return NULL
;
6703 } Py_INCREF(Py_None
);
6704 _resultobj
= Py_None
;
6708 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6709 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6714 PyObject
* _argo0
= 0;
6715 PyObject
* _obj1
= 0;
6716 char *_kwnames
[] = { "self","file", NULL
};
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6729 _arg1
= wxString_in_helper(_obj1
);
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) return NULL
;
6739 } _resultobj
= Py_BuildValue("i",_result
);
6747 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6748 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
* _resultobj
;
6752 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
6753 PyObject
* _argo0
= 0;
6754 PyObject
* _obj1
= 0;
6755 char *_kwnames
[] = { "self","file", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6769 _arg1
= wxString_in_helper(_obj1
);
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) return NULL
;
6779 } _resultobj
= Py_BuildValue("i",_result
);
6787 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6788 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6791 PyObject
* _argo0
= 0;
6792 char *_kwnames
[] = { "self", NULL
};
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 wxTextCtrl_DiscardEdits(_arg0
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) return NULL
;
6810 } Py_INCREF(Py_None
);
6811 _resultobj
= Py_None
;
6815 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6816 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
* _resultobj
;
6819 unsigned long _arg1
;
6820 PyObject
* _argo0
= 0;
6821 char *_kwnames
[] = { "self","len", NULL
};
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) return NULL
;
6839 } Py_INCREF(Py_None
);
6840 _resultobj
= Py_None
;
6844 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6845 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6849 PyObject
* _argo0
= 0;
6850 PyObject
* _obj1
= 0;
6851 char *_kwnames
[] = { "self","text", NULL
};
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6864 _arg1
= wxString_in_helper(_obj1
);
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) return NULL
;
6874 } Py_INCREF(Py_None
);
6875 _resultobj
= Py_None
;
6883 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6884 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
* _resultobj
;
6888 PyObject
* _argo0
= 0;
6889 PyObject
* _obj1
= 0;
6890 char *_kwnames
[] = { "self","text", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6903 _arg1
= wxString_in_helper(_obj1
);
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) return NULL
;
6913 } Py_INCREF(Py_None
);
6914 _resultobj
= Py_None
;
6922 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6923 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6930 PyObject
* _argo0
= 0;
6931 PyObject
* _argo3
= 0;
6932 char *_kwnames
[] = { "self","start","end","style", NULL
};
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6945 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) return NULL
;
6957 } _resultobj
= Py_BuildValue("i",_result
);
6961 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6962 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
* _resultobj
;
6967 PyObject
* _argo0
= 0;
6968 PyObject
* _argo1
= 0;
6969 char *_kwnames
[] = { "self","style", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) return NULL
;
6994 } _resultobj
= Py_BuildValue("i",_result
);
6998 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6999 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
* _resultobj
;
7001 wxTextAttr
* _result
;
7003 PyObject
* _argo0
= 0;
7004 char *_kwnames
[] = { "self", NULL
};
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7019 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7020 _result
= (wxTextAttr
*) &_result_ref
;
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) return NULL
;
7025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7026 _resultobj
= Py_BuildValue("s",_ptemp
);
7029 _resultobj
= Py_None
;
7034 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7035 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7041 PyObject
* _argo0
= 0;
7042 char *_kwnames
[] = { "self","x","y", NULL
};
7045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) return NULL
;
7060 } _resultobj
= Py_BuildValue("l",_result
);
7064 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7065 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 char *_kwnames
[] = { "self","pos", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) return NULL
;
7098 } Py_INCREF(Py_None
);
7099 _resultobj
= Py_None
;
7102 o
= PyInt_FromLong((long) (*_arg2
));
7103 _resultobj
= t_output_helper(_resultobj
, o
);
7107 o
= PyInt_FromLong((long) (*_arg3
));
7108 _resultobj
= t_output_helper(_resultobj
, o
);
7113 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7114 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
* _resultobj
;
7118 PyObject
* _argo0
= 0;
7119 char *_kwnames
[] = { "self","pos", NULL
};
7122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) return NULL
;
7137 } Py_INCREF(Py_None
);
7138 _resultobj
= Py_None
;
7142 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7143 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
* _resultobj
;
7146 PyObject
* _argo0
= 0;
7147 char *_kwnames
[] = { "self", NULL
};
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 wxTextCtrl_Copy(_arg0
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) return NULL
;
7165 } Py_INCREF(Py_None
);
7166 _resultobj
= Py_None
;
7170 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7171 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7172 PyObject
* _resultobj
;
7174 PyObject
* _argo0
= 0;
7175 char *_kwnames
[] = { "self", NULL
};
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 wxTextCtrl_Cut(_arg0
);
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) return NULL
;
7193 } Py_INCREF(Py_None
);
7194 _resultobj
= Py_None
;
7198 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7199 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
* _resultobj
;
7202 PyObject
* _argo0
= 0;
7203 char *_kwnames
[] = { "self", NULL
};
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 wxTextCtrl_Paste(_arg0
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) return NULL
;
7221 } Py_INCREF(Py_None
);
7222 _resultobj
= Py_None
;
7226 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7227 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
* _resultobj
;
7231 PyObject
* _argo0
= 0;
7232 char *_kwnames
[] = { "self", NULL
};
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) return NULL
;
7250 } _resultobj
= Py_BuildValue("i",_result
);
7254 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7255 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
* _resultobj
;
7259 PyObject
* _argo0
= 0;
7260 char *_kwnames
[] = { "self", NULL
};
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) return NULL
;
7278 } _resultobj
= Py_BuildValue("i",_result
);
7282 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7283 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7287 PyObject
* _argo0
= 0;
7288 char *_kwnames
[] = { "self", NULL
};
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) return NULL
;
7306 } _resultobj
= Py_BuildValue("i",_result
);
7310 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7311 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
* _resultobj
;
7314 PyObject
* _argo0
= 0;
7315 char *_kwnames
[] = { "self", NULL
};
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 wxTextCtrl_Undo(_arg0
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) return NULL
;
7333 } Py_INCREF(Py_None
);
7334 _resultobj
= Py_None
;
7338 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7339 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7340 PyObject
* _resultobj
;
7342 PyObject
* _argo0
= 0;
7343 char *_kwnames
[] = { "self", NULL
};
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 wxTextCtrl_Redo(_arg0
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) return NULL
;
7361 } Py_INCREF(Py_None
);
7362 _resultobj
= Py_None
;
7366 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7367 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
* _resultobj
;
7371 PyObject
* _argo0
= 0;
7372 char *_kwnames
[] = { "self", NULL
};
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) return NULL
;
7390 } _resultobj
= Py_BuildValue("i",_result
);
7394 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7395 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
* _resultobj
;
7399 PyObject
* _argo0
= 0;
7400 char *_kwnames
[] = { "self", NULL
};
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) return NULL
;
7418 } _resultobj
= Py_BuildValue("i",_result
);
7422 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7423 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
* _resultobj
;
7427 PyObject
* _argo0
= 0;
7428 char *_kwnames
[] = { "self","pos", NULL
};
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) return NULL
;
7446 } Py_INCREF(Py_None
);
7447 _resultobj
= Py_None
;
7451 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7452 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7455 PyObject
* _argo0
= 0;
7456 char *_kwnames
[] = { "self", NULL
};
7459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) return NULL
;
7474 } Py_INCREF(Py_None
);
7475 _resultobj
= Py_None
;
7479 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7480 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
* _resultobj
;
7484 PyObject
* _argo0
= 0;
7485 char *_kwnames
[] = { "self", NULL
};
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) return NULL
;
7503 } _resultobj
= Py_BuildValue("l",_result
);
7507 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7508 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7509 PyObject
* _resultobj
;
7512 PyObject
* _argo0
= 0;
7513 char *_kwnames
[] = { "self", NULL
};
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) return NULL
;
7531 } _resultobj
= Py_BuildValue("l",_result
);
7535 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7536 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
* _resultobj
;
7541 PyObject
* _argo0
= 0;
7542 char *_kwnames
[] = { "self","from","to", NULL
};
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7556 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7558 wxPyEndAllowThreads(__tstate
);
7559 if (PyErr_Occurred()) return NULL
;
7560 } Py_INCREF(Py_None
);
7561 _resultobj
= Py_None
;
7565 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7566 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
* _resultobj
;
7569 PyObject
* _argo0
= 0;
7570 char *_kwnames
[] = { "self", NULL
};
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 wxTextCtrl_SelectAll(_arg0
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) return NULL
;
7588 } Py_INCREF(Py_None
);
7589 _resultobj
= Py_None
;
7593 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7594 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
* _resultobj
;
7598 PyObject
* _argo0
= 0;
7600 char *_kwnames
[] = { "self","editable", NULL
};
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7612 _arg1
= (bool ) tempbool1
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) return NULL
;
7619 } Py_INCREF(Py_None
);
7620 _resultobj
= Py_None
;
7624 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7625 self
->AppendText(text
);
7627 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
* _resultobj
;
7631 PyObject
* _argo0
= 0;
7632 PyObject
* _obj1
= 0;
7633 char *_kwnames
[] = { "self","text", NULL
};
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7646 _arg1
= wxString_in_helper(_obj1
);
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 wxTextCtrl_write(_arg0
,*_arg1
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) return NULL
;
7656 } Py_INCREF(Py_None
);
7657 _resultobj
= Py_None
;
7665 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7666 return self
->GetValue().Mid(from
, to
-from
);
7668 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
* _resultobj
;
7674 PyObject
* _argo0
= 0;
7675 char *_kwnames
[] = { "self","from","to", NULL
};
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) return NULL
;
7695 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7697 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7706 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7709 src
= (wxScrollBar
*) ptr
;
7710 dest
= (wxControl
*) src
;
7711 return (void *) dest
;
7714 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7717 src
= (wxScrollBar
*) ptr
;
7718 dest
= (wxWindow
*) src
;
7719 return (void *) dest
;
7722 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7725 src
= (wxScrollBar
*) ptr
;
7726 dest
= (wxEvtHandler
*) src
;
7727 return (void *) dest
;
7730 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7733 src
= (wxScrollBar
*) ptr
;
7734 dest
= (wxObject
*) src
;
7735 return (void *) dest
;
7738 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7739 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7740 PyObject
* _resultobj
;
7741 wxScrollBar
* _result
;
7743 wxWindowID _arg1
= (wxWindowID
) -1;
7744 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7745 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7746 long _arg4
= (long ) wxSB_HORIZONTAL
;
7747 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7748 wxString
* _arg6
= (wxString
*) &wxPyScrollBarNameStr
;
7749 PyObject
* _argo0
= 0;
7751 PyObject
* _obj2
= 0;
7753 PyObject
* _obj3
= 0;
7754 PyObject
* _argo5
= 0;
7755 PyObject
* _obj6
= 0;
7756 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
7763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7772 if (! wxPoint_helper(_obj2
, &_arg2
))
7778 if (! wxSize_helper(_obj3
, &_arg3
))
7782 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7783 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7790 _arg6
= wxString_in_helper(_obj6
);
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) return NULL
;
7801 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7802 _resultobj
= Py_BuildValue("s",_ptemp
);
7805 _resultobj
= Py_None
;
7814 #define new_wxPreScrollBar() (new wxScrollBar())
7815 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7817 wxScrollBar
* _result
;
7818 char *_kwnames
[] = { NULL
};
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) return NULL
;
7831 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7832 _resultobj
= Py_BuildValue("s",_ptemp
);
7835 _resultobj
= Py_None
;
7840 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7841 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
* _resultobj
;
7844 wxScrollBar
* _arg0
;
7846 wxWindowID _arg2
= (wxWindowID
) -1;
7847 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7848 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7849 long _arg5
= (long ) wxSB_HORIZONTAL
;
7850 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7851 wxString
* _arg7
= (wxString
*) &wxPyScrollBarNameStr
;
7852 PyObject
* _argo0
= 0;
7853 PyObject
* _argo1
= 0;
7855 PyObject
* _obj3
= 0;
7857 PyObject
* _obj4
= 0;
7858 PyObject
* _argo6
= 0;
7859 PyObject
* _obj7
= 0;
7860 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7882 if (! wxPoint_helper(_obj3
, &_arg3
))
7888 if (! wxSize_helper(_obj4
, &_arg4
))
7892 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7893 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7900 _arg7
= wxString_in_helper(_obj7
);
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) return NULL
;
7910 } _resultobj
= Py_BuildValue("i",_result
);
7918 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7919 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
* _resultobj
;
7922 wxScrollBar
* _arg0
;
7923 PyObject
* _argo0
= 0;
7924 char *_kwnames
[] = { "self", NULL
};
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 _result
= (int )wxScrollBar_GetRange(_arg0
);
7940 wxPyEndAllowThreads(__tstate
);
7941 if (PyErr_Occurred()) return NULL
;
7942 } _resultobj
= Py_BuildValue("i",_result
);
7946 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7947 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7948 PyObject
* _resultobj
;
7950 wxScrollBar
* _arg0
;
7951 PyObject
* _argo0
= 0;
7952 char *_kwnames
[] = { "self", NULL
};
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) return NULL
;
7970 } _resultobj
= Py_BuildValue("i",_result
);
7974 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7975 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7976 PyObject
* _resultobj
;
7978 wxScrollBar
* _arg0
;
7979 PyObject
* _argo0
= 0;
7980 char *_kwnames
[] = { "self", NULL
};
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) return NULL
;
7998 } _resultobj
= Py_BuildValue("i",_result
);
8002 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8003 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
* _resultobj
;
8006 wxScrollBar
* _arg0
;
8007 PyObject
* _argo0
= 0;
8008 char *_kwnames
[] = { "self", NULL
};
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) return NULL
;
8026 } _resultobj
= Py_BuildValue("i",_result
);
8030 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8031 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
* _resultobj
;
8034 wxScrollBar
* _arg0
;
8035 PyObject
* _argo0
= 0;
8036 char *_kwnames
[] = { "self", NULL
};
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) return NULL
;
8054 } _resultobj
= Py_BuildValue("i",_result
);
8058 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8059 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
* _resultobj
;
8061 wxScrollBar
* _arg0
;
8063 PyObject
* _argo0
= 0;
8064 char *_kwnames
[] = { "self","viewStart", NULL
};
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) return NULL
;
8082 } Py_INCREF(Py_None
);
8083 _resultobj
= Py_None
;
8087 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8088 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
* _resultobj
;
8090 wxScrollBar
* _arg0
;
8095 bool _arg5
= (bool ) TRUE
;
8096 PyObject
* _argo0
= 0;
8097 int tempbool5
= (int) TRUE
;
8098 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8110 _arg5
= (bool ) tempbool5
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) return NULL
;
8117 } Py_INCREF(Py_None
);
8118 _resultobj
= Py_None
;
8122 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8125 src
= (wxSpinButton
*) ptr
;
8126 dest
= (wxControl
*) src
;
8127 return (void *) dest
;
8130 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8133 src
= (wxSpinButton
*) ptr
;
8134 dest
= (wxWindow
*) src
;
8135 return (void *) dest
;
8138 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8141 src
= (wxSpinButton
*) ptr
;
8142 dest
= (wxEvtHandler
*) src
;
8143 return (void *) dest
;
8146 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8149 src
= (wxSpinButton
*) ptr
;
8150 dest
= (wxObject
*) src
;
8151 return (void *) dest
;
8154 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8155 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
* _resultobj
;
8157 wxSpinButton
* _result
;
8159 wxWindowID _arg1
= (wxWindowID
) -1;
8160 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8161 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8162 long _arg4
= (long ) wxSP_HORIZONTAL
;
8163 wxString
* _arg5
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8164 PyObject
* _argo0
= 0;
8166 PyObject
* _obj2
= 0;
8168 PyObject
* _obj3
= 0;
8169 PyObject
* _obj5
= 0;
8170 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
8177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8186 if (! wxPoint_helper(_obj2
, &_arg2
))
8192 if (! wxSize_helper(_obj3
, &_arg3
))
8197 _arg5
= wxString_in_helper(_obj5
);
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) return NULL
;
8208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8209 _resultobj
= Py_BuildValue("s",_ptemp
);
8212 _resultobj
= Py_None
;
8221 #define new_wxPreSpinButton() (new wxSpinButton())
8222 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
* _resultobj
;
8224 wxSpinButton
* _result
;
8225 char *_kwnames
[] = { NULL
};
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) return NULL
;
8238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8239 _resultobj
= Py_BuildValue("s",_ptemp
);
8242 _resultobj
= Py_None
;
8247 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8248 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
* _resultobj
;
8251 wxSpinButton
* _arg0
;
8253 wxWindowID _arg2
= (wxWindowID
) -1;
8254 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8255 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8256 long _arg5
= (long ) wxSP_HORIZONTAL
;
8257 wxString
* _arg6
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8258 PyObject
* _argo0
= 0;
8259 PyObject
* _argo1
= 0;
8261 PyObject
* _obj3
= 0;
8263 PyObject
* _obj4
= 0;
8264 PyObject
* _obj6
= 0;
8265 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8278 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8287 if (! wxPoint_helper(_obj3
, &_arg3
))
8293 if (! wxSize_helper(_obj4
, &_arg4
))
8298 _arg6
= wxString_in_helper(_obj6
);
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) return NULL
;
8308 } _resultobj
= Py_BuildValue("i",_result
);
8316 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8317 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
* _resultobj
;
8320 wxSpinButton
* _arg0
;
8321 PyObject
* _argo0
= 0;
8322 char *_kwnames
[] = { "self", NULL
};
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 _result
= (int )wxSpinButton_GetMax(_arg0
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) return NULL
;
8340 } _resultobj
= Py_BuildValue("i",_result
);
8344 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8345 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
* _resultobj
;
8348 wxSpinButton
* _arg0
;
8349 PyObject
* _argo0
= 0;
8350 char *_kwnames
[] = { "self", NULL
};
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 _result
= (int )wxSpinButton_GetMin(_arg0
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) return NULL
;
8368 } _resultobj
= Py_BuildValue("i",_result
);
8372 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8373 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
* _resultobj
;
8376 wxSpinButton
* _arg0
;
8377 PyObject
* _argo0
= 0;
8378 char *_kwnames
[] = { "self", NULL
};
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 _result
= (int )wxSpinButton_GetValue(_arg0
);
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) return NULL
;
8396 } _resultobj
= Py_BuildValue("i",_result
);
8400 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8401 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
* _resultobj
;
8403 wxSpinButton
* _arg0
;
8406 PyObject
* _argo0
= 0;
8407 char *_kwnames
[] = { "self","min","max", NULL
};
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) return NULL
;
8425 } Py_INCREF(Py_None
);
8426 _resultobj
= Py_None
;
8430 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8431 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
* _resultobj
;
8433 wxSpinButton
* _arg0
;
8435 PyObject
* _argo0
= 0;
8436 char *_kwnames
[] = { "self","value", NULL
};
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 wxSpinButton_SetValue(_arg0
,_arg1
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) return NULL
;
8454 } Py_INCREF(Py_None
);
8455 _resultobj
= Py_None
;
8459 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8460 wxStaticBitmap
*src
;
8462 src
= (wxStaticBitmap
*) ptr
;
8463 dest
= (wxControl
*) src
;
8464 return (void *) dest
;
8467 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8468 wxStaticBitmap
*src
;
8470 src
= (wxStaticBitmap
*) ptr
;
8471 dest
= (wxWindow
*) src
;
8472 return (void *) dest
;
8475 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8476 wxStaticBitmap
*src
;
8478 src
= (wxStaticBitmap
*) ptr
;
8479 dest
= (wxEvtHandler
*) src
;
8480 return (void *) dest
;
8483 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8484 wxStaticBitmap
*src
;
8486 src
= (wxStaticBitmap
*) ptr
;
8487 dest
= (wxObject
*) src
;
8488 return (void *) dest
;
8491 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8492 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8493 PyObject
* _resultobj
;
8494 wxStaticBitmap
* _result
;
8498 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8499 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8500 long _arg5
= (long ) 0;
8501 wxString
* _arg6
= (wxString
*) &wxPyStaticBitmapNameStr
;
8502 PyObject
* _argo0
= 0;
8503 PyObject
* _argo2
= 0;
8505 PyObject
* _obj3
= 0;
8507 PyObject
* _obj4
= 0;
8508 PyObject
* _obj6
= 0;
8509 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8523 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8524 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8532 if (! wxPoint_helper(_obj3
, &_arg3
))
8538 if (! wxSize_helper(_obj4
, &_arg4
))
8543 _arg6
= wxString_in_helper(_obj6
);
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) return NULL
;
8554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8555 _resultobj
= Py_BuildValue("s",_ptemp
);
8558 _resultobj
= Py_None
;
8567 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8568 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
* _resultobj
;
8570 wxStaticBitmap
* _result
;
8571 char *_kwnames
[] = { NULL
};
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) return NULL
;
8584 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8585 _resultobj
= Py_BuildValue("s",_ptemp
);
8588 _resultobj
= Py_None
;
8593 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8594 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
* _resultobj
;
8597 wxStaticBitmap
* _arg0
;
8601 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8602 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8603 long _arg6
= (long ) 0;
8604 wxString
* _arg7
= (wxString
*) &wxPyStaticBitmapNameStr
;
8605 PyObject
* _argo0
= 0;
8606 PyObject
* _argo1
= 0;
8607 PyObject
* _argo3
= 0;
8609 PyObject
* _obj4
= 0;
8611 PyObject
* _obj5
= 0;
8612 PyObject
* _obj7
= 0;
8613 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
8619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8633 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8634 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8642 if (! wxPoint_helper(_obj4
, &_arg4
))
8648 if (! wxSize_helper(_obj5
, &_arg5
))
8653 _arg7
= wxString_in_helper(_obj7
);
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) return NULL
;
8663 } _resultobj
= Py_BuildValue("i",_result
);
8671 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8672 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
* _resultobj
;
8675 wxStaticBitmap
* _arg0
;
8676 PyObject
* _argo0
= 0;
8677 char *_kwnames
[] = { "self", NULL
};
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) return NULL
;
8696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8697 _resultobj
= Py_BuildValue("s",_ptemp
);
8701 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8702 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
* _resultobj
;
8704 wxStaticBitmap
* _arg0
;
8706 PyObject
* _argo0
= 0;
8707 PyObject
* _argo1
= 0;
8708 char *_kwnames
[] = { "self","bitmap", NULL
};
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) return NULL
;
8733 } Py_INCREF(Py_None
);
8734 _resultobj
= Py_None
;
8738 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8739 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
* _resultobj
;
8741 wxStaticBitmap
* _arg0
;
8743 PyObject
* _argo0
= 0;
8744 PyObject
* _argo1
= 0;
8745 char *_kwnames
[] = { "self","icon", NULL
};
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8758 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8759 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) return NULL
;
8770 } Py_INCREF(Py_None
);
8771 _resultobj
= Py_None
;
8775 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8778 src
= (wxRadioBox
*) ptr
;
8779 dest
= (wxControl
*) src
;
8780 return (void *) dest
;
8783 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8786 src
= (wxRadioBox
*) ptr
;
8787 dest
= (wxWindow
*) src
;
8788 return (void *) dest
;
8791 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8794 src
= (wxRadioBox
*) ptr
;
8795 dest
= (wxEvtHandler
*) src
;
8796 return (void *) dest
;
8799 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8802 src
= (wxRadioBox
*) ptr
;
8803 dest
= (wxObject
*) src
;
8804 return (void *) dest
;
8807 #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))
8808 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
* _resultobj
;
8810 wxRadioBox
* _result
;
8814 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8815 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8816 int _arg5
= (int ) 0;
8817 wxString
* _arg6
= (wxString
*) NULL
;
8818 int _arg7
= (int ) 0;
8819 long _arg8
= (long ) wxRA_HORIZONTAL
;
8820 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8821 wxString
* _arg10
= (wxString
*) &wxPyRadioBoxNameStr
;
8822 PyObject
* _argo0
= 0;
8823 PyObject
* _obj2
= 0;
8825 PyObject
* _obj3
= 0;
8827 PyObject
* _obj4
= 0;
8828 PyObject
* _obj6
= 0;
8829 PyObject
* _argo9
= 0;
8830 PyObject
* _obj10
= 0;
8831 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOO:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_obj10
))
8838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8845 _arg2
= wxString_in_helper(_obj2
);
8852 if (! wxPoint_helper(_obj3
, &_arg3
))
8858 if (! wxSize_helper(_obj4
, &_arg4
))
8863 _arg6
= wxString_LIST_helper(_obj6
);
8864 if (_arg6
== NULL
) {
8869 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8870 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8877 _arg10
= wxString_in_helper(_obj10
);
8883 _arg5
= PyList_Size(_obj6
);
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) return NULL
;
8896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8897 _resultobj
= Py_BuildValue("s",_ptemp
);
8900 _resultobj
= Py_None
;
8916 #define new_wxPreRadioBox() (new wxRadioBox())
8917 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
* _resultobj
;
8919 wxRadioBox
* _result
;
8920 char *_kwnames
[] = { NULL
};
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) return NULL
;
8933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8934 _resultobj
= Py_BuildValue("s",_ptemp
);
8937 _resultobj
= Py_None
;
8942 #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))
8943 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
* _resultobj
;
8950 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8951 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8952 int _arg6
= (int ) 0;
8953 wxString
* _arg7
= (wxString
*) NULL
;
8954 int _arg8
= (int ) 0;
8955 long _arg9
= (long ) wxRA_HORIZONTAL
;
8956 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8957 wxString
* _arg11
= (wxString
*) &wxPyRadioBoxNameStr
;
8958 PyObject
* _argo0
= 0;
8959 PyObject
* _argo1
= 0;
8960 PyObject
* _obj3
= 0;
8962 PyObject
* _obj4
= 0;
8964 PyObject
* _obj5
= 0;
8965 PyObject
* _obj7
= 0;
8966 PyObject
* _argo10
= 0;
8967 PyObject
* _obj11
= 0;
8968 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_obj11
))
8974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8981 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8982 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8988 _arg3
= wxString_in_helper(_obj3
);
8995 if (! wxPoint_helper(_obj4
, &_arg4
))
9001 if (! wxSize_helper(_obj5
, &_arg5
))
9006 _arg7
= wxString_LIST_helper(_obj7
);
9007 if (_arg7
== NULL
) {
9012 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9020 _arg11
= wxString_in_helper(_obj11
);
9026 _arg6
= PyList_Size(_obj7
);
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,*_arg11
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) return NULL
;
9038 } _resultobj
= Py_BuildValue("i",_result
);
9053 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9054 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
* _resultobj
;
9058 PyObject
* _argo0
= 0;
9060 char *_kwnames
[] = { "self","enable", NULL
};
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9072 _arg1
= (bool ) tempbool1
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 wxRadioBox_Enable(_arg0
,_arg1
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) return NULL
;
9079 } Py_INCREF(Py_None
);
9080 _resultobj
= Py_None
;
9084 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9085 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
* _resultobj
;
9090 PyObject
* _argo0
= 0;
9092 char *_kwnames
[] = { "self","n","enable", NULL
};
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9104 _arg2
= (bool ) tempbool2
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) return NULL
;
9111 } Py_INCREF(Py_None
);
9112 _resultobj
= Py_None
;
9116 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9117 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
* _resultobj
;
9122 PyObject
* _argo0
= 0;
9123 PyObject
* _obj1
= 0;
9124 char *_kwnames
[] = { "self","string", NULL
};
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9137 _arg1
= wxString_in_helper(_obj1
);
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) return NULL
;
9147 } _resultobj
= Py_BuildValue("i",_result
);
9155 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9156 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
* _resultobj
;
9161 PyObject
* _argo0
= 0;
9162 char *_kwnames
[] = { "self","n", NULL
};
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) return NULL
;
9182 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9184 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9193 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9194 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
* _resultobj
;
9199 PyObject
* _argo0
= 0;
9200 PyObject
* _obj2
= 0;
9201 char *_kwnames
[] = { "self","n","label", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9214 _arg2
= wxString_in_helper(_obj2
);
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) return NULL
;
9224 } Py_INCREF(Py_None
);
9225 _resultobj
= Py_None
;
9233 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9234 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
* _resultobj
;
9238 PyObject
* _argo0
= 0;
9239 char *_kwnames
[] = { "self", NULL
};
9242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) return NULL
;
9257 } _resultobj
= Py_BuildValue("i",_result
);
9261 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9262 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
* _resultobj
;
9266 PyObject
* _argo0
= 0;
9267 char *_kwnames
[] = { "self", NULL
};
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) return NULL
;
9285 } _resultobj
= Py_BuildValue("i",_result
);
9289 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9290 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
* _resultobj
;
9294 PyObject
* _argo0
= 0;
9295 char *_kwnames
[] = { "self", NULL
};
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) return NULL
;
9313 } _resultobj
= Py_BuildValue("i",_result
);
9317 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9318 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9322 PyObject
* _argo0
= 0;
9323 char *_kwnames
[] = { "self", NULL
};
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9339 wxPyEndAllowThreads(__tstate
);
9340 if (PyErr_Occurred()) return NULL
;
9343 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9345 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9354 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9355 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
* _resultobj
;
9359 PyObject
* _argo0
= 0;
9360 char *_kwnames
[] = { "self", NULL
};
9363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 _result
= (int )wxRadioBox_GetCount(_arg0
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) return NULL
;
9378 } _resultobj
= Py_BuildValue("i",_result
);
9382 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9383 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
* _resultobj
;
9387 PyObject
* _argo0
= 0;
9388 char *_kwnames
[] = { "self","n", NULL
};
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 wxRadioBox_SetSelection(_arg0
,_arg1
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) return NULL
;
9406 } Py_INCREF(Py_None
);
9407 _resultobj
= Py_None
;
9411 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9412 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
* _resultobj
;
9416 PyObject
* _argo0
= 0;
9417 PyObject
* _obj1
= 0;
9418 char *_kwnames
[] = { "self","string", NULL
};
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9431 _arg1
= wxString_in_helper(_obj1
);
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) return NULL
;
9441 } Py_INCREF(Py_None
);
9442 _resultobj
= Py_None
;
9450 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9451 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
* _resultobj
;
9455 PyObject
* _argo0
= 0;
9457 char *_kwnames
[] = { "self","show", NULL
};
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9469 _arg1
= (bool ) tempbool1
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 wxRadioBox_Show(_arg0
,_arg1
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) return NULL
;
9476 } Py_INCREF(Py_None
);
9477 _resultobj
= Py_None
;
9481 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9482 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
* _resultobj
;
9487 PyObject
* _argo0
= 0;
9489 char *_kwnames
[] = { "self","item","show", NULL
};
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9501 _arg2
= (bool ) tempbool2
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) return NULL
;
9508 } Py_INCREF(Py_None
);
9509 _resultobj
= Py_None
;
9513 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9516 src
= (wxRadioButton
*) ptr
;
9517 dest
= (wxControl
*) src
;
9518 return (void *) dest
;
9521 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9524 src
= (wxRadioButton
*) ptr
;
9525 dest
= (wxWindow
*) src
;
9526 return (void *) dest
;
9529 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9532 src
= (wxRadioButton
*) ptr
;
9533 dest
= (wxEvtHandler
*) src
;
9534 return (void *) dest
;
9537 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9540 src
= (wxRadioButton
*) ptr
;
9541 dest
= (wxObject
*) src
;
9542 return (void *) dest
;
9545 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9546 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
* _resultobj
;
9548 wxRadioButton
* _result
;
9552 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9553 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9554 long _arg5
= (long ) 0;
9555 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9556 wxString
* _arg7
= (wxString
*) &wxPyRadioButtonNameStr
;
9557 PyObject
* _argo0
= 0;
9558 PyObject
* _obj2
= 0;
9560 PyObject
* _obj3
= 0;
9562 PyObject
* _obj4
= 0;
9563 PyObject
* _argo6
= 0;
9564 PyObject
* _obj7
= 0;
9565 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
9572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9579 _arg2
= wxString_in_helper(_obj2
);
9586 if (! wxPoint_helper(_obj3
, &_arg3
))
9592 if (! wxSize_helper(_obj4
, &_arg4
))
9596 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9597 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9604 _arg7
= wxString_in_helper(_obj7
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) return NULL
;
9615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9616 _resultobj
= Py_BuildValue("s",_ptemp
);
9619 _resultobj
= Py_None
;
9632 #define new_wxPreRadioButton() (new wxRadioButton())
9633 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9635 wxRadioButton
* _result
;
9636 char *_kwnames
[] = { NULL
};
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) return NULL
;
9649 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9650 _resultobj
= Py_BuildValue("s",_ptemp
);
9653 _resultobj
= Py_None
;
9658 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9659 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
* _resultobj
;
9662 wxRadioButton
* _arg0
;
9666 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9667 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9668 long _arg6
= (long ) 0;
9669 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9670 wxString
* _arg8
= (wxString
*) &wxPyRadioButtonNameStr
;
9671 PyObject
* _argo0
= 0;
9672 PyObject
* _argo1
= 0;
9673 PyObject
* _obj3
= 0;
9675 PyObject
* _obj4
= 0;
9677 PyObject
* _obj5
= 0;
9678 PyObject
* _argo7
= 0;
9679 PyObject
* _obj8
= 0;
9680 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
9686 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9687 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9693 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9694 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9700 _arg3
= wxString_in_helper(_obj3
);
9707 if (! wxPoint_helper(_obj4
, &_arg4
))
9713 if (! wxSize_helper(_obj5
, &_arg5
))
9717 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9718 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9725 _arg8
= wxString_in_helper(_obj8
);
9730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9731 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) return NULL
;
9735 } _resultobj
= Py_BuildValue("i",_result
);
9747 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9748 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
* _resultobj
;
9751 wxRadioButton
* _arg0
;
9752 PyObject
* _argo0
= 0;
9753 char *_kwnames
[] = { "self", NULL
};
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) return NULL
;
9771 } _resultobj
= Py_BuildValue("i",_result
);
9775 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9776 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
* _resultobj
;
9778 wxRadioButton
* _arg0
;
9780 PyObject
* _argo0
= 0;
9782 char *_kwnames
[] = { "self","value", NULL
};
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9794 _arg1
= (bool ) tempbool1
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 wxRadioButton_SetValue(_arg0
,_arg1
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) return NULL
;
9801 } Py_INCREF(Py_None
);
9802 _resultobj
= Py_None
;
9806 static void *SwigwxSliderTowxControl(void *ptr
) {
9809 src
= (wxSlider
*) ptr
;
9810 dest
= (wxControl
*) src
;
9811 return (void *) dest
;
9814 static void *SwigwxSliderTowxWindow(void *ptr
) {
9817 src
= (wxSlider
*) ptr
;
9818 dest
= (wxWindow
*) src
;
9819 return (void *) dest
;
9822 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9825 src
= (wxSlider
*) ptr
;
9826 dest
= (wxEvtHandler
*) src
;
9827 return (void *) dest
;
9830 static void *SwigwxSliderTowxObject(void *ptr
) {
9833 src
= (wxSlider
*) ptr
;
9834 dest
= (wxObject
*) src
;
9835 return (void *) dest
;
9838 #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))
9839 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
* _resultobj
;
9847 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9848 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9849 long _arg7
= (long ) wxSL_HORIZONTAL
;
9850 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9851 wxString
* _arg9
= (wxString
*) &wxPySliderNameStr
;
9852 PyObject
* _argo0
= 0;
9854 PyObject
* _obj5
= 0;
9856 PyObject
* _obj6
= 0;
9857 PyObject
* _argo8
= 0;
9858 PyObject
* _obj9
= 0;
9859 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOO:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
9866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9875 if (! wxPoint_helper(_obj5
, &_arg5
))
9881 if (! wxSize_helper(_obj6
, &_arg6
))
9885 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9886 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9893 _arg9
= wxString_in_helper(_obj9
);
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,*_arg9
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) return NULL
;
9904 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9905 _resultobj
= Py_BuildValue("s",_ptemp
);
9908 _resultobj
= Py_None
;
9917 #define new_wxPreSlider() (new wxSlider())
9918 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
* _resultobj
;
9921 char *_kwnames
[] = { NULL
};
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9929 _result
= (wxSlider
*)new_wxPreSlider();
9931 wxPyEndAllowThreads(__tstate
);
9932 if (PyErr_Occurred()) return NULL
;
9934 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9935 _resultobj
= Py_BuildValue("s",_ptemp
);
9938 _resultobj
= Py_None
;
9943 #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))
9944 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
* _resultobj
;
9953 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9954 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9955 long _arg8
= (long ) wxSL_HORIZONTAL
;
9956 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9957 wxString
* _arg10
= (wxString
*) &wxPySliderNameStr
;
9958 PyObject
* _argo0
= 0;
9959 PyObject
* _argo1
= 0;
9961 PyObject
* _obj6
= 0;
9963 PyObject
* _obj7
= 0;
9964 PyObject
* _argo9
= 0;
9965 PyObject
* _obj10
= 0;
9966 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOO:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
9972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9988 if (! wxPoint_helper(_obj6
, &_arg6
))
9994 if (! wxSize_helper(_obj7
, &_arg7
))
9998 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9999 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10006 _arg10
= wxString_in_helper(_obj10
);
10007 if (_arg10
== NULL
)
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,*_arg10
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) return NULL
;
10016 } _resultobj
= Py_BuildValue("i",_result
);
10024 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10025 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
* _resultobj
;
10028 PyObject
* _argo0
= 0;
10029 char *_kwnames
[] = { "self", NULL
};
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 wxSlider_ClearSel(_arg0
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) return NULL
;
10047 } Py_INCREF(Py_None
);
10048 _resultobj
= Py_None
;
10052 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10053 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
* _resultobj
;
10056 PyObject
* _argo0
= 0;
10057 char *_kwnames
[] = { "self", NULL
};
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 wxSlider_ClearTicks(_arg0
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) return NULL
;
10075 } Py_INCREF(Py_None
);
10076 _resultobj
= Py_None
;
10080 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10081 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
* _resultobj
;
10085 PyObject
* _argo0
= 0;
10086 char *_kwnames
[] = { "self", NULL
};
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10100 _result
= (int )wxSlider_GetLineSize(_arg0
);
10102 wxPyEndAllowThreads(__tstate
);
10103 if (PyErr_Occurred()) return NULL
;
10104 } _resultobj
= Py_BuildValue("i",_result
);
10108 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10109 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
* _resultobj
;
10113 PyObject
* _argo0
= 0;
10114 char *_kwnames
[] = { "self", NULL
};
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 _result
= (int )wxSlider_GetMax(_arg0
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) return NULL
;
10132 } _resultobj
= Py_BuildValue("i",_result
);
10136 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10137 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
* _resultobj
;
10141 PyObject
* _argo0
= 0;
10142 char *_kwnames
[] = { "self", NULL
};
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 _result
= (int )wxSlider_GetMin(_arg0
);
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) return NULL
;
10160 } _resultobj
= Py_BuildValue("i",_result
);
10164 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10165 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
* _resultobj
;
10169 PyObject
* _argo0
= 0;
10170 char *_kwnames
[] = { "self", NULL
};
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 _result
= (int )wxSlider_GetPageSize(_arg0
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) return NULL
;
10188 } _resultobj
= Py_BuildValue("i",_result
);
10192 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10193 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
* _resultobj
;
10197 PyObject
* _argo0
= 0;
10198 char *_kwnames
[] = { "self", NULL
};
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) return NULL
;
10216 } _resultobj
= Py_BuildValue("i",_result
);
10220 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10221 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10222 PyObject
* _resultobj
;
10225 PyObject
* _argo0
= 0;
10226 char *_kwnames
[] = { "self", NULL
};
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 _result
= (int )wxSlider_GetSelStart(_arg0
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) return NULL
;
10244 } _resultobj
= Py_BuildValue("i",_result
);
10248 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10249 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
* _resultobj
;
10253 PyObject
* _argo0
= 0;
10254 char *_kwnames
[] = { "self", NULL
};
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) return NULL
;
10272 } _resultobj
= Py_BuildValue("i",_result
);
10276 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10277 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
* _resultobj
;
10281 PyObject
* _argo0
= 0;
10282 char *_kwnames
[] = { "self", NULL
};
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) return NULL
;
10300 } _resultobj
= Py_BuildValue("i",_result
);
10304 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10305 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
* _resultobj
;
10309 PyObject
* _argo0
= 0;
10310 char *_kwnames
[] = { "self", NULL
};
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 _result
= (int )wxSlider_GetValue(_arg0
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) return NULL
;
10328 } _resultobj
= Py_BuildValue("i",_result
);
10332 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10333 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
* _resultobj
;
10338 PyObject
* _argo0
= 0;
10339 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) return NULL
;
10357 } Py_INCREF(Py_None
);
10358 _resultobj
= Py_None
;
10362 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10363 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
* _resultobj
;
10368 PyObject
* _argo0
= 0;
10369 char *_kwnames
[] = { "self","n","pos", NULL
};
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) return NULL
;
10387 } Py_INCREF(Py_None
);
10388 _resultobj
= Py_None
;
10392 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10393 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
* _resultobj
;
10397 PyObject
* _argo0
= 0;
10398 char *_kwnames
[] = { "self","lineSize", NULL
};
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 wxSlider_SetLineSize(_arg0
,_arg1
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) return NULL
;
10416 } Py_INCREF(Py_None
);
10417 _resultobj
= Py_None
;
10421 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10422 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
* _resultobj
;
10426 PyObject
* _argo0
= 0;
10427 char *_kwnames
[] = { "self","pageSize", NULL
};
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 wxSlider_SetPageSize(_arg0
,_arg1
);
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) return NULL
;
10445 } Py_INCREF(Py_None
);
10446 _resultobj
= Py_None
;
10450 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10451 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
* _resultobj
;
10456 PyObject
* _argo0
= 0;
10457 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) return NULL
;
10475 } Py_INCREF(Py_None
);
10476 _resultobj
= Py_None
;
10480 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10481 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
* _resultobj
;
10485 PyObject
* _argo0
= 0;
10486 char *_kwnames
[] = { "self","len", NULL
};
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10500 wxSlider_SetThumbLength(_arg0
,_arg1
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) return NULL
;
10504 } Py_INCREF(Py_None
);
10505 _resultobj
= Py_None
;
10509 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10510 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
* _resultobj
;
10514 PyObject
* _argo0
= 0;
10515 char *_kwnames
[] = { "self","tickPos", NULL
};
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 wxSlider_SetTick(_arg0
,_arg1
);
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) return NULL
;
10533 } Py_INCREF(Py_None
);
10534 _resultobj
= Py_None
;
10538 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10539 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
* _resultobj
;
10543 PyObject
* _argo0
= 0;
10544 char *_kwnames
[] = { "self","value", NULL
};
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 wxSlider_SetValue(_arg0
,_arg1
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) return NULL
;
10562 } Py_INCREF(Py_None
);
10563 _resultobj
= Py_None
;
10567 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10569 wxSpinButton
*dest
;
10570 src
= (wxSpinCtrl
*) ptr
;
10571 dest
= (wxSpinButton
*) src
;
10572 return (void *) dest
;
10575 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10578 src
= (wxSpinCtrl
*) ptr
;
10579 dest
= (wxControl
*) src
;
10580 return (void *) dest
;
10583 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10586 src
= (wxSpinCtrl
*) ptr
;
10587 dest
= (wxWindow
*) src
;
10588 return (void *) dest
;
10591 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10593 wxEvtHandler
*dest
;
10594 src
= (wxSpinCtrl
*) ptr
;
10595 dest
= (wxEvtHandler
*) src
;
10596 return (void *) dest
;
10599 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10602 src
= (wxSpinCtrl
*) ptr
;
10603 dest
= (wxObject
*) src
;
10604 return (void *) dest
;
10607 #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))
10608 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
* _resultobj
;
10610 wxSpinCtrl
* _result
;
10612 wxWindowID _arg1
= (wxWindowID
) -1;
10613 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10614 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10615 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10616 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10617 int _arg6
= (int ) 0;
10618 int _arg7
= (int ) 100;
10619 int _arg8
= (int ) 0;
10620 wxString
* _arg9
= (wxString
*) &wxPySpinCtrlNameStr
;
10621 PyObject
* _argo0
= 0;
10622 PyObject
* _obj2
= 0;
10624 PyObject
* _obj3
= 0;
10626 PyObject
* _obj4
= 0;
10627 PyObject
* _obj9
= 0;
10628 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_obj9
))
10635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10643 _arg2
= wxString_in_helper(_obj2
);
10650 if (! wxPoint_helper(_obj3
, &_arg3
))
10656 if (! wxSize_helper(_obj4
, &_arg4
))
10661 _arg9
= wxString_in_helper(_obj9
);
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) return NULL
;
10672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10673 _resultobj
= Py_BuildValue("s",_ptemp
);
10675 Py_INCREF(Py_None
);
10676 _resultobj
= Py_None
;
10689 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10690 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
* _resultobj
;
10692 wxSpinCtrl
* _result
;
10693 char *_kwnames
[] = { NULL
};
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) return NULL
;
10706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10707 _resultobj
= Py_BuildValue("s",_ptemp
);
10709 Py_INCREF(Py_None
);
10710 _resultobj
= Py_None
;
10715 #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))
10716 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
* _resultobj
;
10719 wxSpinCtrl
* _arg0
;
10721 wxWindowID _arg2
= (wxWindowID
) -1;
10722 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10723 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10724 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10725 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10726 int _arg7
= (int ) 0;
10727 int _arg8
= (int ) 100;
10728 int _arg9
= (int ) 0;
10729 wxString
* _arg10
= (wxString
*) &wxPySpinCtrlNameStr
;
10730 PyObject
* _argo0
= 0;
10731 PyObject
* _argo1
= 0;
10732 PyObject
* _obj3
= 0;
10734 PyObject
* _obj4
= 0;
10736 PyObject
* _obj5
= 0;
10737 PyObject
* _obj10
= 0;
10738 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_obj10
))
10744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10759 _arg3
= wxString_in_helper(_obj3
);
10766 if (! wxPoint_helper(_obj4
, &_arg4
))
10772 if (! wxSize_helper(_obj5
, &_arg5
))
10777 _arg10
= wxString_in_helper(_obj10
);
10778 if (_arg10
== NULL
)
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) return NULL
;
10787 } _resultobj
= Py_BuildValue("i",_result
);
10799 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10800 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
* _resultobj
;
10803 wxSpinCtrl
* _arg0
;
10804 PyObject
* _argo0
= 0;
10805 char *_kwnames
[] = { "self", NULL
};
10808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) return NULL
;
10823 } _resultobj
= Py_BuildValue("i",_result
);
10827 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10828 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
* _resultobj
;
10831 wxSpinCtrl
* _arg0
;
10832 PyObject
* _argo0
= 0;
10833 char *_kwnames
[] = { "self", NULL
};
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) return NULL
;
10851 } _resultobj
= Py_BuildValue("i",_result
);
10855 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10856 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
* _resultobj
;
10859 wxSpinCtrl
* _arg0
;
10860 PyObject
* _argo0
= 0;
10861 char *_kwnames
[] = { "self", NULL
};
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) return NULL
;
10879 } _resultobj
= Py_BuildValue("i",_result
);
10883 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10884 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
* _resultobj
;
10886 wxSpinCtrl
* _arg0
;
10889 PyObject
* _argo0
= 0;
10890 char *_kwnames
[] = { "self","min","max", NULL
};
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) return NULL
;
10908 } Py_INCREF(Py_None
);
10909 _resultobj
= Py_None
;
10913 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10914 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
* _resultobj
;
10916 wxSpinCtrl
* _arg0
;
10918 PyObject
* _argo0
= 0;
10919 char *_kwnames
[] = { "self","value", NULL
};
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10933 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) return NULL
;
10937 } Py_INCREF(Py_None
);
10938 _resultobj
= Py_None
;
10942 static PyMethodDef controlscMethods
[] = {
10943 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11199 * This table is used by the pointer type-checker
11201 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11202 { "_signed_long","_long",0},
11203 { "_wxPrintQuality","_wxCoord",0},
11204 { "_wxPrintQuality","_int",0},
11205 { "_wxPrintQuality","_signed_int",0},
11206 { "_wxPrintQuality","_unsigned_int",0},
11207 { "_wxPrintQuality","_wxWindowID",0},
11208 { "_wxPrintQuality","_uint",0},
11209 { "_wxPrintQuality","_EBool",0},
11210 { "_wxPrintQuality","_size_t",0},
11211 { "_wxPrintQuality","_time_t",0},
11212 { "_byte","_unsigned_char",0},
11213 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11214 { "_long","_unsigned_long",0},
11215 { "_long","_signed_long",0},
11216 { "_size_t","_wxCoord",0},
11217 { "_size_t","_wxPrintQuality",0},
11218 { "_size_t","_time_t",0},
11219 { "_size_t","_unsigned_int",0},
11220 { "_size_t","_int",0},
11221 { "_size_t","_wxWindowID",0},
11222 { "_size_t","_uint",0},
11223 { "_uint","_wxCoord",0},
11224 { "_uint","_wxPrintQuality",0},
11225 { "_uint","_time_t",0},
11226 { "_uint","_size_t",0},
11227 { "_uint","_unsigned_int",0},
11228 { "_uint","_int",0},
11229 { "_uint","_wxWindowID",0},
11230 { "_wxChar","_char",0},
11231 { "_char","_wxChar",0},
11232 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11233 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11234 { "_EBool","_wxCoord",0},
11235 { "_EBool","_wxPrintQuality",0},
11236 { "_EBool","_signed_int",0},
11237 { "_EBool","_int",0},
11238 { "_EBool","_wxWindowID",0},
11239 { "_unsigned_long","_long",0},
11240 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11241 { "_signed_int","_wxCoord",0},
11242 { "_signed_int","_wxPrintQuality",0},
11243 { "_signed_int","_EBool",0},
11244 { "_signed_int","_wxWindowID",0},
11245 { "_signed_int","_int",0},
11246 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11247 { "_WXTYPE","_short",0},
11248 { "_WXTYPE","_signed_short",0},
11249 { "_WXTYPE","_unsigned_short",0},
11250 { "_unsigned_short","_WXTYPE",0},
11251 { "_unsigned_short","_short",0},
11252 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11253 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11254 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11255 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11256 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11257 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11258 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11259 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11260 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11261 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11262 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11263 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11264 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11265 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11266 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11267 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11268 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11269 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11270 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11271 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11272 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11273 { "_signed_short","_WXTYPE",0},
11274 { "_signed_short","_short",0},
11275 { "_unsigned_char","_byte",0},
11276 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11277 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11278 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11279 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11280 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11281 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11282 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11283 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11284 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11285 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11286 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11287 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11288 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11289 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11290 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11291 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11292 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11293 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11294 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11295 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11296 { "_unsigned_int","_wxCoord",0},
11297 { "_unsigned_int","_wxPrintQuality",0},
11298 { "_unsigned_int","_time_t",0},
11299 { "_unsigned_int","_size_t",0},
11300 { "_unsigned_int","_uint",0},
11301 { "_unsigned_int","_wxWindowID",0},
11302 { "_unsigned_int","_int",0},
11303 { "_short","_WXTYPE",0},
11304 { "_short","_unsigned_short",0},
11305 { "_short","_signed_short",0},
11306 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11307 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11308 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11309 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11310 { "_wxWindowID","_wxCoord",0},
11311 { "_wxWindowID","_wxPrintQuality",0},
11312 { "_wxWindowID","_time_t",0},
11313 { "_wxWindowID","_size_t",0},
11314 { "_wxWindowID","_EBool",0},
11315 { "_wxWindowID","_uint",0},
11316 { "_wxWindowID","_int",0},
11317 { "_wxWindowID","_signed_int",0},
11318 { "_wxWindowID","_unsigned_int",0},
11319 { "_int","_wxCoord",0},
11320 { "_int","_wxPrintQuality",0},
11321 { "_int","_time_t",0},
11322 { "_int","_size_t",0},
11323 { "_int","_EBool",0},
11324 { "_int","_uint",0},
11325 { "_int","_wxWindowID",0},
11326 { "_int","_unsigned_int",0},
11327 { "_int","_signed_int",0},
11328 { "_time_t","_wxCoord",0},
11329 { "_time_t","_wxPrintQuality",0},
11330 { "_time_t","_unsigned_int",0},
11331 { "_time_t","_int",0},
11332 { "_time_t","_wxWindowID",0},
11333 { "_time_t","_uint",0},
11334 { "_time_t","_size_t",0},
11335 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11336 { "_wxCoord","_int",0},
11337 { "_wxCoord","_signed_int",0},
11338 { "_wxCoord","_unsigned_int",0},
11339 { "_wxCoord","_wxWindowID",0},
11340 { "_wxCoord","_uint",0},
11341 { "_wxCoord","_EBool",0},
11342 { "_wxCoord","_size_t",0},
11343 { "_wxCoord","_time_t",0},
11344 { "_wxCoord","_wxPrintQuality",0},
11345 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11346 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11347 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11348 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11349 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11350 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11351 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11352 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11353 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11354 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11355 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11356 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11357 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11358 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11359 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11360 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11361 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11362 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11363 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11364 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11365 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11366 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11367 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11368 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11369 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11370 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11371 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11372 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11373 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11374 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11375 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11376 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11377 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11378 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11379 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11380 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11381 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11382 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11383 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11384 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11385 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11386 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11389 static PyObject
*SWIG_globals
;
11393 SWIGEXPORT(void) initcontrolsc() {
11395 SWIG_globals
= SWIG_newvarlink();
11396 m
= Py_InitModule("controlsc", controlscMethods
);
11397 d
= PyModule_GetDict(m
);
11398 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11399 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11402 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11403 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);