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
);
105 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
107 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
111 static PyObject
*_wrap_wxDefaultValidator_get() {
115 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
116 pyobj
= PyString_FromString(ptemp
);
120 static void *SwigwxControlTowxWindow(void *ptr
) {
123 src
= (wxControl
*) ptr
;
124 dest
= (wxWindow
*) src
;
125 return (void *) dest
;
128 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
131 src
= (wxControl
*) ptr
;
132 dest
= (wxEvtHandler
*) src
;
133 return (void *) dest
;
136 static void *SwigwxControlTowxObject(void *ptr
) {
139 src
= (wxControl
*) ptr
;
140 dest
= (wxObject
*) src
;
141 return (void *) dest
;
144 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
145 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
146 PyObject
* _resultobj
;
150 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
151 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
152 long _arg4
= (long ) 0;
153 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
154 char * _arg6
= (char *) "control";
155 PyObject
* _argo0
= 0;
157 PyObject
* _obj2
= 0;
159 PyObject
* _obj3
= 0;
160 PyObject
* _argo5
= 0;
161 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
177 if (! wxPoint_helper(_obj2
, &_arg2
))
183 if (! wxSize_helper(_obj3
, &_arg3
))
187 if (_argo5
== Py_None
) { _arg5
= NULL
; }
188 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
195 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
197 wxPyEndAllowThreads(__tstate
);
198 if (PyErr_Occurred()) return NULL
;
200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
201 _resultobj
= Py_BuildValue("s",_ptemp
);
204 _resultobj
= Py_None
;
209 #define new_wxPreControl() (new wxControl())
210 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
213 char *_kwnames
[] = { NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
221 _result
= (wxControl
*)new_wxPreControl();
223 wxPyEndAllowThreads(__tstate
);
224 if (PyErr_Occurred()) return NULL
;
226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
227 _resultobj
= Py_BuildValue("s",_ptemp
);
230 _resultobj
= Py_None
;
235 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
236 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
242 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
243 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
244 long _arg5
= (long ) 0;
245 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
246 char * _arg7
= (char *) "control";
247 PyObject
* _argo0
= 0;
248 PyObject
* _argo1
= 0;
250 PyObject
* _obj3
= 0;
252 PyObject
* _obj4
= 0;
253 PyObject
* _argo6
= 0;
254 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
276 if (! wxPoint_helper(_obj3
, &_arg3
))
282 if (! wxSize_helper(_obj4
, &_arg4
))
286 if (_argo6
== Py_None
) { _arg6
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
294 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
296 wxPyEndAllowThreads(__tstate
);
297 if (PyErr_Occurred()) return NULL
;
298 } _resultobj
= Py_BuildValue("i",_result
);
302 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
303 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
306 wxCommandEvent
* _arg1
;
307 PyObject
* _argo0
= 0;
308 PyObject
* _argo1
= 0;
309 char *_kwnames
[] = { "self","event", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
330 wxControl_Command(_arg0
,*_arg1
);
332 wxPyEndAllowThreads(__tstate
);
333 if (PyErr_Occurred()) return NULL
;
334 } Py_INCREF(Py_None
);
335 _resultobj
= Py_None
;
339 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
340 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 _result
= new wxString (wxControl_GetLabel(_arg0
));
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
365 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
367 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
376 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
377 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
381 PyObject
* _argo0
= 0;
382 PyObject
* _obj1
= 0;
383 char *_kwnames
[] = { "self","label", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
396 _arg1
= wxString_in_helper(_obj1
);
401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
402 wxControl_SetLabel(_arg0
,*_arg1
);
404 wxPyEndAllowThreads(__tstate
);
405 if (PyErr_Occurred()) return NULL
;
406 } Py_INCREF(Py_None
);
407 _resultobj
= Py_None
;
415 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
416 wxControlWithItems
*src
;
418 src
= (wxControlWithItems
*) ptr
;
419 dest
= (wxControl
*) src
;
420 return (void *) dest
;
423 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
424 wxControlWithItems
*src
;
426 src
= (wxControlWithItems
*) ptr
;
427 dest
= (wxWindow
*) src
;
428 return (void *) dest
;
431 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
432 wxControlWithItems
*src
;
434 src
= (wxControlWithItems
*) ptr
;
435 dest
= (wxEvtHandler
*) src
;
436 return (void *) dest
;
439 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
440 wxControlWithItems
*src
;
442 src
= (wxControlWithItems
*) ptr
;
443 dest
= (wxObject
*) src
;
444 return (void *) dest
;
447 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
448 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
450 wxControlWithItems
* _arg0
;
452 PyObject
* _argo0
= 0;
453 char *_kwnames
[] = { "self","n", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
467 wxControlWithItems_Delete(_arg0
,_arg1
);
469 wxPyEndAllowThreads(__tstate
);
470 if (PyErr_Occurred()) return NULL
;
471 } Py_INCREF(Py_None
);
472 _resultobj
= Py_None
;
476 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
477 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 wxControlWithItems
* _arg0
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
496 _result
= (int )wxControlWithItems_GetCount(_arg0
);
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
500 } _resultobj
= Py_BuildValue("i",_result
);
504 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
505 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
508 wxControlWithItems
* _arg0
;
510 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self","n", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
531 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
542 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
543 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
545 wxControlWithItems
* _arg0
;
548 PyObject
* _argo0
= 0;
549 PyObject
* _obj2
= 0;
550 char *_kwnames
[] = { "self","n","s", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
563 _arg2
= wxString_in_helper(_obj2
);
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
582 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
583 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
586 wxControlWithItems
* _arg0
;
588 PyObject
* _argo0
= 0;
589 PyObject
* _obj1
= 0;
590 char *_kwnames
[] = { "self","s", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
603 _arg1
= wxString_in_helper(_obj1
);
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
613 } _resultobj
= Py_BuildValue("i",_result
);
621 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
622 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
624 wxControlWithItems
* _arg0
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self","n", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 wxControlWithItems_Select(_arg0
,_arg1
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
650 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
651 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
654 wxControlWithItems
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
670 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
672 wxPyEndAllowThreads(__tstate
);
673 if (PyErr_Occurred()) return NULL
;
674 } _resultobj
= Py_BuildValue("i",_result
);
678 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
679 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
682 wxControlWithItems
* _arg0
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
698 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
700 wxPyEndAllowThreads(__tstate
);
701 if (PyErr_Occurred()) return NULL
;
704 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
706 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
715 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
717 wxPyClientData
* data
= new wxPyClientData(clientData
);
718 self
->Append(item
, data
);
722 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
723 PyObject
* _resultobj
;
724 wxControlWithItems
* _arg0
;
726 PyObject
* _arg2
= (PyObject
*) NULL
;
727 PyObject
* _argo0
= 0;
728 PyObject
* _obj1
= 0;
729 PyObject
* _obj2
= 0;
730 char *_kwnames
[] = { "self","item","clientData", NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
743 _arg1
= wxString_in_helper(_obj1
);
752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
753 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
755 wxPyEndAllowThreads(__tstate
);
756 if (PyErr_Occurred()) return NULL
;
757 } Py_INCREF(Py_None
);
758 _resultobj
= Py_None
;
766 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
767 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
769 Py_INCREF(data
->m_obj
);
776 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
779 wxControlWithItems
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self","n", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
796 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
798 wxPyEndAllowThreads(__tstate
);
799 if (PyErr_Occurred()) return NULL
;
801 _resultobj
= _result
;
806 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
807 wxPyClientData
* data
= new wxPyClientData(clientData
);
808 self
->SetClientObject(n
, data
);
810 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
811 PyObject
* _resultobj
;
812 wxControlWithItems
* _arg0
;
815 PyObject
* _argo0
= 0;
816 PyObject
* _obj2
= 0;
817 char *_kwnames
[] = { "self","n","clientData", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
838 } Py_INCREF(Py_None
);
839 _resultobj
= Py_None
;
843 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
844 static PyObject
*_wrap_wxControlWithItems_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
846 wxControlWithItems
* _arg0
;
847 wxArrayString
* _arg1
;
848 PyObject
* _argo0
= 0;
849 PyObject
* _obj1
= 0;
850 char *_kwnames
[] = { "self","strings", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
863 if (! PySequence_Check(_obj1
)) {
864 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
867 _arg1
= new wxArrayString
;
868 int i
, len
=PySequence_Length(_obj1
);
869 for (i
=0; i
<len
; i
++) {
870 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
872 PyObject
* str
= PyObject_Unicode(item
);
873 _arg1
->Add(PyUnicode_AsUnicode(str
));
875 PyObject
* str
= PyObject_Str(item
);
876 _arg1
->Add(PyString_AsString(str
));
883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
884 wxControlWithItems_AppendItems(_arg0
,*_arg1
);
886 wxPyEndAllowThreads(__tstate
);
887 if (PyErr_Occurred()) return NULL
;
888 } Py_INCREF(Py_None
);
889 _resultobj
= Py_None
;
897 static void *SwigwxButtonTowxControl(void *ptr
) {
900 src
= (wxButton
*) ptr
;
901 dest
= (wxControl
*) src
;
902 return (void *) dest
;
905 static void *SwigwxButtonTowxWindow(void *ptr
) {
908 src
= (wxButton
*) ptr
;
909 dest
= (wxWindow
*) src
;
910 return (void *) dest
;
913 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
916 src
= (wxButton
*) ptr
;
917 dest
= (wxEvtHandler
*) src
;
918 return (void *) dest
;
921 static void *SwigwxButtonTowxObject(void *ptr
) {
924 src
= (wxButton
*) ptr
;
925 dest
= (wxObject
*) src
;
926 return (void *) dest
;
929 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
930 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
936 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
937 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
938 long _arg5
= (long ) 0;
939 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
940 char * _arg7
= (char *) "button";
941 PyObject
* _argo0
= 0;
942 PyObject
* _obj2
= 0;
944 PyObject
* _obj3
= 0;
946 PyObject
* _obj4
= 0;
947 PyObject
* _argo6
= 0;
948 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
962 _arg2
= wxString_in_helper(_obj2
);
969 if (! wxPoint_helper(_obj3
, &_arg3
))
975 if (! wxSize_helper(_obj4
, &_arg4
))
979 if (_argo6
== Py_None
) { _arg6
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) return NULL
;
992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
993 _resultobj
= Py_BuildValue("s",_ptemp
);
996 _resultobj
= Py_None
;
1005 #define new_wxPreButton() (new wxButton())
1006 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1009 char *_kwnames
[] = { NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 _result
= (wxButton
*)new_wxPreButton();
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1023 _resultobj
= Py_BuildValue("s",_ptemp
);
1026 _resultobj
= Py_None
;
1031 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1032 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1039 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1040 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1041 long _arg6
= (long ) 0;
1042 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1043 char * _arg8
= (char *) "button";
1044 PyObject
* _argo0
= 0;
1045 PyObject
* _argo1
= 0;
1046 PyObject
* _obj3
= 0;
1048 PyObject
* _obj4
= 0;
1050 PyObject
* _obj5
= 0;
1051 PyObject
* _argo7
= 0;
1052 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1072 _arg3
= wxString_in_helper(_obj3
);
1079 if (! wxPoint_helper(_obj4
, &_arg4
))
1085 if (! wxSize_helper(_obj5
, &_arg5
))
1089 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1101 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1110 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1113 PyObject
* _argo0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1128 wxButton_SetDefault(_arg0
);
1130 wxPyEndAllowThreads(__tstate
);
1131 if (PyErr_Occurred()) return NULL
;
1132 } Py_INCREF(Py_None
);
1133 _resultobj
= Py_None
;
1137 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1138 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1142 PyObject
* _argo0
= 0;
1144 PyObject
* _obj1
= 0;
1145 char *_kwnames
[] = { "self","colour", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1159 if (! wxColour_helper(_obj1
, &_arg1
))
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } Py_INCREF(Py_None
);
1169 _resultobj
= Py_None
;
1173 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1174 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1180 PyObject
* _obj1
= 0;
1181 char *_kwnames
[] = { "self","colour", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1195 if (! wxColour_helper(_obj1
, &_arg1
))
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1209 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1210 static PyObject
*_wrap_wxButton_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1214 PyObject
* _argo0
= 0;
1215 PyObject
* _argo1
= 0;
1216 char *_kwnames
[] = { "self","bitmap", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetImageLabel",_kwnames
,&_argo0
,&_argo1
))
1222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1229 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1230 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1237 wxButton_SetImageLabel(_arg0
,*_arg1
);
1239 wxPyEndAllowThreads(__tstate
);
1240 if (PyErr_Occurred()) return NULL
;
1241 } Py_INCREF(Py_None
);
1242 _resultobj
= Py_None
;
1246 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1247 static PyObject
*_wrap_wxButton_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1252 PyObject
* _argo0
= 0;
1253 char *_kwnames
[] = { "self","x","y", NULL
};
1256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxButton_SetImageMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } Py_INCREF(Py_None
);
1272 _resultobj
= Py_None
;
1276 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1277 PyObject
* _resultobj
;
1279 char *_kwnames
[] = { NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1287 _result
= new wxSize (wxButton::GetDefaultSize());
1289 wxPyEndAllowThreads(__tstate
);
1290 if (PyErr_Occurred()) return NULL
;
1291 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1292 _resultobj
= Py_BuildValue("s",_ptemp
);
1296 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1297 wxBitmapButton
*src
;
1299 src
= (wxBitmapButton
*) ptr
;
1300 dest
= (wxButton
*) src
;
1301 return (void *) dest
;
1304 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1305 wxBitmapButton
*src
;
1307 src
= (wxBitmapButton
*) ptr
;
1308 dest
= (wxControl
*) src
;
1309 return (void *) dest
;
1312 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1313 wxBitmapButton
*src
;
1315 src
= (wxBitmapButton
*) ptr
;
1316 dest
= (wxWindow
*) src
;
1317 return (void *) dest
;
1320 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1321 wxBitmapButton
*src
;
1323 src
= (wxBitmapButton
*) ptr
;
1324 dest
= (wxEvtHandler
*) src
;
1325 return (void *) dest
;
1328 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1329 wxBitmapButton
*src
;
1331 src
= (wxBitmapButton
*) ptr
;
1332 dest
= (wxObject
*) src
;
1333 return (void *) dest
;
1336 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1337 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1338 PyObject
* _resultobj
;
1339 wxBitmapButton
* _result
;
1343 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1344 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1345 long _arg5
= (long ) wxBU_AUTODRAW
;
1346 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1347 char * _arg7
= (char *) "button";
1348 PyObject
* _argo0
= 0;
1349 PyObject
* _argo2
= 0;
1351 PyObject
* _obj3
= 0;
1353 PyObject
* _obj4
= 0;
1354 PyObject
* _argo6
= 0;
1355 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1369 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1370 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1378 if (! wxPoint_helper(_obj3
, &_arg3
))
1384 if (! wxSize_helper(_obj4
, &_arg4
))
1388 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) return NULL
;
1401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1402 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 _resultobj
= Py_None
;
1410 #define new_wxPreBitmapButton() (new wxBitmapButton())
1411 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1413 wxBitmapButton
* _result
;
1414 char *_kwnames
[] = { NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) return NULL
;
1427 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1428 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 _resultobj
= Py_None
;
1436 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1437 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1440 wxBitmapButton
* _arg0
;
1444 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1445 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1446 long _arg6
= (long ) wxBU_AUTODRAW
;
1447 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1448 char * _arg8
= (char *) "button";
1449 PyObject
* _argo0
= 0;
1450 PyObject
* _argo1
= 0;
1451 PyObject
* _argo3
= 0;
1453 PyObject
* _obj4
= 0;
1455 PyObject
* _obj5
= 0;
1456 PyObject
* _argo7
= 0;
1457 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1470 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1471 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1477 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1486 if (! wxPoint_helper(_obj4
, &_arg4
))
1492 if (! wxSize_helper(_obj5
, &_arg5
))
1496 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) return NULL
;
1508 } _resultobj
= Py_BuildValue("i",_result
);
1512 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1513 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1516 wxBitmapButton
* _arg0
;
1517 PyObject
* _argo0
= 0;
1518 char *_kwnames
[] = { "self", NULL
};
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1525 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1526 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1538 _resultobj
= Py_BuildValue("s",_ptemp
);
1542 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1543 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1546 wxBitmapButton
* _arg0
;
1547 PyObject
* _argo0
= 0;
1548 char *_kwnames
[] = { "self", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) return NULL
;
1567 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1568 _resultobj
= Py_BuildValue("s",_ptemp
);
1572 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1573 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1576 wxBitmapButton
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1602 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1603 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1606 wxBitmapButton
* _arg0
;
1607 PyObject
* _argo0
= 0;
1608 char *_kwnames
[] = { "self", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1625 wxPyEndAllowThreads(__tstate
);
1626 if (PyErr_Occurred()) return NULL
;
1627 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1628 _resultobj
= Py_BuildValue("s",_ptemp
);
1632 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1633 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxBitmapButton
* _arg0
;
1637 PyObject
* _argo0
= 0;
1638 PyObject
* _argo1
= 0;
1639 char *_kwnames
[] = { "self","bitmap", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1652 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } Py_INCREF(Py_None
);
1665 _resultobj
= Py_None
;
1669 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1670 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1672 wxBitmapButton
* _arg0
;
1674 PyObject
* _argo0
= 0;
1675 PyObject
* _argo1
= 0;
1676 char *_kwnames
[] = { "self","bitmap", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) return NULL
;
1701 } Py_INCREF(Py_None
);
1702 _resultobj
= Py_None
;
1706 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1707 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
* _resultobj
;
1709 wxBitmapButton
* _arg0
;
1711 PyObject
* _argo0
= 0;
1712 PyObject
* _argo1
= 0;
1713 char *_kwnames
[] = { "self","bitmap", NULL
};
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1726 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1744 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1746 wxBitmapButton
* _arg0
;
1748 PyObject
* _argo0
= 0;
1749 PyObject
* _argo1
= 0;
1750 char *_kwnames
[] = { "self","bitmap", NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1763 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } Py_INCREF(Py_None
);
1776 _resultobj
= Py_None
;
1780 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1781 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 wxBitmapButton
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "self","x","y", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1811 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1814 wxBitmapButton
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 char *_kwnames
[] = { "self", NULL
};
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1839 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
* _resultobj
;
1842 wxBitmapButton
* _arg0
;
1843 PyObject
* _argo0
= 0;
1844 char *_kwnames
[] = { "self", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } _resultobj
= Py_BuildValue("i",_result
);
1866 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1869 src
= (wxCheckBox
*) ptr
;
1870 dest
= (wxControl
*) src
;
1871 return (void *) dest
;
1874 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1877 src
= (wxCheckBox
*) ptr
;
1878 dest
= (wxWindow
*) src
;
1879 return (void *) dest
;
1882 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1885 src
= (wxCheckBox
*) ptr
;
1886 dest
= (wxEvtHandler
*) src
;
1887 return (void *) dest
;
1890 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1893 src
= (wxCheckBox
*) ptr
;
1894 dest
= (wxObject
*) src
;
1895 return (void *) dest
;
1898 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1899 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1901 wxCheckBox
* _result
;
1905 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1906 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1907 long _arg5
= (long ) 0;
1908 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1909 char * _arg7
= (char *) "checkBox";
1910 PyObject
* _argo0
= 0;
1911 PyObject
* _obj2
= 0;
1913 PyObject
* _obj3
= 0;
1915 PyObject
* _obj4
= 0;
1916 PyObject
* _argo6
= 0;
1917 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1931 _arg2
= wxString_in_helper(_obj2
);
1938 if (! wxPoint_helper(_obj3
, &_arg3
))
1944 if (! wxSize_helper(_obj4
, &_arg4
))
1948 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1949 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1956 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) return NULL
;
1961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1962 _resultobj
= Py_BuildValue("s",_ptemp
);
1965 _resultobj
= Py_None
;
1974 #define new_wxPreCheckBox() (new wxCheckBox())
1975 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1977 wxCheckBox
* _result
;
1978 char *_kwnames
[] = { NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) return NULL
;
1991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1992 _resultobj
= Py_BuildValue("s",_ptemp
);
1995 _resultobj
= Py_None
;
2000 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2001 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
* _resultobj
;
2008 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2009 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2010 long _arg6
= (long ) 0;
2011 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2012 char * _arg8
= (char *) "checkBox";
2013 PyObject
* _argo0
= 0;
2014 PyObject
* _argo1
= 0;
2015 PyObject
* _obj3
= 0;
2017 PyObject
* _obj4
= 0;
2019 PyObject
* _obj5
= 0;
2020 PyObject
* _argo7
= 0;
2021 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2034 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2035 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2041 _arg3
= wxString_in_helper(_obj3
);
2048 if (! wxPoint_helper(_obj4
, &_arg4
))
2054 if (! wxSize_helper(_obj5
, &_arg5
))
2058 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2059 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) return NULL
;
2070 } _resultobj
= Py_BuildValue("i",_result
);
2078 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2079 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2083 PyObject
* _argo0
= 0;
2084 char *_kwnames
[] = { "self", NULL
};
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2098 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2100 wxPyEndAllowThreads(__tstate
);
2101 if (PyErr_Occurred()) return NULL
;
2102 } _resultobj
= Py_BuildValue("i",_result
);
2106 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2107 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
* _resultobj
;
2111 PyObject
* _argo0
= 0;
2113 char *_kwnames
[] = { "self","state", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2125 _arg1
= (bool ) tempbool1
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 wxCheckBox_SetValue(_arg0
,_arg1
);
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) return NULL
;
2132 } Py_INCREF(Py_None
);
2133 _resultobj
= Py_None
;
2137 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2139 wxControlWithItems
*dest
;
2140 src
= (wxChoice
*) ptr
;
2141 dest
= (wxControlWithItems
*) src
;
2142 return (void *) dest
;
2145 static void *SwigwxChoiceTowxControl(void *ptr
) {
2148 src
= (wxChoice
*) ptr
;
2149 dest
= (wxControl
*) src
;
2150 return (void *) dest
;
2153 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2156 src
= (wxChoice
*) ptr
;
2157 dest
= (wxWindow
*) src
;
2158 return (void *) dest
;
2161 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2164 src
= (wxChoice
*) ptr
;
2165 dest
= (wxEvtHandler
*) src
;
2166 return (void *) dest
;
2169 static void *SwigwxChoiceTowxObject(void *ptr
) {
2172 src
= (wxChoice
*) ptr
;
2173 dest
= (wxObject
*) src
;
2174 return (void *) dest
;
2177 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2178 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2183 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2184 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2185 int _arg4
= (int ) 0;
2186 wxString
* _arg5
= (wxString
*) NULL
;
2187 long _arg6
= (long ) 0;
2188 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2189 char * _arg8
= (char *) "choice";
2190 PyObject
* _argo0
= 0;
2192 PyObject
* _obj2
= 0;
2194 PyObject
* _obj3
= 0;
2195 PyObject
* _obj5
= 0;
2196 PyObject
* _argo7
= 0;
2197 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2213 if (! wxPoint_helper(_obj2
, &_arg2
))
2219 if (! wxSize_helper(_obj3
, &_arg3
))
2224 _arg5
= wxString_LIST_helper(_obj5
);
2225 if (_arg5
== NULL
) {
2230 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2231 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2238 _arg4
= PyList_Size(_obj5
);
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) return NULL
;
2251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2252 _resultobj
= Py_BuildValue("s",_ptemp
);
2255 _resultobj
= Py_None
;
2263 #define new_wxPreChoice() (new wxChoice())
2264 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
* _resultobj
;
2267 char *_kwnames
[] = { NULL
};
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2275 _result
= (wxChoice
*)new_wxPreChoice();
2277 wxPyEndAllowThreads(__tstate
);
2278 if (PyErr_Occurred()) return NULL
;
2280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2281 _resultobj
= Py_BuildValue("s",_ptemp
);
2284 _resultobj
= Py_None
;
2289 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2290 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
* _resultobj
;
2296 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2297 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2298 int _arg5
= (int ) 0;
2299 wxString
* _arg6
= (wxString
*) NULL
;
2300 long _arg7
= (long ) 0;
2301 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2302 char * _arg9
= (char *) "choice";
2303 PyObject
* _argo0
= 0;
2304 PyObject
* _argo1
= 0;
2306 PyObject
* _obj3
= 0;
2308 PyObject
* _obj4
= 0;
2309 PyObject
* _obj6
= 0;
2310 PyObject
* _argo8
= 0;
2311 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2324 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2325 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2333 if (! wxPoint_helper(_obj3
, &_arg3
))
2339 if (! wxSize_helper(_obj4
, &_arg4
))
2344 _arg6
= wxString_LIST_helper(_obj6
);
2345 if (_arg6
== NULL
) {
2350 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2358 _arg5
= PyList_Size(_obj6
);
2365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2366 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2368 wxPyEndAllowThreads(__tstate
);
2369 if (PyErr_Occurred()) return NULL
;
2370 } _resultobj
= Py_BuildValue("i",_result
);
2377 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2378 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2379 PyObject
* _resultobj
;
2381 PyObject
* _argo0
= 0;
2382 char *_kwnames
[] = { "self", NULL
};
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 wxChoice_Clear(_arg0
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) return NULL
;
2400 } Py_INCREF(Py_None
);
2401 _resultobj
= Py_None
;
2405 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2406 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2410 PyObject
* _argo0
= 0;
2411 char *_kwnames
[] = { "self", NULL
};
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 _result
= (int )wxChoice_GetColumns(_arg0
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) return NULL
;
2429 } _resultobj
= Py_BuildValue("i",_result
);
2433 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2434 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2437 int _arg1
= (int ) 1;
2438 PyObject
* _argo0
= 0;
2439 char *_kwnames
[] = { "self","n", NULL
};
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 wxChoice_SetColumns(_arg0
,_arg1
);
2455 wxPyEndAllowThreads(__tstate
);
2456 if (PyErr_Occurred()) return NULL
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2462 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2463 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
* _resultobj
;
2467 PyObject
* _argo0
= 0;
2468 char *_kwnames
[] = { "self","n", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 wxChoice_SetSelection(_arg0
,_arg1
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) return NULL
;
2486 } Py_INCREF(Py_None
);
2487 _resultobj
= Py_None
;
2491 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2492 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2493 PyObject
* _resultobj
;
2496 PyObject
* _argo0
= 0;
2497 PyObject
* _obj1
= 0;
2498 char *_kwnames
[] = { "self","string", NULL
};
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2511 _arg1
= wxString_in_helper(_obj1
);
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) return NULL
;
2521 } Py_INCREF(Py_None
);
2522 _resultobj
= Py_None
;
2530 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2531 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2537 PyObject
* _obj2
= 0;
2538 char *_kwnames
[] = { "self","n","s", NULL
};
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2551 _arg2
= wxString_in_helper(_obj2
);
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) return NULL
;
2561 } Py_INCREF(Py_None
);
2562 _resultobj
= Py_None
;
2570 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2573 src
= (wxComboBox
*) ptr
;
2574 dest
= (wxChoice
*) src
;
2575 return (void *) dest
;
2578 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2580 wxControlWithItems
*dest
;
2581 src
= (wxComboBox
*) ptr
;
2582 dest
= (wxControlWithItems
*) src
;
2583 return (void *) dest
;
2586 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2589 src
= (wxComboBox
*) ptr
;
2590 dest
= (wxControl
*) src
;
2591 return (void *) dest
;
2594 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2597 src
= (wxComboBox
*) ptr
;
2598 dest
= (wxWindow
*) src
;
2599 return (void *) dest
;
2602 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2605 src
= (wxComboBox
*) ptr
;
2606 dest
= (wxEvtHandler
*) src
;
2607 return (void *) dest
;
2610 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2613 src
= (wxComboBox
*) ptr
;
2614 dest
= (wxObject
*) src
;
2615 return (void *) dest
;
2618 #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))
2619 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2621 wxComboBox
* _result
;
2624 char * _arg2
= (char *) "";
2625 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2626 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2627 int _arg5
= (int ) 0;
2628 wxString
* _arg6
= (wxString
*) NULL
;
2629 long _arg7
= (long ) 0;
2630 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2631 char * _arg9
= (char *) "comboBox";
2632 PyObject
* _argo0
= 0;
2634 PyObject
* _obj3
= 0;
2636 PyObject
* _obj4
= 0;
2637 PyObject
* _obj6
= 0;
2638 PyObject
* _argo8
= 0;
2639 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2655 if (! wxPoint_helper(_obj3
, &_arg3
))
2661 if (! wxSize_helper(_obj4
, &_arg4
))
2666 _arg6
= wxString_LIST_helper(_obj6
);
2667 if (_arg6
== NULL
) {
2672 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2680 _arg5
= PyList_Size(_obj6
);
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) return NULL
;
2693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2694 _resultobj
= Py_BuildValue("s",_ptemp
);
2697 _resultobj
= Py_None
;
2705 #define new_wxPreComboBox() (new wxComboBox())
2706 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
* _resultobj
;
2708 wxComboBox
* _result
;
2709 char *_kwnames
[] = { NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 _result
= (wxComboBox
*)new_wxPreComboBox();
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) return NULL
;
2722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2723 _resultobj
= Py_BuildValue("s",_ptemp
);
2726 _resultobj
= Py_None
;
2731 #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))
2732 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2738 char * _arg3
= (char *) "";
2739 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2740 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2741 int _arg6
= (int ) 0;
2742 wxString
* _arg7
= (wxString
*) NULL
;
2743 long _arg8
= (long ) 0;
2744 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2745 char * _arg10
= (char *) "comboBox";
2746 PyObject
* _argo0
= 0;
2747 PyObject
* _argo1
= 0;
2749 PyObject
* _obj4
= 0;
2751 PyObject
* _obj5
= 0;
2752 PyObject
* _obj7
= 0;
2753 PyObject
* _argo9
= 0;
2754 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2767 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2776 if (! wxPoint_helper(_obj4
, &_arg4
))
2782 if (! wxSize_helper(_obj5
, &_arg5
))
2787 _arg7
= wxString_LIST_helper(_obj7
);
2788 if (_arg7
== NULL
) {
2793 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2801 _arg6
= PyList_Size(_obj7
);
2808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2809 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2811 wxPyEndAllowThreads(__tstate
);
2812 if (PyErr_Occurred()) return NULL
;
2813 } _resultobj
= Py_BuildValue("i",_result
);
2820 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2821 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2822 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 wxComboBox_Copy(_arg0
);
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) return NULL
;
2843 } Py_INCREF(Py_None
);
2844 _resultobj
= Py_None
;
2848 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2849 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 wxComboBox_Cut(_arg0
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) return NULL
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2876 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2877 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) return NULL
;
2900 } _resultobj
= Py_BuildValue("l",_result
);
2904 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2905 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("l",_result
);
2932 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2933 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) return NULL
;
2958 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2960 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2969 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2970 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 wxComboBox_Paste(_arg0
);
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) return NULL
;
2992 } Py_INCREF(Py_None
);
2993 _resultobj
= Py_None
;
2997 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2998 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3004 PyObject
* _argo0
= 0;
3005 PyObject
* _obj3
= 0;
3006 char *_kwnames
[] = { "self","from","to","text", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3019 _arg3
= wxString_in_helper(_obj3
);
3024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) return NULL
;
3029 } Py_INCREF(Py_None
);
3030 _resultobj
= Py_None
;
3038 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3039 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
* _resultobj
;
3044 PyObject
* _argo0
= 0;
3045 char *_kwnames
[] = { "self","from","to", NULL
};
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3061 wxPyEndAllowThreads(__tstate
);
3062 if (PyErr_Occurred()) return NULL
;
3063 } Py_INCREF(Py_None
);
3064 _resultobj
= Py_None
;
3068 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3069 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
* _resultobj
;
3073 PyObject
* _argo0
= 0;
3074 char *_kwnames
[] = { "self","pos", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) return NULL
;
3092 } Py_INCREF(Py_None
);
3093 _resultobj
= Py_None
;
3097 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3098 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3101 PyObject
* _argo0
= 0;
3102 char *_kwnames
[] = { "self", NULL
};
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 wxComboBox_SetInsertionPointEnd(_arg0
);
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) return NULL
;
3120 } Py_INCREF(Py_None
);
3121 _resultobj
= Py_None
;
3125 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3126 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
* _resultobj
;
3130 PyObject
* _argo0
= 0;
3131 char *_kwnames
[] = { "self","n", NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 wxComboBox_SetSelection(_arg0
,_arg1
);
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) return NULL
;
3149 } Py_INCREF(Py_None
);
3150 _resultobj
= Py_None
;
3154 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3155 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
* _resultobj
;
3160 PyObject
* _argo0
= 0;
3161 char *_kwnames
[] = { "self","from","to", NULL
};
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) return NULL
;
3179 } Py_INCREF(Py_None
);
3180 _resultobj
= Py_None
;
3184 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3185 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3189 PyObject
* _argo0
= 0;
3190 PyObject
* _obj1
= 0;
3191 char *_kwnames
[] = { "self","text", NULL
};
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3204 _arg1
= wxString_in_helper(_obj1
);
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 wxComboBox_SetValue(_arg0
,*_arg1
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) return NULL
;
3214 } Py_INCREF(Py_None
);
3215 _resultobj
= Py_None
;
3223 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3224 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3228 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self","editable", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3242 _arg1
= (bool ) tempbool1
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 wxComboBox_SetEditable(_arg0
,_arg1
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) return NULL
;
3249 } Py_INCREF(Py_None
);
3250 _resultobj
= Py_None
;
3254 static void *SwigwxGaugeTowxControl(void *ptr
) {
3257 src
= (wxGauge
*) ptr
;
3258 dest
= (wxControl
*) src
;
3259 return (void *) dest
;
3262 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3265 src
= (wxGauge
*) ptr
;
3266 dest
= (wxWindow
*) src
;
3267 return (void *) dest
;
3270 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3273 src
= (wxGauge
*) ptr
;
3274 dest
= (wxEvtHandler
*) src
;
3275 return (void *) dest
;
3278 static void *SwigwxGaugeTowxObject(void *ptr
) {
3281 src
= (wxGauge
*) ptr
;
3282 dest
= (wxObject
*) src
;
3283 return (void *) dest
;
3286 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3287 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
* _resultobj
;
3293 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3294 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3295 long _arg5
= (long ) wxGA_HORIZONTAL
;
3296 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3297 char * _arg7
= (char *) "gauge";
3298 PyObject
* _argo0
= 0;
3300 PyObject
* _obj3
= 0;
3302 PyObject
* _obj4
= 0;
3303 PyObject
* _argo6
= 0;
3304 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3320 if (! wxPoint_helper(_obj3
, &_arg3
))
3326 if (! wxSize_helper(_obj4
, &_arg4
))
3330 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3331 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3343 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3344 _resultobj
= Py_BuildValue("s",_ptemp
);
3347 _resultobj
= Py_None
;
3352 #define new_wxPreGauge() (new wxGauge())
3353 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3356 char *_kwnames
[] = { NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 _result
= (wxGauge
*)new_wxPreGauge();
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) return NULL
;
3369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3370 _resultobj
= Py_BuildValue("s",_ptemp
);
3373 _resultobj
= Py_None
;
3378 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3379 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3386 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3387 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3388 long _arg6
= (long ) wxGA_HORIZONTAL
;
3389 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3390 char * _arg8
= (char *) "gauge";
3391 PyObject
* _argo0
= 0;
3392 PyObject
* _argo1
= 0;
3394 PyObject
* _obj4
= 0;
3396 PyObject
* _obj5
= 0;
3397 PyObject
* _argo7
= 0;
3398 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3411 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3412 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3420 if (! wxPoint_helper(_obj4
, &_arg4
))
3426 if (! wxSize_helper(_obj5
, &_arg5
))
3430 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) return NULL
;
3442 } _resultobj
= Py_BuildValue("i",_result
);
3446 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3447 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3451 PyObject
* _argo0
= 0;
3452 char *_kwnames
[] = { "self", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) return NULL
;
3470 } _resultobj
= Py_BuildValue("i",_result
);
3474 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3475 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3479 PyObject
* _argo0
= 0;
3480 char *_kwnames
[] = { "self", NULL
};
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 _result
= (int )wxGauge_GetRange(_arg0
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) return NULL
;
3498 } _resultobj
= Py_BuildValue("i",_result
);
3502 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3503 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3507 PyObject
* _argo0
= 0;
3508 char *_kwnames
[] = { "self", NULL
};
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3524 wxPyEndAllowThreads(__tstate
);
3525 if (PyErr_Occurred()) return NULL
;
3526 } _resultobj
= Py_BuildValue("i",_result
);
3530 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3531 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3532 PyObject
* _resultobj
;
3535 PyObject
* _argo0
= 0;
3536 char *_kwnames
[] = { "self", NULL
};
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3550 _result
= (int )wxGauge_GetValue(_arg0
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) return NULL
;
3554 } _resultobj
= Py_BuildValue("i",_result
);
3558 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3559 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3563 PyObject
* _argo0
= 0;
3564 char *_kwnames
[] = { "self","width", NULL
};
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 wxGauge_SetBezelFace(_arg0
,_arg1
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) return NULL
;
3582 } Py_INCREF(Py_None
);
3583 _resultobj
= Py_None
;
3587 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3588 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3592 PyObject
* _argo0
= 0;
3593 char *_kwnames
[] = { "self","range", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 wxGauge_SetRange(_arg0
,_arg1
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) return NULL
;
3611 } Py_INCREF(Py_None
);
3612 _resultobj
= Py_None
;
3616 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3617 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
* _resultobj
;
3621 PyObject
* _argo0
= 0;
3622 char *_kwnames
[] = { "self","width", NULL
};
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) return NULL
;
3640 } Py_INCREF(Py_None
);
3641 _resultobj
= Py_None
;
3645 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3646 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
* _resultobj
;
3650 PyObject
* _argo0
= 0;
3651 char *_kwnames
[] = { "self","pos", NULL
};
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 wxGauge_SetValue(_arg0
,_arg1
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) return NULL
;
3669 } Py_INCREF(Py_None
);
3670 _resultobj
= Py_None
;
3674 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3677 src
= (wxStaticBox
*) ptr
;
3678 dest
= (wxControl
*) src
;
3679 return (void *) dest
;
3682 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3685 src
= (wxStaticBox
*) ptr
;
3686 dest
= (wxWindow
*) src
;
3687 return (void *) dest
;
3690 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3693 src
= (wxStaticBox
*) ptr
;
3694 dest
= (wxEvtHandler
*) src
;
3695 return (void *) dest
;
3698 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3701 src
= (wxStaticBox
*) ptr
;
3702 dest
= (wxObject
*) src
;
3703 return (void *) dest
;
3706 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3707 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3709 wxStaticBox
* _result
;
3713 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3714 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3715 long _arg5
= (long ) 0;
3716 char * _arg6
= (char *) "staticBox";
3717 PyObject
* _argo0
= 0;
3718 PyObject
* _obj2
= 0;
3720 PyObject
* _obj3
= 0;
3722 PyObject
* _obj4
= 0;
3723 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3737 _arg2
= wxString_in_helper(_obj2
);
3744 if (! wxPoint_helper(_obj3
, &_arg3
))
3750 if (! wxSize_helper(_obj4
, &_arg4
))
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) return NULL
;
3760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3761 _resultobj
= Py_BuildValue("s",_ptemp
);
3764 _resultobj
= Py_None
;
3773 #define new_wxPreStaticBox() (new wxStaticBox())
3774 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
* _resultobj
;
3776 wxStaticBox
* _result
;
3777 char *_kwnames
[] = { NULL
};
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3785 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3787 wxPyEndAllowThreads(__tstate
);
3788 if (PyErr_Occurred()) return NULL
;
3790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3791 _resultobj
= Py_BuildValue("s",_ptemp
);
3794 _resultobj
= Py_None
;
3799 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3800 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3803 wxStaticBox
* _arg0
;
3807 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3808 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3809 long _arg6
= (long ) 0;
3810 char * _arg7
= (char *) "staticBox";
3811 PyObject
* _argo0
= 0;
3812 PyObject
* _argo1
= 0;
3813 PyObject
* _obj3
= 0;
3815 PyObject
* _obj4
= 0;
3817 PyObject
* _obj5
= 0;
3818 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3838 _arg3
= wxString_in_helper(_obj3
);
3845 if (! wxPoint_helper(_obj4
, &_arg4
))
3851 if (! wxSize_helper(_obj5
, &_arg5
))
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) return NULL
;
3860 } _resultobj
= Py_BuildValue("i",_result
);
3868 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3871 src
= (wxStaticLine
*) ptr
;
3872 dest
= (wxControl
*) src
;
3873 return (void *) dest
;
3876 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3879 src
= (wxStaticLine
*) ptr
;
3880 dest
= (wxWindow
*) src
;
3881 return (void *) dest
;
3884 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3887 src
= (wxStaticLine
*) ptr
;
3888 dest
= (wxEvtHandler
*) src
;
3889 return (void *) dest
;
3892 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3895 src
= (wxStaticLine
*) ptr
;
3896 dest
= (wxObject
*) src
;
3897 return (void *) dest
;
3900 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3901 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
* _resultobj
;
3903 wxStaticLine
* _result
;
3906 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3907 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3908 long _arg4
= (long ) wxLI_HORIZONTAL
;
3909 char * _arg5
= (char *) "staticLine";
3910 PyObject
* _argo0
= 0;
3912 PyObject
* _obj2
= 0;
3914 PyObject
* _obj3
= 0;
3915 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
3931 if (! wxPoint_helper(_obj2
, &_arg2
))
3937 if (! wxSize_helper(_obj3
, &_arg3
))
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) return NULL
;
3947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3948 _resultobj
= Py_BuildValue("s",_ptemp
);
3951 _resultobj
= Py_None
;
3956 #define new_wxPreStaticLine() (new wxStaticLine())
3957 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
* _resultobj
;
3959 wxStaticLine
* _result
;
3960 char *_kwnames
[] = { NULL
};
3964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 _result
= (wxStaticLine
*)new_wxPreStaticLine();
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) return NULL
;
3973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3974 _resultobj
= Py_BuildValue("s",_ptemp
);
3977 _resultobj
= Py_None
;
3982 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3983 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
* _resultobj
;
3986 wxStaticLine
* _arg0
;
3989 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3990 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3991 long _arg5
= (long ) wxLI_HORIZONTAL
;
3992 char * _arg6
= (char *) "staticLine";
3993 PyObject
* _argo0
= 0;
3994 PyObject
* _argo1
= 0;
3996 PyObject
* _obj3
= 0;
3998 PyObject
* _obj4
= 0;
3999 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4012 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4021 if (! wxPoint_helper(_obj3
, &_arg3
))
4027 if (! wxSize_helper(_obj4
, &_arg4
))
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) return NULL
;
4036 } _resultobj
= Py_BuildValue("i",_result
);
4040 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4043 src
= (wxStaticText
*) ptr
;
4044 dest
= (wxControl
*) src
;
4045 return (void *) dest
;
4048 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4051 src
= (wxStaticText
*) ptr
;
4052 dest
= (wxWindow
*) src
;
4053 return (void *) dest
;
4056 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4059 src
= (wxStaticText
*) ptr
;
4060 dest
= (wxEvtHandler
*) src
;
4061 return (void *) dest
;
4064 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4067 src
= (wxStaticText
*) ptr
;
4068 dest
= (wxObject
*) src
;
4069 return (void *) dest
;
4072 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4073 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4075 wxStaticText
* _result
;
4079 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4080 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4081 long _arg5
= (long ) 0;
4082 char * _arg6
= (char *) "staticText";
4083 PyObject
* _argo0
= 0;
4084 PyObject
* _obj2
= 0;
4086 PyObject
* _obj3
= 0;
4088 PyObject
* _obj4
= 0;
4089 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4103 _arg2
= wxString_in_helper(_obj2
);
4110 if (! wxPoint_helper(_obj3
, &_arg3
))
4116 if (! wxSize_helper(_obj4
, &_arg4
))
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) return NULL
;
4126 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4127 _resultobj
= Py_BuildValue("s",_ptemp
);
4130 _resultobj
= Py_None
;
4139 #define new_wxPreStaticText() (new wxStaticText())
4140 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4142 wxStaticText
* _result
;
4143 char *_kwnames
[] = { NULL
};
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 _result
= (wxStaticText
*)new_wxPreStaticText();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4157 _resultobj
= Py_BuildValue("s",_ptemp
);
4160 _resultobj
= Py_None
;
4165 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4166 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
* _resultobj
;
4169 wxStaticText
* _arg0
;
4173 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4174 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4175 long _arg6
= (long ) 0;
4176 char * _arg7
= (char *) "staticText";
4177 PyObject
* _argo0
= 0;
4178 PyObject
* _argo1
= 0;
4179 PyObject
* _obj3
= 0;
4181 PyObject
* _obj4
= 0;
4183 PyObject
* _obj5
= 0;
4184 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4197 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4198 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4204 _arg3
= wxString_in_helper(_obj3
);
4211 if (! wxPoint_helper(_obj4
, &_arg4
))
4217 if (! wxSize_helper(_obj5
, &_arg5
))
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) return NULL
;
4226 } _resultobj
= Py_BuildValue("i",_result
);
4234 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4235 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
* _resultobj
;
4238 wxStaticText
* _arg0
;
4239 PyObject
* _argo0
= 0;
4240 char *_kwnames
[] = { "self", NULL
};
4243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4254 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) return NULL
;
4260 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4262 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4271 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4272 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4274 wxStaticText
* _arg0
;
4276 PyObject
* _argo0
= 0;
4277 PyObject
* _obj1
= 0;
4278 char *_kwnames
[] = { "self","label", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4291 _arg1
= wxString_in_helper(_obj1
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 wxStaticText_SetLabel(_arg0
,*_arg1
);
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) return NULL
;
4301 } Py_INCREF(Py_None
);
4302 _resultobj
= Py_None
;
4310 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4312 wxControlWithItems
*dest
;
4313 src
= (wxListBox
*) ptr
;
4314 dest
= (wxControlWithItems
*) src
;
4315 return (void *) dest
;
4318 static void *SwigwxListBoxTowxControl(void *ptr
) {
4321 src
= (wxListBox
*) ptr
;
4322 dest
= (wxControl
*) src
;
4323 return (void *) dest
;
4326 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4329 src
= (wxListBox
*) ptr
;
4330 dest
= (wxWindow
*) src
;
4331 return (void *) dest
;
4334 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4337 src
= (wxListBox
*) ptr
;
4338 dest
= (wxEvtHandler
*) src
;
4339 return (void *) dest
;
4342 static void *SwigwxListBoxTowxObject(void *ptr
) {
4345 src
= (wxListBox
*) ptr
;
4346 dest
= (wxObject
*) src
;
4347 return (void *) dest
;
4350 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4351 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
* _resultobj
;
4353 wxListBox
* _result
;
4356 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4357 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4359 wxString
* _arg5
= (wxString
*) NULL
;
4360 long _arg6
= (long ) 0;
4361 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4362 char * _arg8
= (char *) "listBox";
4363 PyObject
* _argo0
= 0;
4365 PyObject
* _obj2
= 0;
4367 PyObject
* _obj3
= 0;
4368 PyObject
* _obj5
= 0;
4369 PyObject
* _argo7
= 0;
4370 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4386 if (! wxPoint_helper(_obj2
, &_arg2
))
4392 if (! wxSize_helper(_obj3
, &_arg3
))
4397 _arg5
= wxString_LIST_helper(_obj5
);
4398 if (_arg5
== NULL
) {
4403 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4411 _arg4
= PyList_Size(_obj5
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) return NULL
;
4424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4425 _resultobj
= Py_BuildValue("s",_ptemp
);
4428 _resultobj
= Py_None
;
4436 #define new_wxPreListBox() (new wxListBox())
4437 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4439 wxListBox
* _result
;
4440 char *_kwnames
[] = { NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 _result
= (wxListBox
*)new_wxPreListBox();
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) return NULL
;
4453 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4454 _resultobj
= Py_BuildValue("s",_ptemp
);
4457 _resultobj
= Py_None
;
4462 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4463 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4469 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4470 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4472 wxString
* _arg6
= (wxString
*) NULL
;
4473 long _arg7
= (long ) 0;
4474 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4475 char * _arg9
= (char *) "listBox";
4476 PyObject
* _argo0
= 0;
4477 PyObject
* _argo1
= 0;
4479 PyObject
* _obj3
= 0;
4481 PyObject
* _obj4
= 0;
4482 PyObject
* _obj6
= 0;
4483 PyObject
* _argo8
= 0;
4484 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4506 if (! wxPoint_helper(_obj3
, &_arg3
))
4512 if (! wxSize_helper(_obj4
, &_arg4
))
4517 _arg6
= wxString_LIST_helper(_obj6
);
4518 if (_arg6
== NULL
) {
4523 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4531 _arg5
= PyList_Size(_obj6
);
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) return NULL
;
4543 } _resultobj
= Py_BuildValue("i",_result
);
4550 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4551 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4554 PyObject
* _argo0
= 0;
4555 char *_kwnames
[] = { "self", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxListBox_Clear(_arg0
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) return NULL
;
4573 } Py_INCREF(Py_None
);
4574 _resultobj
= Py_None
;
4578 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4579 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4583 PyObject
* _argo0
= 0;
4584 char *_kwnames
[] = { "self","n", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4598 wxListBox_Deselect(_arg0
,_arg1
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) return NULL
;
4602 } Py_INCREF(Py_None
);
4603 _resultobj
= Py_None
;
4607 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4609 self
->GetSelections(lst
);
4610 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4611 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4612 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4616 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4620 PyObject
* _argo0
= 0;
4621 char *_kwnames
[] = { "self", NULL
};
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) return NULL
;
4640 _resultobj
= _result
;
4645 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4646 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
* _resultobj
;
4652 PyObject
* _argo0
= 0;
4653 PyObject
* _obj2
= 0;
4654 char *_kwnames
[] = { "self","choices","pos", NULL
};
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4667 _arg2
= wxString_LIST_helper(_obj2
);
4668 if (_arg2
== NULL
) {
4674 _arg1
= PyList_Size(_obj2
);
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) return NULL
;
4686 } Py_INCREF(Py_None
);
4687 _resultobj
= Py_None
;
4694 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4695 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4700 PyObject
* _argo0
= 0;
4701 char *_kwnames
[] = { "self","n", NULL
};
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) return NULL
;
4719 } _resultobj
= Py_BuildValue("i",_result
);
4723 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4724 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4729 PyObject
* _argo0
= 0;
4730 char *_kwnames
[] = { "self","n", NULL
};
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) return NULL
;
4748 } _resultobj
= Py_BuildValue("i",_result
);
4752 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4753 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4758 PyObject
* _argo0
= 0;
4759 PyObject
* _obj2
= 0;
4760 char *_kwnames
[] = { "self","choices", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4774 _arg2
= wxString_LIST_helper(_obj2
);
4775 if (_arg2
== NULL
) {
4781 _arg1
= PyList_Size(_obj2
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) return NULL
;
4793 } Py_INCREF(Py_None
);
4794 _resultobj
= Py_None
;
4801 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4802 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
* _resultobj
;
4806 PyObject
* _argo0
= 0;
4807 char *_kwnames
[] = { "self","n", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 wxListBox_SetFirstItem(_arg0
,_arg1
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) return NULL
;
4825 } Py_INCREF(Py_None
);
4826 _resultobj
= Py_None
;
4830 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4831 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4835 PyObject
* _argo0
= 0;
4836 PyObject
* _obj1
= 0;
4837 char *_kwnames
[] = { "self","string", NULL
};
4840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4850 _arg1
= wxString_in_helper(_obj1
);
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) return NULL
;
4860 } Py_INCREF(Py_None
);
4861 _resultobj
= Py_None
;
4869 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4870 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
* _resultobj
;
4874 bool _arg2
= (bool ) TRUE
;
4875 PyObject
* _argo0
= 0;
4876 int tempbool2
= (int) TRUE
;
4877 char *_kwnames
[] = { "self","n","select", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
4889 _arg2
= (bool ) tempbool2
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) return NULL
;
4896 } Py_INCREF(Py_None
);
4897 _resultobj
= Py_None
;
4901 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
4902 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4907 PyObject
* _argo0
= 0;
4908 PyObject
* _obj2
= 0;
4909 char *_kwnames
[] = { "self","n","string", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
4922 _arg2
= wxString_in_helper(_obj2
);
4927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) return NULL
;
4932 } Py_INCREF(Py_None
);
4933 _resultobj
= Py_None
;
4941 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
4942 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
* _resultobj
;
4946 bool _arg2
= (bool ) TRUE
;
4947 PyObject
* _argo0
= 0;
4948 PyObject
* _obj1
= 0;
4949 int tempbool2
= (int) TRUE
;
4950 char *_kwnames
[] = { "self","string","select", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
4963 _arg1
= wxString_in_helper(_obj1
);
4967 _arg2
= (bool ) tempbool2
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) return NULL
;
4974 } Py_INCREF(Py_None
);
4975 _resultobj
= Py_None
;
4983 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
4984 wxCheckListBox
*src
;
4986 src
= (wxCheckListBox
*) ptr
;
4987 dest
= (wxListBox
*) src
;
4988 return (void *) dest
;
4991 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
4992 wxCheckListBox
*src
;
4993 wxControlWithItems
*dest
;
4994 src
= (wxCheckListBox
*) ptr
;
4995 dest
= (wxControlWithItems
*) src
;
4996 return (void *) dest
;
4999 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5000 wxCheckListBox
*src
;
5002 src
= (wxCheckListBox
*) ptr
;
5003 dest
= (wxControl
*) src
;
5004 return (void *) dest
;
5007 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5008 wxCheckListBox
*src
;
5010 src
= (wxCheckListBox
*) ptr
;
5011 dest
= (wxWindow
*) src
;
5012 return (void *) dest
;
5015 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5016 wxCheckListBox
*src
;
5018 src
= (wxCheckListBox
*) ptr
;
5019 dest
= (wxEvtHandler
*) src
;
5020 return (void *) dest
;
5023 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5024 wxCheckListBox
*src
;
5026 src
= (wxCheckListBox
*) ptr
;
5027 dest
= (wxObject
*) src
;
5028 return (void *) dest
;
5031 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5032 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5034 wxCheckListBox
* _result
;
5037 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5038 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5039 int _arg4
= (int ) 0;
5040 wxString
* _arg5
= (wxString
*) NULL
;
5041 long _arg6
= (long ) 0;
5042 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5043 char * _arg8
= (char *) "listBox";
5044 PyObject
* _argo0
= 0;
5046 PyObject
* _obj2
= 0;
5048 PyObject
* _obj3
= 0;
5049 PyObject
* _obj5
= 0;
5050 PyObject
* _argo7
= 0;
5051 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5067 if (! wxPoint_helper(_obj2
, &_arg2
))
5073 if (! wxSize_helper(_obj3
, &_arg3
))
5078 _arg5
= wxString_LIST_helper(_obj5
);
5079 if (_arg5
== NULL
) {
5084 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5085 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5092 _arg4
= PyList_Size(_obj5
);
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5102 wxPyEndAllowThreads(__tstate
);
5103 if (PyErr_Occurred()) return NULL
;
5105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5109 _resultobj
= Py_None
;
5117 #define new_wxPreCheckListBox() (new wxCheckListBox())
5118 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
* _resultobj
;
5120 wxCheckListBox
* _result
;
5121 char *_kwnames
[] = { NULL
};
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) return NULL
;
5134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5135 _resultobj
= Py_BuildValue("s",_ptemp
);
5138 _resultobj
= Py_None
;
5143 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5144 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5147 wxCheckListBox
* _arg0
;
5150 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5151 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5152 int _arg5
= (int ) 0;
5153 wxString
* _arg6
= (wxString
*) NULL
;
5154 long _arg7
= (long ) 0;
5155 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5156 char * _arg9
= (char *) "listBox";
5157 PyObject
* _argo0
= 0;
5158 PyObject
* _argo1
= 0;
5160 PyObject
* _obj3
= 0;
5162 PyObject
* _obj4
= 0;
5163 PyObject
* _obj6
= 0;
5164 PyObject
* _argo8
= 0;
5165 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5187 if (! wxPoint_helper(_obj3
, &_arg3
))
5193 if (! wxSize_helper(_obj4
, &_arg4
))
5198 _arg6
= wxString_LIST_helper(_obj6
);
5199 if (_arg6
== NULL
) {
5204 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5212 _arg5
= PyList_Size(_obj6
);
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) return NULL
;
5224 } _resultobj
= Py_BuildValue("i",_result
);
5231 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5232 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5235 wxCheckListBox
* _arg0
;
5237 PyObject
* _argo0
= 0;
5238 char *_kwnames
[] = { "self","uiIndex", NULL
};
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) return NULL
;
5256 } _resultobj
= Py_BuildValue("i",_result
);
5260 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5261 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
* _resultobj
;
5263 wxCheckListBox
* _arg0
;
5265 int _arg2
= (int ) TRUE
;
5266 PyObject
* _argo0
= 0;
5267 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) return NULL
;
5285 } Py_INCREF(Py_None
);
5286 _resultobj
= Py_None
;
5290 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5291 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5292 PyObject
* _resultobj
;
5293 wxCheckListBox
* _arg0
;
5297 PyObject
* _argo0
= 0;
5298 PyObject
* _obj2
= 0;
5299 char *_kwnames
[] = { "self","choices","pos", NULL
};
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5312 _arg2
= wxString_LIST_helper(_obj2
);
5313 if (_arg2
== NULL
) {
5319 _arg1
= PyList_Size(_obj2
);
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5329 wxPyEndAllowThreads(__tstate
);
5330 if (PyErr_Occurred()) return NULL
;
5331 } Py_INCREF(Py_None
);
5332 _resultobj
= Py_None
;
5339 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5340 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5343 wxCheckListBox
* _arg0
;
5344 PyObject
* _argo0
= 0;
5345 char *_kwnames
[] = { "self", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) return NULL
;
5363 } _resultobj
= Py_BuildValue("i",_result
);
5367 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5368 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5370 wxTextAttr
* _result
;
5371 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5372 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5373 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5375 PyObject
* _obj0
= 0;
5377 PyObject
* _obj1
= 0;
5378 PyObject
* _argo2
= 0;
5379 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5388 if (! wxColour_helper(_obj0
, &_arg0
))
5394 if (! wxColour_helper(_obj1
, &_arg1
))
5398 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5399 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) return NULL
;
5411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5412 _resultobj
= Py_BuildValue("s",_ptemp
);
5415 _resultobj
= Py_None
;
5420 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5421 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
* _resultobj
;
5424 PyObject
* _argo0
= 0;
5425 char *_kwnames
[] = { "self", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 delete_wxTextAttr(_arg0
);
5441 wxPyEndAllowThreads(__tstate
);
5442 if (PyErr_Occurred()) return NULL
;
5443 } Py_INCREF(Py_None
);
5444 _resultobj
= Py_None
;
5448 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5449 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5453 PyObject
* _argo0
= 0;
5455 PyObject
* _obj1
= 0;
5456 char *_kwnames
[] = { "self","colText", NULL
};
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5470 if (! wxColour_helper(_obj1
, &_arg1
))
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) return NULL
;
5479 } Py_INCREF(Py_None
);
5480 _resultobj
= Py_None
;
5484 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5485 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
* _resultobj
;
5489 PyObject
* _argo0
= 0;
5491 PyObject
* _obj1
= 0;
5492 char *_kwnames
[] = { "self","colBack", NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5506 if (! wxColour_helper(_obj1
, &_arg1
))
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) return NULL
;
5515 } Py_INCREF(Py_None
);
5516 _resultobj
= Py_None
;
5520 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5521 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5525 PyObject
* _argo0
= 0;
5526 PyObject
* _argo1
= 0;
5527 char *_kwnames
[] = { "self","font", NULL
};
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5540 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 wxTextAttr_SetFont(_arg0
,*_arg1
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) return NULL
;
5552 } Py_INCREF(Py_None
);
5553 _resultobj
= Py_None
;
5557 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5558 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
* _resultobj
;
5562 PyObject
* _argo0
= 0;
5563 char *_kwnames
[] = { "self", NULL
};
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) return NULL
;
5581 } _resultobj
= Py_BuildValue("i",_result
);
5585 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5586 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
* _resultobj
;
5590 PyObject
* _argo0
= 0;
5591 char *_kwnames
[] = { "self", NULL
};
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) return NULL
;
5609 } _resultobj
= Py_BuildValue("i",_result
);
5613 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5614 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5618 PyObject
* _argo0
= 0;
5619 char *_kwnames
[] = { "self", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) return NULL
;
5637 } _resultobj
= Py_BuildValue("i",_result
);
5641 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5642 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5646 PyObject
* _argo0
= 0;
5647 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) return NULL
;
5666 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5667 _resultobj
= Py_BuildValue("s",_ptemp
);
5671 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5672 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
* _resultobj
;
5676 PyObject
* _argo0
= 0;
5677 char *_kwnames
[] = { "self", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5692 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) return NULL
;
5696 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5697 _resultobj
= Py_BuildValue("s",_ptemp
);
5701 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5702 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self", NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) return NULL
;
5726 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5727 _resultobj
= Py_BuildValue("s",_ptemp
);
5731 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5732 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
* _resultobj
;
5736 PyObject
* _argo0
= 0;
5737 char *_kwnames
[] = { "self", NULL
};
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) return NULL
;
5755 } _resultobj
= Py_BuildValue("i",_result
);
5759 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
* _resultobj
;
5761 wxTextAttr
* _result
;
5765 PyObject
* _argo0
= 0;
5766 PyObject
* _argo1
= 0;
5767 PyObject
* _argo2
= 0;
5768 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5789 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) return NULL
;
5801 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5802 _resultobj
= Py_BuildValue("s",_ptemp
);
5806 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
5809 src
= (wxTextCtrl
*) ptr
;
5810 dest
= (wxControl
*) src
;
5811 return (void *) dest
;
5814 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
5817 src
= (wxTextCtrl
*) ptr
;
5818 dest
= (wxWindow
*) src
;
5819 return (void *) dest
;
5822 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
5825 src
= (wxTextCtrl
*) ptr
;
5826 dest
= (wxEvtHandler
*) src
;
5827 return (void *) dest
;
5830 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
5833 src
= (wxTextCtrl
*) ptr
;
5834 dest
= (wxObject
*) src
;
5835 return (void *) dest
;
5838 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5839 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5841 wxTextCtrl
* _result
;
5844 char * _arg2
= (char *) "";
5845 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5846 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5847 long _arg5
= (long ) 0;
5848 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5849 char * _arg7
= (char *) "text";
5850 PyObject
* _argo0
= 0;
5852 PyObject
* _obj3
= 0;
5854 PyObject
* _obj4
= 0;
5855 PyObject
* _argo6
= 0;
5856 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
5863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
5872 if (! wxPoint_helper(_obj3
, &_arg3
))
5878 if (! wxSize_helper(_obj4
, &_arg4
))
5882 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) return NULL
;
5895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5896 _resultobj
= Py_BuildValue("s",_ptemp
);
5899 _resultobj
= Py_None
;
5904 #define new_wxPreTextCtrl() (new wxTextCtrl())
5905 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5907 wxTextCtrl
* _result
;
5908 char *_kwnames
[] = { NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) return NULL
;
5921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5922 _resultobj
= Py_BuildValue("s",_ptemp
);
5925 _resultobj
= Py_None
;
5930 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5931 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5937 char * _arg3
= (char *) "";
5938 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
5939 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
5940 long _arg6
= (long ) 0;
5941 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5942 char * _arg8
= (char *) "text";
5943 PyObject
* _argo0
= 0;
5944 PyObject
* _argo1
= 0;
5946 PyObject
* _obj4
= 0;
5948 PyObject
* _obj5
= 0;
5949 PyObject
* _argo7
= 0;
5950 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
5963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
5972 if (! wxPoint_helper(_obj4
, &_arg4
))
5978 if (! wxSize_helper(_obj5
, &_arg5
))
5982 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) return NULL
;
5994 } _resultobj
= Py_BuildValue("i",_result
);
5998 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
5999 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) return NULL
;
6024 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6026 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6035 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6036 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
* _resultobj
;
6040 PyObject
* _argo0
= 0;
6041 PyObject
* _obj1
= 0;
6042 char *_kwnames
[] = { "self","value", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6055 _arg1
= wxString_in_helper(_obj1
);
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) return NULL
;
6065 } Py_INCREF(Py_None
);
6066 _resultobj
= Py_None
;
6074 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6075 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
* _resultobj
;
6081 PyObject
* _argo0
= 0;
6082 char *_kwnames
[] = { "self","from","to", NULL
};
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) return NULL
;
6102 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6104 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6113 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6114 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6119 PyObject
* _argo0
= 0;
6120 char *_kwnames
[] = { "self","lineNo", NULL
};
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) return NULL
;
6138 } _resultobj
= Py_BuildValue("i",_result
);
6142 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6143 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
* _resultobj
;
6148 PyObject
* _argo0
= 0;
6149 char *_kwnames
[] = { "self","lineNo", NULL
};
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) return NULL
;
6169 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6171 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6180 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6181 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
* _resultobj
;
6185 PyObject
* _argo0
= 0;
6186 char *_kwnames
[] = { "self", NULL
};
6189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) return NULL
;
6204 } _resultobj
= Py_BuildValue("i",_result
);
6208 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6209 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) return NULL
;
6232 } _resultobj
= Py_BuildValue("i",_result
);
6236 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6237 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6241 PyObject
* _argo0
= 0;
6242 char *_kwnames
[] = { "self", NULL
};
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) return NULL
;
6260 } _resultobj
= Py_BuildValue("i",_result
);
6264 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6265 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
* _resultobj
;
6272 PyObject
* _argo0
= 0;
6273 char *_kwnames
[] = { "self", NULL
};
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) return NULL
;
6297 } Py_INCREF(Py_None
);
6298 _resultobj
= Py_None
;
6301 o
= PyInt_FromLong((long) (*_arg1
));
6302 _resultobj
= t_output_helper(_resultobj
, o
);
6306 o
= PyInt_FromLong((long) (*_arg2
));
6307 _resultobj
= t_output_helper(_resultobj
, o
);
6312 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6313 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) return NULL
;
6338 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6340 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6349 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6350 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6353 PyObject
* _argo0
= 0;
6354 char *_kwnames
[] = { "self", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 wxTextCtrl_Clear(_arg0
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6372 } Py_INCREF(Py_None
);
6373 _resultobj
= Py_None
;
6377 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6378 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6384 PyObject
* _argo0
= 0;
6385 PyObject
* _obj3
= 0;
6386 char *_kwnames
[] = { "self","from","to","value", NULL
};
6389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6399 _arg3
= wxString_in_helper(_obj3
);
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) return NULL
;
6409 } Py_INCREF(Py_None
);
6410 _resultobj
= Py_None
;
6418 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6419 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6424 PyObject
* _argo0
= 0;
6425 char *_kwnames
[] = { "self","from","to", NULL
};
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6441 wxPyEndAllowThreads(__tstate
);
6442 if (PyErr_Occurred()) return NULL
;
6443 } Py_INCREF(Py_None
);
6444 _resultobj
= Py_None
;
6448 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6449 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
* _resultobj
;
6454 PyObject
* _argo0
= 0;
6455 PyObject
* _obj1
= 0;
6456 char *_kwnames
[] = { "self","file", NULL
};
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6469 _arg1
= wxString_in_helper(_obj1
);
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) return NULL
;
6479 } _resultobj
= Py_BuildValue("i",_result
);
6487 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6488 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
* _resultobj
;
6492 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6493 PyObject
* _argo0
= 0;
6494 PyObject
* _obj1
= 0;
6495 char *_kwnames
[] = { "self","file", NULL
};
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6509 _arg1
= wxString_in_helper(_obj1
);
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) return NULL
;
6519 } _resultobj
= Py_BuildValue("i",_result
);
6527 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6528 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
* _resultobj
;
6531 PyObject
* _argo0
= 0;
6532 char *_kwnames
[] = { "self", NULL
};
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 wxTextCtrl_DiscardEdits(_arg0
);
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) return NULL
;
6550 } Py_INCREF(Py_None
);
6551 _resultobj
= Py_None
;
6555 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6556 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6559 unsigned long _arg1
;
6560 PyObject
* _argo0
= 0;
6561 char *_kwnames
[] = { "self","len", NULL
};
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) return NULL
;
6579 } Py_INCREF(Py_None
);
6580 _resultobj
= Py_None
;
6584 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6585 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6589 PyObject
* _argo0
= 0;
6590 PyObject
* _obj1
= 0;
6591 char *_kwnames
[] = { "self","text", NULL
};
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6604 _arg1
= wxString_in_helper(_obj1
);
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6612 wxPyEndAllowThreads(__tstate
);
6613 if (PyErr_Occurred()) return NULL
;
6614 } Py_INCREF(Py_None
);
6615 _resultobj
= Py_None
;
6623 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6624 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
* _resultobj
;
6628 PyObject
* _argo0
= 0;
6629 PyObject
* _obj1
= 0;
6630 char *_kwnames
[] = { "self","text", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6643 _arg1
= wxString_in_helper(_obj1
);
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) return NULL
;
6653 } Py_INCREF(Py_None
);
6654 _resultobj
= Py_None
;
6662 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6663 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6670 PyObject
* _argo0
= 0;
6671 PyObject
* _argo3
= 0;
6672 char *_kwnames
[] = { "self","start","end","style", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6685 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 } _resultobj
= Py_BuildValue("i",_result
);
6701 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6702 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6707 PyObject
* _argo0
= 0;
6708 PyObject
* _argo1
= 0;
6709 char *_kwnames
[] = { "self","style", NULL
};
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
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_SetDefaultStyle. Expected _wxTextCtrl_p.");
6722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) return NULL
;
6734 } _resultobj
= Py_BuildValue("i",_result
);
6738 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6739 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6740 PyObject
* _resultobj
;
6741 wxTextAttr
* _result
;
6743 PyObject
* _argo0
= 0;
6744 char *_kwnames
[] = { "self", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6760 _result
= (wxTextAttr
*) &_result_ref
;
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) return NULL
;
6765 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6766 _resultobj
= Py_BuildValue("s",_ptemp
);
6769 _resultobj
= Py_None
;
6774 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6775 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self","x","y", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) return NULL
;
6800 } _resultobj
= Py_BuildValue("l",_result
);
6804 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6805 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6813 PyObject
* _argo0
= 0;
6814 char *_kwnames
[] = { "self","pos", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
6826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) return NULL
;
6838 } Py_INCREF(Py_None
);
6839 _resultobj
= Py_None
;
6842 o
= PyInt_FromLong((long) (*_arg2
));
6843 _resultobj
= t_output_helper(_resultobj
, o
);
6847 o
= PyInt_FromLong((long) (*_arg3
));
6848 _resultobj
= t_output_helper(_resultobj
, o
);
6853 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
6854 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6858 PyObject
* _argo0
= 0;
6859 char *_kwnames
[] = { "self","pos", NULL
};
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
6865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
6872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6873 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
6875 wxPyEndAllowThreads(__tstate
);
6876 if (PyErr_Occurred()) return NULL
;
6877 } Py_INCREF(Py_None
);
6878 _resultobj
= Py_None
;
6882 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
6883 static PyObject
*_wrap_wxTextCtrl_Copy(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_Copy",_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_Copy. Expected _wxTextCtrl_p.");
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 wxTextCtrl_Copy(_arg0
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) return NULL
;
6905 } Py_INCREF(Py_None
);
6906 _resultobj
= Py_None
;
6910 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
6911 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
* _resultobj
;
6914 PyObject
* _argo0
= 0;
6915 char *_kwnames
[] = { "self", NULL
};
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
6921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxTextCtrl_Cut(_arg0
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) return NULL
;
6933 } Py_INCREF(Py_None
);
6934 _resultobj
= Py_None
;
6938 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
6939 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6942 PyObject
* _argo0
= 0;
6943 char *_kwnames
[] = { "self", NULL
};
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
6949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
6956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6957 wxTextCtrl_Paste(_arg0
);
6959 wxPyEndAllowThreads(__tstate
);
6960 if (PyErr_Occurred()) return NULL
;
6961 } Py_INCREF(Py_None
);
6962 _resultobj
= Py_None
;
6966 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
6967 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
* _resultobj
;
6971 PyObject
* _argo0
= 0;
6972 char *_kwnames
[] = { "self", NULL
};
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
6978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) return NULL
;
6990 } _resultobj
= Py_BuildValue("i",_result
);
6994 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
6995 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
6999 PyObject
* _argo0
= 0;
7000 char *_kwnames
[] = { "self", NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) return NULL
;
7018 } _resultobj
= Py_BuildValue("i",_result
);
7022 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7023 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
* _resultobj
;
7027 PyObject
* _argo0
= 0;
7028 char *_kwnames
[] = { "self", NULL
};
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) return NULL
;
7046 } _resultobj
= Py_BuildValue("i",_result
);
7050 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7051 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
* _resultobj
;
7054 PyObject
* _argo0
= 0;
7055 char *_kwnames
[] = { "self", NULL
};
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 wxTextCtrl_Undo(_arg0
);
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) return NULL
;
7073 } Py_INCREF(Py_None
);
7074 _resultobj
= Py_None
;
7078 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7079 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
* _resultobj
;
7082 PyObject
* _argo0
= 0;
7083 char *_kwnames
[] = { "self", NULL
};
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 wxTextCtrl_Redo(_arg0
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) return NULL
;
7101 } Py_INCREF(Py_None
);
7102 _resultobj
= Py_None
;
7106 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7107 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
* _resultobj
;
7111 PyObject
* _argo0
= 0;
7112 char *_kwnames
[] = { "self", NULL
};
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) return NULL
;
7130 } _resultobj
= Py_BuildValue("i",_result
);
7134 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7135 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
* _resultobj
;
7139 PyObject
* _argo0
= 0;
7140 char *_kwnames
[] = { "self", NULL
};
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) return NULL
;
7158 } _resultobj
= Py_BuildValue("i",_result
);
7162 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7163 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
* _resultobj
;
7167 PyObject
* _argo0
= 0;
7168 char *_kwnames
[] = { "self","pos", NULL
};
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) return NULL
;
7186 } Py_INCREF(Py_None
);
7187 _resultobj
= Py_None
;
7191 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7192 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
* _resultobj
;
7195 PyObject
* _argo0
= 0;
7196 char *_kwnames
[] = { "self", NULL
};
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) return NULL
;
7214 } Py_INCREF(Py_None
);
7215 _resultobj
= Py_None
;
7219 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7220 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
* _resultobj
;
7224 PyObject
* _argo0
= 0;
7225 char *_kwnames
[] = { "self", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) return NULL
;
7243 } _resultobj
= Py_BuildValue("l",_result
);
7247 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7248 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
* _resultobj
;
7252 PyObject
* _argo0
= 0;
7253 char *_kwnames
[] = { "self", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) return NULL
;
7271 } _resultobj
= Py_BuildValue("l",_result
);
7275 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7276 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
* _resultobj
;
7281 PyObject
* _argo0
= 0;
7282 char *_kwnames
[] = { "self","from","to", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) return NULL
;
7300 } Py_INCREF(Py_None
);
7301 _resultobj
= Py_None
;
7305 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7306 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
* _resultobj
;
7309 PyObject
* _argo0
= 0;
7310 char *_kwnames
[] = { "self", NULL
};
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 wxTextCtrl_SelectAll(_arg0
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) return NULL
;
7328 } Py_INCREF(Py_None
);
7329 _resultobj
= Py_None
;
7333 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7334 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7338 PyObject
* _argo0
= 0;
7340 char *_kwnames
[] = { "self","editable", NULL
};
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7352 _arg1
= (bool ) tempbool1
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) return NULL
;
7359 } Py_INCREF(Py_None
);
7360 _resultobj
= Py_None
;
7364 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7365 self
->AppendText(text
);
7367 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7368 PyObject
* _resultobj
;
7371 PyObject
* _argo0
= 0;
7372 PyObject
* _obj1
= 0;
7373 char *_kwnames
[] = { "self","text", NULL
};
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7386 _arg1
= wxString_in_helper(_obj1
);
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 wxTextCtrl_write(_arg0
,*_arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) return NULL
;
7396 } Py_INCREF(Py_None
);
7397 _resultobj
= Py_None
;
7405 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7406 return self
->GetValue().Mid(from
, to
-from
);
7408 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
* _resultobj
;
7414 PyObject
* _argo0
= 0;
7415 char *_kwnames
[] = { "self","from","to", NULL
};
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) return NULL
;
7435 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7437 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7446 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7449 src
= (wxScrollBar
*) ptr
;
7450 dest
= (wxControl
*) src
;
7451 return (void *) dest
;
7454 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7457 src
= (wxScrollBar
*) ptr
;
7458 dest
= (wxWindow
*) src
;
7459 return (void *) dest
;
7462 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7465 src
= (wxScrollBar
*) ptr
;
7466 dest
= (wxEvtHandler
*) src
;
7467 return (void *) dest
;
7470 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7473 src
= (wxScrollBar
*) ptr
;
7474 dest
= (wxObject
*) src
;
7475 return (void *) dest
;
7478 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7479 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7481 wxScrollBar
* _result
;
7483 wxWindowID _arg1
= (wxWindowID
) -1;
7484 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7485 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7486 long _arg4
= (long ) wxSB_HORIZONTAL
;
7487 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7488 char * _arg6
= (char *) "scrollBar";
7489 PyObject
* _argo0
= 0;
7491 PyObject
* _obj2
= 0;
7493 PyObject
* _obj3
= 0;
7494 PyObject
* _argo5
= 0;
7495 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7511 if (! wxPoint_helper(_obj2
, &_arg2
))
7517 if (! wxSize_helper(_obj3
, &_arg3
))
7521 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7522 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) return NULL
;
7534 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7535 _resultobj
= Py_BuildValue("s",_ptemp
);
7538 _resultobj
= Py_None
;
7543 #define new_wxPreScrollBar() (new wxScrollBar())
7544 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
* _resultobj
;
7546 wxScrollBar
* _result
;
7547 char *_kwnames
[] = { NULL
};
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) return NULL
;
7560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7561 _resultobj
= Py_BuildValue("s",_ptemp
);
7564 _resultobj
= Py_None
;
7569 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7570 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
* _resultobj
;
7573 wxScrollBar
* _arg0
;
7575 wxWindowID _arg2
= (wxWindowID
) -1;
7576 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7577 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7578 long _arg5
= (long ) wxSB_HORIZONTAL
;
7579 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7580 char * _arg7
= (char *) "scrollBar";
7581 PyObject
* _argo0
= 0;
7582 PyObject
* _argo1
= 0;
7584 PyObject
* _obj3
= 0;
7586 PyObject
* _obj4
= 0;
7587 PyObject
* _argo6
= 0;
7588 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7610 if (! wxPoint_helper(_obj3
, &_arg3
))
7616 if (! wxSize_helper(_obj4
, &_arg4
))
7620 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7621 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) return NULL
;
7632 } _resultobj
= Py_BuildValue("i",_result
);
7636 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7637 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
* _resultobj
;
7640 wxScrollBar
* _arg0
;
7641 PyObject
* _argo0
= 0;
7642 char *_kwnames
[] = { "self", NULL
};
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7656 _result
= (int )wxScrollBar_GetRange(_arg0
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) return NULL
;
7660 } _resultobj
= Py_BuildValue("i",_result
);
7664 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7665 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
* _resultobj
;
7668 wxScrollBar
* _arg0
;
7669 PyObject
* _argo0
= 0;
7670 char *_kwnames
[] = { "self", NULL
};
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) return NULL
;
7688 } _resultobj
= Py_BuildValue("i",_result
);
7692 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7693 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
* _resultobj
;
7696 wxScrollBar
* _arg0
;
7697 PyObject
* _argo0
= 0;
7698 char *_kwnames
[] = { "self", NULL
};
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) return NULL
;
7716 } _resultobj
= Py_BuildValue("i",_result
);
7720 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7721 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
* _resultobj
;
7724 wxScrollBar
* _arg0
;
7725 PyObject
* _argo0
= 0;
7726 char *_kwnames
[] = { "self", NULL
};
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) return NULL
;
7744 } _resultobj
= Py_BuildValue("i",_result
);
7748 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
7749 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
* _resultobj
;
7752 wxScrollBar
* _arg0
;
7753 PyObject
* _argo0
= 0;
7754 char *_kwnames
[] = { "self", NULL
};
7757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
7760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) return NULL
;
7772 } _resultobj
= Py_BuildValue("i",_result
);
7776 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
7777 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
* _resultobj
;
7779 wxScrollBar
* _arg0
;
7781 PyObject
* _argo0
= 0;
7782 char *_kwnames
[] = { "self","viewStart", NULL
};
7785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
7788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) return NULL
;
7800 } Py_INCREF(Py_None
);
7801 _resultobj
= Py_None
;
7805 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7806 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
* _resultobj
;
7808 wxScrollBar
* _arg0
;
7813 bool _arg5
= (bool ) TRUE
;
7814 PyObject
* _argo0
= 0;
7815 int tempbool5
= (int) TRUE
;
7816 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
7822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
7828 _arg5
= (bool ) tempbool5
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) return NULL
;
7835 } Py_INCREF(Py_None
);
7836 _resultobj
= Py_None
;
7840 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
7843 src
= (wxSpinButton
*) ptr
;
7844 dest
= (wxControl
*) src
;
7845 return (void *) dest
;
7848 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
7851 src
= (wxSpinButton
*) ptr
;
7852 dest
= (wxWindow
*) src
;
7853 return (void *) dest
;
7856 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
7859 src
= (wxSpinButton
*) ptr
;
7860 dest
= (wxEvtHandler
*) src
;
7861 return (void *) dest
;
7864 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
7867 src
= (wxSpinButton
*) ptr
;
7868 dest
= (wxObject
*) src
;
7869 return (void *) dest
;
7872 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7873 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
* _resultobj
;
7875 wxSpinButton
* _result
;
7877 wxWindowID _arg1
= (wxWindowID
) -1;
7878 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7879 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7880 long _arg4
= (long ) wxSP_HORIZONTAL
;
7881 char * _arg5
= (char *) "spinButton";
7882 PyObject
* _argo0
= 0;
7884 PyObject
* _obj2
= 0;
7886 PyObject
* _obj3
= 0;
7887 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
7903 if (! wxPoint_helper(_obj2
, &_arg2
))
7909 if (! wxSize_helper(_obj3
, &_arg3
))
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) return NULL
;
7919 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
7920 _resultobj
= Py_BuildValue("s",_ptemp
);
7923 _resultobj
= Py_None
;
7928 #define new_wxPreSpinButton() (new wxSpinButton())
7929 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
* _resultobj
;
7931 wxSpinButton
* _result
;
7932 char *_kwnames
[] = { NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 _result
= (wxSpinButton
*)new_wxPreSpinButton();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) return NULL
;
7945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
7946 _resultobj
= Py_BuildValue("s",_ptemp
);
7949 _resultobj
= Py_None
;
7954 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7955 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
* _resultobj
;
7958 wxSpinButton
* _arg0
;
7960 wxWindowID _arg2
= (wxWindowID
) -1;
7961 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7962 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7963 long _arg5
= (long ) wxSP_HORIZONTAL
;
7964 char * _arg6
= (char *) "spinButton";
7965 PyObject
* _argo0
= 0;
7966 PyObject
* _argo1
= 0;
7968 PyObject
* _obj3
= 0;
7970 PyObject
* _obj4
= 0;
7971 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
7977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
7979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
7984 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7985 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
7993 if (! wxPoint_helper(_obj3
, &_arg3
))
7999 if (! wxSize_helper(_obj4
, &_arg4
))
8003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8004 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) return NULL
;
8008 } _resultobj
= Py_BuildValue("i",_result
);
8012 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8013 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
* _resultobj
;
8016 wxSpinButton
* _arg0
;
8017 PyObject
* _argo0
= 0;
8018 char *_kwnames
[] = { "self", NULL
};
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 _result
= (int )wxSpinButton_GetMax(_arg0
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) return NULL
;
8036 } _resultobj
= Py_BuildValue("i",_result
);
8040 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8041 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8042 PyObject
* _resultobj
;
8044 wxSpinButton
* _arg0
;
8045 PyObject
* _argo0
= 0;
8046 char *_kwnames
[] = { "self", NULL
};
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 _result
= (int )wxSpinButton_GetMin(_arg0
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) return NULL
;
8064 } _resultobj
= Py_BuildValue("i",_result
);
8068 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8069 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
* _resultobj
;
8072 wxSpinButton
* _arg0
;
8073 PyObject
* _argo0
= 0;
8074 char *_kwnames
[] = { "self", NULL
};
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 _result
= (int )wxSpinButton_GetValue(_arg0
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) return NULL
;
8092 } _resultobj
= Py_BuildValue("i",_result
);
8096 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8097 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8099 wxSpinButton
* _arg0
;
8102 PyObject
* _argo0
= 0;
8103 char *_kwnames
[] = { "self","min","max", NULL
};
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) return NULL
;
8121 } Py_INCREF(Py_None
);
8122 _resultobj
= Py_None
;
8126 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8127 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
* _resultobj
;
8129 wxSpinButton
* _arg0
;
8131 PyObject
* _argo0
= 0;
8132 char *_kwnames
[] = { "self","value", NULL
};
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 wxSpinButton_SetValue(_arg0
,_arg1
);
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) return NULL
;
8150 } Py_INCREF(Py_None
);
8151 _resultobj
= Py_None
;
8155 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8156 wxStaticBitmap
*src
;
8158 src
= (wxStaticBitmap
*) ptr
;
8159 dest
= (wxControl
*) src
;
8160 return (void *) dest
;
8163 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8164 wxStaticBitmap
*src
;
8166 src
= (wxStaticBitmap
*) ptr
;
8167 dest
= (wxWindow
*) src
;
8168 return (void *) dest
;
8171 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8172 wxStaticBitmap
*src
;
8174 src
= (wxStaticBitmap
*) ptr
;
8175 dest
= (wxEvtHandler
*) src
;
8176 return (void *) dest
;
8179 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8180 wxStaticBitmap
*src
;
8182 src
= (wxStaticBitmap
*) ptr
;
8183 dest
= (wxObject
*) src
;
8184 return (void *) dest
;
8187 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8188 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
* _resultobj
;
8190 wxStaticBitmap
* _result
;
8194 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8195 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8196 long _arg5
= (long ) 0;
8197 char * _arg6
= (char *) "staticBitmap";
8198 PyObject
* _argo0
= 0;
8199 PyObject
* _argo2
= 0;
8201 PyObject
* _obj3
= 0;
8203 PyObject
* _obj4
= 0;
8204 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8218 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8219 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8227 if (! wxPoint_helper(_obj3
, &_arg3
))
8233 if (! wxSize_helper(_obj4
, &_arg4
))
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) return NULL
;
8243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8244 _resultobj
= Py_BuildValue("s",_ptemp
);
8247 _resultobj
= Py_None
;
8252 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8253 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
* _resultobj
;
8255 wxStaticBitmap
* _result
;
8256 char *_kwnames
[] = { NULL
};
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) return NULL
;
8269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8270 _resultobj
= Py_BuildValue("s",_ptemp
);
8273 _resultobj
= Py_None
;
8278 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8279 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
* _resultobj
;
8282 wxStaticBitmap
* _arg0
;
8286 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8287 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8288 long _arg6
= (long ) 0;
8289 char * _arg7
= (char *) "staticBitmap";
8290 PyObject
* _argo0
= 0;
8291 PyObject
* _argo1
= 0;
8292 PyObject
* _argo3
= 0;
8294 PyObject
* _obj4
= 0;
8296 PyObject
* _obj5
= 0;
8297 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8310 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8311 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8317 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8318 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8326 if (! wxPoint_helper(_obj4
, &_arg4
))
8332 if (! wxSize_helper(_obj5
, &_arg5
))
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) return NULL
;
8341 } _resultobj
= Py_BuildValue("i",_result
);
8345 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8346 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
* _resultobj
;
8349 wxStaticBitmap
* _arg0
;
8350 PyObject
* _argo0
= 0;
8351 char *_kwnames
[] = { "self", NULL
};
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8366 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8368 wxPyEndAllowThreads(__tstate
);
8369 if (PyErr_Occurred()) return NULL
;
8370 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8371 _resultobj
= Py_BuildValue("s",_ptemp
);
8375 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8376 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8378 wxStaticBitmap
* _arg0
;
8380 PyObject
* _argo0
= 0;
8381 PyObject
* _argo1
= 0;
8382 char *_kwnames
[] = { "self","bitmap", NULL
};
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8405 wxPyEndAllowThreads(__tstate
);
8406 if (PyErr_Occurred()) return NULL
;
8407 } Py_INCREF(Py_None
);
8408 _resultobj
= Py_None
;
8412 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8413 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
* _resultobj
;
8415 wxStaticBitmap
* _arg0
;
8417 PyObject
* _argo0
= 0;
8418 PyObject
* _argo1
= 0;
8419 char *_kwnames
[] = { "self","icon", NULL
};
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) return NULL
;
8444 } Py_INCREF(Py_None
);
8445 _resultobj
= Py_None
;
8449 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8452 src
= (wxRadioBox
*) ptr
;
8453 dest
= (wxControl
*) src
;
8454 return (void *) dest
;
8457 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8460 src
= (wxRadioBox
*) ptr
;
8461 dest
= (wxWindow
*) src
;
8462 return (void *) dest
;
8465 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8468 src
= (wxRadioBox
*) ptr
;
8469 dest
= (wxEvtHandler
*) src
;
8470 return (void *) dest
;
8473 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8476 src
= (wxRadioBox
*) ptr
;
8477 dest
= (wxObject
*) src
;
8478 return (void *) dest
;
8481 #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))
8482 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
* _resultobj
;
8484 wxRadioBox
* _result
;
8488 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8489 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8490 int _arg5
= (int ) 0;
8491 wxString
* _arg6
= (wxString
*) NULL
;
8492 int _arg7
= (int ) 0;
8493 long _arg8
= (long ) wxRA_HORIZONTAL
;
8494 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8495 char * _arg10
= (char *) "radioBox";
8496 PyObject
* _argo0
= 0;
8497 PyObject
* _obj2
= 0;
8499 PyObject
* _obj3
= 0;
8501 PyObject
* _obj4
= 0;
8502 PyObject
* _obj6
= 0;
8503 PyObject
* _argo9
= 0;
8504 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8518 _arg2
= wxString_in_helper(_obj2
);
8525 if (! wxPoint_helper(_obj3
, &_arg3
))
8531 if (! wxSize_helper(_obj4
, &_arg4
))
8536 _arg6
= wxString_LIST_helper(_obj6
);
8537 if (_arg6
== NULL
) {
8542 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8543 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8550 _arg5
= PyList_Size(_obj6
);
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) return NULL
;
8563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8564 _resultobj
= Py_BuildValue("s",_ptemp
);
8567 _resultobj
= Py_None
;
8579 #define new_wxPreRadioBox() (new wxRadioBox())
8580 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
* _resultobj
;
8582 wxRadioBox
* _result
;
8583 char *_kwnames
[] = { NULL
};
8587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) return NULL
;
8596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8597 _resultobj
= Py_BuildValue("s",_ptemp
);
8600 _resultobj
= Py_None
;
8605 #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))
8606 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
* _resultobj
;
8613 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8614 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8615 int _arg6
= (int ) 0;
8616 wxString
* _arg7
= (wxString
*) NULL
;
8617 int _arg8
= (int ) 0;
8618 long _arg9
= (long ) wxRA_HORIZONTAL
;
8619 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8620 char * _arg11
= (char *) "radioBox";
8621 PyObject
* _argo0
= 0;
8622 PyObject
* _argo1
= 0;
8623 PyObject
* _obj3
= 0;
8625 PyObject
* _obj4
= 0;
8627 PyObject
* _obj5
= 0;
8628 PyObject
* _obj7
= 0;
8629 PyObject
* _argo10
= 0;
8630 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8650 _arg3
= wxString_in_helper(_obj3
);
8657 if (! wxPoint_helper(_obj4
, &_arg4
))
8663 if (! wxSize_helper(_obj5
, &_arg5
))
8668 _arg7
= wxString_LIST_helper(_obj7
);
8669 if (_arg7
== NULL
) {
8674 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8675 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8682 _arg6
= PyList_Size(_obj7
);
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) return NULL
;
8694 } _resultobj
= Py_BuildValue("i",_result
);
8705 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8706 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
* _resultobj
;
8710 PyObject
* _argo0
= 0;
8712 char *_kwnames
[] = { "self","enable", NULL
};
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8724 _arg1
= (bool ) tempbool1
;
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 wxRadioBox_Enable(_arg0
,_arg1
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) return NULL
;
8731 } Py_INCREF(Py_None
);
8732 _resultobj
= Py_None
;
8736 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8737 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
* _resultobj
;
8742 PyObject
* _argo0
= 0;
8744 char *_kwnames
[] = { "self","n","enable", NULL
};
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8756 _arg2
= (bool ) tempbool2
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) return NULL
;
8763 } Py_INCREF(Py_None
);
8764 _resultobj
= Py_None
;
8768 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
8769 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
* _resultobj
;
8774 PyObject
* _argo0
= 0;
8775 PyObject
* _obj1
= 0;
8776 char *_kwnames
[] = { "self","string", NULL
};
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
8782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8789 _arg1
= wxString_in_helper(_obj1
);
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) return NULL
;
8799 } _resultobj
= Py_BuildValue("i",_result
);
8807 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
8808 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
* _resultobj
;
8813 PyObject
* _argo0
= 0;
8814 char *_kwnames
[] = { "self","n", NULL
};
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
8820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) return NULL
;
8834 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8845 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
8846 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
* _resultobj
;
8851 PyObject
* _argo0
= 0;
8852 PyObject
* _obj2
= 0;
8853 char *_kwnames
[] = { "self","n","label", NULL
};
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
8866 _arg2
= wxString_in_helper(_obj2
);
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) return NULL
;
8876 } Py_INCREF(Py_None
);
8877 _resultobj
= Py_None
;
8885 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
8886 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
* _resultobj
;
8890 PyObject
* _argo0
= 0;
8891 char *_kwnames
[] = { "self", NULL
};
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
8897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8909 } _resultobj
= Py_BuildValue("i",_result
);
8913 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
8914 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
* _resultobj
;
8918 PyObject
* _argo0
= 0;
8919 char *_kwnames
[] = { "self", NULL
};
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
8925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) return NULL
;
8937 } _resultobj
= Py_BuildValue("i",_result
);
8941 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
8942 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
* _resultobj
;
8946 PyObject
* _argo0
= 0;
8947 char *_kwnames
[] = { "self", NULL
};
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
8953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 _result
= (int )wxRadioBox_GetSelection(_arg0
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) return NULL
;
8965 } _resultobj
= Py_BuildValue("i",_result
);
8969 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
8970 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
* _resultobj
;
8974 PyObject
* _argo0
= 0;
8975 char *_kwnames
[] = { "self", NULL
};
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
8981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) return NULL
;
8995 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8997 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9006 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9007 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
* _resultobj
;
9011 PyObject
* _argo0
= 0;
9012 char *_kwnames
[] = { "self", NULL
};
9015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 _result
= (int )wxRadioBox_GetCount(_arg0
);
9028 wxPyEndAllowThreads(__tstate
);
9029 if (PyErr_Occurred()) return NULL
;
9030 } _resultobj
= Py_BuildValue("i",_result
);
9034 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9035 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
* _resultobj
;
9039 PyObject
* _argo0
= 0;
9040 char *_kwnames
[] = { "self","n", NULL
};
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 wxRadioBox_SetSelection(_arg0
,_arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) return NULL
;
9058 } Py_INCREF(Py_None
);
9059 _resultobj
= Py_None
;
9063 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9064 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
* _resultobj
;
9068 PyObject
* _argo0
= 0;
9069 PyObject
* _obj1
= 0;
9070 char *_kwnames
[] = { "self","string", NULL
};
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9083 _arg1
= wxString_in_helper(_obj1
);
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) return NULL
;
9093 } Py_INCREF(Py_None
);
9094 _resultobj
= Py_None
;
9102 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9103 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
* _resultobj
;
9107 PyObject
* _argo0
= 0;
9109 char *_kwnames
[] = { "self","show", NULL
};
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9121 _arg1
= (bool ) tempbool1
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 wxRadioBox_Show(_arg0
,_arg1
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) return NULL
;
9128 } Py_INCREF(Py_None
);
9129 _resultobj
= Py_None
;
9133 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9134 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
* _resultobj
;
9139 PyObject
* _argo0
= 0;
9141 char *_kwnames
[] = { "self","item","show", NULL
};
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9153 _arg2
= (bool ) tempbool2
;
9155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9156 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9158 wxPyEndAllowThreads(__tstate
);
9159 if (PyErr_Occurred()) return NULL
;
9160 } Py_INCREF(Py_None
);
9161 _resultobj
= Py_None
;
9165 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9168 src
= (wxRadioButton
*) ptr
;
9169 dest
= (wxControl
*) src
;
9170 return (void *) dest
;
9173 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9176 src
= (wxRadioButton
*) ptr
;
9177 dest
= (wxWindow
*) src
;
9178 return (void *) dest
;
9181 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9184 src
= (wxRadioButton
*) ptr
;
9185 dest
= (wxEvtHandler
*) src
;
9186 return (void *) dest
;
9189 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9192 src
= (wxRadioButton
*) ptr
;
9193 dest
= (wxObject
*) src
;
9194 return (void *) dest
;
9197 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9198 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
* _resultobj
;
9200 wxRadioButton
* _result
;
9204 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9205 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9206 long _arg5
= (long ) 0;
9207 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9208 char * _arg7
= (char *) "radioButton";
9209 PyObject
* _argo0
= 0;
9210 PyObject
* _obj2
= 0;
9212 PyObject
* _obj3
= 0;
9214 PyObject
* _obj4
= 0;
9215 PyObject
* _argo6
= 0;
9216 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9230 _arg2
= wxString_in_helper(_obj2
);
9237 if (! wxPoint_helper(_obj3
, &_arg3
))
9243 if (! wxSize_helper(_obj4
, &_arg4
))
9247 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9248 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) return NULL
;
9260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9261 _resultobj
= Py_BuildValue("s",_ptemp
);
9264 _resultobj
= Py_None
;
9273 #define new_wxPreRadioButton() (new wxRadioButton())
9274 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
* _resultobj
;
9276 wxRadioButton
* _result
;
9277 char *_kwnames
[] = { NULL
};
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) return NULL
;
9290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9291 _resultobj
= Py_BuildValue("s",_ptemp
);
9294 _resultobj
= Py_None
;
9299 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9300 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
* _resultobj
;
9303 wxRadioButton
* _arg0
;
9307 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9308 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9309 long _arg6
= (long ) 0;
9310 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9311 char * _arg8
= (char *) "radioButton";
9312 PyObject
* _argo0
= 0;
9313 PyObject
* _argo1
= 0;
9314 PyObject
* _obj3
= 0;
9316 PyObject
* _obj4
= 0;
9318 PyObject
* _obj5
= 0;
9319 PyObject
* _argo7
= 0;
9320 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9333 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9334 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9340 _arg3
= wxString_in_helper(_obj3
);
9347 if (! wxPoint_helper(_obj4
, &_arg4
))
9353 if (! wxSize_helper(_obj5
, &_arg5
))
9357 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9358 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) return NULL
;
9369 } _resultobj
= Py_BuildValue("i",_result
);
9377 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9378 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
* _resultobj
;
9381 wxRadioButton
* _arg0
;
9382 PyObject
* _argo0
= 0;
9383 char *_kwnames
[] = { "self", NULL
};
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) return NULL
;
9401 } _resultobj
= Py_BuildValue("i",_result
);
9405 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9406 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
* _resultobj
;
9408 wxRadioButton
* _arg0
;
9410 PyObject
* _argo0
= 0;
9412 char *_kwnames
[] = { "self","value", NULL
};
9415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9424 _arg1
= (bool ) tempbool1
;
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 wxRadioButton_SetValue(_arg0
,_arg1
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) return NULL
;
9431 } Py_INCREF(Py_None
);
9432 _resultobj
= Py_None
;
9436 static void *SwigwxSliderTowxControl(void *ptr
) {
9439 src
= (wxSlider
*) ptr
;
9440 dest
= (wxControl
*) src
;
9441 return (void *) dest
;
9444 static void *SwigwxSliderTowxWindow(void *ptr
) {
9447 src
= (wxSlider
*) ptr
;
9448 dest
= (wxWindow
*) src
;
9449 return (void *) dest
;
9452 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9455 src
= (wxSlider
*) ptr
;
9456 dest
= (wxEvtHandler
*) src
;
9457 return (void *) dest
;
9460 static void *SwigwxSliderTowxObject(void *ptr
) {
9463 src
= (wxSlider
*) ptr
;
9464 dest
= (wxObject
*) src
;
9465 return (void *) dest
;
9468 #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))
9469 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9470 PyObject
* _resultobj
;
9477 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9478 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9479 long _arg7
= (long ) wxSL_HORIZONTAL
;
9480 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9481 char * _arg9
= (char *) "slider";
9482 PyObject
* _argo0
= 0;
9484 PyObject
* _obj5
= 0;
9486 PyObject
* _obj6
= 0;
9487 PyObject
* _argo8
= 0;
9488 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9504 if (! wxPoint_helper(_obj5
, &_arg5
))
9510 if (! wxSize_helper(_obj6
, &_arg6
))
9514 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9515 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) return NULL
;
9527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9528 _resultobj
= Py_BuildValue("s",_ptemp
);
9531 _resultobj
= Py_None
;
9536 #define new_wxPreSlider() (new wxSlider())
9537 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9538 PyObject
* _resultobj
;
9540 char *_kwnames
[] = { NULL
};
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 _result
= (wxSlider
*)new_wxPreSlider();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) return NULL
;
9553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9554 _resultobj
= Py_BuildValue("s",_ptemp
);
9557 _resultobj
= Py_None
;
9562 #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))
9563 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
* _resultobj
;
9572 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9573 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9574 long _arg8
= (long ) wxSL_HORIZONTAL
;
9575 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9576 char * _arg10
= (char *) "slider";
9577 PyObject
* _argo0
= 0;
9578 PyObject
* _argo1
= 0;
9580 PyObject
* _obj6
= 0;
9582 PyObject
* _obj7
= 0;
9583 PyObject
* _argo9
= 0;
9584 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9606 if (! wxPoint_helper(_obj6
, &_arg6
))
9612 if (! wxSize_helper(_obj7
, &_arg7
))
9616 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9617 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) return NULL
;
9628 } _resultobj
= Py_BuildValue("i",_result
);
9632 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9633 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9636 PyObject
* _argo0
= 0;
9637 char *_kwnames
[] = { "self", NULL
};
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 wxSlider_ClearSel(_arg0
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) return NULL
;
9655 } Py_INCREF(Py_None
);
9656 _resultobj
= Py_None
;
9660 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9661 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
* _resultobj
;
9664 PyObject
* _argo0
= 0;
9665 char *_kwnames
[] = { "self", NULL
};
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9679 wxSlider_ClearTicks(_arg0
);
9681 wxPyEndAllowThreads(__tstate
);
9682 if (PyErr_Occurred()) return NULL
;
9683 } Py_INCREF(Py_None
);
9684 _resultobj
= Py_None
;
9688 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9689 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
* _resultobj
;
9693 PyObject
* _argo0
= 0;
9694 char *_kwnames
[] = { "self", NULL
};
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
9700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 _result
= (int )wxSlider_GetLineSize(_arg0
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) return NULL
;
9712 } _resultobj
= Py_BuildValue("i",_result
);
9716 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
9717 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
* _resultobj
;
9721 PyObject
* _argo0
= 0;
9722 char *_kwnames
[] = { "self", NULL
};
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
9728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 _result
= (int )wxSlider_GetMax(_arg0
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) return NULL
;
9740 } _resultobj
= Py_BuildValue("i",_result
);
9744 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
9745 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9749 PyObject
* _argo0
= 0;
9750 char *_kwnames
[] = { "self", NULL
};
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
9756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 _result
= (int )wxSlider_GetMin(_arg0
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) return NULL
;
9768 } _resultobj
= Py_BuildValue("i",_result
);
9772 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
9773 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9777 PyObject
* _argo0
= 0;
9778 char *_kwnames
[] = { "self", NULL
};
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
9784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 _result
= (int )wxSlider_GetPageSize(_arg0
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) return NULL
;
9796 } _resultobj
= Py_BuildValue("i",_result
);
9800 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
9801 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
* _resultobj
;
9805 PyObject
* _argo0
= 0;
9806 char *_kwnames
[] = { "self", NULL
};
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
9812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 _result
= (int )wxSlider_GetSelEnd(_arg0
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) return NULL
;
9824 } _resultobj
= Py_BuildValue("i",_result
);
9828 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
9829 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
* _resultobj
;
9833 PyObject
* _argo0
= 0;
9834 char *_kwnames
[] = { "self", NULL
};
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
9840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 _result
= (int )wxSlider_GetSelStart(_arg0
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) return NULL
;
9852 } _resultobj
= Py_BuildValue("i",_result
);
9856 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
9857 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
* _resultobj
;
9861 PyObject
* _argo0
= 0;
9862 char *_kwnames
[] = { "self", NULL
};
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
9868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 _result
= (int )wxSlider_GetThumbLength(_arg0
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) return NULL
;
9880 } _resultobj
= Py_BuildValue("i",_result
);
9884 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
9885 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
* _resultobj
;
9889 PyObject
* _argo0
= 0;
9890 char *_kwnames
[] = { "self", NULL
};
9893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
9896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 _result
= (int )wxSlider_GetTickFreq(_arg0
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) return NULL
;
9908 } _resultobj
= Py_BuildValue("i",_result
);
9912 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
9913 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
* _resultobj
;
9917 PyObject
* _argo0
= 0;
9918 char *_kwnames
[] = { "self", NULL
};
9921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
9924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 _result
= (int )wxSlider_GetValue(_arg0
);
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) return NULL
;
9936 } _resultobj
= Py_BuildValue("i",_result
);
9940 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
9941 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
* _resultobj
;
9946 PyObject
* _argo0
= 0;
9947 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
9950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) return NULL
;
9965 } Py_INCREF(Py_None
);
9966 _resultobj
= Py_None
;
9970 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
9971 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
* _resultobj
;
9976 PyObject
* _argo0
= 0;
9977 char *_kwnames
[] = { "self","n","pos", NULL
};
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) return NULL
;
9995 } Py_INCREF(Py_None
);
9996 _resultobj
= Py_None
;
10000 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10001 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
* _resultobj
;
10005 PyObject
* _argo0
= 0;
10006 char *_kwnames
[] = { "self","lineSize", NULL
};
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 wxSlider_SetLineSize(_arg0
,_arg1
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) return NULL
;
10024 } Py_INCREF(Py_None
);
10025 _resultobj
= Py_None
;
10029 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10030 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10031 PyObject
* _resultobj
;
10034 PyObject
* _argo0
= 0;
10035 char *_kwnames
[] = { "self","pageSize", NULL
};
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 wxSlider_SetPageSize(_arg0
,_arg1
);
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) return NULL
;
10053 } Py_INCREF(Py_None
);
10054 _resultobj
= Py_None
;
10058 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10059 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
* _resultobj
;
10064 PyObject
* _argo0
= 0;
10065 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) return NULL
;
10083 } Py_INCREF(Py_None
);
10084 _resultobj
= Py_None
;
10088 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10089 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
* _resultobj
;
10093 PyObject
* _argo0
= 0;
10094 char *_kwnames
[] = { "self","len", NULL
};
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 wxSlider_SetThumbLength(_arg0
,_arg1
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) return NULL
;
10112 } Py_INCREF(Py_None
);
10113 _resultobj
= Py_None
;
10117 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10118 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
* _resultobj
;
10122 PyObject
* _argo0
= 0;
10123 char *_kwnames
[] = { "self","tickPos", NULL
};
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 wxSlider_SetTick(_arg0
,_arg1
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) return NULL
;
10141 } Py_INCREF(Py_None
);
10142 _resultobj
= Py_None
;
10146 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10147 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
* _resultobj
;
10151 PyObject
* _argo0
= 0;
10152 char *_kwnames
[] = { "self","value", NULL
};
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 wxSlider_SetValue(_arg0
,_arg1
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) return NULL
;
10170 } Py_INCREF(Py_None
);
10171 _resultobj
= Py_None
;
10175 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10177 wxSpinButton
*dest
;
10178 src
= (wxSpinCtrl
*) ptr
;
10179 dest
= (wxSpinButton
*) src
;
10180 return (void *) dest
;
10183 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10186 src
= (wxSpinCtrl
*) ptr
;
10187 dest
= (wxControl
*) src
;
10188 return (void *) dest
;
10191 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10194 src
= (wxSpinCtrl
*) ptr
;
10195 dest
= (wxWindow
*) src
;
10196 return (void *) dest
;
10199 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10201 wxEvtHandler
*dest
;
10202 src
= (wxSpinCtrl
*) ptr
;
10203 dest
= (wxEvtHandler
*) src
;
10204 return (void *) dest
;
10207 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10210 src
= (wxSpinCtrl
*) ptr
;
10211 dest
= (wxObject
*) src
;
10212 return (void *) dest
;
10215 #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))
10216 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10218 wxSpinCtrl
* _result
;
10220 wxWindowID _arg1
= (wxWindowID
) -1;
10221 char * _arg2
= (char *) "";
10222 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10223 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10224 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10225 int _arg6
= (int ) 0;
10226 int _arg7
= (int ) 100;
10227 int _arg8
= (int ) 0;
10228 char * _arg9
= (char *) "wxSpinCtrl";
10229 PyObject
* _argo0
= 0;
10231 PyObject
* _obj3
= 0;
10233 PyObject
* _obj4
= 0;
10234 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10250 if (! wxPoint_helper(_obj3
, &_arg3
))
10256 if (! wxSize_helper(_obj4
, &_arg4
))
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) return NULL
;
10266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10267 _resultobj
= Py_BuildValue("s",_ptemp
);
10269 Py_INCREF(Py_None
);
10270 _resultobj
= Py_None
;
10275 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10276 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
* _resultobj
;
10278 wxSpinCtrl
* _result
;
10279 char *_kwnames
[] = { NULL
};
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) return NULL
;
10292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10293 _resultobj
= Py_BuildValue("s",_ptemp
);
10295 Py_INCREF(Py_None
);
10296 _resultobj
= Py_None
;
10301 #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))
10302 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
* _resultobj
;
10305 wxSpinCtrl
* _arg0
;
10307 wxWindowID _arg2
= (wxWindowID
) -1;
10308 char * _arg3
= (char *) "";
10309 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10310 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10311 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10312 int _arg7
= (int ) 0;
10313 int _arg8
= (int ) 100;
10314 int _arg9
= (int ) 0;
10315 char * _arg10
= (char *) "wxSpinCtrl";
10316 PyObject
* _argo0
= 0;
10317 PyObject
* _argo1
= 0;
10319 PyObject
* _obj4
= 0;
10321 PyObject
* _obj5
= 0;
10322 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10335 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10336 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10344 if (! wxPoint_helper(_obj4
, &_arg4
))
10350 if (! wxSize_helper(_obj5
, &_arg5
))
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) return NULL
;
10359 } _resultobj
= Py_BuildValue("i",_result
);
10363 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10364 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
* _resultobj
;
10367 wxSpinCtrl
* _arg0
;
10368 PyObject
* _argo0
= 0;
10369 char *_kwnames
[] = { "self", NULL
};
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) return NULL
;
10387 } _resultobj
= Py_BuildValue("i",_result
);
10391 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10392 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
* _resultobj
;
10395 wxSpinCtrl
* _arg0
;
10396 PyObject
* _argo0
= 0;
10397 char *_kwnames
[] = { "self", NULL
};
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) return NULL
;
10415 } _resultobj
= Py_BuildValue("i",_result
);
10419 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10420 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
* _resultobj
;
10423 wxSpinCtrl
* _arg0
;
10424 PyObject
* _argo0
= 0;
10425 char *_kwnames
[] = { "self", NULL
};
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) return NULL
;
10443 } _resultobj
= Py_BuildValue("i",_result
);
10447 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10448 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
* _resultobj
;
10450 wxSpinCtrl
* _arg0
;
10453 PyObject
* _argo0
= 0;
10454 char *_kwnames
[] = { "self","min","max", NULL
};
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) return NULL
;
10472 } Py_INCREF(Py_None
);
10473 _resultobj
= Py_None
;
10477 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10478 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
* _resultobj
;
10480 wxSpinCtrl
* _arg0
;
10482 PyObject
* _argo0
= 0;
10483 char *_kwnames
[] = { "self","value", NULL
};
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) return NULL
;
10501 } Py_INCREF(Py_None
);
10502 _resultobj
= Py_None
;
10506 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10507 wxToggleButton
*src
;
10509 src
= (wxToggleButton
*) ptr
;
10510 dest
= (wxControl
*) src
;
10511 return (void *) dest
;
10514 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10515 wxToggleButton
*src
;
10517 src
= (wxToggleButton
*) ptr
;
10518 dest
= (wxWindow
*) src
;
10519 return (void *) dest
;
10522 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10523 wxToggleButton
*src
;
10524 wxEvtHandler
*dest
;
10525 src
= (wxToggleButton
*) ptr
;
10526 dest
= (wxEvtHandler
*) src
;
10527 return (void *) dest
;
10530 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10531 wxToggleButton
*src
;
10533 src
= (wxToggleButton
*) ptr
;
10534 dest
= (wxObject
*) src
;
10535 return (void *) dest
;
10538 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10539 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
* _resultobj
;
10541 wxToggleButton
* _result
;
10545 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10546 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10547 long _arg5
= (long ) 0;
10548 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10549 char * _arg7
= (char *) "toggle";
10550 PyObject
* _argo0
= 0;
10551 PyObject
* _obj2
= 0;
10553 PyObject
* _obj3
= 0;
10555 PyObject
* _obj4
= 0;
10556 PyObject
* _argo6
= 0;
10557 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10571 _arg2
= wxString_in_helper(_obj2
);
10578 if (! wxPoint_helper(_obj3
, &_arg3
))
10584 if (! wxSize_helper(_obj4
, &_arg4
))
10588 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10589 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) return NULL
;
10601 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10602 _resultobj
= Py_BuildValue("s",_ptemp
);
10604 Py_INCREF(Py_None
);
10605 _resultobj
= Py_None
;
10614 #define new_wxPreToggleButton() (new wxToggleButton())
10615 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
* _resultobj
;
10617 wxToggleButton
* _result
;
10618 char *_kwnames
[] = { NULL
};
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
10625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10626 _result
= (wxToggleButton
*)new_wxPreToggleButton();
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) return NULL
;
10631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10632 _resultobj
= Py_BuildValue("s",_ptemp
);
10634 Py_INCREF(Py_None
);
10635 _resultobj
= Py_None
;
10640 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10641 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
* _resultobj
;
10644 wxToggleButton
* _arg0
;
10648 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10649 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10650 long _arg6
= (long ) 0;
10651 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
10652 char * _arg8
= (char *) "toggle";
10653 PyObject
* _argo0
= 0;
10654 PyObject
* _argo1
= 0;
10655 PyObject
* _obj3
= 0;
10657 PyObject
* _obj4
= 0;
10659 PyObject
* _obj5
= 0;
10660 PyObject
* _argo7
= 0;
10661 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
10667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
10674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
10681 _arg3
= wxString_in_helper(_obj3
);
10688 if (! wxPoint_helper(_obj4
, &_arg4
))
10694 if (! wxSize_helper(_obj5
, &_arg5
))
10698 if (_argo7
== Py_None
) { _arg7
= NULL
; }
10699 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
10700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) return NULL
;
10710 } _resultobj
= Py_BuildValue("i",_result
);
10718 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10719 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
* _resultobj
;
10721 wxToggleButton
* _arg0
;
10723 PyObject
* _argo0
= 0;
10725 char *_kwnames
[] = { "self","value", NULL
};
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
10737 _arg1
= (bool ) tempbool1
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 wxToggleButton_SetValue(_arg0
,_arg1
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) return NULL
;
10744 } Py_INCREF(Py_None
);
10745 _resultobj
= Py_None
;
10749 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
10750 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
* _resultobj
;
10753 wxToggleButton
* _arg0
;
10754 PyObject
* _argo0
= 0;
10755 char *_kwnames
[] = { "self", NULL
};
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
10761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 _result
= (bool )wxToggleButton_GetValue(_arg0
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) return NULL
;
10773 } _resultobj
= Py_BuildValue("i",_result
);
10777 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
10778 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
* _resultobj
;
10780 wxToggleButton
* _arg0
;
10782 PyObject
* _argo0
= 0;
10783 PyObject
* _obj1
= 0;
10784 char *_kwnames
[] = { "self","label", NULL
};
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
10790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
10797 _arg1
= wxString_in_helper(_obj1
);
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 wxToggleButton_SetLabel(_arg0
,*_arg1
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) return NULL
;
10807 } Py_INCREF(Py_None
);
10808 _resultobj
= Py_None
;
10816 static PyMethodDef controlscMethods
[] = {
10817 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11020 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11021 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11022 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11023 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11024 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11025 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11026 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11027 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11028 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11029 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11030 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11031 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11032 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11033 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11034 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11035 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11036 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11037 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11038 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11039 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11040 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11041 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11042 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11043 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11044 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11045 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11046 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11047 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11048 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11049 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11050 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
11051 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11052 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11053 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11054 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11055 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11056 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11057 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11058 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11059 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11060 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11061 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11062 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11063 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11064 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11065 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11066 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11067 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11068 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11069 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11070 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11071 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11082 * This table is used by the pointer type-checker
11084 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11085 { "_signed_long","_long",0},
11086 { "_wxPrintQuality","_wxCoord",0},
11087 { "_wxPrintQuality","_int",0},
11088 { "_wxPrintQuality","_signed_int",0},
11089 { "_wxPrintQuality","_unsigned_int",0},
11090 { "_wxPrintQuality","_wxWindowID",0},
11091 { "_wxPrintQuality","_uint",0},
11092 { "_wxPrintQuality","_EBool",0},
11093 { "_wxPrintQuality","_size_t",0},
11094 { "_wxPrintQuality","_time_t",0},
11095 { "_byte","_unsigned_char",0},
11096 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11097 { "_long","_unsigned_long",0},
11098 { "_long","_signed_long",0},
11099 { "_size_t","_wxCoord",0},
11100 { "_size_t","_wxPrintQuality",0},
11101 { "_size_t","_time_t",0},
11102 { "_size_t","_unsigned_int",0},
11103 { "_size_t","_int",0},
11104 { "_size_t","_wxWindowID",0},
11105 { "_size_t","_uint",0},
11106 { "_uint","_wxCoord",0},
11107 { "_uint","_wxPrintQuality",0},
11108 { "_uint","_time_t",0},
11109 { "_uint","_size_t",0},
11110 { "_uint","_unsigned_int",0},
11111 { "_uint","_int",0},
11112 { "_uint","_wxWindowID",0},
11113 { "_wxChar","_char",0},
11114 { "_char","_wxChar",0},
11115 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11116 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11117 { "_EBool","_wxCoord",0},
11118 { "_EBool","_wxPrintQuality",0},
11119 { "_EBool","_signed_int",0},
11120 { "_EBool","_int",0},
11121 { "_EBool","_wxWindowID",0},
11122 { "_unsigned_long","_long",0},
11123 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11124 { "_signed_int","_wxCoord",0},
11125 { "_signed_int","_wxPrintQuality",0},
11126 { "_signed_int","_EBool",0},
11127 { "_signed_int","_wxWindowID",0},
11128 { "_signed_int","_int",0},
11129 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11130 { "_WXTYPE","_short",0},
11131 { "_WXTYPE","_signed_short",0},
11132 { "_WXTYPE","_unsigned_short",0},
11133 { "_unsigned_short","_WXTYPE",0},
11134 { "_unsigned_short","_short",0},
11135 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11136 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11137 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11138 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11139 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11140 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11141 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11142 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11143 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11144 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11145 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11146 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11147 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11148 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11149 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11150 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11151 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11152 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11153 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11154 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11155 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11156 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11157 { "_signed_short","_WXTYPE",0},
11158 { "_signed_short","_short",0},
11159 { "_unsigned_char","_byte",0},
11160 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11161 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11162 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11163 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11164 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11165 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11166 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11167 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11168 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11169 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11170 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11171 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11172 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11173 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11174 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11175 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11176 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11177 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11178 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11179 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11180 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11181 { "_unsigned_int","_wxCoord",0},
11182 { "_unsigned_int","_wxPrintQuality",0},
11183 { "_unsigned_int","_time_t",0},
11184 { "_unsigned_int","_size_t",0},
11185 { "_unsigned_int","_uint",0},
11186 { "_unsigned_int","_wxWindowID",0},
11187 { "_unsigned_int","_int",0},
11188 { "_short","_WXTYPE",0},
11189 { "_short","_unsigned_short",0},
11190 { "_short","_signed_short",0},
11191 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11192 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11193 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11194 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11195 { "_wxWindowID","_wxCoord",0},
11196 { "_wxWindowID","_wxPrintQuality",0},
11197 { "_wxWindowID","_time_t",0},
11198 { "_wxWindowID","_size_t",0},
11199 { "_wxWindowID","_EBool",0},
11200 { "_wxWindowID","_uint",0},
11201 { "_wxWindowID","_int",0},
11202 { "_wxWindowID","_signed_int",0},
11203 { "_wxWindowID","_unsigned_int",0},
11204 { "_int","_wxCoord",0},
11205 { "_int","_wxPrintQuality",0},
11206 { "_int","_time_t",0},
11207 { "_int","_size_t",0},
11208 { "_int","_EBool",0},
11209 { "_int","_uint",0},
11210 { "_int","_wxWindowID",0},
11211 { "_int","_unsigned_int",0},
11212 { "_int","_signed_int",0},
11213 { "_time_t","_wxCoord",0},
11214 { "_time_t","_wxPrintQuality",0},
11215 { "_time_t","_unsigned_int",0},
11216 { "_time_t","_int",0},
11217 { "_time_t","_wxWindowID",0},
11218 { "_time_t","_uint",0},
11219 { "_time_t","_size_t",0},
11220 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11221 { "_wxCoord","_int",0},
11222 { "_wxCoord","_signed_int",0},
11223 { "_wxCoord","_unsigned_int",0},
11224 { "_wxCoord","_wxWindowID",0},
11225 { "_wxCoord","_uint",0},
11226 { "_wxCoord","_EBool",0},
11227 { "_wxCoord","_size_t",0},
11228 { "_wxCoord","_time_t",0},
11229 { "_wxCoord","_wxPrintQuality",0},
11230 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11231 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11232 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11233 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11234 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11235 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11236 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11237 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11238 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11239 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11240 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11241 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11242 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11243 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11244 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11245 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11246 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11247 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11248 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11249 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11250 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11251 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11252 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11253 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11254 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11255 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11256 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11257 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11258 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11259 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11260 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11261 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11262 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11263 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11264 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11265 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11266 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11267 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11268 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11269 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11270 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11271 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11272 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11273 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11276 static PyObject
*SWIG_globals
;
11280 SWIGEXPORT(void) initcontrolsc() {
11282 SWIG_globals
= SWIG_newvarlink();
11283 m
= Py_InitModule("controlsc", controlscMethods
);
11284 d
= PyModule_GetDict(m
);
11285 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11286 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11287 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11290 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11291 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);