2 * FILE : src/mac/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
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 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1212 char *_kwnames
[] = { NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1220 _result
= new wxSize (wxButton::GetDefaultSize());
1222 wxPyEndAllowThreads(__tstate
);
1223 if (PyErr_Occurred()) return NULL
;
1224 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1225 _resultobj
= Py_BuildValue("s",_ptemp
);
1229 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1230 wxBitmapButton
*src
;
1232 src
= (wxBitmapButton
*) ptr
;
1233 dest
= (wxButton
*) src
;
1234 return (void *) dest
;
1237 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1238 wxBitmapButton
*src
;
1240 src
= (wxBitmapButton
*) ptr
;
1241 dest
= (wxControl
*) src
;
1242 return (void *) dest
;
1245 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1246 wxBitmapButton
*src
;
1248 src
= (wxBitmapButton
*) ptr
;
1249 dest
= (wxWindow
*) src
;
1250 return (void *) dest
;
1253 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1254 wxBitmapButton
*src
;
1256 src
= (wxBitmapButton
*) ptr
;
1257 dest
= (wxEvtHandler
*) src
;
1258 return (void *) dest
;
1261 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1262 wxBitmapButton
*src
;
1264 src
= (wxBitmapButton
*) ptr
;
1265 dest
= (wxObject
*) src
;
1266 return (void *) dest
;
1269 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1270 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxBitmapButton
* _result
;
1276 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1277 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1278 long _arg5
= (long ) wxBU_AUTODRAW
;
1279 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1280 char * _arg7
= (char *) "button";
1281 PyObject
* _argo0
= 0;
1282 PyObject
* _argo2
= 0;
1284 PyObject
* _obj3
= 0;
1286 PyObject
* _obj4
= 0;
1287 PyObject
* _argo6
= 0;
1288 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1302 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1311 if (! wxPoint_helper(_obj3
, &_arg3
))
1317 if (! wxSize_helper(_obj4
, &_arg4
))
1321 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) return NULL
;
1334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1335 _resultobj
= Py_BuildValue("s",_ptemp
);
1338 _resultobj
= Py_None
;
1343 #define new_wxPreBitmapButton() (new wxBitmapButton())
1344 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1346 wxBitmapButton
* _result
;
1347 char *_kwnames
[] = { NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) return NULL
;
1360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1364 _resultobj
= Py_None
;
1369 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1370 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1373 wxBitmapButton
* _arg0
;
1377 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1378 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1379 long _arg6
= (long ) wxBU_AUTODRAW
;
1380 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1381 char * _arg8
= (char *) "button";
1382 PyObject
* _argo0
= 0;
1383 PyObject
* _argo1
= 0;
1384 PyObject
* _argo3
= 0;
1386 PyObject
* _obj4
= 0;
1388 PyObject
* _obj5
= 0;
1389 PyObject
* _argo7
= 0;
1390 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1410 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1419 if (! wxPoint_helper(_obj4
, &_arg4
))
1425 if (! wxSize_helper(_obj5
, &_arg5
))
1429 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } _resultobj
= Py_BuildValue("i",_result
);
1445 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1446 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1449 wxBitmapButton
* _arg0
;
1450 PyObject
* _argo0
= 0;
1451 char *_kwnames
[] = { "self", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) return NULL
;
1470 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1475 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1476 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1479 wxBitmapButton
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1506 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1509 wxBitmapButton
* _arg0
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1531 _resultobj
= Py_BuildValue("s",_ptemp
);
1535 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1536 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 wxBitmapButton
* _arg0
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1565 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1566 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1568 wxBitmapButton
* _arg0
;
1570 PyObject
* _argo0
= 0;
1571 PyObject
* _argo1
= 0;
1572 char *_kwnames
[] = { "self","bitmap", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1603 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1605 wxBitmapButton
* _arg0
;
1607 PyObject
* _argo0
= 0;
1608 PyObject
* _argo1
= 0;
1609 char *_kwnames
[] = { "self","bitmap", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
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_SetBitmapFocus. Expected _wxBitmapButton_p.");
1622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1640 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1642 wxBitmapButton
* _arg0
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _argo1
= 0;
1646 char *_kwnames
[] = { "self","bitmap", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) return NULL
;
1671 } Py_INCREF(Py_None
);
1672 _resultobj
= Py_None
;
1676 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1677 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxBitmapButton
* _arg0
;
1681 PyObject
* _argo0
= 0;
1682 PyObject
* _argo1
= 0;
1683 char *_kwnames
[] = { "self","bitmap", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } Py_INCREF(Py_None
);
1709 _resultobj
= Py_None
;
1713 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1714 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1716 wxBitmapButton
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self","x","y", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1744 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1747 wxBitmapButton
* _arg0
;
1748 PyObject
* _argo0
= 0;
1749 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } _resultobj
= Py_BuildValue("i",_result
);
1771 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1772 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
* _resultobj
;
1775 wxBitmapButton
* _arg0
;
1776 PyObject
* _argo0
= 0;
1777 char *_kwnames
[] = { "self", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) return NULL
;
1795 } _resultobj
= Py_BuildValue("i",_result
);
1799 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1802 src
= (wxCheckBox
*) ptr
;
1803 dest
= (wxControl
*) src
;
1804 return (void *) dest
;
1807 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1810 src
= (wxCheckBox
*) ptr
;
1811 dest
= (wxWindow
*) src
;
1812 return (void *) dest
;
1815 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1818 src
= (wxCheckBox
*) ptr
;
1819 dest
= (wxEvtHandler
*) src
;
1820 return (void *) dest
;
1823 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1826 src
= (wxCheckBox
*) ptr
;
1827 dest
= (wxObject
*) src
;
1828 return (void *) dest
;
1831 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1832 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxCheckBox
* _result
;
1838 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1839 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1840 long _arg5
= (long ) 0;
1841 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1842 char * _arg7
= (char *) "checkBox";
1843 PyObject
* _argo0
= 0;
1844 PyObject
* _obj2
= 0;
1846 PyObject
* _obj3
= 0;
1848 PyObject
* _obj4
= 0;
1849 PyObject
* _argo6
= 0;
1850 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1864 _arg2
= wxString_in_helper(_obj2
);
1871 if (! wxPoint_helper(_obj3
, &_arg3
))
1877 if (! wxSize_helper(_obj4
, &_arg4
))
1881 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1895 _resultobj
= Py_BuildValue("s",_ptemp
);
1898 _resultobj
= Py_None
;
1907 #define new_wxPreCheckBox() (new wxCheckBox())
1908 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxCheckBox
* _result
;
1911 char *_kwnames
[] = { NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1925 _resultobj
= Py_BuildValue("s",_ptemp
);
1928 _resultobj
= Py_None
;
1933 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1934 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1941 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1942 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1943 long _arg6
= (long ) 0;
1944 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1945 char * _arg8
= (char *) "checkBox";
1946 PyObject
* _argo0
= 0;
1947 PyObject
* _argo1
= 0;
1948 PyObject
* _obj3
= 0;
1950 PyObject
* _obj4
= 0;
1952 PyObject
* _obj5
= 0;
1953 PyObject
* _argo7
= 0;
1954 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
1974 _arg3
= wxString_in_helper(_obj3
);
1981 if (! wxPoint_helper(_obj4
, &_arg4
))
1987 if (! wxSize_helper(_obj5
, &_arg5
))
1991 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) return NULL
;
2003 } _resultobj
= Py_BuildValue("i",_result
);
2011 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2012 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2016 PyObject
* _argo0
= 0;
2017 char *_kwnames
[] = { "self", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) return NULL
;
2035 } _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2040 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2044 PyObject
* _argo0
= 0;
2046 char *_kwnames
[] = { "self","state", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2058 _arg1
= (bool ) tempbool1
;
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 wxCheckBox_SetValue(_arg0
,_arg1
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2065 } Py_INCREF(Py_None
);
2066 _resultobj
= Py_None
;
2070 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2072 wxControlWithItems
*dest
;
2073 src
= (wxChoice
*) ptr
;
2074 dest
= (wxControlWithItems
*) src
;
2075 return (void *) dest
;
2078 static void *SwigwxChoiceTowxControl(void *ptr
) {
2081 src
= (wxChoice
*) ptr
;
2082 dest
= (wxControl
*) src
;
2083 return (void *) dest
;
2086 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2089 src
= (wxChoice
*) ptr
;
2090 dest
= (wxWindow
*) src
;
2091 return (void *) dest
;
2094 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2097 src
= (wxChoice
*) ptr
;
2098 dest
= (wxEvtHandler
*) src
;
2099 return (void *) dest
;
2102 static void *SwigwxChoiceTowxObject(void *ptr
) {
2105 src
= (wxChoice
*) ptr
;
2106 dest
= (wxObject
*) src
;
2107 return (void *) dest
;
2110 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2111 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2116 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2117 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2118 int _arg4
= (int ) 0;
2119 wxString
* _arg5
= (wxString
*) NULL
;
2120 long _arg6
= (long ) 0;
2121 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2122 char * _arg8
= (char *) "choice";
2123 PyObject
* _argo0
= 0;
2125 PyObject
* _obj2
= 0;
2127 PyObject
* _obj3
= 0;
2128 PyObject
* _obj5
= 0;
2129 PyObject
* _argo7
= 0;
2130 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2146 if (! wxPoint_helper(_obj2
, &_arg2
))
2152 if (! wxSize_helper(_obj3
, &_arg3
))
2157 _arg5
= wxString_LIST_helper(_obj5
);
2158 if (_arg5
== NULL
) {
2163 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2171 _arg4
= PyList_Size(_obj5
);
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2185 _resultobj
= Py_BuildValue("s",_ptemp
);
2188 _resultobj
= Py_None
;
2196 #define new_wxPreChoice() (new wxChoice())
2197 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2200 char *_kwnames
[] = { NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 _result
= (wxChoice
*)new_wxPreChoice();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2214 _resultobj
= Py_BuildValue("s",_ptemp
);
2217 _resultobj
= Py_None
;
2222 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2223 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2229 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2230 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2231 int _arg5
= (int ) 0;
2232 wxString
* _arg6
= (wxString
*) NULL
;
2233 long _arg7
= (long ) 0;
2234 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2235 char * _arg9
= (char *) "choice";
2236 PyObject
* _argo0
= 0;
2237 PyObject
* _argo1
= 0;
2239 PyObject
* _obj3
= 0;
2241 PyObject
* _obj4
= 0;
2242 PyObject
* _obj6
= 0;
2243 PyObject
* _argo8
= 0;
2244 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2266 if (! wxPoint_helper(_obj3
, &_arg3
))
2272 if (! wxSize_helper(_obj4
, &_arg4
))
2277 _arg6
= wxString_LIST_helper(_obj6
);
2278 if (_arg6
== NULL
) {
2283 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2291 _arg5
= PyList_Size(_obj6
);
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2310 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2311 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2314 PyObject
* _argo0
= 0;
2315 char *_kwnames
[] = { "self", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxChoice_Clear(_arg0
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) return NULL
;
2333 } Py_INCREF(Py_None
);
2334 _resultobj
= Py_None
;
2338 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2339 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2343 PyObject
* _argo0
= 0;
2344 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= (int )wxChoice_GetColumns(_arg0
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2367 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2370 int _arg1
= (int ) 1;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self","n", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 wxChoice_SetColumns(_arg0
,_arg1
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2396 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self","n", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 wxChoice_SetSelection(_arg0
,_arg1
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2419 } Py_INCREF(Py_None
);
2420 _resultobj
= Py_None
;
2424 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2425 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2429 PyObject
* _argo0
= 0;
2430 PyObject
* _obj1
= 0;
2431 char *_kwnames
[] = { "self","string", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2444 _arg1
= wxString_in_helper(_obj1
);
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) return NULL
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2463 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2464 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2470 PyObject
* _obj2
= 0;
2471 char *_kwnames
[] = { "self","n","s", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2484 _arg2
= wxString_in_helper(_obj2
);
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2503 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2506 src
= (wxComboBox
*) ptr
;
2507 dest
= (wxChoice
*) src
;
2508 return (void *) dest
;
2511 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2513 wxControlWithItems
*dest
;
2514 src
= (wxComboBox
*) ptr
;
2515 dest
= (wxControlWithItems
*) src
;
2516 return (void *) dest
;
2519 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2522 src
= (wxComboBox
*) ptr
;
2523 dest
= (wxControl
*) src
;
2524 return (void *) dest
;
2527 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2530 src
= (wxComboBox
*) ptr
;
2531 dest
= (wxWindow
*) src
;
2532 return (void *) dest
;
2535 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2538 src
= (wxComboBox
*) ptr
;
2539 dest
= (wxEvtHandler
*) src
;
2540 return (void *) dest
;
2543 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2546 src
= (wxComboBox
*) ptr
;
2547 dest
= (wxObject
*) src
;
2548 return (void *) dest
;
2551 #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))
2552 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
* _resultobj
;
2554 wxComboBox
* _result
;
2557 char * _arg2
= (char *) "";
2558 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2559 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2560 int _arg5
= (int ) 0;
2561 wxString
* _arg6
= (wxString
*) NULL
;
2562 long _arg7
= (long ) 0;
2563 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2564 char * _arg9
= (char *) "comboBox";
2565 PyObject
* _argo0
= 0;
2567 PyObject
* _obj3
= 0;
2569 PyObject
* _obj4
= 0;
2570 PyObject
* _obj6
= 0;
2571 PyObject
* _argo8
= 0;
2572 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2588 if (! wxPoint_helper(_obj3
, &_arg3
))
2594 if (! wxSize_helper(_obj4
, &_arg4
))
2599 _arg6
= wxString_LIST_helper(_obj6
);
2600 if (_arg6
== NULL
) {
2605 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2613 _arg5
= PyList_Size(_obj6
);
2620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2621 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2623 wxPyEndAllowThreads(__tstate
);
2624 if (PyErr_Occurred()) return NULL
;
2626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2627 _resultobj
= Py_BuildValue("s",_ptemp
);
2630 _resultobj
= Py_None
;
2638 #define new_wxPreComboBox() (new wxComboBox())
2639 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2641 wxComboBox
* _result
;
2642 char *_kwnames
[] = { NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 _result
= (wxComboBox
*)new_wxPreComboBox();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2656 _resultobj
= Py_BuildValue("s",_ptemp
);
2659 _resultobj
= Py_None
;
2664 #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))
2665 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
* _resultobj
;
2671 char * _arg3
= (char *) "";
2672 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2673 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2674 int _arg6
= (int ) 0;
2675 wxString
* _arg7
= (wxString
*) NULL
;
2676 long _arg8
= (long ) 0;
2677 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2678 char * _arg10
= (char *) "comboBox";
2679 PyObject
* _argo0
= 0;
2680 PyObject
* _argo1
= 0;
2682 PyObject
* _obj4
= 0;
2684 PyObject
* _obj5
= 0;
2685 PyObject
* _obj7
= 0;
2686 PyObject
* _argo9
= 0;
2687 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2700 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2709 if (! wxPoint_helper(_obj4
, &_arg4
))
2715 if (! wxSize_helper(_obj5
, &_arg5
))
2720 _arg7
= wxString_LIST_helper(_obj7
);
2721 if (_arg7
== NULL
) {
2726 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2734 _arg6
= PyList_Size(_obj7
);
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2742 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) return NULL
;
2746 } _resultobj
= Py_BuildValue("i",_result
);
2753 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2754 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2757 PyObject
* _argo0
= 0;
2758 char *_kwnames
[] = { "self", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 wxComboBox_Copy(_arg0
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) return NULL
;
2776 } Py_INCREF(Py_None
);
2777 _resultobj
= Py_None
;
2781 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2782 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2785 PyObject
* _argo0
= 0;
2786 char *_kwnames
[] = { "self", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 wxComboBox_Cut(_arg0
);
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) return NULL
;
2804 } Py_INCREF(Py_None
);
2805 _resultobj
= Py_None
;
2809 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2810 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 } _resultobj
= Py_BuildValue("l",_result
);
2837 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2838 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2842 PyObject
* _argo0
= 0;
2843 char *_kwnames
[] = { "self", NULL
};
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2849 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2850 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2857 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2859 wxPyEndAllowThreads(__tstate
);
2860 if (PyErr_Occurred()) return NULL
;
2861 } _resultobj
= Py_BuildValue("l",_result
);
2865 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2866 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2867 PyObject
* _resultobj
;
2870 PyObject
* _argo0
= 0;
2871 char *_kwnames
[] = { "self", NULL
};
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2885 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2887 wxPyEndAllowThreads(__tstate
);
2888 if (PyErr_Occurred()) return NULL
;
2891 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2893 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2902 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2903 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2904 PyObject
* _resultobj
;
2906 PyObject
* _argo0
= 0;
2907 char *_kwnames
[] = { "self", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 wxComboBox_Paste(_arg0
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) return NULL
;
2925 } Py_INCREF(Py_None
);
2926 _resultobj
= Py_None
;
2930 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2931 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2937 PyObject
* _argo0
= 0;
2938 PyObject
* _obj3
= 0;
2939 char *_kwnames
[] = { "self","from","to","text", NULL
};
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2952 _arg3
= wxString_in_helper(_obj3
);
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) return NULL
;
2962 } Py_INCREF(Py_None
);
2963 _resultobj
= Py_None
;
2971 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2972 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2978 char *_kwnames
[] = { "self","from","to", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) return NULL
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3001 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3002 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self","pos", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) return NULL
;
3025 } Py_INCREF(Py_None
);
3026 _resultobj
= Py_None
;
3030 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3031 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3032 PyObject
* _resultobj
;
3034 PyObject
* _argo0
= 0;
3035 char *_kwnames
[] = { "self", NULL
};
3038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 wxComboBox_SetInsertionPointEnd(_arg0
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) return NULL
;
3053 } Py_INCREF(Py_None
);
3054 _resultobj
= Py_None
;
3058 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3059 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3063 PyObject
* _argo0
= 0;
3064 char *_kwnames
[] = { "self","n", NULL
};
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 wxComboBox_SetSelection(_arg0
,_arg1
);
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) return NULL
;
3082 } Py_INCREF(Py_None
);
3083 _resultobj
= Py_None
;
3087 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3088 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
* _resultobj
;
3093 PyObject
* _argo0
= 0;
3094 char *_kwnames
[] = { "self","from","to", NULL
};
3097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) return NULL
;
3112 } Py_INCREF(Py_None
);
3113 _resultobj
= Py_None
;
3117 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3118 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 PyObject
* _obj1
= 0;
3124 char *_kwnames
[] = { "self","text", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3137 _arg1
= wxString_in_helper(_obj1
);
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 wxComboBox_SetValue(_arg0
,*_arg1
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) return NULL
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3156 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3157 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
* _resultobj
;
3161 PyObject
* _argo0
= 0;
3163 char *_kwnames
[] = { "self","editable", NULL
};
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3175 _arg1
= (bool ) tempbool1
;
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 wxComboBox_SetEditable(_arg0
,_arg1
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 static void *SwigwxGaugeTowxControl(void *ptr
) {
3190 src
= (wxGauge
*) ptr
;
3191 dest
= (wxControl
*) src
;
3192 return (void *) dest
;
3195 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3198 src
= (wxGauge
*) ptr
;
3199 dest
= (wxWindow
*) src
;
3200 return (void *) dest
;
3203 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3206 src
= (wxGauge
*) ptr
;
3207 dest
= (wxEvtHandler
*) src
;
3208 return (void *) dest
;
3211 static void *SwigwxGaugeTowxObject(void *ptr
) {
3214 src
= (wxGauge
*) ptr
;
3215 dest
= (wxObject
*) src
;
3216 return (void *) dest
;
3219 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3220 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
* _resultobj
;
3226 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3227 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3228 long _arg5
= (long ) wxGA_HORIZONTAL
;
3229 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3230 char * _arg7
= (char *) "gauge";
3231 PyObject
* _argo0
= 0;
3233 PyObject
* _obj3
= 0;
3235 PyObject
* _obj4
= 0;
3236 PyObject
* _argo6
= 0;
3237 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3253 if (! wxPoint_helper(_obj3
, &_arg3
))
3259 if (! wxSize_helper(_obj4
, &_arg4
))
3263 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3264 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) return NULL
;
3276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3277 _resultobj
= Py_BuildValue("s",_ptemp
);
3280 _resultobj
= Py_None
;
3285 #define new_wxPreGauge() (new wxGauge())
3286 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3289 char *_kwnames
[] = { NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 _result
= (wxGauge
*)new_wxPreGauge();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) return NULL
;
3302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3303 _resultobj
= Py_BuildValue("s",_ptemp
);
3306 _resultobj
= Py_None
;
3311 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3312 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3319 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3320 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3321 long _arg6
= (long ) wxGA_HORIZONTAL
;
3322 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3323 char * _arg8
= (char *) "gauge";
3324 PyObject
* _argo0
= 0;
3325 PyObject
* _argo1
= 0;
3327 PyObject
* _obj4
= 0;
3329 PyObject
* _obj5
= 0;
3330 PyObject
* _argo7
= 0;
3331 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3344 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3353 if (! wxPoint_helper(_obj4
, &_arg4
))
3359 if (! wxSize_helper(_obj5
, &_arg5
))
3363 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) return NULL
;
3375 } _resultobj
= Py_BuildValue("i",_result
);
3379 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3380 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) return NULL
;
3403 } _resultobj
= Py_BuildValue("i",_result
);
3407 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3408 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3412 PyObject
* _argo0
= 0;
3413 char *_kwnames
[] = { "self", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 _result
= (int )wxGauge_GetRange(_arg0
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) return NULL
;
3431 } _resultobj
= Py_BuildValue("i",_result
);
3435 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3436 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3440 PyObject
* _argo0
= 0;
3441 char *_kwnames
[] = { "self", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) return NULL
;
3459 } _resultobj
= Py_BuildValue("i",_result
);
3463 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3464 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3468 PyObject
* _argo0
= 0;
3469 char *_kwnames
[] = { "self", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 _result
= (int )wxGauge_GetValue(_arg0
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) return NULL
;
3487 } _resultobj
= Py_BuildValue("i",_result
);
3491 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3492 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
* _resultobj
;
3496 PyObject
* _argo0
= 0;
3497 char *_kwnames
[] = { "self","width", NULL
};
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 wxGauge_SetBezelFace(_arg0
,_arg1
);
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) return NULL
;
3515 } Py_INCREF(Py_None
);
3516 _resultobj
= Py_None
;
3520 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3521 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3525 PyObject
* _argo0
= 0;
3526 char *_kwnames
[] = { "self","range", NULL
};
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 wxGauge_SetRange(_arg0
,_arg1
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) return NULL
;
3544 } Py_INCREF(Py_None
);
3545 _resultobj
= Py_None
;
3549 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3550 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
* _resultobj
;
3554 PyObject
* _argo0
= 0;
3555 char *_kwnames
[] = { "self","width", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) return NULL
;
3573 } Py_INCREF(Py_None
);
3574 _resultobj
= Py_None
;
3578 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3579 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
* _resultobj
;
3583 PyObject
* _argo0
= 0;
3584 char *_kwnames
[] = { "self","pos", NULL
};
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 wxGauge_SetValue(_arg0
,_arg1
);
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) return NULL
;
3602 } Py_INCREF(Py_None
);
3603 _resultobj
= Py_None
;
3607 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3610 src
= (wxStaticBox
*) ptr
;
3611 dest
= (wxControl
*) src
;
3612 return (void *) dest
;
3615 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3618 src
= (wxStaticBox
*) ptr
;
3619 dest
= (wxWindow
*) src
;
3620 return (void *) dest
;
3623 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3626 src
= (wxStaticBox
*) ptr
;
3627 dest
= (wxEvtHandler
*) src
;
3628 return (void *) dest
;
3631 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3634 src
= (wxStaticBox
*) ptr
;
3635 dest
= (wxObject
*) src
;
3636 return (void *) dest
;
3639 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3640 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3642 wxStaticBox
* _result
;
3646 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3647 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3648 long _arg5
= (long ) 0;
3649 char * _arg6
= (char *) "staticBox";
3650 PyObject
* _argo0
= 0;
3651 PyObject
* _obj2
= 0;
3653 PyObject
* _obj3
= 0;
3655 PyObject
* _obj4
= 0;
3656 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3670 _arg2
= wxString_in_helper(_obj2
);
3677 if (! wxPoint_helper(_obj3
, &_arg3
))
3683 if (! wxSize_helper(_obj4
, &_arg4
))
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) return NULL
;
3693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3694 _resultobj
= Py_BuildValue("s",_ptemp
);
3697 _resultobj
= Py_None
;
3706 #define new_wxPreStaticBox() (new wxStaticBox())
3707 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3709 wxStaticBox
* _result
;
3710 char *_kwnames
[] = { NULL
};
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) return NULL
;
3723 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3724 _resultobj
= Py_BuildValue("s",_ptemp
);
3727 _resultobj
= Py_None
;
3732 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3733 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3736 wxStaticBox
* _arg0
;
3740 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3741 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3742 long _arg6
= (long ) 0;
3743 char * _arg7
= (char *) "staticBox";
3744 PyObject
* _argo0
= 0;
3745 PyObject
* _argo1
= 0;
3746 PyObject
* _obj3
= 0;
3748 PyObject
* _obj4
= 0;
3750 PyObject
* _obj5
= 0;
3751 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3764 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3771 _arg3
= wxString_in_helper(_obj3
);
3778 if (! wxPoint_helper(_obj4
, &_arg4
))
3784 if (! wxSize_helper(_obj5
, &_arg5
))
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) return NULL
;
3793 } _resultobj
= Py_BuildValue("i",_result
);
3801 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3804 src
= (wxStaticLine
*) ptr
;
3805 dest
= (wxControl
*) src
;
3806 return (void *) dest
;
3809 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3812 src
= (wxStaticLine
*) ptr
;
3813 dest
= (wxWindow
*) src
;
3814 return (void *) dest
;
3817 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3820 src
= (wxStaticLine
*) ptr
;
3821 dest
= (wxEvtHandler
*) src
;
3822 return (void *) dest
;
3825 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3828 src
= (wxStaticLine
*) ptr
;
3829 dest
= (wxObject
*) src
;
3830 return (void *) dest
;
3833 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3834 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
* _resultobj
;
3836 wxStaticLine
* _result
;
3839 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3840 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3841 long _arg4
= (long ) wxLI_HORIZONTAL
;
3842 char * _arg5
= (char *) "staticLine";
3843 PyObject
* _argo0
= 0;
3845 PyObject
* _obj2
= 0;
3847 PyObject
* _obj3
= 0;
3848 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
3864 if (! wxPoint_helper(_obj2
, &_arg2
))
3870 if (! wxSize_helper(_obj3
, &_arg3
))
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) return NULL
;
3880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3881 _resultobj
= Py_BuildValue("s",_ptemp
);
3884 _resultobj
= Py_None
;
3889 #define new_wxPreStaticLine() (new wxStaticLine())
3890 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3892 wxStaticLine
* _result
;
3893 char *_kwnames
[] = { NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 _result
= (wxStaticLine
*)new_wxPreStaticLine();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) return NULL
;
3906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
3907 _resultobj
= Py_BuildValue("s",_ptemp
);
3910 _resultobj
= Py_None
;
3915 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3916 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3919 wxStaticLine
* _arg0
;
3922 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3923 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3924 long _arg5
= (long ) wxLI_HORIZONTAL
;
3925 char * _arg6
= (char *) "staticLine";
3926 PyObject
* _argo0
= 0;
3927 PyObject
* _argo1
= 0;
3929 PyObject
* _obj3
= 0;
3931 PyObject
* _obj4
= 0;
3932 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
3940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
3945 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3946 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
3954 if (! wxPoint_helper(_obj3
, &_arg3
))
3960 if (! wxSize_helper(_obj4
, &_arg4
))
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) return NULL
;
3969 } _resultobj
= Py_BuildValue("i",_result
);
3973 static void *SwigwxStaticTextTowxControl(void *ptr
) {
3976 src
= (wxStaticText
*) ptr
;
3977 dest
= (wxControl
*) src
;
3978 return (void *) dest
;
3981 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
3984 src
= (wxStaticText
*) ptr
;
3985 dest
= (wxWindow
*) src
;
3986 return (void *) dest
;
3989 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
3992 src
= (wxStaticText
*) ptr
;
3993 dest
= (wxEvtHandler
*) src
;
3994 return (void *) dest
;
3997 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4000 src
= (wxStaticText
*) ptr
;
4001 dest
= (wxObject
*) src
;
4002 return (void *) dest
;
4005 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4006 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
* _resultobj
;
4008 wxStaticText
* _result
;
4012 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4013 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4014 long _arg5
= (long ) 0;
4015 char * _arg6
= (char *) "staticText";
4016 PyObject
* _argo0
= 0;
4017 PyObject
* _obj2
= 0;
4019 PyObject
* _obj3
= 0;
4021 PyObject
* _obj4
= 0;
4022 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4036 _arg2
= wxString_in_helper(_obj2
);
4043 if (! wxPoint_helper(_obj3
, &_arg3
))
4049 if (! wxSize_helper(_obj4
, &_arg4
))
4053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4056 wxPyEndAllowThreads(__tstate
);
4057 if (PyErr_Occurred()) return NULL
;
4059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4060 _resultobj
= Py_BuildValue("s",_ptemp
);
4063 _resultobj
= Py_None
;
4072 #define new_wxPreStaticText() (new wxStaticText())
4073 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4075 wxStaticText
* _result
;
4076 char *_kwnames
[] = { NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4084 _result
= (wxStaticText
*)new_wxPreStaticText();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) return NULL
;
4089 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4090 _resultobj
= Py_BuildValue("s",_ptemp
);
4093 _resultobj
= Py_None
;
4098 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4099 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4102 wxStaticText
* _arg0
;
4106 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4107 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4108 long _arg6
= (long ) 0;
4109 char * _arg7
= (char *) "staticText";
4110 PyObject
* _argo0
= 0;
4111 PyObject
* _argo1
= 0;
4112 PyObject
* _obj3
= 0;
4114 PyObject
* _obj4
= 0;
4116 PyObject
* _obj5
= 0;
4117 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4137 _arg3
= wxString_in_helper(_obj3
);
4144 if (! wxPoint_helper(_obj4
, &_arg4
))
4150 if (! wxSize_helper(_obj5
, &_arg5
))
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) return NULL
;
4159 } _resultobj
= Py_BuildValue("i",_result
);
4167 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4168 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4171 wxStaticText
* _arg0
;
4172 PyObject
* _argo0
= 0;
4173 char *_kwnames
[] = { "self", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) return NULL
;
4193 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4195 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4204 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4205 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4207 wxStaticText
* _arg0
;
4209 PyObject
* _argo0
= 0;
4210 PyObject
* _obj1
= 0;
4211 char *_kwnames
[] = { "self","label", NULL
};
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4224 _arg1
= wxString_in_helper(_obj1
);
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 wxStaticText_SetLabel(_arg0
,*_arg1
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) return NULL
;
4234 } Py_INCREF(Py_None
);
4235 _resultobj
= Py_None
;
4243 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4245 wxControlWithItems
*dest
;
4246 src
= (wxListBox
*) ptr
;
4247 dest
= (wxControlWithItems
*) src
;
4248 return (void *) dest
;
4251 static void *SwigwxListBoxTowxControl(void *ptr
) {
4254 src
= (wxListBox
*) ptr
;
4255 dest
= (wxControl
*) src
;
4256 return (void *) dest
;
4259 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4262 src
= (wxListBox
*) ptr
;
4263 dest
= (wxWindow
*) src
;
4264 return (void *) dest
;
4267 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4270 src
= (wxListBox
*) ptr
;
4271 dest
= (wxEvtHandler
*) src
;
4272 return (void *) dest
;
4275 static void *SwigwxListBoxTowxObject(void *ptr
) {
4278 src
= (wxListBox
*) ptr
;
4279 dest
= (wxObject
*) src
;
4280 return (void *) dest
;
4283 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4284 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4286 wxListBox
* _result
;
4289 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4290 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4292 wxString
* _arg5
= (wxString
*) NULL
;
4293 long _arg6
= (long ) 0;
4294 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4295 char * _arg8
= (char *) "listBox";
4296 PyObject
* _argo0
= 0;
4298 PyObject
* _obj2
= 0;
4300 PyObject
* _obj3
= 0;
4301 PyObject
* _obj5
= 0;
4302 PyObject
* _argo7
= 0;
4303 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4319 if (! wxPoint_helper(_obj2
, &_arg2
))
4325 if (! wxSize_helper(_obj3
, &_arg3
))
4330 _arg5
= wxString_LIST_helper(_obj5
);
4331 if (_arg5
== NULL
) {
4336 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4337 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4344 _arg4
= PyList_Size(_obj5
);
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) return NULL
;
4357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4358 _resultobj
= Py_BuildValue("s",_ptemp
);
4361 _resultobj
= Py_None
;
4369 #define new_wxPreListBox() (new wxListBox())
4370 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4372 wxListBox
* _result
;
4373 char *_kwnames
[] = { NULL
};
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 _result
= (wxListBox
*)new_wxPreListBox();
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) return NULL
;
4386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4387 _resultobj
= Py_BuildValue("s",_ptemp
);
4390 _resultobj
= Py_None
;
4395 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4396 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
* _resultobj
;
4402 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4403 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4405 wxString
* _arg6
= (wxString
*) NULL
;
4406 long _arg7
= (long ) 0;
4407 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4408 char * _arg9
= (char *) "listBox";
4409 PyObject
* _argo0
= 0;
4410 PyObject
* _argo1
= 0;
4412 PyObject
* _obj3
= 0;
4414 PyObject
* _obj4
= 0;
4415 PyObject
* _obj6
= 0;
4416 PyObject
* _argo8
= 0;
4417 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4439 if (! wxPoint_helper(_obj3
, &_arg3
))
4445 if (! wxSize_helper(_obj4
, &_arg4
))
4450 _arg6
= wxString_LIST_helper(_obj6
);
4451 if (_arg6
== NULL
) {
4456 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4457 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4464 _arg5
= PyList_Size(_obj6
);
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) return NULL
;
4476 } _resultobj
= Py_BuildValue("i",_result
);
4483 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4484 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
* _resultobj
;
4487 PyObject
* _argo0
= 0;
4488 char *_kwnames
[] = { "self", NULL
};
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxListBox_Clear(_arg0
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) return NULL
;
4506 } Py_INCREF(Py_None
);
4507 _resultobj
= Py_None
;
4511 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4512 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
* _resultobj
;
4516 PyObject
* _argo0
= 0;
4517 char *_kwnames
[] = { "self","n", NULL
};
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 wxListBox_Deselect(_arg0
,_arg1
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) return NULL
;
4535 } Py_INCREF(Py_None
);
4536 _resultobj
= Py_None
;
4540 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4542 self
->GetSelections(lst
);
4543 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4544 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4545 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4549 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4553 PyObject
* _argo0
= 0;
4554 char *_kwnames
[] = { "self", NULL
};
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) return NULL
;
4573 _resultobj
= _result
;
4578 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4579 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
* _resultobj
;
4585 PyObject
* _argo0
= 0;
4586 PyObject
* _obj2
= 0;
4587 char *_kwnames
[] = { "self","choices","pos", NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4600 _arg2
= wxString_LIST_helper(_obj2
);
4601 if (_arg2
== NULL
) {
4607 _arg1
= PyList_Size(_obj2
);
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) return NULL
;
4619 } Py_INCREF(Py_None
);
4620 _resultobj
= Py_None
;
4627 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4628 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
* _resultobj
;
4633 PyObject
* _argo0
= 0;
4634 char *_kwnames
[] = { "self","n", NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) return NULL
;
4652 } _resultobj
= Py_BuildValue("i",_result
);
4656 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4657 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4662 PyObject
* _argo0
= 0;
4663 char *_kwnames
[] = { "self","n", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) return NULL
;
4681 } _resultobj
= Py_BuildValue("i",_result
);
4685 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4686 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
* _resultobj
;
4691 PyObject
* _argo0
= 0;
4692 PyObject
* _obj2
= 0;
4693 char *_kwnames
[] = { "self","choices", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4707 _arg2
= wxString_LIST_helper(_obj2
);
4708 if (_arg2
== NULL
) {
4714 _arg1
= PyList_Size(_obj2
);
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) return NULL
;
4726 } Py_INCREF(Py_None
);
4727 _resultobj
= Py_None
;
4734 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4735 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4739 PyObject
* _argo0
= 0;
4740 char *_kwnames
[] = { "self","n", NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4754 wxListBox_SetFirstItem(_arg0
,_arg1
);
4756 wxPyEndAllowThreads(__tstate
);
4757 if (PyErr_Occurred()) return NULL
;
4758 } Py_INCREF(Py_None
);
4759 _resultobj
= Py_None
;
4763 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4764 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4768 PyObject
* _argo0
= 0;
4769 PyObject
* _obj1
= 0;
4770 char *_kwnames
[] = { "self","string", NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4783 _arg1
= wxString_in_helper(_obj1
);
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) return NULL
;
4793 } Py_INCREF(Py_None
);
4794 _resultobj
= Py_None
;
4802 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4803 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4807 bool _arg2
= (bool ) TRUE
;
4808 PyObject
* _argo0
= 0;
4809 int tempbool2
= (int) TRUE
;
4810 char *_kwnames
[] = { "self","n","select", NULL
};
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
4822 _arg2
= (bool ) tempbool2
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) return NULL
;
4829 } Py_INCREF(Py_None
);
4830 _resultobj
= Py_None
;
4834 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
4835 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
* _resultobj
;
4840 PyObject
* _argo0
= 0;
4841 PyObject
* _obj2
= 0;
4842 char *_kwnames
[] = { "self","n","string", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
4855 _arg2
= wxString_in_helper(_obj2
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) return NULL
;
4865 } Py_INCREF(Py_None
);
4866 _resultobj
= Py_None
;
4874 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
4875 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4879 bool _arg2
= (bool ) TRUE
;
4880 PyObject
* _argo0
= 0;
4881 PyObject
* _obj1
= 0;
4882 int tempbool2
= (int) TRUE
;
4883 char *_kwnames
[] = { "self","string","select", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
4896 _arg1
= wxString_in_helper(_obj1
);
4900 _arg2
= (bool ) tempbool2
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) return NULL
;
4907 } Py_INCREF(Py_None
);
4908 _resultobj
= Py_None
;
4916 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
4917 wxCheckListBox
*src
;
4919 src
= (wxCheckListBox
*) ptr
;
4920 dest
= (wxListBox
*) src
;
4921 return (void *) dest
;
4924 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
4925 wxCheckListBox
*src
;
4926 wxControlWithItems
*dest
;
4927 src
= (wxCheckListBox
*) ptr
;
4928 dest
= (wxControlWithItems
*) src
;
4929 return (void *) dest
;
4932 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
4933 wxCheckListBox
*src
;
4935 src
= (wxCheckListBox
*) ptr
;
4936 dest
= (wxControl
*) src
;
4937 return (void *) dest
;
4940 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
4941 wxCheckListBox
*src
;
4943 src
= (wxCheckListBox
*) ptr
;
4944 dest
= (wxWindow
*) src
;
4945 return (void *) dest
;
4948 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
4949 wxCheckListBox
*src
;
4951 src
= (wxCheckListBox
*) ptr
;
4952 dest
= (wxEvtHandler
*) src
;
4953 return (void *) dest
;
4956 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
4957 wxCheckListBox
*src
;
4959 src
= (wxCheckListBox
*) ptr
;
4960 dest
= (wxObject
*) src
;
4961 return (void *) dest
;
4964 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4965 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4967 wxCheckListBox
* _result
;
4970 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4971 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4972 int _arg4
= (int ) 0;
4973 wxString
* _arg5
= (wxString
*) NULL
;
4974 long _arg6
= (long ) 0;
4975 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4976 char * _arg8
= (char *) "listBox";
4977 PyObject
* _argo0
= 0;
4979 PyObject
* _obj2
= 0;
4981 PyObject
* _obj3
= 0;
4982 PyObject
* _obj5
= 0;
4983 PyObject
* _argo7
= 0;
4984 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5000 if (! wxPoint_helper(_obj2
, &_arg2
))
5006 if (! wxSize_helper(_obj3
, &_arg3
))
5011 _arg5
= wxString_LIST_helper(_obj5
);
5012 if (_arg5
== NULL
) {
5017 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5018 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5025 _arg4
= PyList_Size(_obj5
);
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) return NULL
;
5038 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5039 _resultobj
= Py_BuildValue("s",_ptemp
);
5042 _resultobj
= Py_None
;
5050 #define new_wxPreCheckListBox() (new wxCheckListBox())
5051 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
* _resultobj
;
5053 wxCheckListBox
* _result
;
5054 char *_kwnames
[] = { NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) return NULL
;
5067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5068 _resultobj
= Py_BuildValue("s",_ptemp
);
5071 _resultobj
= Py_None
;
5076 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5077 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
* _resultobj
;
5080 wxCheckListBox
* _arg0
;
5083 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5084 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5085 int _arg5
= (int ) 0;
5086 wxString
* _arg6
= (wxString
*) NULL
;
5087 long _arg7
= (long ) 0;
5088 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5089 char * _arg9
= (char *) "listBox";
5090 PyObject
* _argo0
= 0;
5091 PyObject
* _argo1
= 0;
5093 PyObject
* _obj3
= 0;
5095 PyObject
* _obj4
= 0;
5096 PyObject
* _obj6
= 0;
5097 PyObject
* _argo8
= 0;
5098 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5111 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5120 if (! wxPoint_helper(_obj3
, &_arg3
))
5126 if (! wxSize_helper(_obj4
, &_arg4
))
5131 _arg6
= wxString_LIST_helper(_obj6
);
5132 if (_arg6
== NULL
) {
5137 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5138 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5145 _arg5
= PyList_Size(_obj6
);
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5155 wxPyEndAllowThreads(__tstate
);
5156 if (PyErr_Occurred()) return NULL
;
5157 } _resultobj
= Py_BuildValue("i",_result
);
5164 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5165 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5166 PyObject
* _resultobj
;
5168 wxCheckListBox
* _arg0
;
5170 PyObject
* _argo0
= 0;
5171 char *_kwnames
[] = { "self","uiIndex", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) return NULL
;
5189 } _resultobj
= Py_BuildValue("i",_result
);
5193 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5194 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5196 wxCheckListBox
* _arg0
;
5198 int _arg2
= (int ) TRUE
;
5199 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) return NULL
;
5218 } Py_INCREF(Py_None
);
5219 _resultobj
= Py_None
;
5223 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5224 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5226 wxCheckListBox
* _arg0
;
5230 PyObject
* _argo0
= 0;
5231 PyObject
* _obj2
= 0;
5232 char *_kwnames
[] = { "self","choices","pos", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5245 _arg2
= wxString_LIST_helper(_obj2
);
5246 if (_arg2
== NULL
) {
5252 _arg1
= PyList_Size(_obj2
);
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5260 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5262 wxPyEndAllowThreads(__tstate
);
5263 if (PyErr_Occurred()) return NULL
;
5264 } Py_INCREF(Py_None
);
5265 _resultobj
= Py_None
;
5272 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5273 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5275 wxTextAttr
* _result
;
5276 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5277 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5278 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5280 PyObject
* _obj0
= 0;
5282 PyObject
* _obj1
= 0;
5283 PyObject
* _argo2
= 0;
5284 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5293 if (! wxColour_helper(_obj0
, &_arg0
))
5299 if (! wxColour_helper(_obj1
, &_arg1
))
5303 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5304 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) return NULL
;
5316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5317 _resultobj
= Py_BuildValue("s",_ptemp
);
5320 _resultobj
= Py_None
;
5325 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5326 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5329 PyObject
* _argo0
= 0;
5330 char *_kwnames
[] = { "self", NULL
};
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 delete_wxTextAttr(_arg0
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) return NULL
;
5348 } Py_INCREF(Py_None
);
5349 _resultobj
= Py_None
;
5353 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5354 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5358 PyObject
* _argo0
= 0;
5360 PyObject
* _obj1
= 0;
5361 char *_kwnames
[] = { "self","colText", NULL
};
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5375 if (! wxColour_helper(_obj1
, &_arg1
))
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) return NULL
;
5384 } Py_INCREF(Py_None
);
5385 _resultobj
= Py_None
;
5389 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5390 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5394 PyObject
* _argo0
= 0;
5396 PyObject
* _obj1
= 0;
5397 char *_kwnames
[] = { "self","colBack", NULL
};
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5411 if (! wxColour_helper(_obj1
, &_arg1
))
5415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5416 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) return NULL
;
5420 } Py_INCREF(Py_None
);
5421 _resultobj
= Py_None
;
5425 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5426 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _argo1
= 0;
5432 char *_kwnames
[] = { "self","font", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 wxTextAttr_SetFont(_arg0
,*_arg1
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) return NULL
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5462 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5463 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5482 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) return NULL
;
5486 } _resultobj
= Py_BuildValue("i",_result
);
5490 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5491 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) return NULL
;
5514 } _resultobj
= Py_BuildValue("i",_result
);
5518 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5519 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5523 PyObject
* _argo0
= 0;
5524 char *_kwnames
[] = { "self", NULL
};
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5540 wxPyEndAllowThreads(__tstate
);
5541 if (PyErr_Occurred()) return NULL
;
5542 } _resultobj
= Py_BuildValue("i",_result
);
5546 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5547 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5551 PyObject
* _argo0
= 0;
5552 char *_kwnames
[] = { "self", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) return NULL
;
5571 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5572 _resultobj
= Py_BuildValue("s",_ptemp
);
5576 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5577 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
* _resultobj
;
5581 PyObject
* _argo0
= 0;
5582 char *_kwnames
[] = { "self", NULL
};
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) return NULL
;
5601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5602 _resultobj
= Py_BuildValue("s",_ptemp
);
5606 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5607 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5612 char *_kwnames
[] = { "self", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) return NULL
;
5631 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5632 _resultobj
= Py_BuildValue("s",_ptemp
);
5636 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5637 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "self", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) return NULL
;
5660 } _resultobj
= Py_BuildValue("i",_result
);
5664 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5666 wxTextAttr
* _result
;
5670 PyObject
* _argo0
= 0;
5671 PyObject
* _argo1
= 0;
5672 PyObject
* _argo2
= 0;
5673 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5694 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5695 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) return NULL
;
5706 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5707 _resultobj
= Py_BuildValue("s",_ptemp
);
5711 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
5714 src
= (wxTextCtrl
*) ptr
;
5715 dest
= (wxControl
*) src
;
5716 return (void *) dest
;
5719 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
5722 src
= (wxTextCtrl
*) ptr
;
5723 dest
= (wxWindow
*) src
;
5724 return (void *) dest
;
5727 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
5730 src
= (wxTextCtrl
*) ptr
;
5731 dest
= (wxEvtHandler
*) src
;
5732 return (void *) dest
;
5735 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
5738 src
= (wxTextCtrl
*) ptr
;
5739 dest
= (wxObject
*) src
;
5740 return (void *) dest
;
5743 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5744 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5746 wxTextCtrl
* _result
;
5749 char * _arg2
= (char *) "";
5750 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5751 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5752 long _arg5
= (long ) 0;
5753 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5754 char * _arg7
= (char *) "text";
5755 PyObject
* _argo0
= 0;
5757 PyObject
* _obj3
= 0;
5759 PyObject
* _obj4
= 0;
5760 PyObject
* _argo6
= 0;
5761 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
5768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
5777 if (! wxPoint_helper(_obj3
, &_arg3
))
5783 if (! wxSize_helper(_obj4
, &_arg4
))
5787 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) return NULL
;
5800 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5801 _resultobj
= Py_BuildValue("s",_ptemp
);
5804 _resultobj
= Py_None
;
5809 #define new_wxPreTextCtrl() (new wxTextCtrl())
5810 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5812 wxTextCtrl
* _result
;
5813 char *_kwnames
[] = { NULL
};
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) return NULL
;
5826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5827 _resultobj
= Py_BuildValue("s",_ptemp
);
5830 _resultobj
= Py_None
;
5835 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5836 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5842 char * _arg3
= (char *) "";
5843 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
5844 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
5845 long _arg6
= (long ) 0;
5846 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5847 char * _arg8
= (char *) "text";
5848 PyObject
* _argo0
= 0;
5849 PyObject
* _argo1
= 0;
5851 PyObject
* _obj4
= 0;
5853 PyObject
* _obj5
= 0;
5854 PyObject
* _argo7
= 0;
5855 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
5868 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
5877 if (! wxPoint_helper(_obj4
, &_arg4
))
5883 if (! wxSize_helper(_obj5
, &_arg5
))
5887 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) return NULL
;
5899 } _resultobj
= Py_BuildValue("i",_result
);
5903 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
5904 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5908 PyObject
* _argo0
= 0;
5909 char *_kwnames
[] = { "self", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) return NULL
;
5929 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5931 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5940 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5941 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
* _resultobj
;
5945 PyObject
* _argo0
= 0;
5946 PyObject
* _obj1
= 0;
5947 char *_kwnames
[] = { "self","value", NULL
};
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
5953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5960 _arg1
= wxString_in_helper(_obj1
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 wxTextCtrl_SetValue(_arg0
,*_arg1
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) return NULL
;
5970 } Py_INCREF(Py_None
);
5971 _resultobj
= Py_None
;
5979 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
5980 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5986 PyObject
* _argo0
= 0;
5987 char *_kwnames
[] = { "self","from","to", NULL
};
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) return NULL
;
6007 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6009 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6018 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6019 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
* _resultobj
;
6024 PyObject
* _argo0
= 0;
6025 char *_kwnames
[] = { "self","lineNo", NULL
};
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) return NULL
;
6043 } _resultobj
= Py_BuildValue("i",_result
);
6047 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6048 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
* _resultobj
;
6053 PyObject
* _argo0
= 0;
6054 char *_kwnames
[] = { "self","lineNo", NULL
};
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) return NULL
;
6074 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6076 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6085 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6086 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6087 PyObject
* _resultobj
;
6090 PyObject
* _argo0
= 0;
6091 char *_kwnames
[] = { "self", NULL
};
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) return NULL
;
6109 } _resultobj
= Py_BuildValue("i",_result
);
6113 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6114 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
* _resultobj
;
6118 PyObject
* _argo0
= 0;
6119 char *_kwnames
[] = { "self", NULL
};
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) return NULL
;
6137 } _resultobj
= Py_BuildValue("i",_result
);
6141 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6142 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6146 PyObject
* _argo0
= 0;
6147 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) return NULL
;
6165 } _resultobj
= Py_BuildValue("i",_result
);
6169 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6170 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
* _resultobj
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self", NULL
};
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6200 wxPyEndAllowThreads(__tstate
);
6201 if (PyErr_Occurred()) return NULL
;
6202 } Py_INCREF(Py_None
);
6203 _resultobj
= Py_None
;
6206 o
= PyInt_FromLong((long) (*_arg1
));
6207 _resultobj
= t_output_helper(_resultobj
, o
);
6211 o
= PyInt_FromLong((long) (*_arg2
));
6212 _resultobj
= t_output_helper(_resultobj
, o
);
6217 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6218 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
* _resultobj
;
6222 PyObject
* _argo0
= 0;
6223 char *_kwnames
[] = { "self", NULL
};
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) return NULL
;
6243 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6245 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6254 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6255 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 wxTextCtrl_Clear(_arg0
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) return NULL
;
6277 } Py_INCREF(Py_None
);
6278 _resultobj
= Py_None
;
6282 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6283 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6289 PyObject
* _argo0
= 0;
6290 PyObject
* _obj3
= 0;
6291 char *_kwnames
[] = { "self","from","to","value", NULL
};
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6304 _arg3
= wxString_in_helper(_obj3
);
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) return NULL
;
6314 } Py_INCREF(Py_None
);
6315 _resultobj
= Py_None
;
6323 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6324 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
* _resultobj
;
6329 PyObject
* _argo0
= 0;
6330 char *_kwnames
[] = { "self","from","to", NULL
};
6333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) return NULL
;
6348 } Py_INCREF(Py_None
);
6349 _resultobj
= Py_None
;
6353 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6354 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
* _resultobj
;
6359 PyObject
* _argo0
= 0;
6360 PyObject
* _obj1
= 0;
6361 char *_kwnames
[] = { "self","file", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6374 _arg1
= wxString_in_helper(_obj1
);
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) return NULL
;
6384 } _resultobj
= Py_BuildValue("i",_result
);
6392 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6393 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6397 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6398 PyObject
* _argo0
= 0;
6399 PyObject
* _obj1
= 0;
6400 char *_kwnames
[] = { "self","file", NULL
};
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6414 _arg1
= wxString_in_helper(_obj1
);
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) return NULL
;
6424 } _resultobj
= Py_BuildValue("i",_result
);
6432 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6433 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
* _resultobj
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 wxTextCtrl_DiscardEdits(_arg0
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) return NULL
;
6455 } Py_INCREF(Py_None
);
6456 _resultobj
= Py_None
;
6460 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6461 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
* _resultobj
;
6464 unsigned long _arg1
;
6465 PyObject
* _argo0
= 0;
6466 char *_kwnames
[] = { "self","len", NULL
};
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) return NULL
;
6484 } Py_INCREF(Py_None
);
6485 _resultobj
= Py_None
;
6489 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6490 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
* _resultobj
;
6494 PyObject
* _argo0
= 0;
6495 PyObject
* _obj1
= 0;
6496 char *_kwnames
[] = { "self","text", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6509 _arg1
= wxString_in_helper(_obj1
);
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) return NULL
;
6519 } Py_INCREF(Py_None
);
6520 _resultobj
= Py_None
;
6528 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6529 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6533 PyObject
* _argo0
= 0;
6534 PyObject
* _obj1
= 0;
6535 char *_kwnames
[] = { "self","text", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6548 _arg1
= wxString_in_helper(_obj1
);
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) return NULL
;
6558 } Py_INCREF(Py_None
);
6559 _resultobj
= Py_None
;
6567 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6568 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6575 PyObject
* _argo0
= 0;
6576 PyObject
* _argo3
= 0;
6577 char *_kwnames
[] = { "self","start","end","style", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6590 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6591 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) return NULL
;
6602 } _resultobj
= Py_BuildValue("i",_result
);
6606 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6607 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
* _resultobj
;
6612 PyObject
* _argo0
= 0;
6613 PyObject
* _argo1
= 0;
6614 char *_kwnames
[] = { "self","style", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) return NULL
;
6639 } _resultobj
= Py_BuildValue("i",_result
);
6643 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6644 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6646 wxTextAttr
* _result
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self", NULL
};
6653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6665 _result
= (wxTextAttr
*) &_result_ref
;
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6670 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6671 _resultobj
= Py_BuildValue("s",_ptemp
);
6674 _resultobj
= Py_None
;
6679 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6680 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6686 PyObject
* _argo0
= 0;
6687 char *_kwnames
[] = { "self","x","y", NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) return NULL
;
6705 } _resultobj
= Py_BuildValue("l",_result
);
6709 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6710 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6711 PyObject
* _resultobj
;
6718 PyObject
* _argo0
= 0;
6719 char *_kwnames
[] = { "self","pos", NULL
};
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
6731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) return NULL
;
6743 } Py_INCREF(Py_None
);
6744 _resultobj
= Py_None
;
6747 o
= PyInt_FromLong((long) (*_arg2
));
6748 _resultobj
= t_output_helper(_resultobj
, o
);
6752 o
= PyInt_FromLong((long) (*_arg3
));
6753 _resultobj
= t_output_helper(_resultobj
, o
);
6758 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
6759 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
* _resultobj
;
6763 PyObject
* _argo0
= 0;
6764 char *_kwnames
[] = { "self","pos", NULL
};
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
6770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) return NULL
;
6782 } Py_INCREF(Py_None
);
6783 _resultobj
= Py_None
;
6787 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
6788 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6791 PyObject
* _argo0
= 0;
6792 char *_kwnames
[] = { "self", NULL
};
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
6798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 wxTextCtrl_Copy(_arg0
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) return NULL
;
6810 } Py_INCREF(Py_None
);
6811 _resultobj
= Py_None
;
6815 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
6816 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
* _resultobj
;
6819 PyObject
* _argo0
= 0;
6820 char *_kwnames
[] = { "self", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
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_Cut. Expected _wxTextCtrl_p.");
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 wxTextCtrl_Cut(_arg0
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) return NULL
;
6838 } Py_INCREF(Py_None
);
6839 _resultobj
= Py_None
;
6843 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
6844 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
* _resultobj
;
6847 PyObject
* _argo0
= 0;
6848 char *_kwnames
[] = { "self", NULL
};
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
6854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 wxTextCtrl_Paste(_arg0
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) return NULL
;
6866 } Py_INCREF(Py_None
);
6867 _resultobj
= Py_None
;
6871 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
6872 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
* _resultobj
;
6876 PyObject
* _argo0
= 0;
6877 char *_kwnames
[] = { "self", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) return NULL
;
6895 } _resultobj
= Py_BuildValue("i",_result
);
6899 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
6900 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6904 PyObject
* _argo0
= 0;
6905 char *_kwnames
[] = { "self", NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
6911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) return NULL
;
6923 } _resultobj
= Py_BuildValue("i",_result
);
6927 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
6928 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6932 PyObject
* _argo0
= 0;
6933 char *_kwnames
[] = { "self", NULL
};
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
6939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) return NULL
;
6951 } _resultobj
= Py_BuildValue("i",_result
);
6955 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
6956 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6959 PyObject
* _argo0
= 0;
6960 char *_kwnames
[] = { "self", NULL
};
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
6966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6974 wxTextCtrl_Undo(_arg0
);
6976 wxPyEndAllowThreads(__tstate
);
6977 if (PyErr_Occurred()) return NULL
;
6978 } Py_INCREF(Py_None
);
6979 _resultobj
= Py_None
;
6983 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
6984 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6987 PyObject
* _argo0
= 0;
6988 char *_kwnames
[] = { "self", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxTextCtrl_Redo(_arg0
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) return NULL
;
7006 } Py_INCREF(Py_None
);
7007 _resultobj
= Py_None
;
7011 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7012 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7016 PyObject
* _argo0
= 0;
7017 char *_kwnames
[] = { "self", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) return NULL
;
7035 } _resultobj
= Py_BuildValue("i",_result
);
7039 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7040 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7044 PyObject
* _argo0
= 0;
7045 char *_kwnames
[] = { "self", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) return NULL
;
7063 } _resultobj
= Py_BuildValue("i",_result
);
7067 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7068 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7072 PyObject
* _argo0
= 0;
7073 char *_kwnames
[] = { "self","pos", NULL
};
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) return NULL
;
7091 } Py_INCREF(Py_None
);
7092 _resultobj
= Py_None
;
7096 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7097 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
* _resultobj
;
7100 PyObject
* _argo0
= 0;
7101 char *_kwnames
[] = { "self", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) return NULL
;
7119 } Py_INCREF(Py_None
);
7120 _resultobj
= Py_None
;
7124 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7125 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
* _resultobj
;
7129 PyObject
* _argo0
= 0;
7130 char *_kwnames
[] = { "self", NULL
};
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) return NULL
;
7148 } _resultobj
= Py_BuildValue("l",_result
);
7152 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7153 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
* _resultobj
;
7157 PyObject
* _argo0
= 0;
7158 char *_kwnames
[] = { "self", NULL
};
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) return NULL
;
7176 } _resultobj
= Py_BuildValue("l",_result
);
7180 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7181 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self","from","to", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) return NULL
;
7205 } Py_INCREF(Py_None
);
7206 _resultobj
= Py_None
;
7210 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7211 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
* _resultobj
;
7214 PyObject
* _argo0
= 0;
7215 char *_kwnames
[] = { "self", NULL
};
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 wxTextCtrl_SelectAll(_arg0
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) return NULL
;
7233 } Py_INCREF(Py_None
);
7234 _resultobj
= Py_None
;
7238 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7239 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
* _resultobj
;
7243 PyObject
* _argo0
= 0;
7245 char *_kwnames
[] = { "self","editable", NULL
};
7248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7257 _arg1
= (bool ) tempbool1
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) return NULL
;
7264 } Py_INCREF(Py_None
);
7265 _resultobj
= Py_None
;
7269 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7270 self
->AppendText(text
);
7272 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7273 PyObject
* _resultobj
;
7276 PyObject
* _argo0
= 0;
7277 PyObject
* _obj1
= 0;
7278 char *_kwnames
[] = { "self","text", NULL
};
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7291 _arg1
= wxString_in_helper(_obj1
);
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 wxTextCtrl_write(_arg0
,*_arg1
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) return NULL
;
7301 } Py_INCREF(Py_None
);
7302 _resultobj
= Py_None
;
7310 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7311 return self
->GetValue().Mid(from
, to
-from
);
7313 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self","from","to", NULL
};
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) return NULL
;
7340 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7351 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7354 src
= (wxScrollBar
*) ptr
;
7355 dest
= (wxControl
*) src
;
7356 return (void *) dest
;
7359 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7362 src
= (wxScrollBar
*) ptr
;
7363 dest
= (wxWindow
*) src
;
7364 return (void *) dest
;
7367 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7370 src
= (wxScrollBar
*) ptr
;
7371 dest
= (wxEvtHandler
*) src
;
7372 return (void *) dest
;
7375 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7378 src
= (wxScrollBar
*) ptr
;
7379 dest
= (wxObject
*) src
;
7380 return (void *) dest
;
7383 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7384 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
* _resultobj
;
7386 wxScrollBar
* _result
;
7388 wxWindowID _arg1
= (wxWindowID
) -1;
7389 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7390 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7391 long _arg4
= (long ) wxSB_HORIZONTAL
;
7392 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7393 char * _arg6
= (char *) "scrollBar";
7394 PyObject
* _argo0
= 0;
7396 PyObject
* _obj2
= 0;
7398 PyObject
* _obj3
= 0;
7399 PyObject
* _argo5
= 0;
7400 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7416 if (! wxPoint_helper(_obj2
, &_arg2
))
7422 if (! wxSize_helper(_obj3
, &_arg3
))
7426 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) return NULL
;
7439 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7440 _resultobj
= Py_BuildValue("s",_ptemp
);
7443 _resultobj
= Py_None
;
7448 #define new_wxPreScrollBar() (new wxScrollBar())
7449 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
* _resultobj
;
7451 wxScrollBar
* _result
;
7452 char *_kwnames
[] = { NULL
};
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) return NULL
;
7465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7466 _resultobj
= Py_BuildValue("s",_ptemp
);
7469 _resultobj
= Py_None
;
7474 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7475 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
* _resultobj
;
7478 wxScrollBar
* _arg0
;
7480 wxWindowID _arg2
= (wxWindowID
) -1;
7481 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7482 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7483 long _arg5
= (long ) wxSB_HORIZONTAL
;
7484 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7485 char * _arg7
= (char *) "scrollBar";
7486 PyObject
* _argo0
= 0;
7487 PyObject
* _argo1
= 0;
7489 PyObject
* _obj3
= 0;
7491 PyObject
* _obj4
= 0;
7492 PyObject
* _argo6
= 0;
7493 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7515 if (! wxPoint_helper(_obj3
, &_arg3
))
7521 if (! wxSize_helper(_obj4
, &_arg4
))
7525 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7526 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) return NULL
;
7537 } _resultobj
= Py_BuildValue("i",_result
);
7541 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7542 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
* _resultobj
;
7545 wxScrollBar
* _arg0
;
7546 PyObject
* _argo0
= 0;
7547 char *_kwnames
[] = { "self", NULL
};
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 _result
= (int )wxScrollBar_GetRange(_arg0
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) return NULL
;
7565 } _resultobj
= Py_BuildValue("i",_result
);
7569 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7570 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
* _resultobj
;
7573 wxScrollBar
* _arg0
;
7574 PyObject
* _argo0
= 0;
7575 char *_kwnames
[] = { "self", NULL
};
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) return NULL
;
7593 } _resultobj
= Py_BuildValue("i",_result
);
7597 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7598 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
* _resultobj
;
7601 wxScrollBar
* _arg0
;
7602 PyObject
* _argo0
= 0;
7603 char *_kwnames
[] = { "self", NULL
};
7606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) return NULL
;
7621 } _resultobj
= Py_BuildValue("i",_result
);
7625 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7626 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
* _resultobj
;
7629 wxScrollBar
* _arg0
;
7630 PyObject
* _argo0
= 0;
7631 char *_kwnames
[] = { "self", NULL
};
7634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) return NULL
;
7649 } _resultobj
= Py_BuildValue("i",_result
);
7653 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
7654 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
* _resultobj
;
7657 wxScrollBar
* _arg0
;
7658 PyObject
* _argo0
= 0;
7659 char *_kwnames
[] = { "self", NULL
};
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
7665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) return NULL
;
7677 } _resultobj
= Py_BuildValue("i",_result
);
7681 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
7682 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
* _resultobj
;
7684 wxScrollBar
* _arg0
;
7686 PyObject
* _argo0
= 0;
7687 char *_kwnames
[] = { "self","viewStart", NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
7693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) return NULL
;
7705 } Py_INCREF(Py_None
);
7706 _resultobj
= Py_None
;
7710 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7711 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
* _resultobj
;
7713 wxScrollBar
* _arg0
;
7718 bool _arg5
= (bool ) TRUE
;
7719 PyObject
* _argo0
= 0;
7720 int tempbool5
= (int) TRUE
;
7721 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
7727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
7733 _arg5
= (bool ) tempbool5
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) return NULL
;
7740 } Py_INCREF(Py_None
);
7741 _resultobj
= Py_None
;
7745 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
7748 src
= (wxSpinButton
*) ptr
;
7749 dest
= (wxControl
*) src
;
7750 return (void *) dest
;
7753 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
7756 src
= (wxSpinButton
*) ptr
;
7757 dest
= (wxWindow
*) src
;
7758 return (void *) dest
;
7761 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
7764 src
= (wxSpinButton
*) ptr
;
7765 dest
= (wxEvtHandler
*) src
;
7766 return (void *) dest
;
7769 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
7772 src
= (wxSpinButton
*) ptr
;
7773 dest
= (wxObject
*) src
;
7774 return (void *) dest
;
7777 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7778 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
* _resultobj
;
7780 wxSpinButton
* _result
;
7782 wxWindowID _arg1
= (wxWindowID
) -1;
7783 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7784 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7785 long _arg4
= (long ) wxSP_HORIZONTAL
;
7786 char * _arg5
= (char *) "spinButton";
7787 PyObject
* _argo0
= 0;
7789 PyObject
* _obj2
= 0;
7791 PyObject
* _obj3
= 0;
7792 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
7799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
7808 if (! wxPoint_helper(_obj2
, &_arg2
))
7814 if (! wxSize_helper(_obj3
, &_arg3
))
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) return NULL
;
7824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
7825 _resultobj
= Py_BuildValue("s",_ptemp
);
7828 _resultobj
= Py_None
;
7833 #define new_wxPreSpinButton() (new wxSpinButton())
7834 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
* _resultobj
;
7836 wxSpinButton
* _result
;
7837 char *_kwnames
[] = { NULL
};
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 _result
= (wxSpinButton
*)new_wxPreSpinButton();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) return NULL
;
7850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
7851 _resultobj
= Py_BuildValue("s",_ptemp
);
7854 _resultobj
= Py_None
;
7859 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7860 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
* _resultobj
;
7863 wxSpinButton
* _arg0
;
7865 wxWindowID _arg2
= (wxWindowID
) -1;
7866 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7867 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7868 long _arg5
= (long ) wxSP_HORIZONTAL
;
7869 char * _arg6
= (char *) "spinButton";
7870 PyObject
* _argo0
= 0;
7871 PyObject
* _argo1
= 0;
7873 PyObject
* _obj3
= 0;
7875 PyObject
* _obj4
= 0;
7876 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
7882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
7884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
7889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
7898 if (! wxPoint_helper(_obj3
, &_arg3
))
7904 if (! wxSize_helper(_obj4
, &_arg4
))
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) return NULL
;
7913 } _resultobj
= Py_BuildValue("i",_result
);
7917 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
7918 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7921 wxSpinButton
* _arg0
;
7922 PyObject
* _argo0
= 0;
7923 char *_kwnames
[] = { "self", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 _result
= (int )wxSpinButton_GetMax(_arg0
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) return NULL
;
7941 } _resultobj
= Py_BuildValue("i",_result
);
7945 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
7946 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
* _resultobj
;
7949 wxSpinButton
* _arg0
;
7950 PyObject
* _argo0
= 0;
7951 char *_kwnames
[] = { "self", NULL
};
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
7957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
7959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 _result
= (int )wxSpinButton_GetMin(_arg0
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) return NULL
;
7969 } _resultobj
= Py_BuildValue("i",_result
);
7973 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
7974 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
* _resultobj
;
7977 wxSpinButton
* _arg0
;
7978 PyObject
* _argo0
= 0;
7979 char *_kwnames
[] = { "self", NULL
};
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
7985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
7987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 _result
= (int )wxSpinButton_GetValue(_arg0
);
7995 wxPyEndAllowThreads(__tstate
);
7996 if (PyErr_Occurred()) return NULL
;
7997 } _resultobj
= Py_BuildValue("i",_result
);
8001 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8002 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
* _resultobj
;
8004 wxSpinButton
* _arg0
;
8007 PyObject
* _argo0
= 0;
8008 char *_kwnames
[] = { "self","min","max", NULL
};
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8022 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) return NULL
;
8026 } Py_INCREF(Py_None
);
8027 _resultobj
= Py_None
;
8031 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8032 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
* _resultobj
;
8034 wxSpinButton
* _arg0
;
8036 PyObject
* _argo0
= 0;
8037 char *_kwnames
[] = { "self","value", NULL
};
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 wxSpinButton_SetValue(_arg0
,_arg1
);
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) return NULL
;
8055 } Py_INCREF(Py_None
);
8056 _resultobj
= Py_None
;
8060 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8061 wxStaticBitmap
*src
;
8063 src
= (wxStaticBitmap
*) ptr
;
8064 dest
= (wxControl
*) src
;
8065 return (void *) dest
;
8068 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8069 wxStaticBitmap
*src
;
8071 src
= (wxStaticBitmap
*) ptr
;
8072 dest
= (wxWindow
*) src
;
8073 return (void *) dest
;
8076 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8077 wxStaticBitmap
*src
;
8079 src
= (wxStaticBitmap
*) ptr
;
8080 dest
= (wxEvtHandler
*) src
;
8081 return (void *) dest
;
8084 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8085 wxStaticBitmap
*src
;
8087 src
= (wxStaticBitmap
*) ptr
;
8088 dest
= (wxObject
*) src
;
8089 return (void *) dest
;
8092 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8093 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
* _resultobj
;
8095 wxStaticBitmap
* _result
;
8099 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8100 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8101 long _arg5
= (long ) 0;
8102 char * _arg6
= (char *) "staticBitmap";
8103 PyObject
* _argo0
= 0;
8104 PyObject
* _argo2
= 0;
8106 PyObject
* _obj3
= 0;
8108 PyObject
* _obj4
= 0;
8109 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8123 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8132 if (! wxPoint_helper(_obj3
, &_arg3
))
8138 if (! wxSize_helper(_obj4
, &_arg4
))
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) return NULL
;
8148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8149 _resultobj
= Py_BuildValue("s",_ptemp
);
8152 _resultobj
= Py_None
;
8157 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8158 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
* _resultobj
;
8160 wxStaticBitmap
* _result
;
8161 char *_kwnames
[] = { NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) return NULL
;
8174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8175 _resultobj
= Py_BuildValue("s",_ptemp
);
8178 _resultobj
= Py_None
;
8183 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8184 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
* _resultobj
;
8187 wxStaticBitmap
* _arg0
;
8191 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8192 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8193 long _arg6
= (long ) 0;
8194 char * _arg7
= (char *) "staticBitmap";
8195 PyObject
* _argo0
= 0;
8196 PyObject
* _argo1
= 0;
8197 PyObject
* _argo3
= 0;
8199 PyObject
* _obj4
= 0;
8201 PyObject
* _obj5
= 0;
8202 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8222 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8223 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8231 if (! wxPoint_helper(_obj4
, &_arg4
))
8237 if (! wxSize_helper(_obj5
, &_arg5
))
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) return NULL
;
8246 } _resultobj
= Py_BuildValue("i",_result
);
8250 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8251 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
* _resultobj
;
8254 wxStaticBitmap
* _arg0
;
8255 PyObject
* _argo0
= 0;
8256 char *_kwnames
[] = { "self", NULL
};
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) return NULL
;
8275 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8276 _resultobj
= Py_BuildValue("s",_ptemp
);
8280 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8281 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
* _resultobj
;
8283 wxStaticBitmap
* _arg0
;
8285 PyObject
* _argo0
= 0;
8286 PyObject
* _argo1
= 0;
8287 char *_kwnames
[] = { "self","bitmap", NULL
};
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) return NULL
;
8312 } Py_INCREF(Py_None
);
8313 _resultobj
= Py_None
;
8317 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8318 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
* _resultobj
;
8320 wxStaticBitmap
* _arg0
;
8322 PyObject
* _argo0
= 0;
8323 PyObject
* _argo1
= 0;
8324 char *_kwnames
[] = { "self","icon", NULL
};
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8337 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) return NULL
;
8349 } Py_INCREF(Py_None
);
8350 _resultobj
= Py_None
;
8354 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8357 src
= (wxRadioBox
*) ptr
;
8358 dest
= (wxControl
*) src
;
8359 return (void *) dest
;
8362 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8365 src
= (wxRadioBox
*) ptr
;
8366 dest
= (wxWindow
*) src
;
8367 return (void *) dest
;
8370 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8373 src
= (wxRadioBox
*) ptr
;
8374 dest
= (wxEvtHandler
*) src
;
8375 return (void *) dest
;
8378 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8381 src
= (wxRadioBox
*) ptr
;
8382 dest
= (wxObject
*) src
;
8383 return (void *) dest
;
8386 #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))
8387 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
* _resultobj
;
8389 wxRadioBox
* _result
;
8393 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8394 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8395 int _arg5
= (int ) 0;
8396 wxString
* _arg6
= (wxString
*) NULL
;
8397 int _arg7
= (int ) 0;
8398 long _arg8
= (long ) wxRA_HORIZONTAL
;
8399 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8400 char * _arg10
= (char *) "radioBox";
8401 PyObject
* _argo0
= 0;
8402 PyObject
* _obj2
= 0;
8404 PyObject
* _obj3
= 0;
8406 PyObject
* _obj4
= 0;
8407 PyObject
* _obj6
= 0;
8408 PyObject
* _argo9
= 0;
8409 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8423 _arg2
= wxString_in_helper(_obj2
);
8430 if (! wxPoint_helper(_obj3
, &_arg3
))
8436 if (! wxSize_helper(_obj4
, &_arg4
))
8441 _arg6
= wxString_LIST_helper(_obj6
);
8442 if (_arg6
== NULL
) {
8447 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8448 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8455 _arg5
= PyList_Size(_obj6
);
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) return NULL
;
8468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8469 _resultobj
= Py_BuildValue("s",_ptemp
);
8472 _resultobj
= Py_None
;
8484 #define new_wxPreRadioBox() (new wxRadioBox())
8485 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
* _resultobj
;
8487 wxRadioBox
* _result
;
8488 char *_kwnames
[] = { NULL
};
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) return NULL
;
8501 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8502 _resultobj
= Py_BuildValue("s",_ptemp
);
8505 _resultobj
= Py_None
;
8510 #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))
8511 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
* _resultobj
;
8518 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8519 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8520 int _arg6
= (int ) 0;
8521 wxString
* _arg7
= (wxString
*) NULL
;
8522 int _arg8
= (int ) 0;
8523 long _arg9
= (long ) wxRA_HORIZONTAL
;
8524 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8525 char * _arg11
= (char *) "radioBox";
8526 PyObject
* _argo0
= 0;
8527 PyObject
* _argo1
= 0;
8528 PyObject
* _obj3
= 0;
8530 PyObject
* _obj4
= 0;
8532 PyObject
* _obj5
= 0;
8533 PyObject
* _obj7
= 0;
8534 PyObject
* _argo10
= 0;
8535 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8555 _arg3
= wxString_in_helper(_obj3
);
8562 if (! wxPoint_helper(_obj4
, &_arg4
))
8568 if (! wxSize_helper(_obj5
, &_arg5
))
8573 _arg7
= wxString_LIST_helper(_obj7
);
8574 if (_arg7
== NULL
) {
8579 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8580 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8587 _arg6
= PyList_Size(_obj7
);
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) return NULL
;
8599 } _resultobj
= Py_BuildValue("i",_result
);
8610 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8611 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
* _resultobj
;
8615 PyObject
* _argo0
= 0;
8617 char *_kwnames
[] = { "self","enable", NULL
};
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8629 _arg1
= (bool ) tempbool1
;
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 wxRadioBox_Enable(_arg0
,_arg1
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) return NULL
;
8636 } Py_INCREF(Py_None
);
8637 _resultobj
= Py_None
;
8641 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8642 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
* _resultobj
;
8647 PyObject
* _argo0
= 0;
8649 char *_kwnames
[] = { "self","n","enable", NULL
};
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8661 _arg2
= (bool ) tempbool2
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) return NULL
;
8668 } Py_INCREF(Py_None
);
8669 _resultobj
= Py_None
;
8673 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
8674 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
* _resultobj
;
8679 PyObject
* _argo0
= 0;
8680 PyObject
* _obj1
= 0;
8681 char *_kwnames
[] = { "self","string", NULL
};
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
8687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8694 _arg1
= wxString_in_helper(_obj1
);
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
8702 wxPyEndAllowThreads(__tstate
);
8703 if (PyErr_Occurred()) return NULL
;
8704 } _resultobj
= Py_BuildValue("i",_result
);
8712 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
8713 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
* _resultobj
;
8718 PyObject
* _argo0
= 0;
8719 char *_kwnames
[] = { "self","n", NULL
};
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
8725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
8732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
8735 wxPyEndAllowThreads(__tstate
);
8736 if (PyErr_Occurred()) return NULL
;
8739 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8741 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8750 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
8751 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
* _resultobj
;
8756 PyObject
* _argo0
= 0;
8757 PyObject
* _obj2
= 0;
8758 char *_kwnames
[] = { "self","n","label", NULL
};
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
8771 _arg2
= wxString_in_helper(_obj2
);
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) return NULL
;
8781 } Py_INCREF(Py_None
);
8782 _resultobj
= Py_None
;
8790 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
8791 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
* _resultobj
;
8795 PyObject
* _argo0
= 0;
8796 char *_kwnames
[] = { "self", NULL
};
8799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
8802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) return NULL
;
8814 } _resultobj
= Py_BuildValue("i",_result
);
8818 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
8819 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
* _resultobj
;
8823 PyObject
* _argo0
= 0;
8824 char *_kwnames
[] = { "self", NULL
};
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
8830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) return NULL
;
8842 } _resultobj
= Py_BuildValue("i",_result
);
8846 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
8847 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
* _resultobj
;
8851 PyObject
* _argo0
= 0;
8852 char *_kwnames
[] = { "self", NULL
};
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
8858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 _result
= (int )wxRadioBox_GetSelection(_arg0
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) return NULL
;
8870 } _resultobj
= Py_BuildValue("i",_result
);
8874 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
8875 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
* _resultobj
;
8879 PyObject
* _argo0
= 0;
8880 char *_kwnames
[] = { "self", NULL
};
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
8886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) return NULL
;
8900 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8902 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8911 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
8912 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
* _resultobj
;
8916 PyObject
* _argo0
= 0;
8917 char *_kwnames
[] = { "self", NULL
};
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
8923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 _result
= (int )wxRadioBox_GetCount(_arg0
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) return NULL
;
8935 } _resultobj
= Py_BuildValue("i",_result
);
8939 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
8940 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
* _resultobj
;
8944 PyObject
* _argo0
= 0;
8945 char *_kwnames
[] = { "self","n", NULL
};
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
8951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 wxRadioBox_SetSelection(_arg0
,_arg1
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) return NULL
;
8963 } Py_INCREF(Py_None
);
8964 _resultobj
= Py_None
;
8968 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
8969 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
* _resultobj
;
8973 PyObject
* _argo0
= 0;
8974 PyObject
* _obj1
= 0;
8975 char *_kwnames
[] = { "self","string", NULL
};
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
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_SetStringSelection. Expected _wxRadioBox_p.");
8988 _arg1
= wxString_in_helper(_obj1
);
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) return NULL
;
8998 } Py_INCREF(Py_None
);
8999 _resultobj
= Py_None
;
9007 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9008 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
* _resultobj
;
9012 PyObject
* _argo0
= 0;
9014 char *_kwnames
[] = { "self","show", NULL
};
9017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9026 _arg1
= (bool ) tempbool1
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 wxRadioBox_Show(_arg0
,_arg1
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) return NULL
;
9033 } Py_INCREF(Py_None
);
9034 _resultobj
= Py_None
;
9038 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9039 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
* _resultobj
;
9044 PyObject
* _argo0
= 0;
9046 char *_kwnames
[] = { "self","item","show", NULL
};
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9058 _arg2
= (bool ) tempbool2
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) return NULL
;
9065 } Py_INCREF(Py_None
);
9066 _resultobj
= Py_None
;
9070 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9073 src
= (wxRadioButton
*) ptr
;
9074 dest
= (wxControl
*) src
;
9075 return (void *) dest
;
9078 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9081 src
= (wxRadioButton
*) ptr
;
9082 dest
= (wxWindow
*) src
;
9083 return (void *) dest
;
9086 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9089 src
= (wxRadioButton
*) ptr
;
9090 dest
= (wxEvtHandler
*) src
;
9091 return (void *) dest
;
9094 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9097 src
= (wxRadioButton
*) ptr
;
9098 dest
= (wxObject
*) src
;
9099 return (void *) dest
;
9102 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9103 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
* _resultobj
;
9105 wxRadioButton
* _result
;
9109 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9110 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9111 long _arg5
= (long ) 0;
9112 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9113 char * _arg7
= (char *) "radioButton";
9114 PyObject
* _argo0
= 0;
9115 PyObject
* _obj2
= 0;
9117 PyObject
* _obj3
= 0;
9119 PyObject
* _obj4
= 0;
9120 PyObject
* _argo6
= 0;
9121 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9135 _arg2
= wxString_in_helper(_obj2
);
9142 if (! wxPoint_helper(_obj3
, &_arg3
))
9148 if (! wxSize_helper(_obj4
, &_arg4
))
9152 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9153 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9160 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) return NULL
;
9165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9166 _resultobj
= Py_BuildValue("s",_ptemp
);
9169 _resultobj
= Py_None
;
9178 #define new_wxPreRadioButton() (new wxRadioButton())
9179 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
* _resultobj
;
9181 wxRadioButton
* _result
;
9182 char *_kwnames
[] = { NULL
};
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) return NULL
;
9195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9196 _resultobj
= Py_BuildValue("s",_ptemp
);
9199 _resultobj
= Py_None
;
9204 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9205 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
* _resultobj
;
9208 wxRadioButton
* _arg0
;
9212 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9213 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9214 long _arg6
= (long ) 0;
9215 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9216 char * _arg8
= (char *) "radioButton";
9217 PyObject
* _argo0
= 0;
9218 PyObject
* _argo1
= 0;
9219 PyObject
* _obj3
= 0;
9221 PyObject
* _obj4
= 0;
9223 PyObject
* _obj5
= 0;
9224 PyObject
* _argo7
= 0;
9225 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9245 _arg3
= wxString_in_helper(_obj3
);
9252 if (! wxPoint_helper(_obj4
, &_arg4
))
9258 if (! wxSize_helper(_obj5
, &_arg5
))
9262 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9263 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) return NULL
;
9274 } _resultobj
= Py_BuildValue("i",_result
);
9282 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9283 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
* _resultobj
;
9286 wxRadioButton
* _arg0
;
9287 PyObject
* _argo0
= 0;
9288 char *_kwnames
[] = { "self", NULL
};
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) return NULL
;
9306 } _resultobj
= Py_BuildValue("i",_result
);
9310 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9311 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
* _resultobj
;
9313 wxRadioButton
* _arg0
;
9315 PyObject
* _argo0
= 0;
9317 char *_kwnames
[] = { "self","value", NULL
};
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9329 _arg1
= (bool ) tempbool1
;
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 wxRadioButton_SetValue(_arg0
,_arg1
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) return NULL
;
9336 } Py_INCREF(Py_None
);
9337 _resultobj
= Py_None
;
9341 static void *SwigwxSliderTowxControl(void *ptr
) {
9344 src
= (wxSlider
*) ptr
;
9345 dest
= (wxControl
*) src
;
9346 return (void *) dest
;
9349 static void *SwigwxSliderTowxWindow(void *ptr
) {
9352 src
= (wxSlider
*) ptr
;
9353 dest
= (wxWindow
*) src
;
9354 return (void *) dest
;
9357 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9360 src
= (wxSlider
*) ptr
;
9361 dest
= (wxEvtHandler
*) src
;
9362 return (void *) dest
;
9365 static void *SwigwxSliderTowxObject(void *ptr
) {
9368 src
= (wxSlider
*) ptr
;
9369 dest
= (wxObject
*) src
;
9370 return (void *) dest
;
9373 #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))
9374 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
* _resultobj
;
9382 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9383 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9384 long _arg7
= (long ) wxSL_HORIZONTAL
;
9385 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9386 char * _arg9
= (char *) "slider";
9387 PyObject
* _argo0
= 0;
9389 PyObject
* _obj5
= 0;
9391 PyObject
* _obj6
= 0;
9392 PyObject
* _argo8
= 0;
9393 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9409 if (! wxPoint_helper(_obj5
, &_arg5
))
9415 if (! wxSize_helper(_obj6
, &_arg6
))
9419 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9420 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9429 wxPyEndAllowThreads(__tstate
);
9430 if (PyErr_Occurred()) return NULL
;
9432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9433 _resultobj
= Py_BuildValue("s",_ptemp
);
9436 _resultobj
= Py_None
;
9441 #define new_wxPreSlider() (new wxSlider())
9442 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
* _resultobj
;
9445 char *_kwnames
[] = { NULL
};
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9453 _result
= (wxSlider
*)new_wxPreSlider();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) return NULL
;
9458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9459 _resultobj
= Py_BuildValue("s",_ptemp
);
9462 _resultobj
= Py_None
;
9467 #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))
9468 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9477 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9478 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9479 long _arg8
= (long ) wxSL_HORIZONTAL
;
9480 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9481 char * _arg10
= (char *) "slider";
9482 PyObject
* _argo0
= 0;
9483 PyObject
* _argo1
= 0;
9485 PyObject
* _obj6
= 0;
9487 PyObject
* _obj7
= 0;
9488 PyObject
* _argo9
= 0;
9489 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9511 if (! wxPoint_helper(_obj6
, &_arg6
))
9517 if (! wxSize_helper(_obj7
, &_arg7
))
9521 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9522 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) return NULL
;
9533 } _resultobj
= Py_BuildValue("i",_result
);
9537 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9538 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9541 PyObject
* _argo0
= 0;
9542 char *_kwnames
[] = { "self", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 wxSlider_ClearSel(_arg0
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) return NULL
;
9560 } Py_INCREF(Py_None
);
9561 _resultobj
= Py_None
;
9565 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9566 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
* _resultobj
;
9569 PyObject
* _argo0
= 0;
9570 char *_kwnames
[] = { "self", NULL
};
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 wxSlider_ClearTicks(_arg0
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) return NULL
;
9588 } Py_INCREF(Py_None
);
9589 _resultobj
= Py_None
;
9593 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9594 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
* _resultobj
;
9598 PyObject
* _argo0
= 0;
9599 char *_kwnames
[] = { "self", NULL
};
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
9605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 _result
= (int )wxSlider_GetLineSize(_arg0
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) return NULL
;
9617 } _resultobj
= Py_BuildValue("i",_result
);
9621 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
9622 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
* _resultobj
;
9626 PyObject
* _argo0
= 0;
9627 char *_kwnames
[] = { "self", NULL
};
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
9633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 _result
= (int )wxSlider_GetMax(_arg0
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) return NULL
;
9645 } _resultobj
= Py_BuildValue("i",_result
);
9649 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
9650 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
* _resultobj
;
9654 PyObject
* _argo0
= 0;
9655 char *_kwnames
[] = { "self", NULL
};
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
9661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 _result
= (int )wxSlider_GetMin(_arg0
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) return NULL
;
9673 } _resultobj
= Py_BuildValue("i",_result
);
9677 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
9678 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
* _resultobj
;
9682 PyObject
* _argo0
= 0;
9683 char *_kwnames
[] = { "self", NULL
};
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
9689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 _result
= (int )wxSlider_GetPageSize(_arg0
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) return NULL
;
9701 } _resultobj
= Py_BuildValue("i",_result
);
9705 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
9706 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
* _resultobj
;
9710 PyObject
* _argo0
= 0;
9711 char *_kwnames
[] = { "self", NULL
};
9714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
9717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 _result
= (int )wxSlider_GetSelEnd(_arg0
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) return NULL
;
9729 } _resultobj
= Py_BuildValue("i",_result
);
9733 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
9734 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
* _resultobj
;
9738 PyObject
* _argo0
= 0;
9739 char *_kwnames
[] = { "self", NULL
};
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
9745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 _result
= (int )wxSlider_GetSelStart(_arg0
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) return NULL
;
9757 } _resultobj
= Py_BuildValue("i",_result
);
9761 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
9762 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
* _resultobj
;
9766 PyObject
* _argo0
= 0;
9767 char *_kwnames
[] = { "self", NULL
};
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
9773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 _result
= (int )wxSlider_GetThumbLength(_arg0
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) return NULL
;
9785 } _resultobj
= Py_BuildValue("i",_result
);
9789 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
9790 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
* _resultobj
;
9794 PyObject
* _argo0
= 0;
9795 char *_kwnames
[] = { "self", NULL
};
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
9801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 _result
= (int )wxSlider_GetTickFreq(_arg0
);
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) return NULL
;
9813 } _resultobj
= Py_BuildValue("i",_result
);
9817 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
9818 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
* _resultobj
;
9822 PyObject
* _argo0
= 0;
9823 char *_kwnames
[] = { "self", NULL
};
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
9829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 _result
= (int )wxSlider_GetValue(_arg0
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) return NULL
;
9841 } _resultobj
= Py_BuildValue("i",_result
);
9845 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
9846 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
* _resultobj
;
9851 PyObject
* _argo0
= 0;
9852 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) return NULL
;
9870 } Py_INCREF(Py_None
);
9871 _resultobj
= Py_None
;
9875 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
9876 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
* _resultobj
;
9881 PyObject
* _argo0
= 0;
9882 char *_kwnames
[] = { "self","n","pos", NULL
};
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) return NULL
;
9900 } Py_INCREF(Py_None
);
9901 _resultobj
= Py_None
;
9905 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
9906 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
* _resultobj
;
9910 PyObject
* _argo0
= 0;
9911 char *_kwnames
[] = { "self","lineSize", NULL
};
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
9917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 wxSlider_SetLineSize(_arg0
,_arg1
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) return NULL
;
9929 } Py_INCREF(Py_None
);
9930 _resultobj
= Py_None
;
9934 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
9935 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
* _resultobj
;
9939 PyObject
* _argo0
= 0;
9940 char *_kwnames
[] = { "self","pageSize", NULL
};
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
9946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 wxSlider_SetPageSize(_arg0
,_arg1
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) return NULL
;
9958 } Py_INCREF(Py_None
);
9959 _resultobj
= Py_None
;
9963 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
9964 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
* _resultobj
;
9969 PyObject
* _argo0
= 0;
9970 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
9976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
9983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9984 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
9986 wxPyEndAllowThreads(__tstate
);
9987 if (PyErr_Occurred()) return NULL
;
9988 } Py_INCREF(Py_None
);
9989 _resultobj
= Py_None
;
9993 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
9994 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
* _resultobj
;
9998 PyObject
* _argo0
= 0;
9999 char *_kwnames
[] = { "self","len", NULL
};
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 wxSlider_SetThumbLength(_arg0
,_arg1
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) return NULL
;
10017 } Py_INCREF(Py_None
);
10018 _resultobj
= Py_None
;
10022 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10023 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
* _resultobj
;
10027 PyObject
* _argo0
= 0;
10028 char *_kwnames
[] = { "self","tickPos", NULL
};
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 wxSlider_SetTick(_arg0
,_arg1
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) return NULL
;
10046 } Py_INCREF(Py_None
);
10047 _resultobj
= Py_None
;
10051 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10052 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
* _resultobj
;
10056 PyObject
* _argo0
= 0;
10057 char *_kwnames
[] = { "self","value", NULL
};
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 wxSlider_SetValue(_arg0
,_arg1
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) return NULL
;
10075 } Py_INCREF(Py_None
);
10076 _resultobj
= Py_None
;
10080 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10082 wxSpinButton
*dest
;
10083 src
= (wxSpinCtrl
*) ptr
;
10084 dest
= (wxSpinButton
*) src
;
10085 return (void *) dest
;
10088 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10091 src
= (wxSpinCtrl
*) ptr
;
10092 dest
= (wxControl
*) src
;
10093 return (void *) dest
;
10096 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10099 src
= (wxSpinCtrl
*) ptr
;
10100 dest
= (wxWindow
*) src
;
10101 return (void *) dest
;
10104 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10106 wxEvtHandler
*dest
;
10107 src
= (wxSpinCtrl
*) ptr
;
10108 dest
= (wxEvtHandler
*) src
;
10109 return (void *) dest
;
10112 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10115 src
= (wxSpinCtrl
*) ptr
;
10116 dest
= (wxObject
*) src
;
10117 return (void *) dest
;
10120 #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))
10121 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
* _resultobj
;
10123 wxSpinCtrl
* _result
;
10125 wxWindowID _arg1
= (wxWindowID
) -1;
10126 char * _arg2
= (char *) "";
10127 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10128 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10129 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10130 int _arg6
= (int ) 0;
10131 int _arg7
= (int ) 100;
10132 int _arg8
= (int ) 0;
10133 char * _arg9
= (char *) "wxSpinCtrl";
10134 PyObject
* _argo0
= 0;
10136 PyObject
* _obj3
= 0;
10138 PyObject
* _obj4
= 0;
10139 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10155 if (! wxPoint_helper(_obj3
, &_arg3
))
10161 if (! wxSize_helper(_obj4
, &_arg4
))
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) return NULL
;
10171 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10172 _resultobj
= Py_BuildValue("s",_ptemp
);
10174 Py_INCREF(Py_None
);
10175 _resultobj
= Py_None
;
10180 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10181 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
* _resultobj
;
10183 wxSpinCtrl
* _result
;
10184 char *_kwnames
[] = { NULL
};
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) return NULL
;
10197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10198 _resultobj
= Py_BuildValue("s",_ptemp
);
10200 Py_INCREF(Py_None
);
10201 _resultobj
= Py_None
;
10206 #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))
10207 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
* _resultobj
;
10210 wxSpinCtrl
* _arg0
;
10212 wxWindowID _arg2
= (wxWindowID
) -1;
10213 char * _arg3
= (char *) "";
10214 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10215 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10216 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10217 int _arg7
= (int ) 0;
10218 int _arg8
= (int ) 100;
10219 int _arg9
= (int ) 0;
10220 char * _arg10
= (char *) "wxSpinCtrl";
10221 PyObject
* _argo0
= 0;
10222 PyObject
* _argo1
= 0;
10224 PyObject
* _obj4
= 0;
10226 PyObject
* _obj5
= 0;
10227 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10249 if (! wxPoint_helper(_obj4
, &_arg4
))
10255 if (! wxSize_helper(_obj5
, &_arg5
))
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) return NULL
;
10264 } _resultobj
= Py_BuildValue("i",_result
);
10268 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10269 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
* _resultobj
;
10272 wxSpinCtrl
* _arg0
;
10273 PyObject
* _argo0
= 0;
10274 char *_kwnames
[] = { "self", NULL
};
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) return NULL
;
10292 } _resultobj
= Py_BuildValue("i",_result
);
10296 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10297 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
* _resultobj
;
10300 wxSpinCtrl
* _arg0
;
10301 PyObject
* _argo0
= 0;
10302 char *_kwnames
[] = { "self", NULL
};
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) return NULL
;
10320 } _resultobj
= Py_BuildValue("i",_result
);
10324 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10325 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
* _resultobj
;
10328 wxSpinCtrl
* _arg0
;
10329 PyObject
* _argo0
= 0;
10330 char *_kwnames
[] = { "self", NULL
};
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) return NULL
;
10348 } _resultobj
= Py_BuildValue("i",_result
);
10352 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10353 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
* _resultobj
;
10355 wxSpinCtrl
* _arg0
;
10358 PyObject
* _argo0
= 0;
10359 char *_kwnames
[] = { "self","min","max", NULL
};
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) return NULL
;
10377 } Py_INCREF(Py_None
);
10378 _resultobj
= Py_None
;
10382 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10383 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
* _resultobj
;
10385 wxSpinCtrl
* _arg0
;
10387 PyObject
* _argo0
= 0;
10388 char *_kwnames
[] = { "self","value", NULL
};
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) return NULL
;
10406 } Py_INCREF(Py_None
);
10407 _resultobj
= Py_None
;
10411 static PyMethodDef controlscMethods
[] = {
10412 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10413 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10414 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10415 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10416 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10417 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10418 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10419 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10420 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10421 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
10422 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10423 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10424 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10425 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10426 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10427 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10428 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10429 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10430 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10431 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
10432 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
10433 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10434 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10435 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10436 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10437 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
10438 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
10439 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
10440 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
10441 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
10442 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10443 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10444 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10445 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10446 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10447 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
10448 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
10449 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10450 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10451 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10452 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10453 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10454 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
10455 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10456 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10457 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10458 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10459 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
10460 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10461 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10462 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10463 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10464 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10465 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10466 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10467 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
10468 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10469 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10470 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10471 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10472 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10473 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10474 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10475 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10476 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10477 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10478 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10479 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10480 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
10481 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10482 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10483 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10484 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10485 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10486 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
10487 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10488 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10489 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10490 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
10491 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10492 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10493 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10494 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10495 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10496 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10497 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10498 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
10499 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
10500 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
10501 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
10502 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
10503 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
10504 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
10505 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10506 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10507 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10508 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
10509 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
10510 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
10511 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10512 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10513 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10514 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
10515 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
10516 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
10517 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
10518 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10519 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10520 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10521 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10522 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10523 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10524 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10525 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
10526 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
10527 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
10528 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
10529 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
10530 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10531 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10532 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10533 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10534 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10535 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10536 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
10537 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
10538 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10539 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10540 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10541 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10542 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10543 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10544 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10545 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10546 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10547 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10548 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10549 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10550 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
10551 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10552 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10553 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10554 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10555 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10556 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10557 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10558 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
10559 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
10560 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
10561 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
10562 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10563 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10564 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10565 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
10566 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10567 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10568 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
10569 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
10570 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10571 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10572 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
10573 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10574 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10575 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
10576 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10577 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10578 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10579 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10580 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10581 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10582 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10583 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10584 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10585 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10586 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10587 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10588 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10589 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
10590 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
10591 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
10592 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10593 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10594 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
10595 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10596 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10597 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10598 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10599 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10600 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10601 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10602 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10603 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10604 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10605 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10606 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10607 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10608 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10609 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10610 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10611 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10612 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10613 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10614 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10615 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
10616 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
10617 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
10618 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10619 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10620 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10621 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10622 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10623 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
10624 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
10625 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
10626 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10627 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10628 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10629 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10630 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10631 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10632 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10633 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10634 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10635 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10636 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10637 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
10638 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10639 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10640 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
10641 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10642 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
10643 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
10644 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
10645 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
10646 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
10647 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
10648 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10649 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10650 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
10651 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10652 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10653 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10654 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10655 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10656 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10657 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10658 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
10659 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10660 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
10661 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
10668 * This table is used by the pointer type-checker
10670 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10671 { "_signed_long","_long",0},
10672 { "_wxPrintQuality","_wxCoord",0},
10673 { "_wxPrintQuality","_int",0},
10674 { "_wxPrintQuality","_signed_int",0},
10675 { "_wxPrintQuality","_unsigned_int",0},
10676 { "_wxPrintQuality","_wxWindowID",0},
10677 { "_wxPrintQuality","_uint",0},
10678 { "_wxPrintQuality","_EBool",0},
10679 { "_wxPrintQuality","_size_t",0},
10680 { "_wxPrintQuality","_time_t",0},
10681 { "_byte","_unsigned_char",0},
10682 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
10683 { "_long","_unsigned_long",0},
10684 { "_long","_signed_long",0},
10685 { "_size_t","_wxCoord",0},
10686 { "_size_t","_wxPrintQuality",0},
10687 { "_size_t","_time_t",0},
10688 { "_size_t","_unsigned_int",0},
10689 { "_size_t","_int",0},
10690 { "_size_t","_wxWindowID",0},
10691 { "_size_t","_uint",0},
10692 { "_uint","_wxCoord",0},
10693 { "_uint","_wxPrintQuality",0},
10694 { "_uint","_time_t",0},
10695 { "_uint","_size_t",0},
10696 { "_uint","_unsigned_int",0},
10697 { "_uint","_int",0},
10698 { "_uint","_wxWindowID",0},
10699 { "_wxChar","_char",0},
10700 { "_char","_wxChar",0},
10701 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
10702 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10703 { "_EBool","_wxCoord",0},
10704 { "_EBool","_wxPrintQuality",0},
10705 { "_EBool","_signed_int",0},
10706 { "_EBool","_int",0},
10707 { "_EBool","_wxWindowID",0},
10708 { "_unsigned_long","_long",0},
10709 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10710 { "_signed_int","_wxCoord",0},
10711 { "_signed_int","_wxPrintQuality",0},
10712 { "_signed_int","_EBool",0},
10713 { "_signed_int","_wxWindowID",0},
10714 { "_signed_int","_int",0},
10715 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
10716 { "_WXTYPE","_short",0},
10717 { "_WXTYPE","_signed_short",0},
10718 { "_WXTYPE","_unsigned_short",0},
10719 { "_unsigned_short","_WXTYPE",0},
10720 { "_unsigned_short","_short",0},
10721 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
10722 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
10723 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
10724 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
10725 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
10726 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
10727 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
10728 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
10729 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
10730 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
10731 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
10732 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
10733 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
10734 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
10735 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
10736 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
10737 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
10738 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
10739 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
10740 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
10741 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
10742 { "_signed_short","_WXTYPE",0},
10743 { "_signed_short","_short",0},
10744 { "_unsigned_char","_byte",0},
10745 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
10746 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
10747 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
10748 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
10749 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
10750 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
10751 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
10752 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
10753 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
10754 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
10755 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
10756 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
10757 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
10758 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
10759 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
10760 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
10761 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
10762 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
10763 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
10764 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
10765 { "_unsigned_int","_wxCoord",0},
10766 { "_unsigned_int","_wxPrintQuality",0},
10767 { "_unsigned_int","_time_t",0},
10768 { "_unsigned_int","_size_t",0},
10769 { "_unsigned_int","_uint",0},
10770 { "_unsigned_int","_wxWindowID",0},
10771 { "_unsigned_int","_int",0},
10772 { "_short","_WXTYPE",0},
10773 { "_short","_unsigned_short",0},
10774 { "_short","_signed_short",0},
10775 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
10776 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
10777 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
10778 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
10779 { "_wxWindowID","_wxCoord",0},
10780 { "_wxWindowID","_wxPrintQuality",0},
10781 { "_wxWindowID","_time_t",0},
10782 { "_wxWindowID","_size_t",0},
10783 { "_wxWindowID","_EBool",0},
10784 { "_wxWindowID","_uint",0},
10785 { "_wxWindowID","_int",0},
10786 { "_wxWindowID","_signed_int",0},
10787 { "_wxWindowID","_unsigned_int",0},
10788 { "_int","_wxCoord",0},
10789 { "_int","_wxPrintQuality",0},
10790 { "_int","_time_t",0},
10791 { "_int","_size_t",0},
10792 { "_int","_EBool",0},
10793 { "_int","_uint",0},
10794 { "_int","_wxWindowID",0},
10795 { "_int","_unsigned_int",0},
10796 { "_int","_signed_int",0},
10797 { "_time_t","_wxCoord",0},
10798 { "_time_t","_wxPrintQuality",0},
10799 { "_time_t","_unsigned_int",0},
10800 { "_time_t","_int",0},
10801 { "_time_t","_wxWindowID",0},
10802 { "_time_t","_uint",0},
10803 { "_time_t","_size_t",0},
10804 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
10805 { "_wxCoord","_int",0},
10806 { "_wxCoord","_signed_int",0},
10807 { "_wxCoord","_unsigned_int",0},
10808 { "_wxCoord","_wxWindowID",0},
10809 { "_wxCoord","_uint",0},
10810 { "_wxCoord","_EBool",0},
10811 { "_wxCoord","_size_t",0},
10812 { "_wxCoord","_time_t",0},
10813 { "_wxCoord","_wxPrintQuality",0},
10814 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
10815 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
10816 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
10817 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
10818 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
10819 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
10820 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
10821 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
10822 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
10823 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
10824 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
10825 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
10826 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
10827 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
10828 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
10829 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
10830 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
10831 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
10832 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
10833 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
10834 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
10835 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
10836 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
10837 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
10838 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
10839 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
10840 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
10841 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
10842 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
10843 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
10844 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
10845 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
10846 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
10847 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
10848 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
10849 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
10850 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
10851 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
10852 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
10853 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
10854 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
10855 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
10858 static PyObject
*SWIG_globals
;
10862 SWIGEXPORT(void) initcontrolsc() {
10864 SWIG_globals
= SWIG_newvarlink();
10865 m
= Py_InitModule("controlsc", controlscMethods
);
10866 d
= PyModule_GetDict(m
);
10867 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10868 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
10871 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10872 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);