2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
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 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1279 static PyObject
*_wrap_wxButton_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1283 PyObject
* _argo0
= 0;
1284 PyObject
* _argo1
= 0;
1285 char *_kwnames
[] = { "self","bitmap", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetImageLabel",_kwnames
,&_argo0
,&_argo1
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 wxButton_SetImageLabel(_arg0
,*_arg1
);
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) return NULL
;
1310 } Py_INCREF(Py_None
);
1311 _resultobj
= Py_None
;
1315 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1316 static PyObject
*_wrap_wxButton_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
* _resultobj
;
1321 PyObject
* _argo0
= 0;
1322 char *_kwnames
[] = { "self","x","y", NULL
};
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxButton_SetImageMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) return NULL
;
1340 } Py_INCREF(Py_None
);
1341 _resultobj
= Py_None
;
1345 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1348 char *_kwnames
[] = { NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 _result
= new wxSize (wxButton::GetDefaultSize());
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) return NULL
;
1360 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1365 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1366 wxBitmapButton
*src
;
1368 src
= (wxBitmapButton
*) ptr
;
1369 dest
= (wxButton
*) src
;
1370 return (void *) dest
;
1373 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1374 wxBitmapButton
*src
;
1376 src
= (wxBitmapButton
*) ptr
;
1377 dest
= (wxControl
*) src
;
1378 return (void *) dest
;
1381 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1382 wxBitmapButton
*src
;
1384 src
= (wxBitmapButton
*) ptr
;
1385 dest
= (wxWindow
*) src
;
1386 return (void *) dest
;
1389 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1390 wxBitmapButton
*src
;
1392 src
= (wxBitmapButton
*) ptr
;
1393 dest
= (wxEvtHandler
*) src
;
1394 return (void *) dest
;
1397 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1398 wxBitmapButton
*src
;
1400 src
= (wxBitmapButton
*) ptr
;
1401 dest
= (wxObject
*) src
;
1402 return (void *) dest
;
1405 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1406 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1408 wxBitmapButton
* _result
;
1412 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1413 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1414 long _arg5
= (long ) wxBU_AUTODRAW
;
1415 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1416 wxString
* _arg7
= (wxString
*) &wxPyButtonNameStr
;
1417 PyObject
* _argo0
= 0;
1418 PyObject
* _argo2
= 0;
1420 PyObject
* _obj3
= 0;
1422 PyObject
* _obj4
= 0;
1423 PyObject
* _argo6
= 0;
1424 PyObject
* _obj7
= 0;
1425 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
1432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1439 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1440 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1448 if (! wxPoint_helper(_obj3
, &_arg3
))
1454 if (! wxSize_helper(_obj4
, &_arg4
))
1458 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1466 _arg7
= wxString_in_helper(_obj7
);
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1478 _resultobj
= Py_BuildValue("s",_ptemp
);
1481 _resultobj
= Py_None
;
1490 #define new_wxPreBitmapButton() (new wxBitmapButton())
1491 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
* _resultobj
;
1493 wxBitmapButton
* _result
;
1494 char *_kwnames
[] = { NULL
};
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) return NULL
;
1507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1508 _resultobj
= Py_BuildValue("s",_ptemp
);
1511 _resultobj
= Py_None
;
1516 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1517 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1520 wxBitmapButton
* _arg0
;
1524 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1525 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1526 long _arg6
= (long ) wxBU_AUTODRAW
;
1527 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1528 wxString
* _arg8
= (wxString
*) &wxPyButtonNameStr
;
1529 PyObject
* _argo0
= 0;
1530 PyObject
* _argo1
= 0;
1531 PyObject
* _argo3
= 0;
1533 PyObject
* _obj4
= 0;
1535 PyObject
* _obj5
= 0;
1536 PyObject
* _argo7
= 0;
1537 PyObject
* _obj8
= 0;
1538 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1551 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1552 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1558 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1559 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1567 if (! wxPoint_helper(_obj4
, &_arg4
))
1573 if (! wxSize_helper(_obj5
, &_arg5
))
1577 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1578 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1585 _arg8
= wxString_in_helper(_obj8
);
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) return NULL
;
1595 } _resultobj
= Py_BuildValue("i",_result
);
1603 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1604 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1607 wxBitmapButton
* _arg0
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1624 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1626 wxPyEndAllowThreads(__tstate
);
1627 if (PyErr_Occurred()) return NULL
;
1628 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1629 _resultobj
= Py_BuildValue("s",_ptemp
);
1633 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1634 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1637 wxBitmapButton
* _arg0
;
1638 PyObject
* _argo0
= 0;
1639 char *_kwnames
[] = { "self", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1658 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1659 _resultobj
= Py_BuildValue("s",_ptemp
);
1663 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1664 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
* _resultobj
;
1667 wxBitmapButton
* _arg0
;
1668 PyObject
* _argo0
= 0;
1669 char *_kwnames
[] = { "self", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1686 wxPyEndAllowThreads(__tstate
);
1687 if (PyErr_Occurred()) return NULL
;
1688 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1689 _resultobj
= Py_BuildValue("s",_ptemp
);
1693 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1694 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
* _resultobj
;
1697 wxBitmapButton
* _arg0
;
1698 PyObject
* _argo0
= 0;
1699 char *_kwnames
[] = { "self", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
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_GetBitmapSelected. Expected _wxBitmapButton_p.");
1713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1716 wxPyEndAllowThreads(__tstate
);
1717 if (PyErr_Occurred()) return NULL
;
1718 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1719 _resultobj
= Py_BuildValue("s",_ptemp
);
1723 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1724 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1726 wxBitmapButton
* _arg0
;
1728 PyObject
* _argo0
= 0;
1729 PyObject
* _argo1
= 0;
1730 char *_kwnames
[] = { "self","bitmap", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } Py_INCREF(Py_None
);
1756 _resultobj
= Py_None
;
1760 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1761 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
* _resultobj
;
1763 wxBitmapButton
* _arg0
;
1765 PyObject
* _argo0
= 0;
1766 PyObject
* _argo1
= 0;
1767 char *_kwnames
[] = { "self","bitmap", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1780 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 } Py_INCREF(Py_None
);
1793 _resultobj
= Py_None
;
1797 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1798 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 wxBitmapButton
* _arg0
;
1802 PyObject
* _argo0
= 0;
1803 PyObject
* _argo1
= 0;
1804 char *_kwnames
[] = { "self","bitmap", NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1817 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1818 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1825 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1827 wxPyEndAllowThreads(__tstate
);
1828 if (PyErr_Occurred()) return NULL
;
1829 } Py_INCREF(Py_None
);
1830 _resultobj
= Py_None
;
1834 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1835 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxBitmapButton
* _arg0
;
1839 PyObject
* _argo0
= 0;
1840 PyObject
* _argo1
= 0;
1841 char *_kwnames
[] = { "self","bitmap", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1854 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1855 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) return NULL
;
1866 } Py_INCREF(Py_None
);
1867 _resultobj
= Py_None
;
1871 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1872 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1874 wxBitmapButton
* _arg0
;
1877 PyObject
* _argo0
= 0;
1878 char *_kwnames
[] = { "self","x","y", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) return NULL
;
1896 } Py_INCREF(Py_None
);
1897 _resultobj
= Py_None
;
1901 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1902 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
* _resultobj
;
1905 wxBitmapButton
* _arg0
;
1906 PyObject
* _argo0
= 0;
1907 char *_kwnames
[] = { "self", NULL
};
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) return NULL
;
1925 } _resultobj
= Py_BuildValue("i",_result
);
1929 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1930 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1933 wxBitmapButton
* _arg0
;
1934 PyObject
* _argo0
= 0;
1935 char *_kwnames
[] = { "self", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1951 wxPyEndAllowThreads(__tstate
);
1952 if (PyErr_Occurred()) return NULL
;
1953 } _resultobj
= Py_BuildValue("i",_result
);
1957 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1960 src
= (wxCheckBox
*) ptr
;
1961 dest
= (wxControl
*) src
;
1962 return (void *) dest
;
1965 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1968 src
= (wxCheckBox
*) ptr
;
1969 dest
= (wxWindow
*) src
;
1970 return (void *) dest
;
1973 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1976 src
= (wxCheckBox
*) ptr
;
1977 dest
= (wxEvtHandler
*) src
;
1978 return (void *) dest
;
1981 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1984 src
= (wxCheckBox
*) ptr
;
1985 dest
= (wxObject
*) src
;
1986 return (void *) dest
;
1989 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1990 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1992 wxCheckBox
* _result
;
1996 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1997 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1998 long _arg5
= (long ) 0;
1999 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
2000 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
2001 PyObject
* _argo0
= 0;
2002 PyObject
* _obj2
= 0;
2004 PyObject
* _obj3
= 0;
2006 PyObject
* _obj4
= 0;
2007 PyObject
* _argo6
= 0;
2008 PyObject
* _obj7
= 0;
2009 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
2023 _arg2
= wxString_in_helper(_obj2
);
2030 if (! wxPoint_helper(_obj3
, &_arg3
))
2036 if (! wxSize_helper(_obj4
, &_arg4
))
2040 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2041 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2048 _arg7
= wxString_in_helper(_obj7
);
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) return NULL
;
2059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2060 _resultobj
= Py_BuildValue("s",_ptemp
);
2063 _resultobj
= Py_None
;
2076 #define new_wxPreCheckBox() (new wxCheckBox())
2077 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2078 PyObject
* _resultobj
;
2079 wxCheckBox
* _result
;
2080 char *_kwnames
[] = { NULL
};
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2088 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2090 wxPyEndAllowThreads(__tstate
);
2091 if (PyErr_Occurred()) return NULL
;
2093 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2094 _resultobj
= Py_BuildValue("s",_ptemp
);
2097 _resultobj
= Py_None
;
2102 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2103 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2104 PyObject
* _resultobj
;
2110 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2111 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2112 long _arg6
= (long ) 0;
2113 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2114 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
2115 PyObject
* _argo0
= 0;
2116 PyObject
* _argo1
= 0;
2117 PyObject
* _obj3
= 0;
2119 PyObject
* _obj4
= 0;
2121 PyObject
* _obj5
= 0;
2122 PyObject
* _argo7
= 0;
2123 PyObject
* _obj8
= 0;
2124 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2137 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2144 _arg3
= wxString_in_helper(_obj3
);
2151 if (! wxPoint_helper(_obj4
, &_arg4
))
2157 if (! wxSize_helper(_obj5
, &_arg5
))
2161 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2162 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2169 _arg8
= wxString_in_helper(_obj8
);
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) return NULL
;
2179 } _resultobj
= Py_BuildValue("i",_result
);
2191 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2192 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
* _resultobj
;
2196 PyObject
* _argo0
= 0;
2197 char *_kwnames
[] = { "self", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } _resultobj
= Py_BuildValue("i",_result
);
2219 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2220 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2224 PyObject
* _argo0
= 0;
2226 char *_kwnames
[] = { "self","state", NULL
};
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2238 _arg1
= (bool ) tempbool1
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 wxCheckBox_SetValue(_arg0
,_arg1
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) return NULL
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2252 wxControlWithItems
*dest
;
2253 src
= (wxChoice
*) ptr
;
2254 dest
= (wxControlWithItems
*) src
;
2255 return (void *) dest
;
2258 static void *SwigwxChoiceTowxControl(void *ptr
) {
2261 src
= (wxChoice
*) ptr
;
2262 dest
= (wxControl
*) src
;
2263 return (void *) dest
;
2266 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2269 src
= (wxChoice
*) ptr
;
2270 dest
= (wxWindow
*) src
;
2271 return (void *) dest
;
2274 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2277 src
= (wxChoice
*) ptr
;
2278 dest
= (wxEvtHandler
*) src
;
2279 return (void *) dest
;
2282 static void *SwigwxChoiceTowxObject(void *ptr
) {
2285 src
= (wxChoice
*) ptr
;
2286 dest
= (wxObject
*) src
;
2287 return (void *) dest
;
2290 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2291 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2296 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2297 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2298 int _arg4
= (int ) 0;
2299 wxString
* _arg5
= (wxString
*) NULL
;
2300 long _arg6
= (long ) 0;
2301 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2302 wxString
* _arg8
= (wxString
*) &wxPyChoiceNameStr
;
2303 PyObject
* _argo0
= 0;
2305 PyObject
* _obj2
= 0;
2307 PyObject
* _obj3
= 0;
2308 PyObject
* _obj5
= 0;
2309 PyObject
* _argo7
= 0;
2310 PyObject
* _obj8
= 0;
2311 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
2318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2327 if (! wxPoint_helper(_obj2
, &_arg2
))
2333 if (! wxSize_helper(_obj3
, &_arg3
))
2338 _arg5
= wxString_LIST_helper(_obj5
);
2339 if (_arg5
== NULL
) {
2344 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2345 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2352 _arg8
= wxString_in_helper(_obj8
);
2358 _arg4
= PyList_Size(_obj5
);
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) return NULL
;
2371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2372 _resultobj
= Py_BuildValue("s",_ptemp
);
2375 _resultobj
= Py_None
;
2387 #define new_wxPreChoice() (new wxChoice())
2388 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2391 char *_kwnames
[] = { NULL
};
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2399 _result
= (wxChoice
*)new_wxPreChoice();
2401 wxPyEndAllowThreads(__tstate
);
2402 if (PyErr_Occurred()) return NULL
;
2404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2405 _resultobj
= Py_BuildValue("s",_ptemp
);
2408 _resultobj
= Py_None
;
2413 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2414 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2420 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2421 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2422 int _arg5
= (int ) 0;
2423 wxString
* _arg6
= (wxString
*) NULL
;
2424 long _arg7
= (long ) 0;
2425 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2426 wxString
* _arg9
= (wxString
*) &wxPyChoiceNameStr
;
2427 PyObject
* _argo0
= 0;
2428 PyObject
* _argo1
= 0;
2430 PyObject
* _obj3
= 0;
2432 PyObject
* _obj4
= 0;
2433 PyObject
* _obj6
= 0;
2434 PyObject
* _argo8
= 0;
2435 PyObject
* _obj9
= 0;
2436 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2449 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2450 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2458 if (! wxPoint_helper(_obj3
, &_arg3
))
2464 if (! wxSize_helper(_obj4
, &_arg4
))
2469 _arg6
= wxString_LIST_helper(_obj6
);
2470 if (_arg6
== NULL
) {
2475 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2483 _arg9
= wxString_in_helper(_obj9
);
2489 _arg5
= PyList_Size(_obj6
);
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) return NULL
;
2501 } _resultobj
= Py_BuildValue("i",_result
);
2512 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2513 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
* _resultobj
;
2516 PyObject
* _argo0
= 0;
2517 char *_kwnames
[] = { "self", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 wxChoice_Clear(_arg0
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) return NULL
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2540 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2541 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
* _resultobj
;
2545 PyObject
* _argo0
= 0;
2546 char *_kwnames
[] = { "self", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 _result
= (int )wxChoice_GetColumns(_arg0
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) return NULL
;
2564 } _resultobj
= Py_BuildValue("i",_result
);
2568 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2569 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
* _resultobj
;
2572 int _arg1
= (int ) 1;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self","n", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 wxChoice_SetColumns(_arg0
,_arg1
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } Py_INCREF(Py_None
);
2593 _resultobj
= Py_None
;
2597 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2598 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self","n", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 wxChoice_SetSelection(_arg0
,_arg1
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 } Py_INCREF(Py_None
);
2622 _resultobj
= Py_None
;
2626 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2627 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2628 PyObject
* _resultobj
;
2631 PyObject
* _argo0
= 0;
2632 PyObject
* _obj1
= 0;
2633 char *_kwnames
[] = { "self","string", NULL
};
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2646 _arg1
= wxString_in_helper(_obj1
);
2651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2652 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2654 wxPyEndAllowThreads(__tstate
);
2655 if (PyErr_Occurred()) return NULL
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2665 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2666 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
* _resultobj
;
2671 PyObject
* _argo0
= 0;
2672 PyObject
* _obj2
= 0;
2673 char *_kwnames
[] = { "self","n","s", NULL
};
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2686 _arg2
= wxString_in_helper(_obj2
);
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) return NULL
;
2696 } Py_INCREF(Py_None
);
2697 _resultobj
= Py_None
;
2705 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2708 src
= (wxComboBox
*) ptr
;
2709 dest
= (wxChoice
*) src
;
2710 return (void *) dest
;
2713 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2715 wxControlWithItems
*dest
;
2716 src
= (wxComboBox
*) ptr
;
2717 dest
= (wxControlWithItems
*) src
;
2718 return (void *) dest
;
2721 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2724 src
= (wxComboBox
*) ptr
;
2725 dest
= (wxControl
*) src
;
2726 return (void *) dest
;
2729 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2732 src
= (wxComboBox
*) ptr
;
2733 dest
= (wxWindow
*) src
;
2734 return (void *) dest
;
2737 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2740 src
= (wxComboBox
*) ptr
;
2741 dest
= (wxEvtHandler
*) src
;
2742 return (void *) dest
;
2745 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2748 src
= (wxComboBox
*) ptr
;
2749 dest
= (wxObject
*) src
;
2750 return (void *) dest
;
2753 #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))
2754 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2756 wxComboBox
* _result
;
2759 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
2760 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2761 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2762 int _arg5
= (int ) 0;
2763 wxString
* _arg6
= (wxString
*) NULL
;
2764 long _arg7
= (long ) 0;
2765 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2766 wxString
* _arg9
= (wxString
*) &wxPyComboBoxNameStr
;
2767 PyObject
* _argo0
= 0;
2768 PyObject
* _obj2
= 0;
2770 PyObject
* _obj3
= 0;
2772 PyObject
* _obj4
= 0;
2773 PyObject
* _obj6
= 0;
2774 PyObject
* _argo8
= 0;
2775 PyObject
* _obj9
= 0;
2776 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOOlOO:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
2783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2791 _arg2
= wxString_in_helper(_obj2
);
2798 if (! wxPoint_helper(_obj3
, &_arg3
))
2804 if (! wxSize_helper(_obj4
, &_arg4
))
2809 _arg6
= wxString_LIST_helper(_obj6
);
2810 if (_arg6
== NULL
) {
2815 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2823 _arg9
= wxString_in_helper(_obj9
);
2829 _arg5
= PyList_Size(_obj6
);
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) return NULL
;
2842 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2843 _resultobj
= Py_BuildValue("s",_ptemp
);
2846 _resultobj
= Py_None
;
2862 #define new_wxPreComboBox() (new wxComboBox())
2863 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2865 wxComboBox
* _result
;
2866 char *_kwnames
[] = { NULL
};
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 _result
= (wxComboBox
*)new_wxPreComboBox();
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) return NULL
;
2879 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2880 _resultobj
= Py_BuildValue("s",_ptemp
);
2883 _resultobj
= Py_None
;
2888 #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))
2889 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2895 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
2896 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2897 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2898 int _arg6
= (int ) 0;
2899 wxString
* _arg7
= (wxString
*) NULL
;
2900 long _arg8
= (long ) 0;
2901 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2902 wxString
* _arg10
= (wxString
*) &wxPyComboBoxNameStr
;
2903 PyObject
* _argo0
= 0;
2904 PyObject
* _argo1
= 0;
2905 PyObject
* _obj3
= 0;
2907 PyObject
* _obj4
= 0;
2909 PyObject
* _obj5
= 0;
2910 PyObject
* _obj7
= 0;
2911 PyObject
* _argo9
= 0;
2912 PyObject
* _obj10
= 0;
2913 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOOlOO:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2926 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2934 _arg3
= wxString_in_helper(_obj3
);
2941 if (! wxPoint_helper(_obj4
, &_arg4
))
2947 if (! wxSize_helper(_obj5
, &_arg5
))
2952 _arg7
= wxString_LIST_helper(_obj7
);
2953 if (_arg7
== NULL
) {
2958 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2966 _arg10
= wxString_in_helper(_obj10
);
2972 _arg6
= PyList_Size(_obj7
);
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2980 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) return NULL
;
2984 } _resultobj
= Py_BuildValue("i",_result
);
2999 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
3000 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3003 PyObject
* _argo0
= 0;
3004 char *_kwnames
[] = { "self", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
3017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3018 wxComboBox_Copy(_arg0
);
3020 wxPyEndAllowThreads(__tstate
);
3021 if (PyErr_Occurred()) return NULL
;
3022 } Py_INCREF(Py_None
);
3023 _resultobj
= Py_None
;
3027 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
3028 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
* _resultobj
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3046 wxComboBox_Cut(_arg0
);
3048 wxPyEndAllowThreads(__tstate
);
3049 if (PyErr_Occurred()) return NULL
;
3050 } Py_INCREF(Py_None
);
3051 _resultobj
= Py_None
;
3055 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3056 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3057 PyObject
* _resultobj
;
3060 PyObject
* _argo0
= 0;
3061 char *_kwnames
[] = { "self", NULL
};
3064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
3067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
3077 wxPyEndAllowThreads(__tstate
);
3078 if (PyErr_Occurred()) return NULL
;
3079 } _resultobj
= Py_BuildValue("l",_result
);
3083 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3084 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3085 PyObject
* _resultobj
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) return NULL
;
3107 } _resultobj
= Py_BuildValue("l",_result
);
3111 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3112 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3113 PyObject
* _resultobj
;
3116 PyObject
* _argo0
= 0;
3117 char *_kwnames
[] = { "self", NULL
};
3120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3137 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3139 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3148 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3149 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3152 PyObject
* _argo0
= 0;
3153 char *_kwnames
[] = { "self", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 wxComboBox_Paste(_arg0
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) return NULL
;
3171 } Py_INCREF(Py_None
);
3172 _resultobj
= Py_None
;
3176 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3177 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3183 PyObject
* _argo0
= 0;
3184 PyObject
* _obj3
= 0;
3185 char *_kwnames
[] = { "self","from","to","text", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3198 _arg3
= wxString_in_helper(_obj3
);
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) return NULL
;
3208 } Py_INCREF(Py_None
);
3209 _resultobj
= Py_None
;
3217 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3218 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
* _resultobj
;
3223 PyObject
* _argo0
= 0;
3224 char *_kwnames
[] = { "self","from","to", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3238 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) return NULL
;
3242 } Py_INCREF(Py_None
);
3243 _resultobj
= Py_None
;
3247 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3248 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
* _resultobj
;
3252 PyObject
* _argo0
= 0;
3253 char *_kwnames
[] = { "self","pos", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) return NULL
;
3271 } Py_INCREF(Py_None
);
3272 _resultobj
= Py_None
;
3276 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3277 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3280 PyObject
* _argo0
= 0;
3281 char *_kwnames
[] = { "self", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 wxComboBox_SetInsertionPointEnd(_arg0
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3299 } Py_INCREF(Py_None
);
3300 _resultobj
= Py_None
;
3304 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3305 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3309 PyObject
* _argo0
= 0;
3310 char *_kwnames
[] = { "self","n", NULL
};
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 wxComboBox_SetSelection(_arg0
,_arg1
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) return NULL
;
3328 } Py_INCREF(Py_None
);
3329 _resultobj
= Py_None
;
3333 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3334 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self","from","to", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) return NULL
;
3358 } Py_INCREF(Py_None
);
3359 _resultobj
= Py_None
;
3363 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3364 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
* _resultobj
;
3368 PyObject
* _argo0
= 0;
3369 PyObject
* _obj1
= 0;
3370 char *_kwnames
[] = { "self","text", NULL
};
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3383 _arg1
= wxString_in_helper(_obj1
);
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 wxComboBox_SetValue(_arg0
,*_arg1
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3393 } Py_INCREF(Py_None
);
3394 _resultobj
= Py_None
;
3402 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3403 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3407 PyObject
* _argo0
= 0;
3409 char *_kwnames
[] = { "self","editable", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3421 _arg1
= (bool ) tempbool1
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 wxComboBox_SetEditable(_arg0
,_arg1
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) return NULL
;
3428 } Py_INCREF(Py_None
);
3429 _resultobj
= Py_None
;
3433 static void *SwigwxGaugeTowxControl(void *ptr
) {
3436 src
= (wxGauge
*) ptr
;
3437 dest
= (wxControl
*) src
;
3438 return (void *) dest
;
3441 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3444 src
= (wxGauge
*) ptr
;
3445 dest
= (wxWindow
*) src
;
3446 return (void *) dest
;
3449 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3452 src
= (wxGauge
*) ptr
;
3453 dest
= (wxEvtHandler
*) src
;
3454 return (void *) dest
;
3457 static void *SwigwxGaugeTowxObject(void *ptr
) {
3460 src
= (wxGauge
*) ptr
;
3461 dest
= (wxObject
*) src
;
3462 return (void *) dest
;
3465 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3466 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
* _resultobj
;
3472 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3473 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3474 long _arg5
= (long ) wxGA_HORIZONTAL
;
3475 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3476 wxString
* _arg7
= (wxString
*) &wxPyGaugeNameStr
;
3477 PyObject
* _argo0
= 0;
3479 PyObject
* _obj3
= 0;
3481 PyObject
* _obj4
= 0;
3482 PyObject
* _argo6
= 0;
3483 PyObject
* _obj7
= 0;
3484 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOO:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3500 if (! wxPoint_helper(_obj3
, &_arg3
))
3506 if (! wxSize_helper(_obj4
, &_arg4
))
3510 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3518 _arg7
= wxString_in_helper(_obj7
);
3523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3524 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
3526 wxPyEndAllowThreads(__tstate
);
3527 if (PyErr_Occurred()) return NULL
;
3529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3533 _resultobj
= Py_None
;
3542 #define new_wxPreGauge() (new wxGauge())
3543 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 char *_kwnames
[] = { NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 _result
= (wxGauge
*)new_wxPreGauge();
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) return NULL
;
3559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3560 _resultobj
= Py_BuildValue("s",_ptemp
);
3563 _resultobj
= Py_None
;
3568 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3569 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3576 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3577 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3578 long _arg6
= (long ) wxGA_HORIZONTAL
;
3579 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3580 wxString
* _arg8
= (wxString
*) &wxPyGaugeNameStr
;
3581 PyObject
* _argo0
= 0;
3582 PyObject
* _argo1
= 0;
3584 PyObject
* _obj4
= 0;
3586 PyObject
* _obj5
= 0;
3587 PyObject
* _argo7
= 0;
3588 PyObject
* _obj8
= 0;
3589 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOO:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
3595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3602 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3611 if (! wxPoint_helper(_obj4
, &_arg4
))
3617 if (! wxSize_helper(_obj5
, &_arg5
))
3621 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3629 _arg8
= wxString_in_helper(_obj8
);
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) return NULL
;
3639 } _resultobj
= Py_BuildValue("i",_result
);
3647 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3648 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3652 PyObject
* _argo0
= 0;
3653 char *_kwnames
[] = { "self", NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) return NULL
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3676 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 _result
= (int )wxGauge_GetRange(_arg0
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3699 } _resultobj
= Py_BuildValue("i",_result
);
3703 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3704 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3708 PyObject
* _argo0
= 0;
3709 char *_kwnames
[] = { "self", NULL
};
3712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) return NULL
;
3727 } _resultobj
= Py_BuildValue("i",_result
);
3731 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3732 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
* _resultobj
;
3736 PyObject
* _argo0
= 0;
3737 char *_kwnames
[] = { "self", NULL
};
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3751 _result
= (int )wxGauge_GetValue(_arg0
);
3753 wxPyEndAllowThreads(__tstate
);
3754 if (PyErr_Occurred()) return NULL
;
3755 } _resultobj
= Py_BuildValue("i",_result
);
3759 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3760 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3764 PyObject
* _argo0
= 0;
3765 char *_kwnames
[] = { "self","width", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 wxGauge_SetBezelFace(_arg0
,_arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3783 } Py_INCREF(Py_None
);
3784 _resultobj
= Py_None
;
3788 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3789 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
* _resultobj
;
3793 PyObject
* _argo0
= 0;
3794 char *_kwnames
[] = { "self","range", NULL
};
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 wxGauge_SetRange(_arg0
,_arg1
);
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) return NULL
;
3812 } Py_INCREF(Py_None
);
3813 _resultobj
= Py_None
;
3817 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3818 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
* _resultobj
;
3822 PyObject
* _argo0
= 0;
3823 char *_kwnames
[] = { "self","width", NULL
};
3826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) return NULL
;
3841 } Py_INCREF(Py_None
);
3842 _resultobj
= Py_None
;
3846 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3847 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3851 PyObject
* _argo0
= 0;
3852 char *_kwnames
[] = { "self","pos", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 wxGauge_SetValue(_arg0
,_arg1
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) return NULL
;
3870 } Py_INCREF(Py_None
);
3871 _resultobj
= Py_None
;
3875 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3878 src
= (wxStaticBox
*) ptr
;
3879 dest
= (wxControl
*) src
;
3880 return (void *) dest
;
3883 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3886 src
= (wxStaticBox
*) ptr
;
3887 dest
= (wxWindow
*) src
;
3888 return (void *) dest
;
3891 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3894 src
= (wxStaticBox
*) ptr
;
3895 dest
= (wxEvtHandler
*) src
;
3896 return (void *) dest
;
3899 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3902 src
= (wxStaticBox
*) ptr
;
3903 dest
= (wxObject
*) src
;
3904 return (void *) dest
;
3907 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3908 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3910 wxStaticBox
* _result
;
3914 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3915 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3916 long _arg5
= (long ) 0;
3917 wxString
* _arg6
= (wxString
*) &wxPyStaticBoxNameStr
;
3918 PyObject
* _argo0
= 0;
3919 PyObject
* _obj2
= 0;
3921 PyObject
* _obj3
= 0;
3923 PyObject
* _obj4
= 0;
3924 PyObject
* _obj6
= 0;
3925 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3939 _arg2
= wxString_in_helper(_obj2
);
3946 if (! wxPoint_helper(_obj3
, &_arg3
))
3952 if (! wxSize_helper(_obj4
, &_arg4
))
3957 _arg6
= wxString_in_helper(_obj6
);
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) return NULL
;
3968 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3969 _resultobj
= Py_BuildValue("s",_ptemp
);
3972 _resultobj
= Py_None
;
3985 #define new_wxPreStaticBox() (new wxStaticBox())
3986 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3988 wxStaticBox
* _result
;
3989 char *_kwnames
[] = { NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3997 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) return NULL
;
4002 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4003 _resultobj
= Py_BuildValue("s",_ptemp
);
4006 _resultobj
= Py_None
;
4011 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4012 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4015 wxStaticBox
* _arg0
;
4019 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4020 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4021 long _arg6
= (long ) 0;
4022 wxString
* _arg7
= (wxString
*) &wxPyStaticBoxNameStr
;
4023 PyObject
* _argo0
= 0;
4024 PyObject
* _argo1
= 0;
4025 PyObject
* _obj3
= 0;
4027 PyObject
* _obj4
= 0;
4029 PyObject
* _obj5
= 0;
4030 PyObject
* _obj7
= 0;
4031 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4044 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4051 _arg3
= wxString_in_helper(_obj3
);
4058 if (! wxPoint_helper(_obj4
, &_arg4
))
4064 if (! wxSize_helper(_obj5
, &_arg5
))
4069 _arg7
= wxString_in_helper(_obj7
);
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) return NULL
;
4079 } _resultobj
= Py_BuildValue("i",_result
);
4091 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4094 src
= (wxStaticLine
*) ptr
;
4095 dest
= (wxControl
*) src
;
4096 return (void *) dest
;
4099 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4102 src
= (wxStaticLine
*) ptr
;
4103 dest
= (wxWindow
*) src
;
4104 return (void *) dest
;
4107 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4110 src
= (wxStaticLine
*) ptr
;
4111 dest
= (wxEvtHandler
*) src
;
4112 return (void *) dest
;
4115 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4118 src
= (wxStaticLine
*) ptr
;
4119 dest
= (wxObject
*) src
;
4120 return (void *) dest
;
4123 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4124 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxStaticLine
* _result
;
4129 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4130 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4131 long _arg4
= (long ) wxLI_HORIZONTAL
;
4132 wxString
* _arg5
= (wxString
*) &wxPyStaticTextNameStr
;
4133 PyObject
* _argo0
= 0;
4135 PyObject
* _obj2
= 0;
4137 PyObject
* _obj3
= 0;
4138 PyObject
* _obj5
= 0;
4139 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
4146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4155 if (! wxPoint_helper(_obj2
, &_arg2
))
4161 if (! wxSize_helper(_obj3
, &_arg3
))
4166 _arg5
= wxString_in_helper(_obj5
);
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4172 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) return NULL
;
4177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4178 _resultobj
= Py_BuildValue("s",_ptemp
);
4181 _resultobj
= Py_None
;
4190 #define new_wxPreStaticLine() (new wxStaticLine())
4191 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4193 wxStaticLine
* _result
;
4194 char *_kwnames
[] = { NULL
};
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) return NULL
;
4207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4208 _resultobj
= Py_BuildValue("s",_ptemp
);
4211 _resultobj
= Py_None
;
4216 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4217 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4220 wxStaticLine
* _arg0
;
4223 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4224 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4225 long _arg5
= (long ) wxLI_HORIZONTAL
;
4226 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4227 PyObject
* _argo0
= 0;
4228 PyObject
* _argo1
= 0;
4230 PyObject
* _obj3
= 0;
4232 PyObject
* _obj4
= 0;
4233 PyObject
* _obj6
= 0;
4234 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4256 if (! wxPoint_helper(_obj3
, &_arg3
))
4262 if (! wxSize_helper(_obj4
, &_arg4
))
4267 _arg6
= wxString_in_helper(_obj6
);
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) return NULL
;
4277 } _resultobj
= Py_BuildValue("i",_result
);
4285 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4288 src
= (wxStaticText
*) ptr
;
4289 dest
= (wxControl
*) src
;
4290 return (void *) dest
;
4293 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4296 src
= (wxStaticText
*) ptr
;
4297 dest
= (wxWindow
*) src
;
4298 return (void *) dest
;
4301 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4304 src
= (wxStaticText
*) ptr
;
4305 dest
= (wxEvtHandler
*) src
;
4306 return (void *) dest
;
4309 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4312 src
= (wxStaticText
*) ptr
;
4313 dest
= (wxObject
*) src
;
4314 return (void *) dest
;
4317 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4318 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4320 wxStaticText
* _result
;
4324 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4325 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4326 long _arg5
= (long ) 0;
4327 wxString
* _arg6
= (wxString
*) &wxPyStaticTextNameStr
;
4328 PyObject
* _argo0
= 0;
4329 PyObject
* _obj2
= 0;
4331 PyObject
* _obj3
= 0;
4333 PyObject
* _obj4
= 0;
4334 PyObject
* _obj6
= 0;
4335 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4349 _arg2
= wxString_in_helper(_obj2
);
4356 if (! wxPoint_helper(_obj3
, &_arg3
))
4362 if (! wxSize_helper(_obj4
, &_arg4
))
4367 _arg6
= wxString_in_helper(_obj6
);
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4373 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
4375 wxPyEndAllowThreads(__tstate
);
4376 if (PyErr_Occurred()) return NULL
;
4378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4379 _resultobj
= Py_BuildValue("s",_ptemp
);
4382 _resultobj
= Py_None
;
4395 #define new_wxPreStaticText() (new wxStaticText())
4396 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4398 wxStaticText
* _result
;
4399 char *_kwnames
[] = { NULL
};
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 _result
= (wxStaticText
*)new_wxPreStaticText();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) return NULL
;
4412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4413 _resultobj
= Py_BuildValue("s",_ptemp
);
4416 _resultobj
= Py_None
;
4421 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4422 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
* _resultobj
;
4425 wxStaticText
* _arg0
;
4429 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4430 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4431 long _arg6
= (long ) 0;
4432 wxString
* _arg7
= (wxString
*) &wxPyStaticTextNameStr
;
4433 PyObject
* _argo0
= 0;
4434 PyObject
* _argo1
= 0;
4435 PyObject
* _obj3
= 0;
4437 PyObject
* _obj4
= 0;
4439 PyObject
* _obj5
= 0;
4440 PyObject
* _obj7
= 0;
4441 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4454 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4455 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4461 _arg3
= wxString_in_helper(_obj3
);
4468 if (! wxPoint_helper(_obj4
, &_arg4
))
4474 if (! wxSize_helper(_obj5
, &_arg5
))
4479 _arg7
= wxString_in_helper(_obj7
);
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) return NULL
;
4489 } _resultobj
= Py_BuildValue("i",_result
);
4501 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4502 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
* _resultobj
;
4505 wxStaticText
* _arg0
;
4506 PyObject
* _argo0
= 0;
4507 char *_kwnames
[] = { "self", NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) return NULL
;
4527 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4529 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4538 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4539 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4541 wxStaticText
* _arg0
;
4543 PyObject
* _argo0
= 0;
4544 PyObject
* _obj1
= 0;
4545 char *_kwnames
[] = { "self","label", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4558 _arg1
= wxString_in_helper(_obj1
);
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 wxStaticText_SetLabel(_arg0
,*_arg1
);
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) return NULL
;
4568 } Py_INCREF(Py_None
);
4569 _resultobj
= Py_None
;
4577 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4579 wxControlWithItems
*dest
;
4580 src
= (wxListBox
*) ptr
;
4581 dest
= (wxControlWithItems
*) src
;
4582 return (void *) dest
;
4585 static void *SwigwxListBoxTowxControl(void *ptr
) {
4588 src
= (wxListBox
*) ptr
;
4589 dest
= (wxControl
*) src
;
4590 return (void *) dest
;
4593 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4596 src
= (wxListBox
*) ptr
;
4597 dest
= (wxWindow
*) src
;
4598 return (void *) dest
;
4601 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4604 src
= (wxListBox
*) ptr
;
4605 dest
= (wxEvtHandler
*) src
;
4606 return (void *) dest
;
4609 static void *SwigwxListBoxTowxObject(void *ptr
) {
4612 src
= (wxListBox
*) ptr
;
4613 dest
= (wxObject
*) src
;
4614 return (void *) dest
;
4617 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4618 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4619 PyObject
* _resultobj
;
4620 wxListBox
* _result
;
4623 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4624 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4626 wxString
* _arg5
= (wxString
*) NULL
;
4627 long _arg6
= (long ) 0;
4628 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4629 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
4630 PyObject
* _argo0
= 0;
4632 PyObject
* _obj2
= 0;
4634 PyObject
* _obj3
= 0;
4635 PyObject
* _obj5
= 0;
4636 PyObject
* _argo7
= 0;
4637 PyObject
* _obj8
= 0;
4638 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
4645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4654 if (! wxPoint_helper(_obj2
, &_arg2
))
4660 if (! wxSize_helper(_obj3
, &_arg3
))
4665 _arg5
= wxString_LIST_helper(_obj5
);
4666 if (_arg5
== NULL
) {
4671 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4672 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4679 _arg8
= wxString_in_helper(_obj8
);
4685 _arg4
= PyList_Size(_obj5
);
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) return NULL
;
4698 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4699 _resultobj
= Py_BuildValue("s",_ptemp
);
4702 _resultobj
= Py_None
;
4714 #define new_wxPreListBox() (new wxListBox())
4715 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4717 wxListBox
* _result
;
4718 char *_kwnames
[] = { NULL
};
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 _result
= (wxListBox
*)new_wxPreListBox();
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) return NULL
;
4731 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4732 _resultobj
= Py_BuildValue("s",_ptemp
);
4735 _resultobj
= Py_None
;
4740 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4741 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4747 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4748 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4750 wxString
* _arg6
= (wxString
*) NULL
;
4751 long _arg7
= (long ) 0;
4752 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4753 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
4754 PyObject
* _argo0
= 0;
4755 PyObject
* _argo1
= 0;
4757 PyObject
* _obj3
= 0;
4759 PyObject
* _obj4
= 0;
4760 PyObject
* _obj6
= 0;
4761 PyObject
* _argo8
= 0;
4762 PyObject
* _obj9
= 0;
4763 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
4769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4785 if (! wxPoint_helper(_obj3
, &_arg3
))
4791 if (! wxSize_helper(_obj4
, &_arg4
))
4796 _arg6
= wxString_LIST_helper(_obj6
);
4797 if (_arg6
== NULL
) {
4802 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4803 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4810 _arg9
= wxString_in_helper(_obj9
);
4816 _arg5
= PyList_Size(_obj6
);
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
4826 wxPyEndAllowThreads(__tstate
);
4827 if (PyErr_Occurred()) return NULL
;
4828 } _resultobj
= Py_BuildValue("i",_result
);
4839 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4840 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4843 PyObject
* _argo0
= 0;
4844 char *_kwnames
[] = { "self", NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 wxListBox_Clear(_arg0
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) return NULL
;
4862 } Py_INCREF(Py_None
);
4863 _resultobj
= Py_None
;
4867 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4868 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
* _resultobj
;
4872 PyObject
* _argo0
= 0;
4873 char *_kwnames
[] = { "self","n", NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 wxListBox_Deselect(_arg0
,_arg1
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) return NULL
;
4891 } Py_INCREF(Py_None
);
4892 _resultobj
= Py_None
;
4896 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4898 self
->GetSelections(lst
);
4899 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4900 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4901 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4905 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4909 PyObject
* _argo0
= 0;
4910 char *_kwnames
[] = { "self", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4929 _resultobj
= _result
;
4934 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4935 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
* _resultobj
;
4941 PyObject
* _argo0
= 0;
4942 PyObject
* _obj2
= 0;
4943 char *_kwnames
[] = { "self","choices","pos", NULL
};
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4956 _arg2
= wxString_LIST_helper(_obj2
);
4957 if (_arg2
== NULL
) {
4963 _arg1
= PyList_Size(_obj2
);
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) return NULL
;
4975 } Py_INCREF(Py_None
);
4976 _resultobj
= Py_None
;
4983 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4984 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4989 PyObject
* _argo0
= 0;
4990 char *_kwnames
[] = { "self","n", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) return NULL
;
5008 } _resultobj
= Py_BuildValue("i",_result
);
5012 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5013 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5018 PyObject
* _argo0
= 0;
5019 char *_kwnames
[] = { "self","n", NULL
};
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) return NULL
;
5037 } _resultobj
= Py_BuildValue("i",_result
);
5041 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5042 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
* _resultobj
;
5047 PyObject
* _argo0
= 0;
5048 PyObject
* _obj2
= 0;
5049 char *_kwnames
[] = { "self","choices", NULL
};
5052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5063 _arg2
= wxString_LIST_helper(_obj2
);
5064 if (_arg2
== NULL
) {
5070 _arg1
= PyList_Size(_obj2
);
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) return NULL
;
5082 } Py_INCREF(Py_None
);
5083 _resultobj
= Py_None
;
5090 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5091 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5095 PyObject
* _argo0
= 0;
5096 char *_kwnames
[] = { "self","n", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 wxListBox_SetFirstItem(_arg0
,_arg1
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) return NULL
;
5114 } Py_INCREF(Py_None
);
5115 _resultobj
= Py_None
;
5119 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5120 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5124 PyObject
* _argo0
= 0;
5125 PyObject
* _obj1
= 0;
5126 char *_kwnames
[] = { "self","string", NULL
};
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5139 _arg1
= wxString_in_helper(_obj1
);
5144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5145 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) return NULL
;
5149 } Py_INCREF(Py_None
);
5150 _resultobj
= Py_None
;
5158 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5159 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5163 bool _arg2
= (bool ) TRUE
;
5164 PyObject
* _argo0
= 0;
5165 int tempbool2
= (int) TRUE
;
5166 char *_kwnames
[] = { "self","n","select", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5178 _arg2
= (bool ) tempbool2
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) return NULL
;
5185 } Py_INCREF(Py_None
);
5186 _resultobj
= Py_None
;
5190 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5191 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
* _resultobj
;
5196 PyObject
* _argo0
= 0;
5197 PyObject
* _obj2
= 0;
5198 char *_kwnames
[] = { "self","n","string", NULL
};
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5211 _arg2
= wxString_in_helper(_obj2
);
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) return NULL
;
5221 } Py_INCREF(Py_None
);
5222 _resultobj
= Py_None
;
5230 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5231 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5235 bool _arg2
= (bool ) TRUE
;
5236 PyObject
* _argo0
= 0;
5237 PyObject
* _obj1
= 0;
5238 int tempbool2
= (int) TRUE
;
5239 char *_kwnames
[] = { "self","string","select", NULL
};
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5252 _arg1
= wxString_in_helper(_obj1
);
5256 _arg2
= (bool ) tempbool2
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) return NULL
;
5263 } Py_INCREF(Py_None
);
5264 _resultobj
= Py_None
;
5272 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5273 wxCheckListBox
*src
;
5275 src
= (wxCheckListBox
*) ptr
;
5276 dest
= (wxListBox
*) src
;
5277 return (void *) dest
;
5280 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5281 wxCheckListBox
*src
;
5282 wxControlWithItems
*dest
;
5283 src
= (wxCheckListBox
*) ptr
;
5284 dest
= (wxControlWithItems
*) src
;
5285 return (void *) dest
;
5288 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5289 wxCheckListBox
*src
;
5291 src
= (wxCheckListBox
*) ptr
;
5292 dest
= (wxControl
*) src
;
5293 return (void *) dest
;
5296 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5297 wxCheckListBox
*src
;
5299 src
= (wxCheckListBox
*) ptr
;
5300 dest
= (wxWindow
*) src
;
5301 return (void *) dest
;
5304 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5305 wxCheckListBox
*src
;
5307 src
= (wxCheckListBox
*) ptr
;
5308 dest
= (wxEvtHandler
*) src
;
5309 return (void *) dest
;
5312 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5313 wxCheckListBox
*src
;
5315 src
= (wxCheckListBox
*) ptr
;
5316 dest
= (wxObject
*) src
;
5317 return (void *) dest
;
5320 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5321 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
* _resultobj
;
5323 wxCheckListBox
* _result
;
5326 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5327 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5328 int _arg4
= (int ) 0;
5329 wxString
* _arg5
= (wxString
*) NULL
;
5330 long _arg6
= (long ) 0;
5331 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5332 wxString
* _arg8
= (wxString
*) &wxPyListBoxNameStr
;
5333 PyObject
* _argo0
= 0;
5335 PyObject
* _obj2
= 0;
5337 PyObject
* _obj3
= 0;
5338 PyObject
* _obj5
= 0;
5339 PyObject
* _argo7
= 0;
5340 PyObject
* _obj8
= 0;
5341 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
5348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5357 if (! wxPoint_helper(_obj2
, &_arg2
))
5363 if (! wxSize_helper(_obj3
, &_arg3
))
5368 _arg5
= wxString_LIST_helper(_obj5
);
5369 if (_arg5
== NULL
) {
5374 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5382 _arg8
= wxString_in_helper(_obj8
);
5388 _arg4
= PyList_Size(_obj5
);
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,*_arg8
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) return NULL
;
5401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5402 _resultobj
= Py_BuildValue("s",_ptemp
);
5405 _resultobj
= Py_None
;
5417 #define new_wxPreCheckListBox() (new wxCheckListBox())
5418 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5420 wxCheckListBox
* _result
;
5421 char *_kwnames
[] = { NULL
};
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) return NULL
;
5434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5435 _resultobj
= Py_BuildValue("s",_ptemp
);
5438 _resultobj
= Py_None
;
5443 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5444 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
* _resultobj
;
5447 wxCheckListBox
* _arg0
;
5450 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5451 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5452 int _arg5
= (int ) 0;
5453 wxString
* _arg6
= (wxString
*) NULL
;
5454 long _arg7
= (long ) 0;
5455 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5456 wxString
* _arg9
= (wxString
*) &wxPyListBoxNameStr
;
5457 PyObject
* _argo0
= 0;
5458 PyObject
* _argo1
= 0;
5460 PyObject
* _obj3
= 0;
5462 PyObject
* _obj4
= 0;
5463 PyObject
* _obj6
= 0;
5464 PyObject
* _argo8
= 0;
5465 PyObject
* _obj9
= 0;
5466 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5488 if (! wxPoint_helper(_obj3
, &_arg3
))
5494 if (! wxSize_helper(_obj4
, &_arg4
))
5499 _arg6
= wxString_LIST_helper(_obj6
);
5500 if (_arg6
== NULL
) {
5505 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5513 _arg9
= wxString_in_helper(_obj9
);
5519 _arg5
= PyList_Size(_obj6
);
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,*_arg9
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) return NULL
;
5531 } _resultobj
= Py_BuildValue("i",_result
);
5542 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5543 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5546 wxCheckListBox
* _arg0
;
5548 PyObject
* _argo0
= 0;
5549 char *_kwnames
[] = { "self","uiIndex", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5563 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) return NULL
;
5567 } _resultobj
= Py_BuildValue("i",_result
);
5571 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5572 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5574 wxCheckListBox
* _arg0
;
5576 int _arg2
= (int ) TRUE
;
5577 PyObject
* _argo0
= 0;
5578 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) return NULL
;
5596 } Py_INCREF(Py_None
);
5597 _resultobj
= Py_None
;
5601 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5602 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
* _resultobj
;
5604 wxCheckListBox
* _arg0
;
5608 PyObject
* _argo0
= 0;
5609 PyObject
* _obj2
= 0;
5610 char *_kwnames
[] = { "self","choices","pos", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5623 _arg2
= wxString_LIST_helper(_obj2
);
5624 if (_arg2
== NULL
) {
5630 _arg1
= PyList_Size(_obj2
);
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) return NULL
;
5642 } Py_INCREF(Py_None
);
5643 _resultobj
= Py_None
;
5650 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5651 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
* _resultobj
;
5654 wxCheckListBox
* _arg0
;
5655 PyObject
* _argo0
= 0;
5656 char *_kwnames
[] = { "self", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) return NULL
;
5674 } _resultobj
= Py_BuildValue("i",_result
);
5678 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5679 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5681 wxTextAttr
* _result
;
5682 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5683 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5684 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5686 PyObject
* _obj0
= 0;
5688 PyObject
* _obj1
= 0;
5689 PyObject
* _argo2
= 0;
5690 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5699 if (! wxColour_helper(_obj0
, &_arg0
))
5705 if (! wxColour_helper(_obj1
, &_arg1
))
5709 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) return NULL
;
5722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5723 _resultobj
= Py_BuildValue("s",_ptemp
);
5726 _resultobj
= Py_None
;
5731 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5732 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
* _resultobj
;
5735 PyObject
* _argo0
= 0;
5736 char *_kwnames
[] = { "self", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 delete_wxTextAttr(_arg0
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) return NULL
;
5754 } Py_INCREF(Py_None
);
5755 _resultobj
= Py_None
;
5759 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5760 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5761 PyObject
* _resultobj
;
5764 PyObject
* _argo0
= 0;
5766 PyObject
* _obj1
= 0;
5767 char *_kwnames
[] = { "self","colText", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5781 if (! wxColour_helper(_obj1
, &_arg1
))
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) return NULL
;
5790 } Py_INCREF(Py_None
);
5791 _resultobj
= Py_None
;
5795 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5796 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
* _resultobj
;
5800 PyObject
* _argo0
= 0;
5802 PyObject
* _obj1
= 0;
5803 char *_kwnames
[] = { "self","colBack", NULL
};
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5817 if (! wxColour_helper(_obj1
, &_arg1
))
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) return NULL
;
5826 } Py_INCREF(Py_None
);
5827 _resultobj
= Py_None
;
5831 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5832 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5836 PyObject
* _argo0
= 0;
5837 PyObject
* _argo1
= 0;
5838 char *_kwnames
[] = { "self","font", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 wxTextAttr_SetFont(_arg0
,*_arg1
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) return NULL
;
5863 } Py_INCREF(Py_None
);
5864 _resultobj
= Py_None
;
5868 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5869 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
* _resultobj
;
5873 PyObject
* _argo0
= 0;
5874 char *_kwnames
[] = { "self", NULL
};
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) return NULL
;
5892 } _resultobj
= Py_BuildValue("i",_result
);
5896 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5897 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5901 PyObject
* _argo0
= 0;
5902 char *_kwnames
[] = { "self", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5920 } _resultobj
= Py_BuildValue("i",_result
);
5924 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5925 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5929 PyObject
* _argo0
= 0;
5930 char *_kwnames
[] = { "self", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) return NULL
;
5948 } _resultobj
= Py_BuildValue("i",_result
);
5952 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5953 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self", NULL
};
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) return NULL
;
5977 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5978 _resultobj
= Py_BuildValue("s",_ptemp
);
5982 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5983 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) return NULL
;
6007 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6008 _resultobj
= Py_BuildValue("s",_ptemp
);
6012 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6013 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) return NULL
;
6037 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6038 _resultobj
= Py_BuildValue("s",_ptemp
);
6042 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6043 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
* _resultobj
;
6047 PyObject
* _argo0
= 0;
6048 char *_kwnames
[] = { "self", NULL
};
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) return NULL
;
6066 } _resultobj
= Py_BuildValue("i",_result
);
6070 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
* _resultobj
;
6072 wxTextAttr
* _result
;
6076 PyObject
* _argo0
= 0;
6077 PyObject
* _argo1
= 0;
6078 PyObject
* _argo2
= 0;
6079 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6093 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6094 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6100 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6113 _resultobj
= Py_BuildValue("s",_ptemp
);
6117 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6120 src
= (wxTextCtrl
*) ptr
;
6121 dest
= (wxControl
*) src
;
6122 return (void *) dest
;
6125 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6128 src
= (wxTextCtrl
*) ptr
;
6129 dest
= (wxWindow
*) src
;
6130 return (void *) dest
;
6133 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6136 src
= (wxTextCtrl
*) ptr
;
6137 dest
= (wxEvtHandler
*) src
;
6138 return (void *) dest
;
6141 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6144 src
= (wxTextCtrl
*) ptr
;
6145 dest
= (wxObject
*) src
;
6146 return (void *) dest
;
6149 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6150 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
* _resultobj
;
6152 wxTextCtrl
* _result
;
6155 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
6156 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6157 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6158 long _arg5
= (long ) 0;
6159 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6160 wxString
* _arg7
= (wxString
*) &wxPyTextCtrlNameStr
;
6161 PyObject
* _argo0
= 0;
6162 PyObject
* _obj2
= 0;
6164 PyObject
* _obj3
= 0;
6166 PyObject
* _obj4
= 0;
6167 PyObject
* _argo6
= 0;
6168 PyObject
* _obj7
= 0;
6169 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOO:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6184 _arg2
= wxString_in_helper(_obj2
);
6191 if (! wxPoint_helper(_obj3
, &_arg3
))
6197 if (! wxSize_helper(_obj4
, &_arg4
))
6201 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6202 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6209 _arg7
= wxString_in_helper(_obj7
);
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) return NULL
;
6220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6221 _resultobj
= Py_BuildValue("s",_ptemp
);
6224 _resultobj
= Py_None
;
6237 #define new_wxPreTextCtrl() (new wxTextCtrl())
6238 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
* _resultobj
;
6240 wxTextCtrl
* _result
;
6241 char *_kwnames
[] = { NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) return NULL
;
6254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6255 _resultobj
= Py_BuildValue("s",_ptemp
);
6258 _resultobj
= Py_None
;
6263 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6264 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
* _resultobj
;
6270 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
6271 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6272 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6273 long _arg6
= (long ) 0;
6274 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6275 wxString
* _arg8
= (wxString
*) &wxPyTextCtrlNameStr
;
6276 PyObject
* _argo0
= 0;
6277 PyObject
* _argo1
= 0;
6278 PyObject
* _obj3
= 0;
6280 PyObject
* _obj4
= 0;
6282 PyObject
* _obj5
= 0;
6283 PyObject
* _argo7
= 0;
6284 PyObject
* _obj8
= 0;
6285 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
6291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6298 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6306 _arg3
= wxString_in_helper(_obj3
);
6313 if (! wxPoint_helper(_obj4
, &_arg4
))
6319 if (! wxSize_helper(_obj5
, &_arg5
))
6323 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6331 _arg8
= wxString_in_helper(_obj8
);
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) return NULL
;
6341 } _resultobj
= Py_BuildValue("i",_result
);
6353 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6354 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6358 PyObject
* _argo0
= 0;
6359 char *_kwnames
[] = { "self", NULL
};
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) return NULL
;
6379 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6381 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6390 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6391 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6395 PyObject
* _argo0
= 0;
6396 PyObject
* _obj1
= 0;
6397 char *_kwnames
[] = { "self","value", NULL
};
6400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6410 _arg1
= wxString_in_helper(_obj1
);
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) return NULL
;
6420 } Py_INCREF(Py_None
);
6421 _resultobj
= Py_None
;
6429 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6430 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
* _resultobj
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self","from","to", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) return NULL
;
6457 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6468 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6469 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self","lineNo", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) return NULL
;
6493 } _resultobj
= Py_BuildValue("i",_result
);
6497 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6498 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6503 PyObject
* _argo0
= 0;
6504 char *_kwnames
[] = { "self","lineNo", NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) return NULL
;
6524 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6526 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6535 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6536 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
* _resultobj
;
6540 PyObject
* _argo0
= 0;
6541 char *_kwnames
[] = { "self", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) return NULL
;
6559 } _resultobj
= Py_BuildValue("i",_result
);
6563 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6564 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6568 PyObject
* _argo0
= 0;
6569 char *_kwnames
[] = { "self", NULL
};
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) return NULL
;
6587 } _resultobj
= Py_BuildValue("i",_result
);
6591 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6592 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
* _resultobj
;
6596 PyObject
* _argo0
= 0;
6597 char *_kwnames
[] = { "self", NULL
};
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) return NULL
;
6615 } _resultobj
= Py_BuildValue("i",_result
);
6619 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6620 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
* _resultobj
;
6627 PyObject
* _argo0
= 0;
6628 char *_kwnames
[] = { "self", NULL
};
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) return NULL
;
6652 } Py_INCREF(Py_None
);
6653 _resultobj
= Py_None
;
6656 o
= PyInt_FromLong((long) (*_arg1
));
6657 _resultobj
= t_output_helper(_resultobj
, o
);
6661 o
= PyInt_FromLong((long) (*_arg2
));
6662 _resultobj
= t_output_helper(_resultobj
, o
);
6667 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6668 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
* _resultobj
;
6672 PyObject
* _argo0
= 0;
6673 char *_kwnames
[] = { "self", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) return NULL
;
6693 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6695 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6704 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6705 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
* _resultobj
;
6708 PyObject
* _argo0
= 0;
6709 char *_kwnames
[] = { "self", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 wxTextCtrl_Clear(_arg0
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) return NULL
;
6727 } Py_INCREF(Py_None
);
6728 _resultobj
= Py_None
;
6732 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6733 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
* _resultobj
;
6739 PyObject
* _argo0
= 0;
6740 PyObject
* _obj3
= 0;
6741 char *_kwnames
[] = { "self","from","to","value", NULL
};
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6754 _arg3
= wxString_in_helper(_obj3
);
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) return NULL
;
6764 } Py_INCREF(Py_None
);
6765 _resultobj
= Py_None
;
6773 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6774 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
* _resultobj
;
6779 PyObject
* _argo0
= 0;
6780 char *_kwnames
[] = { "self","from","to", NULL
};
6783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) return NULL
;
6798 } Py_INCREF(Py_None
);
6799 _resultobj
= Py_None
;
6803 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6804 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6809 PyObject
* _argo0
= 0;
6810 PyObject
* _obj1
= 0;
6811 char *_kwnames
[] = { "self","file", NULL
};
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6824 _arg1
= wxString_in_helper(_obj1
);
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) return NULL
;
6834 } _resultobj
= Py_BuildValue("i",_result
);
6842 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6843 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
* _resultobj
;
6847 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
6848 PyObject
* _argo0
= 0;
6849 PyObject
* _obj1
= 0;
6850 char *_kwnames
[] = { "self","file", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6864 _arg1
= wxString_in_helper(_obj1
);
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) return NULL
;
6874 } _resultobj
= Py_BuildValue("i",_result
);
6882 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6883 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6886 PyObject
* _argo0
= 0;
6887 char *_kwnames
[] = { "self", NULL
};
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 wxTextCtrl_DiscardEdits(_arg0
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) return NULL
;
6905 } Py_INCREF(Py_None
);
6906 _resultobj
= Py_None
;
6910 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6911 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
* _resultobj
;
6914 unsigned long _arg1
;
6915 PyObject
* _argo0
= 0;
6916 char *_kwnames
[] = { "self","len", NULL
};
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) return NULL
;
6934 } Py_INCREF(Py_None
);
6935 _resultobj
= Py_None
;
6939 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6940 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
* _resultobj
;
6944 PyObject
* _argo0
= 0;
6945 PyObject
* _obj1
= 0;
6946 char *_kwnames
[] = { "self","text", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6959 _arg1
= wxString_in_helper(_obj1
);
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) return NULL
;
6969 } Py_INCREF(Py_None
);
6970 _resultobj
= Py_None
;
6978 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6979 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6983 PyObject
* _argo0
= 0;
6984 PyObject
* _obj1
= 0;
6985 char *_kwnames
[] = { "self","text", NULL
};
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6998 _arg1
= wxString_in_helper(_obj1
);
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) return NULL
;
7008 } Py_INCREF(Py_None
);
7009 _resultobj
= Py_None
;
7017 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7018 static PyObject
*_wrap_wxTextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7023 PyObject
* _argo0
= 0;
7024 PyObject
* _argo1
= 0;
7025 char *_kwnames
[] = { "self","event", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_EmulateKeyPress",_kwnames
,&_argo0
,&_argo1
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxKeyEvent_p")) {
7040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 _result
= (bool )wxTextCtrl_EmulateKeyPress(_arg0
,*_arg1
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) return NULL
;
7050 } _resultobj
= Py_BuildValue("i",_result
);
7054 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7055 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
* _resultobj
;
7062 PyObject
* _argo0
= 0;
7063 PyObject
* _argo3
= 0;
7064 char *_kwnames
[] = { "self","start","end","style", NULL
};
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7077 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7078 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) return NULL
;
7089 } _resultobj
= Py_BuildValue("i",_result
);
7093 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7094 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
* _resultobj
;
7099 PyObject
* _argo0
= 0;
7100 PyObject
* _argo1
= 0;
7101 char *_kwnames
[] = { "self","style", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) return NULL
;
7126 } _resultobj
= Py_BuildValue("i",_result
);
7130 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7131 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7133 wxTextAttr
* _result
;
7135 PyObject
* _argo0
= 0;
7136 char *_kwnames
[] = { "self", NULL
};
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7152 _result
= (wxTextAttr
*) &_result_ref
;
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) return NULL
;
7157 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7158 _resultobj
= Py_BuildValue("s",_ptemp
);
7161 _resultobj
= Py_None
;
7166 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7167 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7168 PyObject
* _resultobj
;
7173 PyObject
* _argo0
= 0;
7174 char *_kwnames
[] = { "self","x","y", NULL
};
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) return NULL
;
7192 } _resultobj
= Py_BuildValue("l",_result
);
7196 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7197 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
* _resultobj
;
7205 PyObject
* _argo0
= 0;
7206 char *_kwnames
[] = { "self","pos", NULL
};
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) return NULL
;
7230 } Py_INCREF(Py_None
);
7231 _resultobj
= Py_None
;
7234 o
= PyInt_FromLong((long) (*_arg2
));
7235 _resultobj
= t_output_helper(_resultobj
, o
);
7239 o
= PyInt_FromLong((long) (*_arg3
));
7240 _resultobj
= t_output_helper(_resultobj
, o
);
7245 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7246 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7250 PyObject
* _argo0
= 0;
7251 char *_kwnames
[] = { "self","pos", NULL
};
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7265 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7267 wxPyEndAllowThreads(__tstate
);
7268 if (PyErr_Occurred()) return NULL
;
7269 } Py_INCREF(Py_None
);
7270 _resultobj
= Py_None
;
7274 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7275 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
* _resultobj
;
7278 PyObject
* _argo0
= 0;
7279 char *_kwnames
[] = { "self", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7293 wxTextCtrl_Copy(_arg0
);
7295 wxPyEndAllowThreads(__tstate
);
7296 if (PyErr_Occurred()) return NULL
;
7297 } Py_INCREF(Py_None
);
7298 _resultobj
= Py_None
;
7302 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7303 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
* _resultobj
;
7306 PyObject
* _argo0
= 0;
7307 char *_kwnames
[] = { "self", NULL
};
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxTextCtrl_Cut(_arg0
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) return NULL
;
7325 } Py_INCREF(Py_None
);
7326 _resultobj
= Py_None
;
7330 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7331 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
* _resultobj
;
7334 PyObject
* _argo0
= 0;
7335 char *_kwnames
[] = { "self", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 wxTextCtrl_Paste(_arg0
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) return NULL
;
7353 } Py_INCREF(Py_None
);
7354 _resultobj
= Py_None
;
7358 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7359 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) return NULL
;
7382 } _resultobj
= Py_BuildValue("i",_result
);
7386 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7387 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 PyObject
* _argo0
= 0;
7392 char *_kwnames
[] = { "self", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) return NULL
;
7410 } _resultobj
= Py_BuildValue("i",_result
);
7414 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7415 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
* _resultobj
;
7419 PyObject
* _argo0
= 0;
7420 char *_kwnames
[] = { "self", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) return NULL
;
7438 } _resultobj
= Py_BuildValue("i",_result
);
7442 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7443 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7446 PyObject
* _argo0
= 0;
7447 char *_kwnames
[] = { "self", NULL
};
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 wxTextCtrl_Undo(_arg0
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) return NULL
;
7465 } Py_INCREF(Py_None
);
7466 _resultobj
= Py_None
;
7470 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7471 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
* _resultobj
;
7474 PyObject
* _argo0
= 0;
7475 char *_kwnames
[] = { "self", NULL
};
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 wxTextCtrl_Redo(_arg0
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) return NULL
;
7493 } Py_INCREF(Py_None
);
7494 _resultobj
= Py_None
;
7498 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7499 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
* _resultobj
;
7503 PyObject
* _argo0
= 0;
7504 char *_kwnames
[] = { "self", NULL
};
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) return NULL
;
7522 } _resultobj
= Py_BuildValue("i",_result
);
7526 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7527 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
* _resultobj
;
7531 PyObject
* _argo0
= 0;
7532 char *_kwnames
[] = { "self", NULL
};
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) return NULL
;
7550 } _resultobj
= Py_BuildValue("i",_result
);
7554 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7555 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
* _resultobj
;
7559 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self","pos", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) return NULL
;
7578 } Py_INCREF(Py_None
);
7579 _resultobj
= Py_None
;
7583 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7584 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7587 PyObject
* _argo0
= 0;
7588 char *_kwnames
[] = { "self", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) return NULL
;
7606 } Py_INCREF(Py_None
);
7607 _resultobj
= Py_None
;
7611 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7612 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7616 PyObject
* _argo0
= 0;
7617 char *_kwnames
[] = { "self", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) return NULL
;
7635 } _resultobj
= Py_BuildValue("l",_result
);
7639 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7640 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
* _resultobj
;
7644 PyObject
* _argo0
= 0;
7645 char *_kwnames
[] = { "self", NULL
};
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) return NULL
;
7663 } _resultobj
= Py_BuildValue("l",_result
);
7667 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7668 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
* _resultobj
;
7673 PyObject
* _argo0
= 0;
7674 char *_kwnames
[] = { "self","from","to", NULL
};
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) return NULL
;
7692 } Py_INCREF(Py_None
);
7693 _resultobj
= Py_None
;
7697 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7698 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
* _resultobj
;
7701 PyObject
* _argo0
= 0;
7702 char *_kwnames
[] = { "self", NULL
};
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 wxTextCtrl_SelectAll(_arg0
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) return NULL
;
7720 } Py_INCREF(Py_None
);
7721 _resultobj
= Py_None
;
7725 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7726 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
* _resultobj
;
7730 PyObject
* _argo0
= 0;
7732 char *_kwnames
[] = { "self","editable", NULL
};
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7744 _arg1
= (bool ) tempbool1
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) return NULL
;
7751 } Py_INCREF(Py_None
);
7752 _resultobj
= Py_None
;
7756 #define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
7757 static PyObject
*_wrap_wxTextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
* _resultobj
;
7761 PyObject
* _argo0
= 0;
7762 char *_kwnames
[] = { "self", NULL
};
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsSingleLine",_kwnames
,&_argo0
))
7768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 _result
= (bool )wxTextCtrl_IsSingleLine(_arg0
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) return NULL
;
7780 } _resultobj
= Py_BuildValue("i",_result
);
7784 #define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
7785 static PyObject
*_wrap_wxTextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
* _resultobj
;
7789 PyObject
* _argo0
= 0;
7790 char *_kwnames
[] = { "self", NULL
};
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsMultiLine",_kwnames
,&_argo0
))
7796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 _result
= (bool )wxTextCtrl_IsMultiLine(_arg0
);
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) return NULL
;
7808 } _resultobj
= Py_BuildValue("i",_result
);
7812 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7813 self
->AppendText(text
);
7815 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
* _resultobj
;
7819 PyObject
* _argo0
= 0;
7820 PyObject
* _obj1
= 0;
7821 char *_kwnames
[] = { "self","text", NULL
};
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7834 _arg1
= wxString_in_helper(_obj1
);
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 wxTextCtrl_write(_arg0
,*_arg1
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) return NULL
;
7844 } Py_INCREF(Py_None
);
7845 _resultobj
= Py_None
;
7853 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7854 return self
->GetValue().Mid(from
, to
- from
);
7856 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7862 PyObject
* _argo0
= 0;
7863 char *_kwnames
[] = { "self","from","to", NULL
};
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) return NULL
;
7883 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7885 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7894 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7897 src
= (wxScrollBar
*) ptr
;
7898 dest
= (wxControl
*) src
;
7899 return (void *) dest
;
7902 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7905 src
= (wxScrollBar
*) ptr
;
7906 dest
= (wxWindow
*) src
;
7907 return (void *) dest
;
7910 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7913 src
= (wxScrollBar
*) ptr
;
7914 dest
= (wxEvtHandler
*) src
;
7915 return (void *) dest
;
7918 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7921 src
= (wxScrollBar
*) ptr
;
7922 dest
= (wxObject
*) src
;
7923 return (void *) dest
;
7926 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7927 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7928 PyObject
* _resultobj
;
7929 wxScrollBar
* _result
;
7931 wxWindowID _arg1
= (wxWindowID
) -1;
7932 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7933 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7934 long _arg4
= (long ) wxSB_HORIZONTAL
;
7935 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7936 wxString
* _arg6
= (wxString
*) &wxPyScrollBarNameStr
;
7937 PyObject
* _argo0
= 0;
7939 PyObject
* _obj2
= 0;
7941 PyObject
* _obj3
= 0;
7942 PyObject
* _argo5
= 0;
7943 PyObject
* _obj6
= 0;
7944 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOO:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_obj6
))
7951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7960 if (! wxPoint_helper(_obj2
, &_arg2
))
7966 if (! wxSize_helper(_obj3
, &_arg3
))
7970 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7971 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7978 _arg6
= wxString_in_helper(_obj6
);
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,*_arg6
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) return NULL
;
7989 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7990 _resultobj
= Py_BuildValue("s",_ptemp
);
7993 _resultobj
= Py_None
;
8002 #define new_wxPreScrollBar() (new wxScrollBar())
8003 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
* _resultobj
;
8005 wxScrollBar
* _result
;
8006 char *_kwnames
[] = { NULL
};
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 _result
= (wxScrollBar
*)new_wxPreScrollBar();
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) return NULL
;
8019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8020 _resultobj
= Py_BuildValue("s",_ptemp
);
8023 _resultobj
= Py_None
;
8028 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8029 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
* _resultobj
;
8032 wxScrollBar
* _arg0
;
8034 wxWindowID _arg2
= (wxWindowID
) -1;
8035 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8036 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8037 long _arg5
= (long ) wxSB_HORIZONTAL
;
8038 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8039 wxString
* _arg7
= (wxString
*) &wxPyScrollBarNameStr
;
8040 PyObject
* _argo0
= 0;
8041 PyObject
* _argo1
= 0;
8043 PyObject
* _obj3
= 0;
8045 PyObject
* _obj4
= 0;
8046 PyObject
* _argo6
= 0;
8047 PyObject
* _obj7
= 0;
8048 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOO:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
8054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8061 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8062 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8070 if (! wxPoint_helper(_obj3
, &_arg3
))
8076 if (! wxSize_helper(_obj4
, &_arg4
))
8080 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8081 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8088 _arg7
= wxString_in_helper(_obj7
);
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) return NULL
;
8098 } _resultobj
= Py_BuildValue("i",_result
);
8106 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8107 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
* _resultobj
;
8110 wxScrollBar
* _arg0
;
8111 PyObject
* _argo0
= 0;
8112 char *_kwnames
[] = { "self", NULL
};
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 _result
= (int )wxScrollBar_GetRange(_arg0
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) return NULL
;
8130 } _resultobj
= Py_BuildValue("i",_result
);
8134 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8135 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
* _resultobj
;
8138 wxScrollBar
* _arg0
;
8139 PyObject
* _argo0
= 0;
8140 char *_kwnames
[] = { "self", NULL
};
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) return NULL
;
8158 } _resultobj
= Py_BuildValue("i",_result
);
8162 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8163 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
* _resultobj
;
8166 wxScrollBar
* _arg0
;
8167 PyObject
* _argo0
= 0;
8168 char *_kwnames
[] = { "self", NULL
};
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) return NULL
;
8186 } _resultobj
= Py_BuildValue("i",_result
);
8190 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8191 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
* _resultobj
;
8194 wxScrollBar
* _arg0
;
8195 PyObject
* _argo0
= 0;
8196 char *_kwnames
[] = { "self", NULL
};
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) return NULL
;
8214 } _resultobj
= Py_BuildValue("i",_result
);
8218 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8219 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
* _resultobj
;
8222 wxScrollBar
* _arg0
;
8223 PyObject
* _argo0
= 0;
8224 char *_kwnames
[] = { "self", NULL
};
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) return NULL
;
8242 } _resultobj
= Py_BuildValue("i",_result
);
8246 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8247 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8248 PyObject
* _resultobj
;
8249 wxScrollBar
* _arg0
;
8251 PyObject
* _argo0
= 0;
8252 char *_kwnames
[] = { "self","viewStart", NULL
};
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) return NULL
;
8270 } Py_INCREF(Py_None
);
8271 _resultobj
= Py_None
;
8275 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8276 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8278 wxScrollBar
* _arg0
;
8283 bool _arg5
= (bool ) TRUE
;
8284 PyObject
* _argo0
= 0;
8285 int tempbool5
= (int) TRUE
;
8286 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8298 _arg5
= (bool ) tempbool5
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) return NULL
;
8305 } Py_INCREF(Py_None
);
8306 _resultobj
= Py_None
;
8310 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8313 src
= (wxSpinButton
*) ptr
;
8314 dest
= (wxControl
*) src
;
8315 return (void *) dest
;
8318 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8321 src
= (wxSpinButton
*) ptr
;
8322 dest
= (wxWindow
*) src
;
8323 return (void *) dest
;
8326 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8329 src
= (wxSpinButton
*) ptr
;
8330 dest
= (wxEvtHandler
*) src
;
8331 return (void *) dest
;
8334 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8337 src
= (wxSpinButton
*) ptr
;
8338 dest
= (wxObject
*) src
;
8339 return (void *) dest
;
8342 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8343 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
* _resultobj
;
8345 wxSpinButton
* _result
;
8347 wxWindowID _arg1
= (wxWindowID
) -1;
8348 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8349 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8350 long _arg4
= (long ) wxSP_HORIZONTAL
;
8351 wxString
* _arg5
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8352 PyObject
* _argo0
= 0;
8354 PyObject
* _obj2
= 0;
8356 PyObject
* _obj3
= 0;
8357 PyObject
* _obj5
= 0;
8358 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlO:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
8365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8374 if (! wxPoint_helper(_obj2
, &_arg2
))
8380 if (! wxSize_helper(_obj3
, &_arg3
))
8385 _arg5
= wxString_in_helper(_obj5
);
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) return NULL
;
8396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8397 _resultobj
= Py_BuildValue("s",_ptemp
);
8400 _resultobj
= Py_None
;
8409 #define new_wxPreSpinButton() (new wxSpinButton())
8410 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
* _resultobj
;
8412 wxSpinButton
* _result
;
8413 char *_kwnames
[] = { NULL
};
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) return NULL
;
8426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8427 _resultobj
= Py_BuildValue("s",_ptemp
);
8430 _resultobj
= Py_None
;
8435 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8436 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
* _resultobj
;
8439 wxSpinButton
* _arg0
;
8441 wxWindowID _arg2
= (wxWindowID
) -1;
8442 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8443 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8444 long _arg5
= (long ) wxSP_HORIZONTAL
;
8445 wxString
* _arg6
= (wxString
*) &wxPySPIN_BUTTON_NAME
;
8446 PyObject
* _argo0
= 0;
8447 PyObject
* _argo1
= 0;
8449 PyObject
* _obj3
= 0;
8451 PyObject
* _obj4
= 0;
8452 PyObject
* _obj6
= 0;
8453 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlO:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8466 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8467 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8475 if (! wxPoint_helper(_obj3
, &_arg3
))
8481 if (! wxSize_helper(_obj4
, &_arg4
))
8486 _arg6
= wxString_in_helper(_obj6
);
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) return NULL
;
8496 } _resultobj
= Py_BuildValue("i",_result
);
8504 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8505 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
* _resultobj
;
8508 wxSpinButton
* _arg0
;
8509 PyObject
* _argo0
= 0;
8510 char *_kwnames
[] = { "self", NULL
};
8513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 _result
= (int )wxSpinButton_GetMax(_arg0
);
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) return NULL
;
8528 } _resultobj
= Py_BuildValue("i",_result
);
8532 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8533 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
* _resultobj
;
8536 wxSpinButton
* _arg0
;
8537 PyObject
* _argo0
= 0;
8538 char *_kwnames
[] = { "self", NULL
};
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 _result
= (int )wxSpinButton_GetMin(_arg0
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) return NULL
;
8556 } _resultobj
= Py_BuildValue("i",_result
);
8560 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8561 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
* _resultobj
;
8564 wxSpinButton
* _arg0
;
8565 PyObject
* _argo0
= 0;
8566 char *_kwnames
[] = { "self", NULL
};
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 _result
= (int )wxSpinButton_GetValue(_arg0
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) return NULL
;
8584 } _resultobj
= Py_BuildValue("i",_result
);
8588 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8589 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8590 PyObject
* _resultobj
;
8591 wxSpinButton
* _arg0
;
8594 PyObject
* _argo0
= 0;
8595 char *_kwnames
[] = { "self","min","max", NULL
};
8598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) return NULL
;
8613 } Py_INCREF(Py_None
);
8614 _resultobj
= Py_None
;
8618 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8619 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
* _resultobj
;
8621 wxSpinButton
* _arg0
;
8623 PyObject
* _argo0
= 0;
8624 char *_kwnames
[] = { "self","value", NULL
};
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 wxSpinButton_SetValue(_arg0
,_arg1
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) return NULL
;
8642 } Py_INCREF(Py_None
);
8643 _resultobj
= Py_None
;
8647 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8648 wxStaticBitmap
*src
;
8650 src
= (wxStaticBitmap
*) ptr
;
8651 dest
= (wxControl
*) src
;
8652 return (void *) dest
;
8655 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8656 wxStaticBitmap
*src
;
8658 src
= (wxStaticBitmap
*) ptr
;
8659 dest
= (wxWindow
*) src
;
8660 return (void *) dest
;
8663 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8664 wxStaticBitmap
*src
;
8666 src
= (wxStaticBitmap
*) ptr
;
8667 dest
= (wxEvtHandler
*) src
;
8668 return (void *) dest
;
8671 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8672 wxStaticBitmap
*src
;
8674 src
= (wxStaticBitmap
*) ptr
;
8675 dest
= (wxObject
*) src
;
8676 return (void *) dest
;
8679 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8680 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
* _resultobj
;
8682 wxStaticBitmap
* _result
;
8686 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8687 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8688 long _arg5
= (long ) 0;
8689 wxString
* _arg6
= (wxString
*) &wxPyStaticBitmapNameStr
;
8690 PyObject
* _argo0
= 0;
8691 PyObject
* _argo2
= 0;
8693 PyObject
* _obj3
= 0;
8695 PyObject
* _obj4
= 0;
8696 PyObject
* _obj6
= 0;
8697 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
8704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8711 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8712 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8720 if (! wxPoint_helper(_obj3
, &_arg3
))
8726 if (! wxSize_helper(_obj4
, &_arg4
))
8731 _arg6
= wxString_in_helper(_obj6
);
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) return NULL
;
8742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8743 _resultobj
= Py_BuildValue("s",_ptemp
);
8746 _resultobj
= Py_None
;
8755 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8756 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
* _resultobj
;
8758 wxStaticBitmap
* _result
;
8759 char *_kwnames
[] = { NULL
};
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) return NULL
;
8772 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8773 _resultobj
= Py_BuildValue("s",_ptemp
);
8776 _resultobj
= Py_None
;
8781 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8782 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
* _resultobj
;
8785 wxStaticBitmap
* _arg0
;
8789 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8790 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8791 long _arg6
= (long ) 0;
8792 wxString
* _arg7
= (wxString
*) &wxPyStaticBitmapNameStr
;
8793 PyObject
* _argo0
= 0;
8794 PyObject
* _argo1
= 0;
8795 PyObject
* _argo3
= 0;
8797 PyObject
* _obj4
= 0;
8799 PyObject
* _obj5
= 0;
8800 PyObject
* _obj7
= 0;
8801 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_obj7
))
8807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8821 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8822 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8830 if (! wxPoint_helper(_obj4
, &_arg4
))
8836 if (! wxSize_helper(_obj5
, &_arg5
))
8841 _arg7
= wxString_in_helper(_obj7
);
8846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8847 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
);
8849 wxPyEndAllowThreads(__tstate
);
8850 if (PyErr_Occurred()) return NULL
;
8851 } _resultobj
= Py_BuildValue("i",_result
);
8859 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8860 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
* _resultobj
;
8863 wxStaticBitmap
* _arg0
;
8864 PyObject
* _argo0
= 0;
8865 char *_kwnames
[] = { "self", NULL
};
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) return NULL
;
8884 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8885 _resultobj
= Py_BuildValue("s",_ptemp
);
8889 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8890 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
* _resultobj
;
8892 wxStaticBitmap
* _arg0
;
8894 PyObject
* _argo0
= 0;
8895 PyObject
* _argo1
= 0;
8896 char *_kwnames
[] = { "self","bitmap", NULL
};
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) return NULL
;
8921 } Py_INCREF(Py_None
);
8922 _resultobj
= Py_None
;
8926 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8927 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
* _resultobj
;
8929 wxStaticBitmap
* _arg0
;
8931 PyObject
* _argo0
= 0;
8932 PyObject
* _argo1
= 0;
8933 char *_kwnames
[] = { "self","icon", NULL
};
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8946 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8947 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) return NULL
;
8958 } Py_INCREF(Py_None
);
8959 _resultobj
= Py_None
;
8963 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8966 src
= (wxRadioBox
*) ptr
;
8967 dest
= (wxControl
*) src
;
8968 return (void *) dest
;
8971 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8974 src
= (wxRadioBox
*) ptr
;
8975 dest
= (wxWindow
*) src
;
8976 return (void *) dest
;
8979 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8982 src
= (wxRadioBox
*) ptr
;
8983 dest
= (wxEvtHandler
*) src
;
8984 return (void *) dest
;
8987 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8990 src
= (wxRadioBox
*) ptr
;
8991 dest
= (wxObject
*) src
;
8992 return (void *) dest
;
8995 #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))
8996 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
* _resultobj
;
8998 wxRadioBox
* _result
;
9002 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9003 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9004 int _arg5
= (int ) 0;
9005 wxString
* _arg6
= (wxString
*) NULL
;
9006 int _arg7
= (int ) 0;
9007 long _arg8
= (long ) wxRA_HORIZONTAL
;
9008 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9009 wxString
* _arg10
= (wxString
*) &wxPyRadioBoxNameStr
;
9010 PyObject
* _argo0
= 0;
9011 PyObject
* _obj2
= 0;
9013 PyObject
* _obj3
= 0;
9015 PyObject
* _obj4
= 0;
9016 PyObject
* _obj6
= 0;
9017 PyObject
* _argo9
= 0;
9018 PyObject
* _obj10
= 0;
9019 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOO:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_obj10
))
9026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9033 _arg2
= wxString_in_helper(_obj2
);
9040 if (! wxPoint_helper(_obj3
, &_arg3
))
9046 if (! wxSize_helper(_obj4
, &_arg4
))
9051 _arg6
= wxString_LIST_helper(_obj6
);
9052 if (_arg6
== NULL
) {
9057 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9058 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9065 _arg10
= wxString_in_helper(_obj10
);
9071 _arg5
= PyList_Size(_obj6
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,*_arg10
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) return NULL
;
9084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9085 _resultobj
= Py_BuildValue("s",_ptemp
);
9088 _resultobj
= Py_None
;
9104 #define new_wxPreRadioBox() (new wxRadioBox())
9105 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
* _resultobj
;
9107 wxRadioBox
* _result
;
9108 char *_kwnames
[] = { NULL
};
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) return NULL
;
9121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9122 _resultobj
= Py_BuildValue("s",_ptemp
);
9125 _resultobj
= Py_None
;
9130 #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))
9131 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
* _resultobj
;
9138 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9139 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9140 int _arg6
= (int ) 0;
9141 wxString
* _arg7
= (wxString
*) NULL
;
9142 int _arg8
= (int ) 0;
9143 long _arg9
= (long ) wxRA_HORIZONTAL
;
9144 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9145 wxString
* _arg11
= (wxString
*) &wxPyRadioBoxNameStr
;
9146 PyObject
* _argo0
= 0;
9147 PyObject
* _argo1
= 0;
9148 PyObject
* _obj3
= 0;
9150 PyObject
* _obj4
= 0;
9152 PyObject
* _obj5
= 0;
9153 PyObject
* _obj7
= 0;
9154 PyObject
* _argo10
= 0;
9155 PyObject
* _obj11
= 0;
9156 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_obj11
))
9162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9169 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9170 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9176 _arg3
= wxString_in_helper(_obj3
);
9183 if (! wxPoint_helper(_obj4
, &_arg4
))
9189 if (! wxSize_helper(_obj5
, &_arg5
))
9194 _arg7
= wxString_LIST_helper(_obj7
);
9195 if (_arg7
== NULL
) {
9200 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9201 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9208 _arg11
= wxString_in_helper(_obj11
);
9214 _arg6
= PyList_Size(_obj7
);
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,*_arg11
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) return NULL
;
9226 } _resultobj
= Py_BuildValue("i",_result
);
9241 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9242 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9246 PyObject
* _argo0
= 0;
9248 char *_kwnames
[] = { "self","enable", NULL
};
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9260 _arg1
= (bool ) tempbool1
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 wxRadioBox_Enable(_arg0
,_arg1
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) return NULL
;
9267 } Py_INCREF(Py_None
);
9268 _resultobj
= Py_None
;
9272 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9273 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9274 PyObject
* _resultobj
;
9278 PyObject
* _argo0
= 0;
9280 char *_kwnames
[] = { "self","n","enable", NULL
};
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9292 _arg2
= (bool ) tempbool2
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) return NULL
;
9299 } Py_INCREF(Py_None
);
9300 _resultobj
= Py_None
;
9304 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9305 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
* _resultobj
;
9310 PyObject
* _argo0
= 0;
9311 PyObject
* _obj1
= 0;
9312 char *_kwnames
[] = { "self","string", NULL
};
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9325 _arg1
= wxString_in_helper(_obj1
);
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) return NULL
;
9335 } _resultobj
= Py_BuildValue("i",_result
);
9343 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9344 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9345 PyObject
* _resultobj
;
9349 PyObject
* _argo0
= 0;
9350 char *_kwnames
[] = { "self","n", NULL
};
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) return NULL
;
9370 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9372 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9381 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9382 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
* _resultobj
;
9387 PyObject
* _argo0
= 0;
9388 PyObject
* _obj2
= 0;
9389 char *_kwnames
[] = { "self","n","label", NULL
};
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9402 _arg2
= wxString_in_helper(_obj2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) return NULL
;
9412 } Py_INCREF(Py_None
);
9413 _resultobj
= Py_None
;
9421 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9422 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
* _resultobj
;
9426 PyObject
* _argo0
= 0;
9427 char *_kwnames
[] = { "self", NULL
};
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) return NULL
;
9445 } _resultobj
= Py_BuildValue("i",_result
);
9449 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9450 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
* _resultobj
;
9454 PyObject
* _argo0
= 0;
9455 char *_kwnames
[] = { "self", NULL
};
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) return NULL
;
9473 } _resultobj
= Py_BuildValue("i",_result
);
9477 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9478 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9482 PyObject
* _argo0
= 0;
9483 char *_kwnames
[] = { "self", NULL
};
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) return NULL
;
9501 } _resultobj
= Py_BuildValue("i",_result
);
9505 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9506 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
* _resultobj
;
9510 PyObject
* _argo0
= 0;
9511 char *_kwnames
[] = { "self", NULL
};
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) return NULL
;
9531 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9542 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9543 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
* _resultobj
;
9547 PyObject
* _argo0
= 0;
9548 char *_kwnames
[] = { "self", NULL
};
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 _result
= (int )wxRadioBox_GetCount(_arg0
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) return NULL
;
9566 } _resultobj
= Py_BuildValue("i",_result
);
9570 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9571 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9572 PyObject
* _resultobj
;
9575 PyObject
* _argo0
= 0;
9576 char *_kwnames
[] = { "self","n", NULL
};
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 wxRadioBox_SetSelection(_arg0
,_arg1
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) return NULL
;
9594 } Py_INCREF(Py_None
);
9595 _resultobj
= Py_None
;
9599 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9600 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
* _resultobj
;
9604 PyObject
* _argo0
= 0;
9605 PyObject
* _obj1
= 0;
9606 char *_kwnames
[] = { "self","string", NULL
};
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9619 _arg1
= wxString_in_helper(_obj1
);
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) return NULL
;
9629 } Py_INCREF(Py_None
);
9630 _resultobj
= Py_None
;
9638 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9639 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
* _resultobj
;
9643 PyObject
* _argo0
= 0;
9645 char *_kwnames
[] = { "self","show", NULL
};
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9657 _arg1
= (bool ) tempbool1
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 wxRadioBox_Show(_arg0
,_arg1
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) return NULL
;
9664 } Py_INCREF(Py_None
);
9665 _resultobj
= Py_None
;
9669 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9670 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
* _resultobj
;
9675 PyObject
* _argo0
= 0;
9677 char *_kwnames
[] = { "self","item","show", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9689 _arg2
= (bool ) tempbool2
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) return NULL
;
9696 } Py_INCREF(Py_None
);
9697 _resultobj
= Py_None
;
9701 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9704 src
= (wxRadioButton
*) ptr
;
9705 dest
= (wxControl
*) src
;
9706 return (void *) dest
;
9709 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9712 src
= (wxRadioButton
*) ptr
;
9713 dest
= (wxWindow
*) src
;
9714 return (void *) dest
;
9717 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9720 src
= (wxRadioButton
*) ptr
;
9721 dest
= (wxEvtHandler
*) src
;
9722 return (void *) dest
;
9725 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9728 src
= (wxRadioButton
*) ptr
;
9729 dest
= (wxObject
*) src
;
9730 return (void *) dest
;
9733 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9734 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
* _resultobj
;
9736 wxRadioButton
* _result
;
9740 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9741 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9742 long _arg5
= (long ) 0;
9743 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9744 wxString
* _arg7
= (wxString
*) &wxPyRadioButtonNameStr
;
9745 PyObject
* _argo0
= 0;
9746 PyObject
* _obj2
= 0;
9748 PyObject
* _obj3
= 0;
9750 PyObject
* _obj4
= 0;
9751 PyObject
* _argo6
= 0;
9752 PyObject
* _obj7
= 0;
9753 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
9760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9767 _arg2
= wxString_in_helper(_obj2
);
9774 if (! wxPoint_helper(_obj3
, &_arg3
))
9780 if (! wxSize_helper(_obj4
, &_arg4
))
9784 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9785 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9792 _arg7
= wxString_in_helper(_obj7
);
9797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9798 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
9800 wxPyEndAllowThreads(__tstate
);
9801 if (PyErr_Occurred()) return NULL
;
9803 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9804 _resultobj
= Py_BuildValue("s",_ptemp
);
9807 _resultobj
= Py_None
;
9820 #define new_wxPreRadioButton() (new wxRadioButton())
9821 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
* _resultobj
;
9823 wxRadioButton
* _result
;
9824 char *_kwnames
[] = { NULL
};
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) return NULL
;
9837 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9838 _resultobj
= Py_BuildValue("s",_ptemp
);
9841 _resultobj
= Py_None
;
9846 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9847 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
* _resultobj
;
9850 wxRadioButton
* _arg0
;
9854 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9855 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9856 long _arg6
= (long ) 0;
9857 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9858 wxString
* _arg8
= (wxString
*) &wxPyRadioButtonNameStr
;
9859 PyObject
* _argo0
= 0;
9860 PyObject
* _argo1
= 0;
9861 PyObject
* _obj3
= 0;
9863 PyObject
* _obj4
= 0;
9865 PyObject
* _obj5
= 0;
9866 PyObject
* _argo7
= 0;
9867 PyObject
* _obj8
= 0;
9868 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
9874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9881 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9882 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9888 _arg3
= wxString_in_helper(_obj3
);
9895 if (! wxPoint_helper(_obj4
, &_arg4
))
9901 if (! wxSize_helper(_obj5
, &_arg5
))
9905 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9906 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9913 _arg8
= wxString_in_helper(_obj8
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) return NULL
;
9923 } _resultobj
= Py_BuildValue("i",_result
);
9935 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9936 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
* _resultobj
;
9939 wxRadioButton
* _arg0
;
9940 PyObject
* _argo0
= 0;
9941 char *_kwnames
[] = { "self", NULL
};
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) return NULL
;
9959 } _resultobj
= Py_BuildValue("i",_result
);
9963 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9964 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
* _resultobj
;
9966 wxRadioButton
* _arg0
;
9968 PyObject
* _argo0
= 0;
9970 char *_kwnames
[] = { "self","value", NULL
};
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9982 _arg1
= (bool ) tempbool1
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 wxRadioButton_SetValue(_arg0
,_arg1
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) return NULL
;
9989 } Py_INCREF(Py_None
);
9990 _resultobj
= Py_None
;
9994 static void *SwigwxSliderTowxControl(void *ptr
) {
9997 src
= (wxSlider
*) ptr
;
9998 dest
= (wxControl
*) src
;
9999 return (void *) dest
;
10002 static void *SwigwxSliderTowxWindow(void *ptr
) {
10005 src
= (wxSlider
*) ptr
;
10006 dest
= (wxWindow
*) src
;
10007 return (void *) dest
;
10010 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10012 wxEvtHandler
*dest
;
10013 src
= (wxSlider
*) ptr
;
10014 dest
= (wxEvtHandler
*) src
;
10015 return (void *) dest
;
10018 static void *SwigwxSliderTowxObject(void *ptr
) {
10021 src
= (wxSlider
*) ptr
;
10022 dest
= (wxObject
*) src
;
10023 return (void *) dest
;
10026 #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))
10027 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
* _resultobj
;
10029 wxSlider
* _result
;
10035 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10036 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10037 long _arg7
= (long ) wxSL_HORIZONTAL
;
10038 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10039 wxString
* _arg9
= (wxString
*) &wxPySliderNameStr
;
10040 PyObject
* _argo0
= 0;
10042 PyObject
* _obj5
= 0;
10044 PyObject
* _obj6
= 0;
10045 PyObject
* _argo8
= 0;
10046 PyObject
* _obj9
= 0;
10047 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOO:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_obj9
))
10054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10063 if (! wxPoint_helper(_obj5
, &_arg5
))
10069 if (! wxSize_helper(_obj6
, &_arg6
))
10073 if (_argo8
== Py_None
) { _arg8
= NULL
; }
10074 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10081 _arg9
= wxString_in_helper(_obj9
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,*_arg9
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) return NULL
;
10092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10093 _resultobj
= Py_BuildValue("s",_ptemp
);
10095 Py_INCREF(Py_None
);
10096 _resultobj
= Py_None
;
10105 #define new_wxPreSlider() (new wxSlider())
10106 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
* _resultobj
;
10108 wxSlider
* _result
;
10109 char *_kwnames
[] = { NULL
};
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 _result
= (wxSlider
*)new_wxPreSlider();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) return NULL
;
10122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10123 _resultobj
= Py_BuildValue("s",_ptemp
);
10125 Py_INCREF(Py_None
);
10126 _resultobj
= Py_None
;
10131 #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))
10132 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
* _resultobj
;
10141 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10142 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10143 long _arg8
= (long ) wxSL_HORIZONTAL
;
10144 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10145 wxString
* _arg10
= (wxString
*) &wxPySliderNameStr
;
10146 PyObject
* _argo0
= 0;
10147 PyObject
* _argo1
= 0;
10149 PyObject
* _obj6
= 0;
10151 PyObject
* _obj7
= 0;
10152 PyObject
* _argo9
= 0;
10153 PyObject
* _obj10
= 0;
10154 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOO:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_obj10
))
10160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10167 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10168 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10176 if (! wxPoint_helper(_obj6
, &_arg6
))
10182 if (! wxSize_helper(_obj7
, &_arg7
))
10186 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10187 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10194 _arg10
= wxString_in_helper(_obj10
);
10195 if (_arg10
== NULL
)
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,*_arg10
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) return NULL
;
10204 } _resultobj
= Py_BuildValue("i",_result
);
10212 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10213 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
* _resultobj
;
10216 PyObject
* _argo0
= 0;
10217 char *_kwnames
[] = { "self", NULL
};
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 wxSlider_ClearSel(_arg0
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) return NULL
;
10235 } Py_INCREF(Py_None
);
10236 _resultobj
= Py_None
;
10240 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10241 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
* _resultobj
;
10244 PyObject
* _argo0
= 0;
10245 char *_kwnames
[] = { "self", NULL
};
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 wxSlider_ClearTicks(_arg0
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) return NULL
;
10263 } Py_INCREF(Py_None
);
10264 _resultobj
= Py_None
;
10268 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10269 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
* _resultobj
;
10273 PyObject
* _argo0
= 0;
10274 char *_kwnames
[] = { "self", NULL
};
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 _result
= (int )wxSlider_GetLineSize(_arg0
);
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) return NULL
;
10292 } _resultobj
= Py_BuildValue("i",_result
);
10296 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10297 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
* _resultobj
;
10301 PyObject
* _argo0
= 0;
10302 char *_kwnames
[] = { "self", NULL
};
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 _result
= (int )wxSlider_GetMax(_arg0
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) return NULL
;
10320 } _resultobj
= Py_BuildValue("i",_result
);
10324 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10325 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
* _resultobj
;
10329 PyObject
* _argo0
= 0;
10330 char *_kwnames
[] = { "self", NULL
};
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 _result
= (int )wxSlider_GetMin(_arg0
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) return NULL
;
10348 } _resultobj
= Py_BuildValue("i",_result
);
10352 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10353 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
* _resultobj
;
10357 PyObject
* _argo0
= 0;
10358 char *_kwnames
[] = { "self", NULL
};
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 _result
= (int )wxSlider_GetPageSize(_arg0
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) return NULL
;
10376 } _resultobj
= Py_BuildValue("i",_result
);
10380 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10381 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
* _resultobj
;
10385 PyObject
* _argo0
= 0;
10386 char *_kwnames
[] = { "self", NULL
};
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) return NULL
;
10404 } _resultobj
= Py_BuildValue("i",_result
);
10408 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10409 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
* _resultobj
;
10413 PyObject
* _argo0
= 0;
10414 char *_kwnames
[] = { "self", NULL
};
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 _result
= (int )wxSlider_GetSelStart(_arg0
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) return NULL
;
10432 } _resultobj
= Py_BuildValue("i",_result
);
10436 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10437 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
* _resultobj
;
10441 PyObject
* _argo0
= 0;
10442 char *_kwnames
[] = { "self", NULL
};
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) return NULL
;
10460 } _resultobj
= Py_BuildValue("i",_result
);
10464 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10465 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
* _resultobj
;
10469 PyObject
* _argo0
= 0;
10470 char *_kwnames
[] = { "self", NULL
};
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) return NULL
;
10488 } _resultobj
= Py_BuildValue("i",_result
);
10492 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10493 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
* _resultobj
;
10497 PyObject
* _argo0
= 0;
10498 char *_kwnames
[] = { "self", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 _result
= (int )wxSlider_GetValue(_arg0
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) return NULL
;
10516 } _resultobj
= Py_BuildValue("i",_result
);
10520 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10521 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
* _resultobj
;
10526 PyObject
* _argo0
= 0;
10527 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) return NULL
;
10545 } Py_INCREF(Py_None
);
10546 _resultobj
= Py_None
;
10550 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10551 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
* _resultobj
;
10556 PyObject
* _argo0
= 0;
10557 char *_kwnames
[] = { "self","n","pos", NULL
};
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) return NULL
;
10575 } Py_INCREF(Py_None
);
10576 _resultobj
= Py_None
;
10580 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10581 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
* _resultobj
;
10585 PyObject
* _argo0
= 0;
10586 char *_kwnames
[] = { "self","lineSize", NULL
};
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 wxSlider_SetLineSize(_arg0
,_arg1
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) return NULL
;
10604 } Py_INCREF(Py_None
);
10605 _resultobj
= Py_None
;
10609 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10610 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
* _resultobj
;
10614 PyObject
* _argo0
= 0;
10615 char *_kwnames
[] = { "self","pageSize", NULL
};
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 wxSlider_SetPageSize(_arg0
,_arg1
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) return NULL
;
10633 } Py_INCREF(Py_None
);
10634 _resultobj
= Py_None
;
10638 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10639 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
* _resultobj
;
10644 PyObject
* _argo0
= 0;
10645 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) return NULL
;
10663 } Py_INCREF(Py_None
);
10664 _resultobj
= Py_None
;
10668 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10669 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
* _resultobj
;
10673 PyObject
* _argo0
= 0;
10674 char *_kwnames
[] = { "self","len", NULL
};
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 wxSlider_SetThumbLength(_arg0
,_arg1
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) return NULL
;
10692 } Py_INCREF(Py_None
);
10693 _resultobj
= Py_None
;
10697 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10698 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
* _resultobj
;
10702 PyObject
* _argo0
= 0;
10703 char *_kwnames
[] = { "self","tickPos", NULL
};
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 wxSlider_SetTick(_arg0
,_arg1
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) return NULL
;
10721 } Py_INCREF(Py_None
);
10722 _resultobj
= Py_None
;
10726 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10727 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10731 PyObject
* _argo0
= 0;
10732 char *_kwnames
[] = { "self","value", NULL
};
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 wxSlider_SetValue(_arg0
,_arg1
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) return NULL
;
10750 } Py_INCREF(Py_None
);
10751 _resultobj
= Py_None
;
10755 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10757 wxSpinButton
*dest
;
10758 src
= (wxSpinCtrl
*) ptr
;
10759 dest
= (wxSpinButton
*) src
;
10760 return (void *) dest
;
10763 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10766 src
= (wxSpinCtrl
*) ptr
;
10767 dest
= (wxControl
*) src
;
10768 return (void *) dest
;
10771 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10774 src
= (wxSpinCtrl
*) ptr
;
10775 dest
= (wxWindow
*) src
;
10776 return (void *) dest
;
10779 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10781 wxEvtHandler
*dest
;
10782 src
= (wxSpinCtrl
*) ptr
;
10783 dest
= (wxEvtHandler
*) src
;
10784 return (void *) dest
;
10787 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10790 src
= (wxSpinCtrl
*) ptr
;
10791 dest
= (wxObject
*) src
;
10792 return (void *) dest
;
10795 #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))
10796 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
* _resultobj
;
10798 wxSpinCtrl
* _result
;
10800 wxWindowID _arg1
= (wxWindowID
) -1;
10801 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
10802 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10803 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10804 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10805 int _arg6
= (int ) 0;
10806 int _arg7
= (int ) 100;
10807 int _arg8
= (int ) 0;
10808 wxString
* _arg9
= (wxString
*) &wxPySpinCtrlNameStr
;
10809 PyObject
* _argo0
= 0;
10810 PyObject
* _obj2
= 0;
10812 PyObject
* _obj3
= 0;
10814 PyObject
* _obj4
= 0;
10815 PyObject
* _obj9
= 0;
10816 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_obj9
))
10823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10831 _arg2
= wxString_in_helper(_obj2
);
10838 if (! wxPoint_helper(_obj3
, &_arg3
))
10844 if (! wxSize_helper(_obj4
, &_arg4
))
10849 _arg9
= wxString_in_helper(_obj9
);
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
);
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) return NULL
;
10860 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10861 _resultobj
= Py_BuildValue("s",_ptemp
);
10863 Py_INCREF(Py_None
);
10864 _resultobj
= Py_None
;
10877 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10878 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
* _resultobj
;
10880 wxSpinCtrl
* _result
;
10881 char *_kwnames
[] = { NULL
};
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) return NULL
;
10894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10895 _resultobj
= Py_BuildValue("s",_ptemp
);
10897 Py_INCREF(Py_None
);
10898 _resultobj
= Py_None
;
10903 #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))
10904 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
* _resultobj
;
10907 wxSpinCtrl
* _arg0
;
10909 wxWindowID _arg2
= (wxWindowID
) -1;
10910 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
10911 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10912 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10913 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10914 int _arg7
= (int ) 0;
10915 int _arg8
= (int ) 100;
10916 int _arg9
= (int ) 0;
10917 wxString
* _arg10
= (wxString
*) &wxPySpinCtrlNameStr
;
10918 PyObject
* _argo0
= 0;
10919 PyObject
* _argo1
= 0;
10920 PyObject
* _obj3
= 0;
10922 PyObject
* _obj4
= 0;
10924 PyObject
* _obj5
= 0;
10925 PyObject
* _obj10
= 0;
10926 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_obj10
))
10932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10939 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10940 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10947 _arg3
= wxString_in_helper(_obj3
);
10954 if (! wxPoint_helper(_obj4
, &_arg4
))
10960 if (! wxSize_helper(_obj5
, &_arg5
))
10965 _arg10
= wxString_in_helper(_obj10
);
10966 if (_arg10
== NULL
)
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) return NULL
;
10975 } _resultobj
= Py_BuildValue("i",_result
);
10987 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10988 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
* _resultobj
;
10991 wxSpinCtrl
* _arg0
;
10992 PyObject
* _argo0
= 0;
10993 char *_kwnames
[] = { "self", NULL
};
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) return NULL
;
11011 } _resultobj
= Py_BuildValue("i",_result
);
11015 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11016 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
* _resultobj
;
11019 wxSpinCtrl
* _arg0
;
11020 PyObject
* _argo0
= 0;
11021 char *_kwnames
[] = { "self", NULL
};
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
11027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) return NULL
;
11039 } _resultobj
= Py_BuildValue("i",_result
);
11043 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11044 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
* _resultobj
;
11047 wxSpinCtrl
* _arg0
;
11048 PyObject
* _argo0
= 0;
11049 char *_kwnames
[] = { "self", NULL
};
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
11055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) return NULL
;
11067 } _resultobj
= Py_BuildValue("i",_result
);
11071 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11072 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
* _resultobj
;
11074 wxSpinCtrl
* _arg0
;
11077 PyObject
* _argo0
= 0;
11078 char *_kwnames
[] = { "self","min","max", NULL
};
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) return NULL
;
11096 } Py_INCREF(Py_None
);
11097 _resultobj
= Py_None
;
11101 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11102 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
* _resultobj
;
11104 wxSpinCtrl
* _arg0
;
11106 PyObject
* _argo0
= 0;
11107 char *_kwnames
[] = { "self","value", NULL
};
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) return NULL
;
11125 } Py_INCREF(Py_None
);
11126 _resultobj
= Py_None
;
11130 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
11131 wxToggleButton
*src
;
11133 src
= (wxToggleButton
*) ptr
;
11134 dest
= (wxControl
*) src
;
11135 return (void *) dest
;
11138 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
11139 wxToggleButton
*src
;
11141 src
= (wxToggleButton
*) ptr
;
11142 dest
= (wxWindow
*) src
;
11143 return (void *) dest
;
11146 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
11147 wxToggleButton
*src
;
11148 wxEvtHandler
*dest
;
11149 src
= (wxToggleButton
*) ptr
;
11150 dest
= (wxEvtHandler
*) src
;
11151 return (void *) dest
;
11154 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
11155 wxToggleButton
*src
;
11157 src
= (wxToggleButton
*) ptr
;
11158 dest
= (wxObject
*) src
;
11159 return (void *) dest
;
11162 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11163 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
* _resultobj
;
11165 wxToggleButton
* _result
;
11169 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11170 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11171 long _arg5
= (long ) 0;
11172 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
11173 wxString
* _arg7
= (wxString
*) &wxPyCheckBoxNameStr
;
11174 PyObject
* _argo0
= 0;
11175 PyObject
* _obj2
= 0;
11177 PyObject
* _obj3
= 0;
11179 PyObject
* _obj4
= 0;
11180 PyObject
* _argo6
= 0;
11181 PyObject
* _obj7
= 0;
11182 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOO:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_obj7
))
11189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11196 _arg2
= wxString_in_helper(_obj2
);
11203 if (! wxPoint_helper(_obj3
, &_arg3
))
11209 if (! wxSize_helper(_obj4
, &_arg4
))
11213 if (_argo6
== Py_None
) { _arg6
= NULL
; }
11214 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11221 _arg7
= wxString_in_helper(_obj7
);
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,*_arg7
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) return NULL
;
11232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11233 _resultobj
= Py_BuildValue("s",_ptemp
);
11235 Py_INCREF(Py_None
);
11236 _resultobj
= Py_None
;
11249 #define new_wxPreToggleButton() (new wxToggleButton())
11250 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
* _resultobj
;
11252 wxToggleButton
* _result
;
11253 char *_kwnames
[] = { NULL
};
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) return NULL
;
11266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11267 _resultobj
= Py_BuildValue("s",_ptemp
);
11269 Py_INCREF(Py_None
);
11270 _resultobj
= Py_None
;
11275 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11276 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
* _resultobj
;
11279 wxToggleButton
* _arg0
;
11283 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11284 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11285 long _arg6
= (long ) 0;
11286 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11287 wxString
* _arg8
= (wxString
*) &wxPyCheckBoxNameStr
;
11288 PyObject
* _argo0
= 0;
11289 PyObject
* _argo1
= 0;
11290 PyObject
* _obj3
= 0;
11292 PyObject
* _obj4
= 0;
11294 PyObject
* _obj5
= 0;
11295 PyObject
* _argo7
= 0;
11296 PyObject
* _obj8
= 0;
11297 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOO:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_obj8
))
11303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11317 _arg3
= wxString_in_helper(_obj3
);
11324 if (! wxPoint_helper(_obj4
, &_arg4
))
11330 if (! wxSize_helper(_obj5
, &_arg5
))
11334 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11335 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11342 _arg8
= wxString_in_helper(_obj8
);
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,*_arg8
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) return NULL
;
11352 } _resultobj
= Py_BuildValue("i",_result
);
11364 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11365 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
* _resultobj
;
11367 wxToggleButton
* _arg0
;
11369 PyObject
* _argo0
= 0;
11371 char *_kwnames
[] = { "self","value", NULL
};
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11383 _arg1
= (bool ) tempbool1
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 wxToggleButton_SetValue(_arg0
,_arg1
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) return NULL
;
11390 } Py_INCREF(Py_None
);
11391 _resultobj
= Py_None
;
11395 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11396 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11397 PyObject
* _resultobj
;
11399 wxToggleButton
* _arg0
;
11400 PyObject
* _argo0
= 0;
11401 char *_kwnames
[] = { "self", NULL
};
11404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) return NULL
;
11419 } _resultobj
= Py_BuildValue("i",_result
);
11423 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11424 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
* _resultobj
;
11426 wxToggleButton
* _arg0
;
11428 PyObject
* _argo0
= 0;
11429 PyObject
* _obj1
= 0;
11430 char *_kwnames
[] = { "self","label", NULL
};
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11443 _arg1
= wxString_in_helper(_obj1
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) return NULL
;
11453 } Py_INCREF(Py_None
);
11454 _resultobj
= Py_None
;
11462 static PyMethodDef controlscMethods
[] = {
11463 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxTextCtrl_IsMultiLine", (PyCFunction
) _wrap_wxTextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxTextCtrl_IsSingleLine", (PyCFunction
) _wrap_wxTextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxTextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_wxTextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11731 * This table is used by the pointer type-checker
11733 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11734 { "_signed_long","_long",0},
11735 { "_wxPrintQuality","_wxCoord",0},
11736 { "_wxPrintQuality","_int",0},
11737 { "_wxPrintQuality","_signed_int",0},
11738 { "_wxPrintQuality","_unsigned_int",0},
11739 { "_wxPrintQuality","_wxWindowID",0},
11740 { "_wxPrintQuality","_uint",0},
11741 { "_wxPrintQuality","_EBool",0},
11742 { "_wxPrintQuality","_size_t",0},
11743 { "_wxPrintQuality","_time_t",0},
11744 { "_byte","_unsigned_char",0},
11745 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11746 { "_long","_unsigned_long",0},
11747 { "_long","_signed_long",0},
11748 { "_size_t","_wxCoord",0},
11749 { "_size_t","_wxPrintQuality",0},
11750 { "_size_t","_time_t",0},
11751 { "_size_t","_unsigned_int",0},
11752 { "_size_t","_int",0},
11753 { "_size_t","_wxWindowID",0},
11754 { "_size_t","_uint",0},
11755 { "_uint","_wxCoord",0},
11756 { "_uint","_wxPrintQuality",0},
11757 { "_uint","_time_t",0},
11758 { "_uint","_size_t",0},
11759 { "_uint","_unsigned_int",0},
11760 { "_uint","_int",0},
11761 { "_uint","_wxWindowID",0},
11762 { "_wxChar","_char",0},
11763 { "_char","_wxChar",0},
11764 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11765 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11766 { "_EBool","_wxCoord",0},
11767 { "_EBool","_wxPrintQuality",0},
11768 { "_EBool","_signed_int",0},
11769 { "_EBool","_int",0},
11770 { "_EBool","_wxWindowID",0},
11771 { "_unsigned_long","_long",0},
11772 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11773 { "_signed_int","_wxCoord",0},
11774 { "_signed_int","_wxPrintQuality",0},
11775 { "_signed_int","_EBool",0},
11776 { "_signed_int","_wxWindowID",0},
11777 { "_signed_int","_int",0},
11778 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11779 { "_WXTYPE","_short",0},
11780 { "_WXTYPE","_signed_short",0},
11781 { "_WXTYPE","_unsigned_short",0},
11782 { "_unsigned_short","_WXTYPE",0},
11783 { "_unsigned_short","_short",0},
11784 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11785 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11786 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11787 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11788 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11789 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11790 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11791 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11792 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11793 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11794 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11795 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11796 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11797 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11798 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11799 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11800 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11801 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11802 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11803 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11804 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11805 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11806 { "_signed_short","_WXTYPE",0},
11807 { "_signed_short","_short",0},
11808 { "_unsigned_char","_byte",0},
11809 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11810 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11811 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11812 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11813 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11814 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11815 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11816 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11817 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11818 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11819 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11820 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11821 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11822 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11823 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11824 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11825 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11826 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11827 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11828 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11829 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11830 { "_unsigned_int","_wxCoord",0},
11831 { "_unsigned_int","_wxPrintQuality",0},
11832 { "_unsigned_int","_time_t",0},
11833 { "_unsigned_int","_size_t",0},
11834 { "_unsigned_int","_uint",0},
11835 { "_unsigned_int","_wxWindowID",0},
11836 { "_unsigned_int","_int",0},
11837 { "_short","_WXTYPE",0},
11838 { "_short","_unsigned_short",0},
11839 { "_short","_signed_short",0},
11840 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11841 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11842 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11843 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11844 { "_wxWindowID","_wxCoord",0},
11845 { "_wxWindowID","_wxPrintQuality",0},
11846 { "_wxWindowID","_time_t",0},
11847 { "_wxWindowID","_size_t",0},
11848 { "_wxWindowID","_EBool",0},
11849 { "_wxWindowID","_uint",0},
11850 { "_wxWindowID","_int",0},
11851 { "_wxWindowID","_signed_int",0},
11852 { "_wxWindowID","_unsigned_int",0},
11853 { "_int","_wxCoord",0},
11854 { "_int","_wxPrintQuality",0},
11855 { "_int","_time_t",0},
11856 { "_int","_size_t",0},
11857 { "_int","_EBool",0},
11858 { "_int","_uint",0},
11859 { "_int","_wxWindowID",0},
11860 { "_int","_unsigned_int",0},
11861 { "_int","_signed_int",0},
11862 { "_time_t","_wxCoord",0},
11863 { "_time_t","_wxPrintQuality",0},
11864 { "_time_t","_unsigned_int",0},
11865 { "_time_t","_int",0},
11866 { "_time_t","_wxWindowID",0},
11867 { "_time_t","_uint",0},
11868 { "_time_t","_size_t",0},
11869 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11870 { "_wxCoord","_int",0},
11871 { "_wxCoord","_signed_int",0},
11872 { "_wxCoord","_unsigned_int",0},
11873 { "_wxCoord","_wxWindowID",0},
11874 { "_wxCoord","_uint",0},
11875 { "_wxCoord","_EBool",0},
11876 { "_wxCoord","_size_t",0},
11877 { "_wxCoord","_time_t",0},
11878 { "_wxCoord","_wxPrintQuality",0},
11879 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11880 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11881 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11882 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11883 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11884 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11885 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11886 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11887 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11888 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11889 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11890 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11891 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11892 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11893 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11894 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11895 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11896 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11897 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11898 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11899 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11900 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11901 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11902 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11903 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11904 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11905 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11906 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11907 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11908 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11909 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11910 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11911 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11912 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11913 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11914 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11915 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11916 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11917 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11918 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11919 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11920 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11921 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11922 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11925 static PyObject
*SWIG_globals
;
11929 SWIGEXPORT(void) initcontrolsc() {
11931 SWIG_globals
= SWIG_newvarlink();
11932 m
= Py_InitModule("controlsc", controlscMethods
);
11933 d
= PyModule_GetDict(m
);
11934 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11935 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11936 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11939 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11940 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);