2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg
= "String or Unicode type required";
106 static char* wxStringErrorMsg
= "String type required";
111 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
113 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
117 static PyObject
*_wrap_wxDefaultValidator_get() {
121 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
122 pyobj
= PyString_FromString(ptemp
);
126 static void *SwigwxControlTowxWindow(void *ptr
) {
129 src
= (wxControl
*) ptr
;
130 dest
= (wxWindow
*) src
;
131 return (void *) dest
;
134 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
137 src
= (wxControl
*) ptr
;
138 dest
= (wxEvtHandler
*) src
;
139 return (void *) dest
;
142 static void *SwigwxControlTowxObject(void *ptr
) {
145 src
= (wxControl
*) ptr
;
146 dest
= (wxObject
*) src
;
147 return (void *) dest
;
150 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
151 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
156 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
157 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
158 long _arg4
= (long ) 0;
159 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
160 char * _arg6
= (char *) "control";
161 PyObject
* _argo0
= 0;
163 PyObject
* _obj2
= 0;
165 PyObject
* _obj3
= 0;
166 PyObject
* _argo5
= 0;
167 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
183 if (! wxPoint_helper(_obj2
, &_arg2
))
189 if (! wxSize_helper(_obj3
, &_arg3
))
193 if (_argo5
== Py_None
) { _arg5
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
203 wxPyEndAllowThreads(__tstate
);
204 if (PyErr_Occurred()) return NULL
;
206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
210 _resultobj
= Py_None
;
215 #define new_wxPreControl() (new wxControl())
216 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
219 char *_kwnames
[] = { NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
227 _result
= (wxControl
*)new_wxPreControl();
229 wxPyEndAllowThreads(__tstate
);
230 if (PyErr_Occurred()) return NULL
;
232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
233 _resultobj
= Py_BuildValue("s",_ptemp
);
236 _resultobj
= Py_None
;
241 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
242 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
248 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
249 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
250 long _arg5
= (long ) 0;
251 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
252 char * _arg7
= (char *) "control";
253 PyObject
* _argo0
= 0;
254 PyObject
* _argo1
= 0;
256 PyObject
* _obj3
= 0;
258 PyObject
* _obj4
= 0;
259 PyObject
* _argo6
= 0;
260 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
282 if (! wxPoint_helper(_obj3
, &_arg3
))
288 if (! wxSize_helper(_obj4
, &_arg4
))
292 if (_argo6
== Py_None
) { _arg6
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
300 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
302 wxPyEndAllowThreads(__tstate
);
303 if (PyErr_Occurred()) return NULL
;
304 } _resultobj
= Py_BuildValue("i",_result
);
308 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
309 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
312 wxCommandEvent
* _arg1
;
313 PyObject
* _argo0
= 0;
314 PyObject
* _argo1
= 0;
315 char *_kwnames
[] = { "self","event", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
336 wxControl_Command(_arg0
,*_arg1
);
338 wxPyEndAllowThreads(__tstate
);
339 if (PyErr_Occurred()) return NULL
;
340 } Py_INCREF(Py_None
);
341 _resultobj
= Py_None
;
345 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
346 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
365 _result
= new wxString (wxControl_GetLabel(_arg0
));
367 wxPyEndAllowThreads(__tstate
);
368 if (PyErr_Occurred()) return NULL
;
370 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
378 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
379 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
383 PyObject
* _argo0
= 0;
384 PyObject
* _obj1
= 0;
385 char *_kwnames
[] = { "self","label", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
398 #if PYTHON_API_VERSION >= 1009
399 char* tmpPtr
; int tmpSize
;
400 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
404 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
406 _arg1
= new wxString(tmpPtr
, tmpSize
);
408 if (!PyString_Check(_obj1
)) {
409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
412 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
417 wxControl_SetLabel(_arg0
,*_arg1
);
419 wxPyEndAllowThreads(__tstate
);
420 if (PyErr_Occurred()) return NULL
;
421 } Py_INCREF(Py_None
);
422 _resultobj
= Py_None
;
430 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
431 wxControlWithItems
*src
;
433 src
= (wxControlWithItems
*) ptr
;
434 dest
= (wxControl
*) src
;
435 return (void *) dest
;
438 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
439 wxControlWithItems
*src
;
441 src
= (wxControlWithItems
*) ptr
;
442 dest
= (wxWindow
*) src
;
443 return (void *) dest
;
446 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
447 wxControlWithItems
*src
;
449 src
= (wxControlWithItems
*) ptr
;
450 dest
= (wxEvtHandler
*) src
;
451 return (void *) dest
;
454 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
455 wxControlWithItems
*src
;
457 src
= (wxControlWithItems
*) ptr
;
458 dest
= (wxObject
*) src
;
459 return (void *) dest
;
462 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
463 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
465 wxControlWithItems
* _arg0
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self","n", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
482 wxControlWithItems_Delete(_arg0
,_arg1
);
484 wxPyEndAllowThreads(__tstate
);
485 if (PyErr_Occurred()) return NULL
;
486 } Py_INCREF(Py_None
);
487 _resultobj
= Py_None
;
491 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
492 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
495 wxControlWithItems
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 _result
= (int )wxControlWithItems_GetCount(_arg0
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) return NULL
;
515 } _resultobj
= Py_BuildValue("i",_result
);
519 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
520 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxControlWithItems
* _arg0
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self","n", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
545 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
553 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
554 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxControlWithItems
* _arg0
;
559 PyObject
* _argo0
= 0;
560 PyObject
* _obj2
= 0;
561 char *_kwnames
[] = { "self","n","s", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
574 #if PYTHON_API_VERSION >= 1009
575 char* tmpPtr
; int tmpSize
;
576 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
580 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
582 _arg2
= new wxString(tmpPtr
, tmpSize
);
584 if (!PyString_Check(_obj2
)) {
585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
588 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
593 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
595 wxPyEndAllowThreads(__tstate
);
596 if (PyErr_Occurred()) return NULL
;
597 } Py_INCREF(Py_None
);
598 _resultobj
= Py_None
;
606 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
607 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
610 wxControlWithItems
* _arg0
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _obj1
= 0;
614 char *_kwnames
[] = { "self","s", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
627 #if PYTHON_API_VERSION >= 1009
628 char* tmpPtr
; int tmpSize
;
629 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
633 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
635 _arg1
= new wxString(tmpPtr
, tmpSize
);
637 if (!PyString_Check(_obj1
)) {
638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
641 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
646 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
648 wxPyEndAllowThreads(__tstate
);
649 if (PyErr_Occurred()) return NULL
;
650 } _resultobj
= Py_BuildValue("i",_result
);
658 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
659 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
661 wxControlWithItems
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","n", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 wxControlWithItems_Select(_arg0
,_arg1
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
688 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
691 wxControlWithItems
* _arg0
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } _resultobj
= Py_BuildValue("i",_result
);
715 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
716 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
719 wxControlWithItems
* _arg0
;
720 PyObject
* _argo0
= 0;
721 char *_kwnames
[] = { "self", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
748 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
750 wxPyClientData
* data
= new wxPyClientData(clientData
);
751 self
->Append(item
, data
);
755 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
757 wxControlWithItems
* _arg0
;
759 PyObject
* _arg2
= (PyObject
*) NULL
;
760 PyObject
* _argo0
= 0;
761 PyObject
* _obj1
= 0;
762 PyObject
* _obj2
= 0;
763 char *_kwnames
[] = { "self","item","clientData", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
776 #if PYTHON_API_VERSION >= 1009
777 char* tmpPtr
; int tmpSize
;
778 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
782 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
784 _arg1
= new wxString(tmpPtr
, tmpSize
);
786 if (!PyString_Check(_obj1
)) {
787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
790 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
799 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
801 wxPyEndAllowThreads(__tstate
);
802 if (PyErr_Occurred()) return NULL
;
803 } Py_INCREF(Py_None
);
804 _resultobj
= Py_None
;
812 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
813 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
815 Py_INCREF(data
->m_obj
);
822 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 wxControlWithItems
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self","n", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
842 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
844 wxPyEndAllowThreads(__tstate
);
845 if (PyErr_Occurred()) return NULL
;
847 _resultobj
= _result
;
852 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
853 wxPyClientData
* data
= new wxPyClientData(clientData
);
854 self
->SetClientObject(n
, data
);
856 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
858 wxControlWithItems
* _arg0
;
861 PyObject
* _argo0
= 0;
862 PyObject
* _obj2
= 0;
863 char *_kwnames
[] = { "self","n","clientData", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
890 static PyObject
*_wrap_wxControlWithItems_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
892 wxControlWithItems
* _arg0
;
893 wxArrayString
* _arg1
;
894 PyObject
* _argo0
= 0;
895 PyObject
* _obj1
= 0;
896 char *_kwnames
[] = { "self","strings", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
909 if (! PySequence_Check(_obj1
)) {
910 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
913 _arg1
= new wxArrayString
;
914 int i
, len
=PySequence_Length(_obj1
);
915 for (i
=0; i
<len
; i
++) {
916 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
917 PyObject
* str
= PyObject_Str(item
);
918 _arg1
->Add(PyString_AsString(str
));
924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
925 wxControlWithItems_AppendItems(_arg0
,*_arg1
);
927 wxPyEndAllowThreads(__tstate
);
928 if (PyErr_Occurred()) return NULL
;
929 } Py_INCREF(Py_None
);
930 _resultobj
= Py_None
;
938 static void *SwigwxButtonTowxControl(void *ptr
) {
941 src
= (wxButton
*) ptr
;
942 dest
= (wxControl
*) src
;
943 return (void *) dest
;
946 static void *SwigwxButtonTowxWindow(void *ptr
) {
949 src
= (wxButton
*) ptr
;
950 dest
= (wxWindow
*) src
;
951 return (void *) dest
;
954 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
957 src
= (wxButton
*) ptr
;
958 dest
= (wxEvtHandler
*) src
;
959 return (void *) dest
;
962 static void *SwigwxButtonTowxObject(void *ptr
) {
965 src
= (wxButton
*) ptr
;
966 dest
= (wxObject
*) src
;
967 return (void *) dest
;
970 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
971 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
977 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
978 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
979 long _arg5
= (long ) 0;
980 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
981 char * _arg7
= (char *) "button";
982 PyObject
* _argo0
= 0;
983 PyObject
* _obj2
= 0;
985 PyObject
* _obj3
= 0;
987 PyObject
* _obj4
= 0;
988 PyObject
* _argo6
= 0;
989 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1003 #if PYTHON_API_VERSION >= 1009
1004 char* tmpPtr
; int tmpSize
;
1005 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1009 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1011 _arg2
= new wxString(tmpPtr
, tmpSize
);
1013 if (!PyString_Check(_obj2
)) {
1014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1017 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1023 if (! wxPoint_helper(_obj3
, &_arg3
))
1029 if (! wxSize_helper(_obj4
, &_arg4
))
1033 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1034 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) return NULL
;
1046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1050 _resultobj
= Py_None
;
1059 #define new_wxPreButton() (new wxButton())
1060 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1063 char *_kwnames
[] = { NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 _result
= (wxButton
*)new_wxPreButton();
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1077 _resultobj
= Py_BuildValue("s",_ptemp
);
1080 _resultobj
= Py_None
;
1085 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1086 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1087 PyObject
* _resultobj
;
1093 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1094 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1095 long _arg6
= (long ) 0;
1096 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1097 char * _arg8
= (char *) "button";
1098 PyObject
* _argo0
= 0;
1099 PyObject
* _argo1
= 0;
1100 PyObject
* _obj3
= 0;
1102 PyObject
* _obj4
= 0;
1104 PyObject
* _obj5
= 0;
1105 PyObject
* _argo7
= 0;
1106 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1119 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1120 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1126 #if PYTHON_API_VERSION >= 1009
1127 char* tmpPtr
; int tmpSize
;
1128 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1129 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1132 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1134 _arg3
= new wxString(tmpPtr
, tmpSize
);
1136 if (!PyString_Check(_obj3
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1146 if (! wxPoint_helper(_obj4
, &_arg4
))
1152 if (! wxSize_helper(_obj5
, &_arg5
))
1156 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1157 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } _resultobj
= Py_BuildValue("i",_result
);
1176 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1177 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1180 PyObject
* _argo0
= 0;
1181 char *_kwnames
[] = { "self", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
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_SetDefault. Expected _wxButton_p.");
1194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1195 wxButton_SetDefault(_arg0
);
1197 wxPyEndAllowThreads(__tstate
);
1198 if (PyErr_Occurred()) return NULL
;
1199 } Py_INCREF(Py_None
);
1200 _resultobj
= Py_None
;
1204 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1205 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1206 PyObject
* _resultobj
;
1209 PyObject
* _argo0
= 0;
1211 PyObject
* _obj1
= 0;
1212 char *_kwnames
[] = { "self","colour", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1226 if (! wxColour_helper(_obj1
, &_arg1
))
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) return NULL
;
1235 } Py_INCREF(Py_None
);
1236 _resultobj
= Py_None
;
1240 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1241 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1245 PyObject
* _argo0
= 0;
1247 PyObject
* _obj1
= 0;
1248 char *_kwnames
[] = { "self","colour", NULL
};
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1262 if (! wxColour_helper(_obj1
, &_arg1
))
1266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1267 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1269 wxPyEndAllowThreads(__tstate
);
1270 if (PyErr_Occurred()) return NULL
;
1271 } Py_INCREF(Py_None
);
1272 _resultobj
= Py_None
;
1276 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1277 static PyObject
*_wrap_wxButton_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1281 PyObject
* _argo0
= 0;
1282 PyObject
* _argo1
= 0;
1283 char *_kwnames
[] = { "self","bitmap", NULL
};
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetImageLabel",_kwnames
,&_argo0
,&_argo1
))
1289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1296 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1297 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1304 wxButton_SetImageLabel(_arg0
,*_arg1
);
1306 wxPyEndAllowThreads(__tstate
);
1307 if (PyErr_Occurred()) return NULL
;
1308 } Py_INCREF(Py_None
);
1309 _resultobj
= Py_None
;
1313 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1314 static PyObject
*_wrap_wxButton_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1319 PyObject
* _argo0
= 0;
1320 char *_kwnames
[] = { "self","x","y", NULL
};
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxButton_SetImageMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1334 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
1336 wxPyEndAllowThreads(__tstate
);
1337 if (PyErr_Occurred()) return NULL
;
1338 } Py_INCREF(Py_None
);
1339 _resultobj
= Py_None
;
1343 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1346 char *_kwnames
[] = { NULL
};
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 _result
= new wxSize (wxButton::GetDefaultSize());
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) return NULL
;
1358 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1359 _resultobj
= Py_BuildValue("s",_ptemp
);
1363 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1364 wxBitmapButton
*src
;
1366 src
= (wxBitmapButton
*) ptr
;
1367 dest
= (wxButton
*) src
;
1368 return (void *) dest
;
1371 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1372 wxBitmapButton
*src
;
1374 src
= (wxBitmapButton
*) ptr
;
1375 dest
= (wxControl
*) src
;
1376 return (void *) dest
;
1379 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1380 wxBitmapButton
*src
;
1382 src
= (wxBitmapButton
*) ptr
;
1383 dest
= (wxWindow
*) src
;
1384 return (void *) dest
;
1387 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1388 wxBitmapButton
*src
;
1390 src
= (wxBitmapButton
*) ptr
;
1391 dest
= (wxEvtHandler
*) src
;
1392 return (void *) dest
;
1395 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1396 wxBitmapButton
*src
;
1398 src
= (wxBitmapButton
*) ptr
;
1399 dest
= (wxObject
*) src
;
1400 return (void *) dest
;
1403 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1404 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxBitmapButton
* _result
;
1410 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1411 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1412 long _arg5
= (long ) wxBU_AUTODRAW
;
1413 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1414 char * _arg7
= (char *) "button";
1415 PyObject
* _argo0
= 0;
1416 PyObject
* _argo2
= 0;
1418 PyObject
* _obj3
= 0;
1420 PyObject
* _obj4
= 0;
1421 PyObject
* _argo6
= 0;
1422 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1436 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1445 if (! wxPoint_helper(_obj3
, &_arg3
))
1451 if (! wxSize_helper(_obj4
, &_arg4
))
1455 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1456 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) return NULL
;
1468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1472 _resultobj
= Py_None
;
1477 #define new_wxPreBitmapButton() (new wxBitmapButton())
1478 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1480 wxBitmapButton
* _result
;
1481 char *_kwnames
[] = { NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) return NULL
;
1494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1495 _resultobj
= Py_BuildValue("s",_ptemp
);
1498 _resultobj
= Py_None
;
1503 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1504 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1505 PyObject
* _resultobj
;
1507 wxBitmapButton
* _arg0
;
1511 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1512 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1513 long _arg6
= (long ) wxBU_AUTODRAW
;
1514 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1515 char * _arg8
= (char *) "button";
1516 PyObject
* _argo0
= 0;
1517 PyObject
* _argo1
= 0;
1518 PyObject
* _argo3
= 0;
1520 PyObject
* _obj4
= 0;
1522 PyObject
* _obj5
= 0;
1523 PyObject
* _argo7
= 0;
1524 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1544 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1553 if (! wxPoint_helper(_obj4
, &_arg4
))
1559 if (! wxSize_helper(_obj5
, &_arg5
))
1563 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) return NULL
;
1575 } _resultobj
= Py_BuildValue("i",_result
);
1579 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1580 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1583 wxBitmapButton
* _arg0
;
1584 PyObject
* _argo0
= 0;
1585 char *_kwnames
[] = { "self", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) return NULL
;
1604 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1605 _resultobj
= Py_BuildValue("s",_ptemp
);
1609 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1610 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1613 wxBitmapButton
* _arg0
;
1614 PyObject
* _argo0
= 0;
1615 char *_kwnames
[] = { "self", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1635 _resultobj
= Py_BuildValue("s",_ptemp
);
1639 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1640 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1643 wxBitmapButton
* _arg0
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
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_GetBitmapFocus. Expected _wxBitmapButton_p.");
1659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1660 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1662 wxPyEndAllowThreads(__tstate
);
1663 if (PyErr_Occurred()) return NULL
;
1664 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1665 _resultobj
= Py_BuildValue("s",_ptemp
);
1669 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1670 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1673 wxBitmapButton
* _arg0
;
1674 PyObject
* _argo0
= 0;
1675 char *_kwnames
[] = { "self", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1694 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1695 _resultobj
= Py_BuildValue("s",_ptemp
);
1699 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1700 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1702 wxBitmapButton
* _arg0
;
1704 PyObject
* _argo0
= 0;
1705 PyObject
* _argo1
= 0;
1706 char *_kwnames
[] = { "self","bitmap", NULL
};
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1719 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1720 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } Py_INCREF(Py_None
);
1732 _resultobj
= Py_None
;
1736 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1737 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1739 wxBitmapButton
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 PyObject
* _argo1
= 0;
1743 char *_kwnames
[] = { "self","bitmap", NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1756 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1757 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) return NULL
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1774 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
* _resultobj
;
1776 wxBitmapButton
* _arg0
;
1778 PyObject
* _argo0
= 0;
1779 PyObject
* _argo1
= 0;
1780 char *_kwnames
[] = { "self","bitmap", NULL
};
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1793 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1811 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
* _resultobj
;
1813 wxBitmapButton
* _arg0
;
1815 PyObject
* _argo0
= 0;
1816 PyObject
* _argo1
= 0;
1817 char *_kwnames
[] = { "self","bitmap", NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) return NULL
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1847 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1848 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
* _resultobj
;
1850 wxBitmapButton
* _arg0
;
1853 PyObject
* _argo0
= 0;
1854 char *_kwnames
[] = { "self","x","y", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1868 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1870 wxPyEndAllowThreads(__tstate
);
1871 if (PyErr_Occurred()) return NULL
;
1872 } Py_INCREF(Py_None
);
1873 _resultobj
= Py_None
;
1877 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1878 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1881 wxBitmapButton
* _arg0
;
1882 PyObject
* _argo0
= 0;
1883 char *_kwnames
[] = { "self", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1897 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1899 wxPyEndAllowThreads(__tstate
);
1900 if (PyErr_Occurred()) return NULL
;
1901 } _resultobj
= Py_BuildValue("i",_result
);
1905 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1906 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
* _resultobj
;
1909 wxBitmapButton
* _arg0
;
1910 PyObject
* _argo0
= 0;
1911 char *_kwnames
[] = { "self", NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1925 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1927 wxPyEndAllowThreads(__tstate
);
1928 if (PyErr_Occurred()) return NULL
;
1929 } _resultobj
= Py_BuildValue("i",_result
);
1933 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1936 src
= (wxCheckBox
*) ptr
;
1937 dest
= (wxControl
*) src
;
1938 return (void *) dest
;
1941 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1944 src
= (wxCheckBox
*) ptr
;
1945 dest
= (wxWindow
*) src
;
1946 return (void *) dest
;
1949 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1952 src
= (wxCheckBox
*) ptr
;
1953 dest
= (wxEvtHandler
*) src
;
1954 return (void *) dest
;
1957 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1960 src
= (wxCheckBox
*) ptr
;
1961 dest
= (wxObject
*) src
;
1962 return (void *) dest
;
1965 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1966 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1968 wxCheckBox
* _result
;
1972 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1973 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1974 long _arg5
= (long ) 0;
1975 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1976 char * _arg7
= (char *) "checkBox";
1977 PyObject
* _argo0
= 0;
1978 PyObject
* _obj2
= 0;
1980 PyObject
* _obj3
= 0;
1982 PyObject
* _obj4
= 0;
1983 PyObject
* _argo6
= 0;
1984 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1998 #if PYTHON_API_VERSION >= 1009
1999 char* tmpPtr
; int tmpSize
;
2000 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2004 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2006 _arg2
= new wxString(tmpPtr
, tmpSize
);
2008 if (!PyString_Check(_obj2
)) {
2009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2012 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2018 if (! wxPoint_helper(_obj3
, &_arg3
))
2024 if (! wxSize_helper(_obj4
, &_arg4
))
2028 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2029 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) return NULL
;
2041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2042 _resultobj
= Py_BuildValue("s",_ptemp
);
2045 _resultobj
= Py_None
;
2054 #define new_wxPreCheckBox() (new wxCheckBox())
2055 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxCheckBox
* _result
;
2058 char *_kwnames
[] = { NULL
};
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) return NULL
;
2071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2072 _resultobj
= Py_BuildValue("s",_ptemp
);
2075 _resultobj
= Py_None
;
2080 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2081 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2088 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2089 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2090 long _arg6
= (long ) 0;
2091 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2092 char * _arg8
= (char *) "checkBox";
2093 PyObject
* _argo0
= 0;
2094 PyObject
* _argo1
= 0;
2095 PyObject
* _obj3
= 0;
2097 PyObject
* _obj4
= 0;
2099 PyObject
* _obj5
= 0;
2100 PyObject
* _argo7
= 0;
2101 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2114 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2115 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2121 #if PYTHON_API_VERSION >= 1009
2122 char* tmpPtr
; int tmpSize
;
2123 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2124 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2127 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2129 _arg3
= new wxString(tmpPtr
, tmpSize
);
2131 if (!PyString_Check(_obj3
)) {
2132 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2135 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2141 if (! wxPoint_helper(_obj4
, &_arg4
))
2147 if (! wxSize_helper(_obj5
, &_arg5
))
2151 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2152 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) return NULL
;
2163 } _resultobj
= Py_BuildValue("i",_result
);
2171 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2172 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2173 PyObject
* _resultobj
;
2176 PyObject
* _argo0
= 0;
2177 char *_kwnames
[] = { "self", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } _resultobj
= Py_BuildValue("i",_result
);
2199 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2200 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2201 PyObject
* _resultobj
;
2204 PyObject
* _argo0
= 0;
2206 char *_kwnames
[] = { "self","state", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2218 _arg1
= (bool ) tempbool1
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 wxCheckBox_SetValue(_arg0
,_arg1
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) return NULL
;
2225 } Py_INCREF(Py_None
);
2226 _resultobj
= Py_None
;
2230 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2232 wxControlWithItems
*dest
;
2233 src
= (wxChoice
*) ptr
;
2234 dest
= (wxControlWithItems
*) src
;
2235 return (void *) dest
;
2238 static void *SwigwxChoiceTowxControl(void *ptr
) {
2241 src
= (wxChoice
*) ptr
;
2242 dest
= (wxControl
*) src
;
2243 return (void *) dest
;
2246 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2249 src
= (wxChoice
*) ptr
;
2250 dest
= (wxWindow
*) src
;
2251 return (void *) dest
;
2254 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2257 src
= (wxChoice
*) ptr
;
2258 dest
= (wxEvtHandler
*) src
;
2259 return (void *) dest
;
2262 static void *SwigwxChoiceTowxObject(void *ptr
) {
2265 src
= (wxChoice
*) ptr
;
2266 dest
= (wxObject
*) src
;
2267 return (void *) dest
;
2270 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2271 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2276 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2277 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2278 int _arg4
= (int ) 0;
2279 wxString
* _arg5
= (wxString
*) NULL
;
2280 long _arg6
= (long ) 0;
2281 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2282 char * _arg8
= (char *) "choice";
2283 PyObject
* _argo0
= 0;
2285 PyObject
* _obj2
= 0;
2287 PyObject
* _obj3
= 0;
2288 PyObject
* _obj5
= 0;
2289 PyObject
* _argo7
= 0;
2290 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2306 if (! wxPoint_helper(_obj2
, &_arg2
))
2312 if (! wxSize_helper(_obj3
, &_arg3
))
2317 _arg5
= wxString_LIST_helper(_obj5
);
2318 if (_arg5
== NULL
) {
2323 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2324 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2331 _arg4
= PyList_Size(_obj5
);
2338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2339 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2341 wxPyEndAllowThreads(__tstate
);
2342 if (PyErr_Occurred()) return NULL
;
2344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2345 _resultobj
= Py_BuildValue("s",_ptemp
);
2348 _resultobj
= Py_None
;
2356 #define new_wxPreChoice() (new wxChoice())
2357 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
* _resultobj
;
2360 char *_kwnames
[] = { NULL
};
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2368 _result
= (wxChoice
*)new_wxPreChoice();
2370 wxPyEndAllowThreads(__tstate
);
2371 if (PyErr_Occurred()) return NULL
;
2373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2374 _resultobj
= Py_BuildValue("s",_ptemp
);
2377 _resultobj
= Py_None
;
2382 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2383 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2389 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2390 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2391 int _arg5
= (int ) 0;
2392 wxString
* _arg6
= (wxString
*) NULL
;
2393 long _arg7
= (long ) 0;
2394 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2395 char * _arg9
= (char *) "choice";
2396 PyObject
* _argo0
= 0;
2397 PyObject
* _argo1
= 0;
2399 PyObject
* _obj3
= 0;
2401 PyObject
* _obj4
= 0;
2402 PyObject
* _obj6
= 0;
2403 PyObject
* _argo8
= 0;
2404 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2417 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2418 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2426 if (! wxPoint_helper(_obj3
, &_arg3
))
2432 if (! wxSize_helper(_obj4
, &_arg4
))
2437 _arg6
= wxString_LIST_helper(_obj6
);
2438 if (_arg6
== NULL
) {
2443 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2451 _arg5
= PyList_Size(_obj6
);
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } _resultobj
= Py_BuildValue("i",_result
);
2470 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2471 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 char *_kwnames
[] = { "self", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 wxChoice_Clear(_arg0
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) return NULL
;
2493 } Py_INCREF(Py_None
);
2494 _resultobj
= Py_None
;
2498 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2499 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2503 PyObject
* _argo0
= 0;
2504 char *_kwnames
[] = { "self", NULL
};
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 _result
= (int )wxChoice_GetColumns(_arg0
);
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) return NULL
;
2522 } _resultobj
= Py_BuildValue("i",_result
);
2526 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2527 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2530 int _arg1
= (int ) 1;
2531 PyObject
* _argo0
= 0;
2532 char *_kwnames
[] = { "self","n", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 wxChoice_SetColumns(_arg0
,_arg1
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) return NULL
;
2550 } Py_INCREF(Py_None
);
2551 _resultobj
= Py_None
;
2555 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2556 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2560 PyObject
* _argo0
= 0;
2561 char *_kwnames
[] = { "self","n", NULL
};
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 wxChoice_SetSelection(_arg0
,_arg1
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) return NULL
;
2579 } Py_INCREF(Py_None
);
2580 _resultobj
= Py_None
;
2584 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2585 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 PyObject
* _obj1
= 0;
2591 char *_kwnames
[] = { "self","string", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2604 #if PYTHON_API_VERSION >= 1009
2605 char* tmpPtr
; int tmpSize
;
2606 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2607 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2610 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2612 _arg1
= new wxString(tmpPtr
, tmpSize
);
2614 if (!PyString_Check(_obj1
)) {
2615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2618 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) return NULL
;
2627 } Py_INCREF(Py_None
);
2628 _resultobj
= Py_None
;
2636 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2637 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
* _resultobj
;
2642 PyObject
* _argo0
= 0;
2643 PyObject
* _obj2
= 0;
2644 char *_kwnames
[] = { "self","n","s", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2657 #if PYTHON_API_VERSION >= 1009
2658 char* tmpPtr
; int tmpSize
;
2659 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2660 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2663 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2665 _arg2
= new wxString(tmpPtr
, tmpSize
);
2667 if (!PyString_Check(_obj2
)) {
2668 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2671 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) return NULL
;
2680 } Py_INCREF(Py_None
);
2681 _resultobj
= Py_None
;
2689 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2692 src
= (wxComboBox
*) ptr
;
2693 dest
= (wxChoice
*) src
;
2694 return (void *) dest
;
2697 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2699 wxControlWithItems
*dest
;
2700 src
= (wxComboBox
*) ptr
;
2701 dest
= (wxControlWithItems
*) src
;
2702 return (void *) dest
;
2705 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2708 src
= (wxComboBox
*) ptr
;
2709 dest
= (wxControl
*) src
;
2710 return (void *) dest
;
2713 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2716 src
= (wxComboBox
*) ptr
;
2717 dest
= (wxWindow
*) src
;
2718 return (void *) dest
;
2721 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2724 src
= (wxComboBox
*) ptr
;
2725 dest
= (wxEvtHandler
*) src
;
2726 return (void *) dest
;
2729 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2732 src
= (wxComboBox
*) ptr
;
2733 dest
= (wxObject
*) src
;
2734 return (void *) dest
;
2737 #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))
2738 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2740 wxComboBox
* _result
;
2743 char * _arg2
= (char *) "";
2744 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2745 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2746 int _arg5
= (int ) 0;
2747 wxString
* _arg6
= (wxString
*) NULL
;
2748 long _arg7
= (long ) 0;
2749 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2750 char * _arg9
= (char *) "comboBox";
2751 PyObject
* _argo0
= 0;
2753 PyObject
* _obj3
= 0;
2755 PyObject
* _obj4
= 0;
2756 PyObject
* _obj6
= 0;
2757 PyObject
* _argo8
= 0;
2758 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2774 if (! wxPoint_helper(_obj3
, &_arg3
))
2780 if (! wxSize_helper(_obj4
, &_arg4
))
2785 _arg6
= wxString_LIST_helper(_obj6
);
2786 if (_arg6
== NULL
) {
2791 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2799 _arg5
= PyList_Size(_obj6
);
2806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2807 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2809 wxPyEndAllowThreads(__tstate
);
2810 if (PyErr_Occurred()) return NULL
;
2812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2813 _resultobj
= Py_BuildValue("s",_ptemp
);
2816 _resultobj
= Py_None
;
2824 #define new_wxPreComboBox() (new wxComboBox())
2825 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2827 wxComboBox
* _result
;
2828 char *_kwnames
[] = { NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 _result
= (wxComboBox
*)new_wxPreComboBox();
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) return NULL
;
2841 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2842 _resultobj
= Py_BuildValue("s",_ptemp
);
2845 _resultobj
= Py_None
;
2850 #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))
2851 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
* _resultobj
;
2857 char * _arg3
= (char *) "";
2858 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2859 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2860 int _arg6
= (int ) 0;
2861 wxString
* _arg7
= (wxString
*) NULL
;
2862 long _arg8
= (long ) 0;
2863 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2864 char * _arg10
= (char *) "comboBox";
2865 PyObject
* _argo0
= 0;
2866 PyObject
* _argo1
= 0;
2868 PyObject
* _obj4
= 0;
2870 PyObject
* _obj5
= 0;
2871 PyObject
* _obj7
= 0;
2872 PyObject
* _argo9
= 0;
2873 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2886 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2887 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2895 if (! wxPoint_helper(_obj4
, &_arg4
))
2901 if (! wxSize_helper(_obj5
, &_arg5
))
2906 _arg7
= wxString_LIST_helper(_obj7
);
2907 if (_arg7
== NULL
) {
2912 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2913 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2920 _arg6
= PyList_Size(_obj7
);
2927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2928 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2930 wxPyEndAllowThreads(__tstate
);
2931 if (PyErr_Occurred()) return NULL
;
2932 } _resultobj
= Py_BuildValue("i",_result
);
2939 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2940 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
* _resultobj
;
2943 PyObject
* _argo0
= 0;
2944 char *_kwnames
[] = { "self", NULL
};
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 wxComboBox_Copy(_arg0
);
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) return NULL
;
2962 } Py_INCREF(Py_None
);
2963 _resultobj
= Py_None
;
2967 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2968 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
* _resultobj
;
2971 PyObject
* _argo0
= 0;
2972 char *_kwnames
[] = { "self", NULL
};
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 wxComboBox_Cut(_arg0
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) return NULL
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2995 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2996 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
3000 PyObject
* _argo0
= 0;
3001 char *_kwnames
[] = { "self", NULL
};
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
3007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3015 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) return NULL
;
3019 } _resultobj
= Py_BuildValue("l",_result
);
3023 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3024 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
* _resultobj
;
3028 PyObject
* _argo0
= 0;
3029 char *_kwnames
[] = { "self", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) return NULL
;
3047 } _resultobj
= Py_BuildValue("l",_result
);
3051 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3052 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3056 PyObject
* _argo0
= 0;
3057 char *_kwnames
[] = { "self", NULL
};
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3071 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3073 wxPyEndAllowThreads(__tstate
);
3074 if (PyErr_Occurred()) return NULL
;
3076 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3084 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3085 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3088 PyObject
* _argo0
= 0;
3089 char *_kwnames
[] = { "self", NULL
};
3092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3103 wxComboBox_Paste(_arg0
);
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) return NULL
;
3107 } Py_INCREF(Py_None
);
3108 _resultobj
= Py_None
;
3112 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3113 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
* _resultobj
;
3119 PyObject
* _argo0
= 0;
3120 PyObject
* _obj3
= 0;
3121 char *_kwnames
[] = { "self","from","to","text", NULL
};
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3134 #if PYTHON_API_VERSION >= 1009
3135 char* tmpPtr
; int tmpSize
;
3136 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3140 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3142 _arg3
= new wxString(tmpPtr
, tmpSize
);
3144 if (!PyString_Check(_obj3
)) {
3145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3148 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) return NULL
;
3157 } Py_INCREF(Py_None
);
3158 _resultobj
= Py_None
;
3166 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3167 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3172 PyObject
* _argo0
= 0;
3173 char *_kwnames
[] = { "self","from","to", NULL
};
3176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) return NULL
;
3191 } Py_INCREF(Py_None
);
3192 _resultobj
= Py_None
;
3196 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3197 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3201 PyObject
* _argo0
= 0;
3202 char *_kwnames
[] = { "self","pos", NULL
};
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) return NULL
;
3220 } Py_INCREF(Py_None
);
3221 _resultobj
= Py_None
;
3225 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3226 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
* _resultobj
;
3229 PyObject
* _argo0
= 0;
3230 char *_kwnames
[] = { "self", NULL
};
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 wxComboBox_SetInsertionPointEnd(_arg0
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) return NULL
;
3248 } Py_INCREF(Py_None
);
3249 _resultobj
= Py_None
;
3253 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3254 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
* _resultobj
;
3258 PyObject
* _argo0
= 0;
3259 char *_kwnames
[] = { "self","n", NULL
};
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 wxComboBox_SetSelection(_arg0
,_arg1
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) return NULL
;
3277 } Py_INCREF(Py_None
);
3278 _resultobj
= Py_None
;
3282 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3283 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3288 PyObject
* _argo0
= 0;
3289 char *_kwnames
[] = { "self","from","to", NULL
};
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) return NULL
;
3307 } Py_INCREF(Py_None
);
3308 _resultobj
= Py_None
;
3312 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3313 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3317 PyObject
* _argo0
= 0;
3318 PyObject
* _obj1
= 0;
3319 char *_kwnames
[] = { "self","text", NULL
};
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3332 #if PYTHON_API_VERSION >= 1009
3333 char* tmpPtr
; int tmpSize
;
3334 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3338 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3340 _arg1
= new wxString(tmpPtr
, tmpSize
);
3342 if (!PyString_Check(_obj1
)) {
3343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3346 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxComboBox_SetValue(_arg0
,*_arg1
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) return NULL
;
3355 } Py_INCREF(Py_None
);
3356 _resultobj
= Py_None
;
3364 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3365 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
* _resultobj
;
3369 PyObject
* _argo0
= 0;
3371 char *_kwnames
[] = { "self","editable", NULL
};
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3383 _arg1
= (bool ) tempbool1
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 wxComboBox_SetEditable(_arg0
,_arg1
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) return NULL
;
3390 } Py_INCREF(Py_None
);
3391 _resultobj
= Py_None
;
3395 static void *SwigwxGaugeTowxControl(void *ptr
) {
3398 src
= (wxGauge
*) ptr
;
3399 dest
= (wxControl
*) src
;
3400 return (void *) dest
;
3403 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3406 src
= (wxGauge
*) ptr
;
3407 dest
= (wxWindow
*) src
;
3408 return (void *) dest
;
3411 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3414 src
= (wxGauge
*) ptr
;
3415 dest
= (wxEvtHandler
*) src
;
3416 return (void *) dest
;
3419 static void *SwigwxGaugeTowxObject(void *ptr
) {
3422 src
= (wxGauge
*) ptr
;
3423 dest
= (wxObject
*) src
;
3424 return (void *) dest
;
3427 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3428 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
* _resultobj
;
3434 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3435 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3436 long _arg5
= (long ) wxGA_HORIZONTAL
;
3437 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3438 char * _arg7
= (char *) "gauge";
3439 PyObject
* _argo0
= 0;
3441 PyObject
* _obj3
= 0;
3443 PyObject
* _obj4
= 0;
3444 PyObject
* _argo6
= 0;
3445 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3461 if (! wxPoint_helper(_obj3
, &_arg3
))
3467 if (! wxSize_helper(_obj4
, &_arg4
))
3471 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3485 _resultobj
= Py_BuildValue("s",_ptemp
);
3488 _resultobj
= Py_None
;
3493 #define new_wxPreGauge() (new wxGauge())
3494 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3497 char *_kwnames
[] = { NULL
};
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 _result
= (wxGauge
*)new_wxPreGauge();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) return NULL
;
3510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3511 _resultobj
= Py_BuildValue("s",_ptemp
);
3514 _resultobj
= Py_None
;
3519 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3520 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
* _resultobj
;
3527 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3528 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3529 long _arg6
= (long ) wxGA_HORIZONTAL
;
3530 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3531 char * _arg8
= (char *) "gauge";
3532 PyObject
* _argo0
= 0;
3533 PyObject
* _argo1
= 0;
3535 PyObject
* _obj4
= 0;
3537 PyObject
* _obj5
= 0;
3538 PyObject
* _argo7
= 0;
3539 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3561 if (! wxPoint_helper(_obj4
, &_arg4
))
3567 if (! wxSize_helper(_obj5
, &_arg5
))
3571 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) return NULL
;
3583 } _resultobj
= Py_BuildValue("i",_result
);
3587 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3588 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3592 PyObject
* _argo0
= 0;
3593 char *_kwnames
[] = { "self", NULL
};
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) return NULL
;
3611 } _resultobj
= Py_BuildValue("i",_result
);
3615 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3616 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
* _resultobj
;
3620 PyObject
* _argo0
= 0;
3621 char *_kwnames
[] = { "self", NULL
};
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3635 _result
= (int )wxGauge_GetRange(_arg0
);
3637 wxPyEndAllowThreads(__tstate
);
3638 if (PyErr_Occurred()) return NULL
;
3639 } _resultobj
= Py_BuildValue("i",_result
);
3643 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3644 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
* _resultobj
;
3648 PyObject
* _argo0
= 0;
3649 char *_kwnames
[] = { "self", NULL
};
3652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) return NULL
;
3667 } _resultobj
= Py_BuildValue("i",_result
);
3671 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3672 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3676 PyObject
* _argo0
= 0;
3677 char *_kwnames
[] = { "self", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 _result
= (int )wxGauge_GetValue(_arg0
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) return NULL
;
3695 } _resultobj
= Py_BuildValue("i",_result
);
3699 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3700 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
* _resultobj
;
3704 PyObject
* _argo0
= 0;
3705 char *_kwnames
[] = { "self","width", NULL
};
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 wxGauge_SetBezelFace(_arg0
,_arg1
);
3721 wxPyEndAllowThreads(__tstate
);
3722 if (PyErr_Occurred()) return NULL
;
3723 } Py_INCREF(Py_None
);
3724 _resultobj
= Py_None
;
3728 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3729 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
* _resultobj
;
3733 PyObject
* _argo0
= 0;
3734 char *_kwnames
[] = { "self","range", NULL
};
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 wxGauge_SetRange(_arg0
,_arg1
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) return NULL
;
3752 } Py_INCREF(Py_None
);
3753 _resultobj
= Py_None
;
3757 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3758 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self","width", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) return NULL
;
3781 } Py_INCREF(Py_None
);
3782 _resultobj
= Py_None
;
3786 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3787 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
* _resultobj
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self","pos", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 wxGauge_SetValue(_arg0
,_arg1
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) return NULL
;
3810 } Py_INCREF(Py_None
);
3811 _resultobj
= Py_None
;
3815 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3818 src
= (wxStaticBox
*) ptr
;
3819 dest
= (wxControl
*) src
;
3820 return (void *) dest
;
3823 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3826 src
= (wxStaticBox
*) ptr
;
3827 dest
= (wxWindow
*) src
;
3828 return (void *) dest
;
3831 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3834 src
= (wxStaticBox
*) ptr
;
3835 dest
= (wxEvtHandler
*) src
;
3836 return (void *) dest
;
3839 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3842 src
= (wxStaticBox
*) ptr
;
3843 dest
= (wxObject
*) src
;
3844 return (void *) dest
;
3847 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3848 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3849 PyObject
* _resultobj
;
3850 wxStaticBox
* _result
;
3854 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3855 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3856 long _arg5
= (long ) 0;
3857 char * _arg6
= (char *) "staticBox";
3858 PyObject
* _argo0
= 0;
3859 PyObject
* _obj2
= 0;
3861 PyObject
* _obj3
= 0;
3863 PyObject
* _obj4
= 0;
3864 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3878 #if PYTHON_API_VERSION >= 1009
3879 char* tmpPtr
; int tmpSize
;
3880 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3884 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3886 _arg2
= new wxString(tmpPtr
, tmpSize
);
3888 if (!PyString_Check(_obj2
)) {
3889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3892 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3898 if (! wxPoint_helper(_obj3
, &_arg3
))
3904 if (! wxSize_helper(_obj4
, &_arg4
))
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) return NULL
;
3914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3915 _resultobj
= Py_BuildValue("s",_ptemp
);
3918 _resultobj
= Py_None
;
3927 #define new_wxPreStaticBox() (new wxStaticBox())
3928 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
* _resultobj
;
3930 wxStaticBox
* _result
;
3931 char *_kwnames
[] = { NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) return NULL
;
3944 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3945 _resultobj
= Py_BuildValue("s",_ptemp
);
3948 _resultobj
= Py_None
;
3953 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3954 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3957 wxStaticBox
* _arg0
;
3961 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3962 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3963 long _arg6
= (long ) 0;
3964 char * _arg7
= (char *) "staticBox";
3965 PyObject
* _argo0
= 0;
3966 PyObject
* _argo1
= 0;
3967 PyObject
* _obj3
= 0;
3969 PyObject
* _obj4
= 0;
3971 PyObject
* _obj5
= 0;
3972 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3992 #if PYTHON_API_VERSION >= 1009
3993 char* tmpPtr
; int tmpSize
;
3994 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3995 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3998 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4000 _arg3
= new wxString(tmpPtr
, tmpSize
);
4002 if (!PyString_Check(_obj3
)) {
4003 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4006 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4012 if (! wxPoint_helper(_obj4
, &_arg4
))
4018 if (! wxSize_helper(_obj5
, &_arg5
))
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) return NULL
;
4027 } _resultobj
= Py_BuildValue("i",_result
);
4035 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4038 src
= (wxStaticLine
*) ptr
;
4039 dest
= (wxControl
*) src
;
4040 return (void *) dest
;
4043 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4046 src
= (wxStaticLine
*) ptr
;
4047 dest
= (wxWindow
*) src
;
4048 return (void *) dest
;
4051 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4054 src
= (wxStaticLine
*) ptr
;
4055 dest
= (wxEvtHandler
*) src
;
4056 return (void *) dest
;
4059 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4062 src
= (wxStaticLine
*) ptr
;
4063 dest
= (wxObject
*) src
;
4064 return (void *) dest
;
4067 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4068 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
* _resultobj
;
4070 wxStaticLine
* _result
;
4073 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4074 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4075 long _arg4
= (long ) wxLI_HORIZONTAL
;
4076 char * _arg5
= (char *) "staticLine";
4077 PyObject
* _argo0
= 0;
4079 PyObject
* _obj2
= 0;
4081 PyObject
* _obj3
= 0;
4082 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4089 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4090 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4098 if (! wxPoint_helper(_obj2
, &_arg2
))
4104 if (! wxSize_helper(_obj3
, &_arg3
))
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) return NULL
;
4114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4115 _resultobj
= Py_BuildValue("s",_ptemp
);
4118 _resultobj
= Py_None
;
4123 #define new_wxPreStaticLine() (new wxStaticLine())
4124 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4126 wxStaticLine
* _result
;
4127 char *_kwnames
[] = { NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) return NULL
;
4140 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4141 _resultobj
= Py_BuildValue("s",_ptemp
);
4144 _resultobj
= Py_None
;
4149 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4150 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4153 wxStaticLine
* _arg0
;
4156 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4157 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4158 long _arg5
= (long ) wxLI_HORIZONTAL
;
4159 char * _arg6
= (char *) "staticLine";
4160 PyObject
* _argo0
= 0;
4161 PyObject
* _argo1
= 0;
4163 PyObject
* _obj3
= 0;
4165 PyObject
* _obj4
= 0;
4166 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4179 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4188 if (! wxPoint_helper(_obj3
, &_arg3
))
4194 if (! wxSize_helper(_obj4
, &_arg4
))
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4203 } _resultobj
= Py_BuildValue("i",_result
);
4207 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4210 src
= (wxStaticText
*) ptr
;
4211 dest
= (wxControl
*) src
;
4212 return (void *) dest
;
4215 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4218 src
= (wxStaticText
*) ptr
;
4219 dest
= (wxWindow
*) src
;
4220 return (void *) dest
;
4223 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4226 src
= (wxStaticText
*) ptr
;
4227 dest
= (wxEvtHandler
*) src
;
4228 return (void *) dest
;
4231 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4234 src
= (wxStaticText
*) ptr
;
4235 dest
= (wxObject
*) src
;
4236 return (void *) dest
;
4239 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4240 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
* _resultobj
;
4242 wxStaticText
* _result
;
4246 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4247 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4248 long _arg5
= (long ) 0;
4249 char * _arg6
= (char *) "staticText";
4250 PyObject
* _argo0
= 0;
4251 PyObject
* _obj2
= 0;
4253 PyObject
* _obj3
= 0;
4255 PyObject
* _obj4
= 0;
4256 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4270 #if PYTHON_API_VERSION >= 1009
4271 char* tmpPtr
; int tmpSize
;
4272 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4276 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4278 _arg2
= new wxString(tmpPtr
, tmpSize
);
4280 if (!PyString_Check(_obj2
)) {
4281 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4284 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4290 if (! wxPoint_helper(_obj3
, &_arg3
))
4296 if (! wxSize_helper(_obj4
, &_arg4
))
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) return NULL
;
4306 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4307 _resultobj
= Py_BuildValue("s",_ptemp
);
4310 _resultobj
= Py_None
;
4319 #define new_wxPreStaticText() (new wxStaticText())
4320 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
* _resultobj
;
4322 wxStaticText
* _result
;
4323 char *_kwnames
[] = { NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 _result
= (wxStaticText
*)new_wxPreStaticText();
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) return NULL
;
4336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4337 _resultobj
= Py_BuildValue("s",_ptemp
);
4340 _resultobj
= Py_None
;
4345 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4346 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4349 wxStaticText
* _arg0
;
4353 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4354 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4355 long _arg6
= (long ) 0;
4356 char * _arg7
= (char *) "staticText";
4357 PyObject
* _argo0
= 0;
4358 PyObject
* _argo1
= 0;
4359 PyObject
* _obj3
= 0;
4361 PyObject
* _obj4
= 0;
4363 PyObject
* _obj5
= 0;
4364 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4384 #if PYTHON_API_VERSION >= 1009
4385 char* tmpPtr
; int tmpSize
;
4386 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4387 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4390 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4392 _arg3
= new wxString(tmpPtr
, tmpSize
);
4394 if (!PyString_Check(_obj3
)) {
4395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4398 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4404 if (! wxPoint_helper(_obj4
, &_arg4
))
4410 if (! wxSize_helper(_obj5
, &_arg5
))
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) return NULL
;
4419 } _resultobj
= Py_BuildValue("i",_result
);
4427 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4428 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4431 wxStaticText
* _arg0
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) return NULL
;
4452 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4460 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4461 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4463 wxStaticText
* _arg0
;
4465 PyObject
* _argo0
= 0;
4466 PyObject
* _obj1
= 0;
4467 char *_kwnames
[] = { "self","label", NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4480 #if PYTHON_API_VERSION >= 1009
4481 char* tmpPtr
; int tmpSize
;
4482 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4483 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4486 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4488 _arg1
= new wxString(tmpPtr
, tmpSize
);
4490 if (!PyString_Check(_obj1
)) {
4491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4494 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 wxStaticText_SetLabel(_arg0
,*_arg1
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) return NULL
;
4503 } Py_INCREF(Py_None
);
4504 _resultobj
= Py_None
;
4512 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4514 wxControlWithItems
*dest
;
4515 src
= (wxListBox
*) ptr
;
4516 dest
= (wxControlWithItems
*) src
;
4517 return (void *) dest
;
4520 static void *SwigwxListBoxTowxControl(void *ptr
) {
4523 src
= (wxListBox
*) ptr
;
4524 dest
= (wxControl
*) src
;
4525 return (void *) dest
;
4528 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4531 src
= (wxListBox
*) ptr
;
4532 dest
= (wxWindow
*) src
;
4533 return (void *) dest
;
4536 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4539 src
= (wxListBox
*) ptr
;
4540 dest
= (wxEvtHandler
*) src
;
4541 return (void *) dest
;
4544 static void *SwigwxListBoxTowxObject(void *ptr
) {
4547 src
= (wxListBox
*) ptr
;
4548 dest
= (wxObject
*) src
;
4549 return (void *) dest
;
4552 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4553 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxListBox
* _result
;
4558 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4559 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4561 wxString
* _arg5
= (wxString
*) NULL
;
4562 long _arg6
= (long ) 0;
4563 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4564 char * _arg8
= (char *) "listBox";
4565 PyObject
* _argo0
= 0;
4567 PyObject
* _obj2
= 0;
4569 PyObject
* _obj3
= 0;
4570 PyObject
* _obj5
= 0;
4571 PyObject
* _argo7
= 0;
4572 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4588 if (! wxPoint_helper(_obj2
, &_arg2
))
4594 if (! wxSize_helper(_obj3
, &_arg3
))
4599 _arg5
= wxString_LIST_helper(_obj5
);
4600 if (_arg5
== NULL
) {
4605 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4606 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4613 _arg4
= PyList_Size(_obj5
);
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4626 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4627 _resultobj
= Py_BuildValue("s",_ptemp
);
4630 _resultobj
= Py_None
;
4638 #define new_wxPreListBox() (new wxListBox())
4639 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
* _resultobj
;
4641 wxListBox
* _result
;
4642 char *_kwnames
[] = { NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 _result
= (wxListBox
*)new_wxPreListBox();
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) return NULL
;
4655 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4656 _resultobj
= Py_BuildValue("s",_ptemp
);
4659 _resultobj
= Py_None
;
4664 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4665 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4671 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4672 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4674 wxString
* _arg6
= (wxString
*) NULL
;
4675 long _arg7
= (long ) 0;
4676 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4677 char * _arg9
= (char *) "listBox";
4678 PyObject
* _argo0
= 0;
4679 PyObject
* _argo1
= 0;
4681 PyObject
* _obj3
= 0;
4683 PyObject
* _obj4
= 0;
4684 PyObject
* _obj6
= 0;
4685 PyObject
* _argo8
= 0;
4686 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4699 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4708 if (! wxPoint_helper(_obj3
, &_arg3
))
4714 if (! wxSize_helper(_obj4
, &_arg4
))
4719 _arg6
= wxString_LIST_helper(_obj6
);
4720 if (_arg6
== NULL
) {
4725 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4726 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4733 _arg5
= PyList_Size(_obj6
);
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4745 } _resultobj
= Py_BuildValue("i",_result
);
4752 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4753 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4756 PyObject
* _argo0
= 0;
4757 char *_kwnames
[] = { "self", NULL
};
4760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4771 wxListBox_Clear(_arg0
);
4773 wxPyEndAllowThreads(__tstate
);
4774 if (PyErr_Occurred()) return NULL
;
4775 } Py_INCREF(Py_None
);
4776 _resultobj
= Py_None
;
4780 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4781 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4785 PyObject
* _argo0
= 0;
4786 char *_kwnames
[] = { "self","n", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 wxListBox_Deselect(_arg0
,_arg1
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) return NULL
;
4804 } Py_INCREF(Py_None
);
4805 _resultobj
= Py_None
;
4809 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4811 self
->GetSelections(lst
);
4812 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4813 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4814 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4818 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
* _resultobj
;
4822 PyObject
* _argo0
= 0;
4823 char *_kwnames
[] = { "self", NULL
};
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) return NULL
;
4842 _resultobj
= _result
;
4847 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4848 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4854 PyObject
* _argo0
= 0;
4855 PyObject
* _obj2
= 0;
4856 char *_kwnames
[] = { "self","choices","pos", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4869 _arg2
= wxString_LIST_helper(_obj2
);
4870 if (_arg2
== NULL
) {
4876 _arg1
= PyList_Size(_obj2
);
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) return NULL
;
4888 } Py_INCREF(Py_None
);
4889 _resultobj
= Py_None
;
4896 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4897 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
* _resultobj
;
4902 PyObject
* _argo0
= 0;
4903 char *_kwnames
[] = { "self","n", NULL
};
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) return NULL
;
4921 } _resultobj
= Py_BuildValue("i",_result
);
4925 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4926 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
* _resultobj
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self","n", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } _resultobj
= Py_BuildValue("i",_result
);
4954 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4955 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4961 PyObject
* _obj2
= 0;
4962 char *_kwnames
[] = { "self","choices", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4976 _arg2
= wxString_LIST_helper(_obj2
);
4977 if (_arg2
== NULL
) {
4983 _arg1
= PyList_Size(_obj2
);
4990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4991 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4993 wxPyEndAllowThreads(__tstate
);
4994 if (PyErr_Occurred()) return NULL
;
4995 } Py_INCREF(Py_None
);
4996 _resultobj
= Py_None
;
5003 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5004 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5008 PyObject
* _argo0
= 0;
5009 char *_kwnames
[] = { "self","n", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 wxListBox_SetFirstItem(_arg0
,_arg1
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) return NULL
;
5027 } Py_INCREF(Py_None
);
5028 _resultobj
= Py_None
;
5032 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5033 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5037 PyObject
* _argo0
= 0;
5038 PyObject
* _obj1
= 0;
5039 char *_kwnames
[] = { "self","string", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5052 #if PYTHON_API_VERSION >= 1009
5053 char* tmpPtr
; int tmpSize
;
5054 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5055 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5058 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5060 _arg1
= new wxString(tmpPtr
, tmpSize
);
5062 if (!PyString_Check(_obj1
)) {
5063 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5066 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) return NULL
;
5075 } Py_INCREF(Py_None
);
5076 _resultobj
= Py_None
;
5084 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5085 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
* _resultobj
;
5089 bool _arg2
= (bool ) TRUE
;
5090 PyObject
* _argo0
= 0;
5091 int tempbool2
= (int) TRUE
;
5092 char *_kwnames
[] = { "self","n","select", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5104 _arg2
= (bool ) tempbool2
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) return NULL
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5116 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5117 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5122 PyObject
* _argo0
= 0;
5123 PyObject
* _obj2
= 0;
5124 char *_kwnames
[] = { "self","n","string", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5137 #if PYTHON_API_VERSION >= 1009
5138 char* tmpPtr
; int tmpSize
;
5139 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5143 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5145 _arg2
= new wxString(tmpPtr
, tmpSize
);
5147 if (!PyString_Check(_obj2
)) {
5148 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5151 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) return NULL
;
5160 } Py_INCREF(Py_None
);
5161 _resultobj
= Py_None
;
5169 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5170 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
* _resultobj
;
5174 bool _arg2
= (bool ) TRUE
;
5175 PyObject
* _argo0
= 0;
5176 PyObject
* _obj1
= 0;
5177 int tempbool2
= (int) TRUE
;
5178 char *_kwnames
[] = { "self","string","select", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5191 #if PYTHON_API_VERSION >= 1009
5192 char* tmpPtr
; int tmpSize
;
5193 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5197 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5199 _arg1
= new wxString(tmpPtr
, tmpSize
);
5201 if (!PyString_Check(_obj1
)) {
5202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5205 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5208 _arg2
= (bool ) tempbool2
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) return NULL
;
5215 } Py_INCREF(Py_None
);
5216 _resultobj
= Py_None
;
5224 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5225 wxCheckListBox
*src
;
5227 src
= (wxCheckListBox
*) ptr
;
5228 dest
= (wxListBox
*) src
;
5229 return (void *) dest
;
5232 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5233 wxCheckListBox
*src
;
5234 wxControlWithItems
*dest
;
5235 src
= (wxCheckListBox
*) ptr
;
5236 dest
= (wxControlWithItems
*) src
;
5237 return (void *) dest
;
5240 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5241 wxCheckListBox
*src
;
5243 src
= (wxCheckListBox
*) ptr
;
5244 dest
= (wxControl
*) src
;
5245 return (void *) dest
;
5248 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5249 wxCheckListBox
*src
;
5251 src
= (wxCheckListBox
*) ptr
;
5252 dest
= (wxWindow
*) src
;
5253 return (void *) dest
;
5256 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5257 wxCheckListBox
*src
;
5259 src
= (wxCheckListBox
*) ptr
;
5260 dest
= (wxEvtHandler
*) src
;
5261 return (void *) dest
;
5264 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5265 wxCheckListBox
*src
;
5267 src
= (wxCheckListBox
*) ptr
;
5268 dest
= (wxObject
*) src
;
5269 return (void *) dest
;
5272 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5273 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5275 wxCheckListBox
* _result
;
5278 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5279 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5280 int _arg4
= (int ) 0;
5281 wxString
* _arg5
= (wxString
*) NULL
;
5282 long _arg6
= (long ) 0;
5283 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5284 char * _arg8
= (char *) "listBox";
5285 PyObject
* _argo0
= 0;
5287 PyObject
* _obj2
= 0;
5289 PyObject
* _obj3
= 0;
5290 PyObject
* _obj5
= 0;
5291 PyObject
* _argo7
= 0;
5292 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5308 if (! wxPoint_helper(_obj2
, &_arg2
))
5314 if (! wxSize_helper(_obj3
, &_arg3
))
5319 _arg5
= wxString_LIST_helper(_obj5
);
5320 if (_arg5
== NULL
) {
5325 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5333 _arg4
= PyList_Size(_obj5
);
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) return NULL
;
5346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5347 _resultobj
= Py_BuildValue("s",_ptemp
);
5350 _resultobj
= Py_None
;
5358 #define new_wxPreCheckListBox() (new wxCheckListBox())
5359 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5361 wxCheckListBox
* _result
;
5362 char *_kwnames
[] = { NULL
};
5366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5370 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) return NULL
;
5375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5376 _resultobj
= Py_BuildValue("s",_ptemp
);
5379 _resultobj
= Py_None
;
5384 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5385 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
* _resultobj
;
5388 wxCheckListBox
* _arg0
;
5391 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5392 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5393 int _arg5
= (int ) 0;
5394 wxString
* _arg6
= (wxString
*) NULL
;
5395 long _arg7
= (long ) 0;
5396 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5397 char * _arg9
= (char *) "listBox";
5398 PyObject
* _argo0
= 0;
5399 PyObject
* _argo1
= 0;
5401 PyObject
* _obj3
= 0;
5403 PyObject
* _obj4
= 0;
5404 PyObject
* _obj6
= 0;
5405 PyObject
* _argo8
= 0;
5406 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5419 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5420 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5428 if (! wxPoint_helper(_obj3
, &_arg3
))
5434 if (! wxSize_helper(_obj4
, &_arg4
))
5439 _arg6
= wxString_LIST_helper(_obj6
);
5440 if (_arg6
== NULL
) {
5445 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5453 _arg5
= PyList_Size(_obj6
);
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) return NULL
;
5465 } _resultobj
= Py_BuildValue("i",_result
);
5472 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5473 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5476 wxCheckListBox
* _arg0
;
5478 PyObject
* _argo0
= 0;
5479 char *_kwnames
[] = { "self","uiIndex", NULL
};
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) return NULL
;
5497 } _resultobj
= Py_BuildValue("i",_result
);
5501 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5502 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5504 wxCheckListBox
* _arg0
;
5506 int _arg2
= (int ) TRUE
;
5507 PyObject
* _argo0
= 0;
5508 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) return NULL
;
5526 } Py_INCREF(Py_None
);
5527 _resultobj
= Py_None
;
5531 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5532 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5534 wxCheckListBox
* _arg0
;
5538 PyObject
* _argo0
= 0;
5539 PyObject
* _obj2
= 0;
5540 char *_kwnames
[] = { "self","choices","pos", NULL
};
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5553 _arg2
= wxString_LIST_helper(_obj2
);
5554 if (_arg2
== NULL
) {
5560 _arg1
= PyList_Size(_obj2
);
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) return NULL
;
5572 } Py_INCREF(Py_None
);
5573 _resultobj
= Py_None
;
5580 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5581 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
* _resultobj
;
5584 wxCheckListBox
* _arg0
;
5585 PyObject
* _argo0
= 0;
5586 char *_kwnames
[] = { "self", NULL
};
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) return NULL
;
5604 } _resultobj
= Py_BuildValue("i",_result
);
5608 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5609 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
* _resultobj
;
5611 wxTextAttr
* _result
;
5612 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5613 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5614 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5616 PyObject
* _obj0
= 0;
5618 PyObject
* _obj1
= 0;
5619 PyObject
* _argo2
= 0;
5620 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5629 if (! wxColour_helper(_obj0
, &_arg0
))
5635 if (! wxColour_helper(_obj1
, &_arg1
))
5639 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) return NULL
;
5652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5653 _resultobj
= Py_BuildValue("s",_ptemp
);
5656 _resultobj
= Py_None
;
5661 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5662 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5665 PyObject
* _argo0
= 0;
5666 char *_kwnames
[] = { "self", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 delete_wxTextAttr(_arg0
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) return NULL
;
5684 } Py_INCREF(Py_None
);
5685 _resultobj
= Py_None
;
5689 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5690 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
* _resultobj
;
5694 PyObject
* _argo0
= 0;
5696 PyObject
* _obj1
= 0;
5697 char *_kwnames
[] = { "self","colText", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5711 if (! wxColour_helper(_obj1
, &_arg1
))
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) return NULL
;
5720 } Py_INCREF(Py_None
);
5721 _resultobj
= Py_None
;
5725 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5726 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
* _resultobj
;
5730 PyObject
* _argo0
= 0;
5732 PyObject
* _obj1
= 0;
5733 char *_kwnames
[] = { "self","colBack", NULL
};
5736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5747 if (! wxColour_helper(_obj1
, &_arg1
))
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) return NULL
;
5756 } Py_INCREF(Py_None
);
5757 _resultobj
= Py_None
;
5761 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5762 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5766 PyObject
* _argo0
= 0;
5767 PyObject
* _argo1
= 0;
5768 char *_kwnames
[] = { "self","font", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 wxTextAttr_SetFont(_arg0
,*_arg1
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) return NULL
;
5793 } Py_INCREF(Py_None
);
5794 _resultobj
= Py_None
;
5798 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5799 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5800 PyObject
* _resultobj
;
5803 PyObject
* _argo0
= 0;
5804 char *_kwnames
[] = { "self", NULL
};
5807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) return NULL
;
5822 } _resultobj
= Py_BuildValue("i",_result
);
5826 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5827 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5828 PyObject
* _resultobj
;
5831 PyObject
* _argo0
= 0;
5832 char *_kwnames
[] = { "self", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) return NULL
;
5850 } _resultobj
= Py_BuildValue("i",_result
);
5854 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5855 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
* _resultobj
;
5859 PyObject
* _argo0
= 0;
5860 char *_kwnames
[] = { "self", NULL
};
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) return NULL
;
5878 } _resultobj
= Py_BuildValue("i",_result
);
5882 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5883 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
* _resultobj
;
5887 PyObject
* _argo0
= 0;
5888 char *_kwnames
[] = { "self", NULL
};
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) return NULL
;
5907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5908 _resultobj
= Py_BuildValue("s",_ptemp
);
5912 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5913 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5917 PyObject
* _argo0
= 0;
5918 char *_kwnames
[] = { "self", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) return NULL
;
5937 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5938 _resultobj
= Py_BuildValue("s",_ptemp
);
5942 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5943 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
* _resultobj
;
5947 PyObject
* _argo0
= 0;
5948 char *_kwnames
[] = { "self", NULL
};
5952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) return NULL
;
5967 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5968 _resultobj
= Py_BuildValue("s",_ptemp
);
5972 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5973 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) return NULL
;
5996 } _resultobj
= Py_BuildValue("i",_result
);
6000 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6002 wxTextAttr
* _result
;
6006 PyObject
* _argo0
= 0;
6007 PyObject
* _argo1
= 0;
6008 PyObject
* _argo2
= 0;
6009 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6030 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) return NULL
;
6042 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6043 _resultobj
= Py_BuildValue("s",_ptemp
);
6047 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6050 src
= (wxTextCtrl
*) ptr
;
6051 dest
= (wxControl
*) src
;
6052 return (void *) dest
;
6055 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6058 src
= (wxTextCtrl
*) ptr
;
6059 dest
= (wxWindow
*) src
;
6060 return (void *) dest
;
6063 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6066 src
= (wxTextCtrl
*) ptr
;
6067 dest
= (wxEvtHandler
*) src
;
6068 return (void *) dest
;
6071 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6074 src
= (wxTextCtrl
*) ptr
;
6075 dest
= (wxObject
*) src
;
6076 return (void *) dest
;
6079 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6080 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6082 wxTextCtrl
* _result
;
6085 char * _arg2
= (char *) "";
6086 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6087 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6088 long _arg5
= (long ) 0;
6089 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6090 char * _arg7
= (char *) "text";
6091 PyObject
* _argo0
= 0;
6093 PyObject
* _obj3
= 0;
6095 PyObject
* _obj4
= 0;
6096 PyObject
* _argo6
= 0;
6097 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6113 if (! wxPoint_helper(_obj3
, &_arg3
))
6119 if (! wxSize_helper(_obj4
, &_arg4
))
6123 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6124 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) return NULL
;
6136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6137 _resultobj
= Py_BuildValue("s",_ptemp
);
6140 _resultobj
= Py_None
;
6145 #define new_wxPreTextCtrl() (new wxTextCtrl())
6146 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6148 wxTextCtrl
* _result
;
6149 char *_kwnames
[] = { NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) return NULL
;
6162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6163 _resultobj
= Py_BuildValue("s",_ptemp
);
6166 _resultobj
= Py_None
;
6171 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6172 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6178 char * _arg3
= (char *) "";
6179 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6180 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6181 long _arg6
= (long ) 0;
6182 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6183 char * _arg8
= (char *) "text";
6184 PyObject
* _argo0
= 0;
6185 PyObject
* _argo1
= 0;
6187 PyObject
* _obj4
= 0;
6189 PyObject
* _obj5
= 0;
6190 PyObject
* _argo7
= 0;
6191 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6204 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6213 if (! wxPoint_helper(_obj4
, &_arg4
))
6219 if (! wxSize_helper(_obj5
, &_arg5
))
6223 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6224 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) return NULL
;
6235 } _resultobj
= Py_BuildValue("i",_result
);
6239 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6240 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
* _resultobj
;
6244 PyObject
* _argo0
= 0;
6245 char *_kwnames
[] = { "self", NULL
};
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) return NULL
;
6264 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6272 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6273 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6277 PyObject
* _argo0
= 0;
6278 PyObject
* _obj1
= 0;
6279 char *_kwnames
[] = { "self","value", NULL
};
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6292 #if PYTHON_API_VERSION >= 1009
6293 char* tmpPtr
; int tmpSize
;
6294 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6298 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6300 _arg1
= new wxString(tmpPtr
, tmpSize
);
6302 if (!PyString_Check(_obj1
)) {
6303 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6306 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) return NULL
;
6315 } Py_INCREF(Py_None
);
6316 _resultobj
= Py_None
;
6324 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6325 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
* _resultobj
;
6331 PyObject
* _argo0
= 0;
6332 char *_kwnames
[] = { "self","from","to", NULL
};
6335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) return NULL
;
6351 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6359 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6360 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
* _resultobj
;
6365 PyObject
* _argo0
= 0;
6366 char *_kwnames
[] = { "self","lineNo", NULL
};
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) return NULL
;
6384 } _resultobj
= Py_BuildValue("i",_result
);
6388 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6389 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6394 PyObject
* _argo0
= 0;
6395 char *_kwnames
[] = { "self","lineNo", NULL
};
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) return NULL
;
6414 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6422 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6423 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
* _resultobj
;
6427 PyObject
* _argo0
= 0;
6428 char *_kwnames
[] = { "self", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) return NULL
;
6446 } _resultobj
= Py_BuildValue("i",_result
);
6450 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6451 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
* _resultobj
;
6455 PyObject
* _argo0
= 0;
6456 char *_kwnames
[] = { "self", NULL
};
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) return NULL
;
6474 } _resultobj
= Py_BuildValue("i",_result
);
6478 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6479 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6483 PyObject
* _argo0
= 0;
6484 char *_kwnames
[] = { "self", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) return NULL
;
6502 } _resultobj
= Py_BuildValue("i",_result
);
6506 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6507 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
* _resultobj
;
6514 PyObject
* _argo0
= 0;
6515 char *_kwnames
[] = { "self", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) return NULL
;
6539 } Py_INCREF(Py_None
);
6540 _resultobj
= Py_None
;
6543 o
= PyInt_FromLong((long) (*_arg1
));
6544 _resultobj
= t_output_helper(_resultobj
, o
);
6548 o
= PyInt_FromLong((long) (*_arg2
));
6549 _resultobj
= t_output_helper(_resultobj
, o
);
6554 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6555 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
* _resultobj
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) return NULL
;
6579 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6587 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6588 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6591 PyObject
* _argo0
= 0;
6592 char *_kwnames
[] = { "self", NULL
};
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 wxTextCtrl_Clear(_arg0
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) return NULL
;
6610 } Py_INCREF(Py_None
);
6611 _resultobj
= Py_None
;
6615 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6616 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6622 PyObject
* _argo0
= 0;
6623 PyObject
* _obj3
= 0;
6624 char *_kwnames
[] = { "self","from","to","value", NULL
};
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6637 #if PYTHON_API_VERSION >= 1009
6638 char* tmpPtr
; int tmpSize
;
6639 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6643 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6645 _arg3
= new wxString(tmpPtr
, tmpSize
);
6647 if (!PyString_Check(_obj3
)) {
6648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6651 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) return NULL
;
6660 } Py_INCREF(Py_None
);
6661 _resultobj
= Py_None
;
6669 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6670 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
* _resultobj
;
6675 PyObject
* _argo0
= 0;
6676 char *_kwnames
[] = { "self","from","to", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) return NULL
;
6694 } Py_INCREF(Py_None
);
6695 _resultobj
= Py_None
;
6699 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6700 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6705 PyObject
* _argo0
= 0;
6706 PyObject
* _obj1
= 0;
6707 char *_kwnames
[] = { "self","file", NULL
};
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6720 #if PYTHON_API_VERSION >= 1009
6721 char* tmpPtr
; int tmpSize
;
6722 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6726 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6728 _arg1
= new wxString(tmpPtr
, tmpSize
);
6730 if (!PyString_Check(_obj1
)) {
6731 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6734 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) return NULL
;
6743 } _resultobj
= Py_BuildValue("i",_result
);
6751 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6752 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
* _resultobj
;
6756 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6757 PyObject
* _argo0
= 0;
6758 PyObject
* _obj1
= 0;
6759 char *_kwnames
[] = { "self","file", NULL
};
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6773 #if PYTHON_API_VERSION >= 1009
6774 char* tmpPtr
; int tmpSize
;
6775 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6776 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6779 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6781 _arg1
= new wxString(tmpPtr
, tmpSize
);
6783 if (!PyString_Check(_obj1
)) {
6784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6787 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) return NULL
;
6796 } _resultobj
= Py_BuildValue("i",_result
);
6804 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6805 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6806 PyObject
* _resultobj
;
6808 PyObject
* _argo0
= 0;
6809 char *_kwnames
[] = { "self", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 wxTextCtrl_DiscardEdits(_arg0
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) return NULL
;
6827 } Py_INCREF(Py_None
);
6828 _resultobj
= Py_None
;
6832 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6833 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
* _resultobj
;
6836 unsigned long _arg1
;
6837 PyObject
* _argo0
= 0;
6838 char *_kwnames
[] = { "self","len", NULL
};
6841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) return NULL
;
6856 } Py_INCREF(Py_None
);
6857 _resultobj
= Py_None
;
6861 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6862 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6866 PyObject
* _argo0
= 0;
6867 PyObject
* _obj1
= 0;
6868 char *_kwnames
[] = { "self","text", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6881 #if PYTHON_API_VERSION >= 1009
6882 char* tmpPtr
; int tmpSize
;
6883 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6884 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6887 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6889 _arg1
= new wxString(tmpPtr
, tmpSize
);
6891 if (!PyString_Check(_obj1
)) {
6892 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6895 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) return NULL
;
6904 } Py_INCREF(Py_None
);
6905 _resultobj
= Py_None
;
6913 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6914 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6918 PyObject
* _argo0
= 0;
6919 PyObject
* _obj1
= 0;
6920 char *_kwnames
[] = { "self","text", NULL
};
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6933 #if PYTHON_API_VERSION >= 1009
6934 char* tmpPtr
; int tmpSize
;
6935 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6936 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6939 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6941 _arg1
= new wxString(tmpPtr
, tmpSize
);
6943 if (!PyString_Check(_obj1
)) {
6944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6947 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) return NULL
;
6956 } Py_INCREF(Py_None
);
6957 _resultobj
= Py_None
;
6965 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6966 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6973 PyObject
* _argo0
= 0;
6974 PyObject
* _argo3
= 0;
6975 char *_kwnames
[] = { "self","start","end","style", NULL
};
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6988 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) return NULL
;
7000 } _resultobj
= Py_BuildValue("i",_result
);
7004 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7005 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 PyObject
* _argo1
= 0;
7012 char *_kwnames
[] = { "self","style", NULL
};
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7025 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) return NULL
;
7037 } _resultobj
= Py_BuildValue("i",_result
);
7041 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7042 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
* _resultobj
;
7044 wxTextAttr
* _result
;
7046 PyObject
* _argo0
= 0;
7047 char *_kwnames
[] = { "self", NULL
};
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7063 _result
= (wxTextAttr
*) &_result_ref
;
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) return NULL
;
7068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7069 _resultobj
= Py_BuildValue("s",_ptemp
);
7072 _resultobj
= Py_None
;
7077 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7078 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7084 PyObject
* _argo0
= 0;
7085 char *_kwnames
[] = { "self","x","y", NULL
};
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) return NULL
;
7103 } _resultobj
= Py_BuildValue("l",_result
);
7107 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7108 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7116 PyObject
* _argo0
= 0;
7117 char *_kwnames
[] = { "self","pos", NULL
};
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) return NULL
;
7141 } Py_INCREF(Py_None
);
7142 _resultobj
= Py_None
;
7145 o
= PyInt_FromLong((long) (*_arg2
));
7146 _resultobj
= t_output_helper(_resultobj
, o
);
7150 o
= PyInt_FromLong((long) (*_arg3
));
7151 _resultobj
= t_output_helper(_resultobj
, o
);
7156 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7157 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
* _resultobj
;
7161 PyObject
* _argo0
= 0;
7162 char *_kwnames
[] = { "self","pos", NULL
};
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) return NULL
;
7180 } Py_INCREF(Py_None
);
7181 _resultobj
= Py_None
;
7185 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7186 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
* _resultobj
;
7189 PyObject
* _argo0
= 0;
7190 char *_kwnames
[] = { "self", NULL
};
7193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 wxTextCtrl_Copy(_arg0
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) return NULL
;
7208 } Py_INCREF(Py_None
);
7209 _resultobj
= Py_None
;
7213 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7214 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
* _resultobj
;
7217 PyObject
* _argo0
= 0;
7218 char *_kwnames
[] = { "self", NULL
};
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 wxTextCtrl_Cut(_arg0
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) return NULL
;
7236 } Py_INCREF(Py_None
);
7237 _resultobj
= Py_None
;
7241 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7242 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
* _resultobj
;
7245 PyObject
* _argo0
= 0;
7246 char *_kwnames
[] = { "self", NULL
};
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 wxTextCtrl_Paste(_arg0
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) return NULL
;
7264 } Py_INCREF(Py_None
);
7265 _resultobj
= Py_None
;
7269 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7270 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7274 PyObject
* _argo0
= 0;
7275 char *_kwnames
[] = { "self", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } _resultobj
= Py_BuildValue("i",_result
);
7297 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7298 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } _resultobj
= Py_BuildValue("i",_result
);
7325 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7326 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
* _resultobj
;
7330 PyObject
* _argo0
= 0;
7331 char *_kwnames
[] = { "self", NULL
};
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) return NULL
;
7349 } _resultobj
= Py_BuildValue("i",_result
);
7353 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7354 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
* _resultobj
;
7357 PyObject
* _argo0
= 0;
7358 char *_kwnames
[] = { "self", NULL
};
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 wxTextCtrl_Undo(_arg0
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) return NULL
;
7376 } Py_INCREF(Py_None
);
7377 _resultobj
= Py_None
;
7381 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7382 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7385 PyObject
* _argo0
= 0;
7386 char *_kwnames
[] = { "self", NULL
};
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 wxTextCtrl_Redo(_arg0
);
7402 wxPyEndAllowThreads(__tstate
);
7403 if (PyErr_Occurred()) return NULL
;
7404 } Py_INCREF(Py_None
);
7405 _resultobj
= Py_None
;
7409 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7410 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7414 PyObject
* _argo0
= 0;
7415 char *_kwnames
[] = { "self", NULL
};
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) return NULL
;
7433 } _resultobj
= Py_BuildValue("i",_result
);
7437 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7438 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7442 PyObject
* _argo0
= 0;
7443 char *_kwnames
[] = { "self", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) return NULL
;
7461 } _resultobj
= Py_BuildValue("i",_result
);
7465 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7466 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
* _resultobj
;
7470 PyObject
* _argo0
= 0;
7471 char *_kwnames
[] = { "self","pos", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) return NULL
;
7489 } Py_INCREF(Py_None
);
7490 _resultobj
= Py_None
;
7494 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7495 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
* _resultobj
;
7498 PyObject
* _argo0
= 0;
7499 char *_kwnames
[] = { "self", NULL
};
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) return NULL
;
7517 } Py_INCREF(Py_None
);
7518 _resultobj
= Py_None
;
7522 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7523 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
* _resultobj
;
7527 PyObject
* _argo0
= 0;
7528 char *_kwnames
[] = { "self", NULL
};
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) return NULL
;
7546 } _resultobj
= Py_BuildValue("l",_result
);
7550 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7551 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
* _resultobj
;
7555 PyObject
* _argo0
= 0;
7556 char *_kwnames
[] = { "self", NULL
};
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) return NULL
;
7574 } _resultobj
= Py_BuildValue("l",_result
);
7578 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7579 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
* _resultobj
;
7584 PyObject
* _argo0
= 0;
7585 char *_kwnames
[] = { "self","from","to", NULL
};
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) return NULL
;
7603 } Py_INCREF(Py_None
);
7604 _resultobj
= Py_None
;
7608 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7609 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
* _resultobj
;
7612 PyObject
* _argo0
= 0;
7613 char *_kwnames
[] = { "self", NULL
};
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 wxTextCtrl_SelectAll(_arg0
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) return NULL
;
7631 } Py_INCREF(Py_None
);
7632 _resultobj
= Py_None
;
7636 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7637 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
* _resultobj
;
7641 PyObject
* _argo0
= 0;
7643 char *_kwnames
[] = { "self","editable", NULL
};
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7655 _arg1
= (bool ) tempbool1
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) return NULL
;
7662 } Py_INCREF(Py_None
);
7663 _resultobj
= Py_None
;
7667 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7668 self
->AppendText(text
);
7670 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
* _resultobj
;
7674 PyObject
* _argo0
= 0;
7675 PyObject
* _obj1
= 0;
7676 char *_kwnames
[] = { "self","text", NULL
};
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7689 #if PYTHON_API_VERSION >= 1009
7690 char* tmpPtr
; int tmpSize
;
7691 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7692 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7695 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7697 _arg1
= new wxString(tmpPtr
, tmpSize
);
7699 if (!PyString_Check(_obj1
)) {
7700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7703 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 wxTextCtrl_write(_arg0
,*_arg1
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) return NULL
;
7712 } Py_INCREF(Py_None
);
7713 _resultobj
= Py_None
;
7721 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7722 return self
->GetValue().Mid(from
, to
-from
);
7724 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
* _resultobj
;
7730 PyObject
* _argo0
= 0;
7731 char *_kwnames
[] = { "self","from","to", NULL
};
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) return NULL
;
7750 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7758 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7761 src
= (wxScrollBar
*) ptr
;
7762 dest
= (wxControl
*) src
;
7763 return (void *) dest
;
7766 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7769 src
= (wxScrollBar
*) ptr
;
7770 dest
= (wxWindow
*) src
;
7771 return (void *) dest
;
7774 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7777 src
= (wxScrollBar
*) ptr
;
7778 dest
= (wxEvtHandler
*) src
;
7779 return (void *) dest
;
7782 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7785 src
= (wxScrollBar
*) ptr
;
7786 dest
= (wxObject
*) src
;
7787 return (void *) dest
;
7790 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7791 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
* _resultobj
;
7793 wxScrollBar
* _result
;
7795 wxWindowID _arg1
= (wxWindowID
) -1;
7796 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7797 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7798 long _arg4
= (long ) wxSB_HORIZONTAL
;
7799 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7800 char * _arg6
= (char *) "scrollBar";
7801 PyObject
* _argo0
= 0;
7803 PyObject
* _obj2
= 0;
7805 PyObject
* _obj3
= 0;
7806 PyObject
* _argo5
= 0;
7807 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7823 if (! wxPoint_helper(_obj2
, &_arg2
))
7829 if (! wxSize_helper(_obj3
, &_arg3
))
7833 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7834 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) return NULL
;
7846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7847 _resultobj
= Py_BuildValue("s",_ptemp
);
7850 _resultobj
= Py_None
;
7855 #define new_wxPreScrollBar() (new wxScrollBar())
7856 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
* _resultobj
;
7858 wxScrollBar
* _result
;
7859 char *_kwnames
[] = { NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) return NULL
;
7872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7873 _resultobj
= Py_BuildValue("s",_ptemp
);
7876 _resultobj
= Py_None
;
7881 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7882 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7885 wxScrollBar
* _arg0
;
7887 wxWindowID _arg2
= (wxWindowID
) -1;
7888 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7889 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7890 long _arg5
= (long ) wxSB_HORIZONTAL
;
7891 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7892 char * _arg7
= (char *) "scrollBar";
7893 PyObject
* _argo0
= 0;
7894 PyObject
* _argo1
= 0;
7896 PyObject
* _obj3
= 0;
7898 PyObject
* _obj4
= 0;
7899 PyObject
* _argo6
= 0;
7900 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7913 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7914 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7922 if (! wxPoint_helper(_obj3
, &_arg3
))
7928 if (! wxSize_helper(_obj4
, &_arg4
))
7932 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7933 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) return NULL
;
7944 } _resultobj
= Py_BuildValue("i",_result
);
7948 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7949 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
* _resultobj
;
7952 wxScrollBar
* _arg0
;
7953 PyObject
* _argo0
= 0;
7954 char *_kwnames
[] = { "self", NULL
};
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 _result
= (int )wxScrollBar_GetRange(_arg0
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) return NULL
;
7972 } _resultobj
= Py_BuildValue("i",_result
);
7976 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7977 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
* _resultobj
;
7980 wxScrollBar
* _arg0
;
7981 PyObject
* _argo0
= 0;
7982 char *_kwnames
[] = { "self", NULL
};
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) return NULL
;
8000 } _resultobj
= Py_BuildValue("i",_result
);
8004 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8005 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
* _resultobj
;
8008 wxScrollBar
* _arg0
;
8009 PyObject
* _argo0
= 0;
8010 char *_kwnames
[] = { "self", NULL
};
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) return NULL
;
8028 } _resultobj
= Py_BuildValue("i",_result
);
8032 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8033 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
* _resultobj
;
8036 wxScrollBar
* _arg0
;
8037 PyObject
* _argo0
= 0;
8038 char *_kwnames
[] = { "self", NULL
};
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) return NULL
;
8056 } _resultobj
= Py_BuildValue("i",_result
);
8060 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8061 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8064 wxScrollBar
* _arg0
;
8065 PyObject
* _argo0
= 0;
8066 char *_kwnames
[] = { "self", NULL
};
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) return NULL
;
8084 } _resultobj
= Py_BuildValue("i",_result
);
8088 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8089 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
* _resultobj
;
8091 wxScrollBar
* _arg0
;
8093 PyObject
* _argo0
= 0;
8094 char *_kwnames
[] = { "self","viewStart", NULL
};
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) return NULL
;
8112 } Py_INCREF(Py_None
);
8113 _resultobj
= Py_None
;
8117 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8118 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
* _resultobj
;
8120 wxScrollBar
* _arg0
;
8125 bool _arg5
= (bool ) TRUE
;
8126 PyObject
* _argo0
= 0;
8127 int tempbool5
= (int) TRUE
;
8128 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8140 _arg5
= (bool ) tempbool5
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) return NULL
;
8147 } Py_INCREF(Py_None
);
8148 _resultobj
= Py_None
;
8152 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8155 src
= (wxSpinButton
*) ptr
;
8156 dest
= (wxControl
*) src
;
8157 return (void *) dest
;
8160 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8163 src
= (wxSpinButton
*) ptr
;
8164 dest
= (wxWindow
*) src
;
8165 return (void *) dest
;
8168 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8171 src
= (wxSpinButton
*) ptr
;
8172 dest
= (wxEvtHandler
*) src
;
8173 return (void *) dest
;
8176 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8179 src
= (wxSpinButton
*) ptr
;
8180 dest
= (wxObject
*) src
;
8181 return (void *) dest
;
8184 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8185 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
* _resultobj
;
8187 wxSpinButton
* _result
;
8189 wxWindowID _arg1
= (wxWindowID
) -1;
8190 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8191 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8192 long _arg4
= (long ) wxSP_HORIZONTAL
;
8193 char * _arg5
= (char *) "spinButton";
8194 PyObject
* _argo0
= 0;
8196 PyObject
* _obj2
= 0;
8198 PyObject
* _obj3
= 0;
8199 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8215 if (! wxPoint_helper(_obj2
, &_arg2
))
8221 if (! wxSize_helper(_obj3
, &_arg3
))
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) return NULL
;
8231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8232 _resultobj
= Py_BuildValue("s",_ptemp
);
8235 _resultobj
= Py_None
;
8240 #define new_wxPreSpinButton() (new wxSpinButton())
8241 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8243 wxSpinButton
* _result
;
8244 char *_kwnames
[] = { NULL
};
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) return NULL
;
8257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8258 _resultobj
= Py_BuildValue("s",_ptemp
);
8261 _resultobj
= Py_None
;
8266 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8267 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8270 wxSpinButton
* _arg0
;
8272 wxWindowID _arg2
= (wxWindowID
) -1;
8273 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8274 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8275 long _arg5
= (long ) wxSP_HORIZONTAL
;
8276 char * _arg6
= (char *) "spinButton";
8277 PyObject
* _argo0
= 0;
8278 PyObject
* _argo1
= 0;
8280 PyObject
* _obj3
= 0;
8282 PyObject
* _obj4
= 0;
8283 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8296 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8297 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8305 if (! wxPoint_helper(_obj3
, &_arg3
))
8311 if (! wxSize_helper(_obj4
, &_arg4
))
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) return NULL
;
8320 } _resultobj
= Py_BuildValue("i",_result
);
8324 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8325 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8328 wxSpinButton
* _arg0
;
8329 PyObject
* _argo0
= 0;
8330 char *_kwnames
[] = { "self", NULL
};
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 _result
= (int )wxSpinButton_GetMax(_arg0
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) return NULL
;
8348 } _resultobj
= Py_BuildValue("i",_result
);
8352 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8353 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
* _resultobj
;
8356 wxSpinButton
* _arg0
;
8357 PyObject
* _argo0
= 0;
8358 char *_kwnames
[] = { "self", NULL
};
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 _result
= (int )wxSpinButton_GetMin(_arg0
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) return NULL
;
8376 } _resultobj
= Py_BuildValue("i",_result
);
8380 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8381 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
* _resultobj
;
8384 wxSpinButton
* _arg0
;
8385 PyObject
* _argo0
= 0;
8386 char *_kwnames
[] = { "self", NULL
};
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 _result
= (int )wxSpinButton_GetValue(_arg0
);
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) return NULL
;
8404 } _resultobj
= Py_BuildValue("i",_result
);
8408 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8409 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
* _resultobj
;
8411 wxSpinButton
* _arg0
;
8414 PyObject
* _argo0
= 0;
8415 char *_kwnames
[] = { "self","min","max", NULL
};
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) return NULL
;
8433 } Py_INCREF(Py_None
);
8434 _resultobj
= Py_None
;
8438 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8439 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
* _resultobj
;
8441 wxSpinButton
* _arg0
;
8443 PyObject
* _argo0
= 0;
8444 char *_kwnames
[] = { "self","value", NULL
};
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 wxSpinButton_SetValue(_arg0
,_arg1
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) return NULL
;
8462 } Py_INCREF(Py_None
);
8463 _resultobj
= Py_None
;
8467 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8468 wxStaticBitmap
*src
;
8470 src
= (wxStaticBitmap
*) ptr
;
8471 dest
= (wxControl
*) src
;
8472 return (void *) dest
;
8475 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8476 wxStaticBitmap
*src
;
8478 src
= (wxStaticBitmap
*) ptr
;
8479 dest
= (wxWindow
*) src
;
8480 return (void *) dest
;
8483 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8484 wxStaticBitmap
*src
;
8486 src
= (wxStaticBitmap
*) ptr
;
8487 dest
= (wxEvtHandler
*) src
;
8488 return (void *) dest
;
8491 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8492 wxStaticBitmap
*src
;
8494 src
= (wxStaticBitmap
*) ptr
;
8495 dest
= (wxObject
*) src
;
8496 return (void *) dest
;
8499 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8500 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8501 PyObject
* _resultobj
;
8502 wxStaticBitmap
* _result
;
8506 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8507 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8508 long _arg5
= (long ) 0;
8509 char * _arg6
= (char *) "staticBitmap";
8510 PyObject
* _argo0
= 0;
8511 PyObject
* _argo2
= 0;
8513 PyObject
* _obj3
= 0;
8515 PyObject
* _obj4
= 0;
8516 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8530 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8531 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8539 if (! wxPoint_helper(_obj3
, &_arg3
))
8545 if (! wxSize_helper(_obj4
, &_arg4
))
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) return NULL
;
8555 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8556 _resultobj
= Py_BuildValue("s",_ptemp
);
8559 _resultobj
= Py_None
;
8564 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8565 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8566 PyObject
* _resultobj
;
8567 wxStaticBitmap
* _result
;
8568 char *_kwnames
[] = { NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) return NULL
;
8581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8582 _resultobj
= Py_BuildValue("s",_ptemp
);
8585 _resultobj
= Py_None
;
8590 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8591 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
* _resultobj
;
8594 wxStaticBitmap
* _arg0
;
8598 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8599 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8600 long _arg6
= (long ) 0;
8601 char * _arg7
= (char *) "staticBitmap";
8602 PyObject
* _argo0
= 0;
8603 PyObject
* _argo1
= 0;
8604 PyObject
* _argo3
= 0;
8606 PyObject
* _obj4
= 0;
8608 PyObject
* _obj5
= 0;
8609 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8629 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8630 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8638 if (! wxPoint_helper(_obj4
, &_arg4
))
8644 if (! wxSize_helper(_obj5
, &_arg5
))
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) return NULL
;
8653 } _resultobj
= Py_BuildValue("i",_result
);
8657 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8658 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8661 wxStaticBitmap
* _arg0
;
8662 PyObject
* _argo0
= 0;
8663 char *_kwnames
[] = { "self", NULL
};
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) return NULL
;
8682 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8683 _resultobj
= Py_BuildValue("s",_ptemp
);
8687 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8688 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
* _resultobj
;
8690 wxStaticBitmap
* _arg0
;
8692 PyObject
* _argo0
= 0;
8693 PyObject
* _argo1
= 0;
8694 char *_kwnames
[] = { "self","bitmap", NULL
};
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) return NULL
;
8719 } Py_INCREF(Py_None
);
8720 _resultobj
= Py_None
;
8724 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8725 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8727 wxStaticBitmap
* _arg0
;
8729 PyObject
* _argo0
= 0;
8730 PyObject
* _argo1
= 0;
8731 char *_kwnames
[] = { "self","icon", NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) return NULL
;
8756 } Py_INCREF(Py_None
);
8757 _resultobj
= Py_None
;
8761 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8764 src
= (wxRadioBox
*) ptr
;
8765 dest
= (wxControl
*) src
;
8766 return (void *) dest
;
8769 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8772 src
= (wxRadioBox
*) ptr
;
8773 dest
= (wxWindow
*) src
;
8774 return (void *) dest
;
8777 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8780 src
= (wxRadioBox
*) ptr
;
8781 dest
= (wxEvtHandler
*) src
;
8782 return (void *) dest
;
8785 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8788 src
= (wxRadioBox
*) ptr
;
8789 dest
= (wxObject
*) src
;
8790 return (void *) dest
;
8793 #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))
8794 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
* _resultobj
;
8796 wxRadioBox
* _result
;
8800 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8801 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8802 int _arg5
= (int ) 0;
8803 wxString
* _arg6
= (wxString
*) NULL
;
8804 int _arg7
= (int ) 0;
8805 long _arg8
= (long ) wxRA_HORIZONTAL
;
8806 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8807 char * _arg10
= (char *) "radioBox";
8808 PyObject
* _argo0
= 0;
8809 PyObject
* _obj2
= 0;
8811 PyObject
* _obj3
= 0;
8813 PyObject
* _obj4
= 0;
8814 PyObject
* _obj6
= 0;
8815 PyObject
* _argo9
= 0;
8816 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8830 #if PYTHON_API_VERSION >= 1009
8831 char* tmpPtr
; int tmpSize
;
8832 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8836 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8838 _arg2
= new wxString(tmpPtr
, tmpSize
);
8840 if (!PyString_Check(_obj2
)) {
8841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8844 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8850 if (! wxPoint_helper(_obj3
, &_arg3
))
8856 if (! wxSize_helper(_obj4
, &_arg4
))
8861 _arg6
= wxString_LIST_helper(_obj6
);
8862 if (_arg6
== NULL
) {
8867 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8868 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8875 _arg5
= PyList_Size(_obj6
);
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) return NULL
;
8888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8889 _resultobj
= Py_BuildValue("s",_ptemp
);
8892 _resultobj
= Py_None
;
8904 #define new_wxPreRadioBox() (new wxRadioBox())
8905 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
* _resultobj
;
8907 wxRadioBox
* _result
;
8908 char *_kwnames
[] = { NULL
};
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) return NULL
;
8921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8922 _resultobj
= Py_BuildValue("s",_ptemp
);
8925 _resultobj
= Py_None
;
8930 #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))
8931 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
* _resultobj
;
8938 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8939 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8940 int _arg6
= (int ) 0;
8941 wxString
* _arg7
= (wxString
*) NULL
;
8942 int _arg8
= (int ) 0;
8943 long _arg9
= (long ) wxRA_HORIZONTAL
;
8944 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8945 char * _arg11
= (char *) "radioBox";
8946 PyObject
* _argo0
= 0;
8947 PyObject
* _argo1
= 0;
8948 PyObject
* _obj3
= 0;
8950 PyObject
* _obj4
= 0;
8952 PyObject
* _obj5
= 0;
8953 PyObject
* _obj7
= 0;
8954 PyObject
* _argo10
= 0;
8955 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8968 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8975 #if PYTHON_API_VERSION >= 1009
8976 char* tmpPtr
; int tmpSize
;
8977 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8981 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8983 _arg3
= new wxString(tmpPtr
, tmpSize
);
8985 if (!PyString_Check(_obj3
)) {
8986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8989 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8995 if (! wxPoint_helper(_obj4
, &_arg4
))
9001 if (! wxSize_helper(_obj5
, &_arg5
))
9006 _arg7
= wxString_LIST_helper(_obj7
);
9007 if (_arg7
== NULL
) {
9012 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9013 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9020 _arg6
= PyList_Size(_obj7
);
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) return NULL
;
9032 } _resultobj
= Py_BuildValue("i",_result
);
9043 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9044 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
* _resultobj
;
9048 PyObject
* _argo0
= 0;
9050 char *_kwnames
[] = { "self","enable", NULL
};
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9062 _arg1
= (bool ) tempbool1
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 wxRadioBox_Enable(_arg0
,_arg1
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) return NULL
;
9069 } Py_INCREF(Py_None
);
9070 _resultobj
= Py_None
;
9074 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9075 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
* _resultobj
;
9080 PyObject
* _argo0
= 0;
9082 char *_kwnames
[] = { "self","n","enable", NULL
};
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9094 _arg2
= (bool ) tempbool2
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) return NULL
;
9101 } Py_INCREF(Py_None
);
9102 _resultobj
= Py_None
;
9106 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9107 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
* _resultobj
;
9112 PyObject
* _argo0
= 0;
9113 PyObject
* _obj1
= 0;
9114 char *_kwnames
[] = { "self","string", NULL
};
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9127 #if PYTHON_API_VERSION >= 1009
9128 char* tmpPtr
; int tmpSize
;
9129 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9133 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9135 _arg1
= new wxString(tmpPtr
, tmpSize
);
9137 if (!PyString_Check(_obj1
)) {
9138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9141 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) return NULL
;
9150 } _resultobj
= Py_BuildValue("i",_result
);
9158 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9159 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
* _resultobj
;
9164 PyObject
* _argo0
= 0;
9165 char *_kwnames
[] = { "self","n", NULL
};
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) return NULL
;
9184 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9192 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9193 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
* _resultobj
;
9198 PyObject
* _argo0
= 0;
9199 PyObject
* _obj2
= 0;
9200 char *_kwnames
[] = { "self","n","label", NULL
};
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9213 #if PYTHON_API_VERSION >= 1009
9214 char* tmpPtr
; int tmpSize
;
9215 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9219 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9221 _arg2
= new wxString(tmpPtr
, tmpSize
);
9223 if (!PyString_Check(_obj2
)) {
9224 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9227 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) return NULL
;
9236 } Py_INCREF(Py_None
);
9237 _resultobj
= Py_None
;
9245 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9246 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
* _resultobj
;
9250 PyObject
* _argo0
= 0;
9251 char *_kwnames
[] = { "self", NULL
};
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) return NULL
;
9269 } _resultobj
= Py_BuildValue("i",_result
);
9273 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9274 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9275 PyObject
* _resultobj
;
9278 PyObject
* _argo0
= 0;
9279 char *_kwnames
[] = { "self", NULL
};
9282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) return NULL
;
9297 } _resultobj
= Py_BuildValue("i",_result
);
9301 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9302 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
* _resultobj
;
9306 PyObject
* _argo0
= 0;
9307 char *_kwnames
[] = { "self", NULL
};
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) return NULL
;
9325 } _resultobj
= Py_BuildValue("i",_result
);
9329 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9330 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
* _resultobj
;
9334 PyObject
* _argo0
= 0;
9335 char *_kwnames
[] = { "self", NULL
};
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) return NULL
;
9354 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9362 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9363 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
* _resultobj
;
9367 PyObject
* _argo0
= 0;
9368 char *_kwnames
[] = { "self", NULL
};
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 _result
= (int )wxRadioBox_GetCount(_arg0
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) return NULL
;
9386 } _resultobj
= Py_BuildValue("i",_result
);
9390 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9391 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
* _resultobj
;
9395 PyObject
* _argo0
= 0;
9396 char *_kwnames
[] = { "self","n", NULL
};
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 wxRadioBox_SetSelection(_arg0
,_arg1
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) return NULL
;
9414 } Py_INCREF(Py_None
);
9415 _resultobj
= Py_None
;
9419 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9420 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
* _resultobj
;
9424 PyObject
* _argo0
= 0;
9425 PyObject
* _obj1
= 0;
9426 char *_kwnames
[] = { "self","string", NULL
};
9429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9439 #if PYTHON_API_VERSION >= 1009
9440 char* tmpPtr
; int tmpSize
;
9441 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9445 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9447 _arg1
= new wxString(tmpPtr
, tmpSize
);
9449 if (!PyString_Check(_obj1
)) {
9450 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9453 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) return NULL
;
9462 } Py_INCREF(Py_None
);
9463 _resultobj
= Py_None
;
9471 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9472 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
* _resultobj
;
9476 PyObject
* _argo0
= 0;
9478 char *_kwnames
[] = { "self","show", NULL
};
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9490 _arg1
= (bool ) tempbool1
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 wxRadioBox_Show(_arg0
,_arg1
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9497 } Py_INCREF(Py_None
);
9498 _resultobj
= Py_None
;
9502 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9503 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
* _resultobj
;
9508 PyObject
* _argo0
= 0;
9510 char *_kwnames
[] = { "self","item","show", NULL
};
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9522 _arg2
= (bool ) tempbool2
;
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) return NULL
;
9529 } Py_INCREF(Py_None
);
9530 _resultobj
= Py_None
;
9534 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9537 src
= (wxRadioButton
*) ptr
;
9538 dest
= (wxControl
*) src
;
9539 return (void *) dest
;
9542 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9545 src
= (wxRadioButton
*) ptr
;
9546 dest
= (wxWindow
*) src
;
9547 return (void *) dest
;
9550 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9553 src
= (wxRadioButton
*) ptr
;
9554 dest
= (wxEvtHandler
*) src
;
9555 return (void *) dest
;
9558 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9561 src
= (wxRadioButton
*) ptr
;
9562 dest
= (wxObject
*) src
;
9563 return (void *) dest
;
9566 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9567 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
* _resultobj
;
9569 wxRadioButton
* _result
;
9573 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9574 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9575 long _arg5
= (long ) 0;
9576 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9577 char * _arg7
= (char *) "radioButton";
9578 PyObject
* _argo0
= 0;
9579 PyObject
* _obj2
= 0;
9581 PyObject
* _obj3
= 0;
9583 PyObject
* _obj4
= 0;
9584 PyObject
* _argo6
= 0;
9585 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9599 #if PYTHON_API_VERSION >= 1009
9600 char* tmpPtr
; int tmpSize
;
9601 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9605 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9607 _arg2
= new wxString(tmpPtr
, tmpSize
);
9609 if (!PyString_Check(_obj2
)) {
9610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9613 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9619 if (! wxPoint_helper(_obj3
, &_arg3
))
9625 if (! wxSize_helper(_obj4
, &_arg4
))
9629 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9630 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) return NULL
;
9642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9643 _resultobj
= Py_BuildValue("s",_ptemp
);
9646 _resultobj
= Py_None
;
9655 #define new_wxPreRadioButton() (new wxRadioButton())
9656 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
* _resultobj
;
9658 wxRadioButton
* _result
;
9659 char *_kwnames
[] = { NULL
};
9663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) return NULL
;
9672 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9673 _resultobj
= Py_BuildValue("s",_ptemp
);
9676 _resultobj
= Py_None
;
9681 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9682 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
* _resultobj
;
9685 wxRadioButton
* _arg0
;
9689 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9690 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9691 long _arg6
= (long ) 0;
9692 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9693 char * _arg8
= (char *) "radioButton";
9694 PyObject
* _argo0
= 0;
9695 PyObject
* _argo1
= 0;
9696 PyObject
* _obj3
= 0;
9698 PyObject
* _obj4
= 0;
9700 PyObject
* _obj5
= 0;
9701 PyObject
* _argo7
= 0;
9702 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9722 #if PYTHON_API_VERSION >= 1009
9723 char* tmpPtr
; int tmpSize
;
9724 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9728 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9730 _arg3
= new wxString(tmpPtr
, tmpSize
);
9732 if (!PyString_Check(_obj3
)) {
9733 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9736 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9742 if (! wxPoint_helper(_obj4
, &_arg4
))
9748 if (! wxSize_helper(_obj5
, &_arg5
))
9752 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9753 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) return NULL
;
9764 } _resultobj
= Py_BuildValue("i",_result
);
9772 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9773 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
* _resultobj
;
9776 wxRadioButton
* _arg0
;
9777 PyObject
* _argo0
= 0;
9778 char *_kwnames
[] = { "self", NULL
};
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) return NULL
;
9796 } _resultobj
= Py_BuildValue("i",_result
);
9800 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9801 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9802 PyObject
* _resultobj
;
9803 wxRadioButton
* _arg0
;
9805 PyObject
* _argo0
= 0;
9807 char *_kwnames
[] = { "self","value", NULL
};
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9819 _arg1
= (bool ) tempbool1
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 wxRadioButton_SetValue(_arg0
,_arg1
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) return NULL
;
9826 } Py_INCREF(Py_None
);
9827 _resultobj
= Py_None
;
9831 static void *SwigwxSliderTowxControl(void *ptr
) {
9834 src
= (wxSlider
*) ptr
;
9835 dest
= (wxControl
*) src
;
9836 return (void *) dest
;
9839 static void *SwigwxSliderTowxWindow(void *ptr
) {
9842 src
= (wxSlider
*) ptr
;
9843 dest
= (wxWindow
*) src
;
9844 return (void *) dest
;
9847 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9850 src
= (wxSlider
*) ptr
;
9851 dest
= (wxEvtHandler
*) src
;
9852 return (void *) dest
;
9855 static void *SwigwxSliderTowxObject(void *ptr
) {
9858 src
= (wxSlider
*) ptr
;
9859 dest
= (wxObject
*) src
;
9860 return (void *) dest
;
9863 #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))
9864 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
* _resultobj
;
9872 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9873 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9874 long _arg7
= (long ) wxSL_HORIZONTAL
;
9875 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9876 char * _arg9
= (char *) "slider";
9877 PyObject
* _argo0
= 0;
9879 PyObject
* _obj5
= 0;
9881 PyObject
* _obj6
= 0;
9882 PyObject
* _argo8
= 0;
9883 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9899 if (! wxPoint_helper(_obj5
, &_arg5
))
9905 if (! wxSize_helper(_obj6
, &_arg6
))
9909 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9910 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) return NULL
;
9922 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9923 _resultobj
= Py_BuildValue("s",_ptemp
);
9926 _resultobj
= Py_None
;
9931 #define new_wxPreSlider() (new wxSlider())
9932 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
* _resultobj
;
9935 char *_kwnames
[] = { NULL
};
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 _result
= (wxSlider
*)new_wxPreSlider();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) return NULL
;
9948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9949 _resultobj
= Py_BuildValue("s",_ptemp
);
9952 _resultobj
= Py_None
;
9957 #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))
9958 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
* _resultobj
;
9967 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9968 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9969 long _arg8
= (long ) wxSL_HORIZONTAL
;
9970 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9971 char * _arg10
= (char *) "slider";
9972 PyObject
* _argo0
= 0;
9973 PyObject
* _argo1
= 0;
9975 PyObject
* _obj6
= 0;
9977 PyObject
* _obj7
= 0;
9978 PyObject
* _argo9
= 0;
9979 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9992 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9993 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10001 if (! wxPoint_helper(_obj6
, &_arg6
))
10007 if (! wxSize_helper(_obj7
, &_arg7
))
10011 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10012 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) return NULL
;
10023 } _resultobj
= Py_BuildValue("i",_result
);
10027 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10028 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
* _resultobj
;
10031 PyObject
* _argo0
= 0;
10032 char *_kwnames
[] = { "self", NULL
};
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 wxSlider_ClearSel(_arg0
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) return NULL
;
10050 } Py_INCREF(Py_None
);
10051 _resultobj
= Py_None
;
10055 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10056 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
* _resultobj
;
10059 PyObject
* _argo0
= 0;
10060 char *_kwnames
[] = { "self", NULL
};
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 wxSlider_ClearTicks(_arg0
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) return NULL
;
10078 } Py_INCREF(Py_None
);
10079 _resultobj
= Py_None
;
10083 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10084 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
* _resultobj
;
10088 PyObject
* _argo0
= 0;
10089 char *_kwnames
[] = { "self", NULL
};
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 _result
= (int )wxSlider_GetLineSize(_arg0
);
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) return NULL
;
10107 } _resultobj
= Py_BuildValue("i",_result
);
10111 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10112 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10113 PyObject
* _resultobj
;
10116 PyObject
* _argo0
= 0;
10117 char *_kwnames
[] = { "self", NULL
};
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 _result
= (int )wxSlider_GetMax(_arg0
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) return NULL
;
10135 } _resultobj
= Py_BuildValue("i",_result
);
10139 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10140 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
* _resultobj
;
10144 PyObject
* _argo0
= 0;
10145 char *_kwnames
[] = { "self", NULL
};
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 _result
= (int )wxSlider_GetMin(_arg0
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) return NULL
;
10163 } _resultobj
= Py_BuildValue("i",_result
);
10167 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10168 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
* _resultobj
;
10172 PyObject
* _argo0
= 0;
10173 char *_kwnames
[] = { "self", NULL
};
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 _result
= (int )wxSlider_GetPageSize(_arg0
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) return NULL
;
10191 } _resultobj
= Py_BuildValue("i",_result
);
10195 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10196 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
* _resultobj
;
10200 PyObject
* _argo0
= 0;
10201 char *_kwnames
[] = { "self", NULL
};
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) return NULL
;
10219 } _resultobj
= Py_BuildValue("i",_result
);
10223 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10224 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
* _resultobj
;
10228 PyObject
* _argo0
= 0;
10229 char *_kwnames
[] = { "self", NULL
};
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 _result
= (int )wxSlider_GetSelStart(_arg0
);
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) return NULL
;
10247 } _resultobj
= Py_BuildValue("i",_result
);
10251 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10252 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
* _resultobj
;
10256 PyObject
* _argo0
= 0;
10257 char *_kwnames
[] = { "self", NULL
};
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) return NULL
;
10275 } _resultobj
= Py_BuildValue("i",_result
);
10279 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10280 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
* _resultobj
;
10284 PyObject
* _argo0
= 0;
10285 char *_kwnames
[] = { "self", NULL
};
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10299 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10301 wxPyEndAllowThreads(__tstate
);
10302 if (PyErr_Occurred()) return NULL
;
10303 } _resultobj
= Py_BuildValue("i",_result
);
10307 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10308 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
* _resultobj
;
10312 PyObject
* _argo0
= 0;
10313 char *_kwnames
[] = { "self", NULL
};
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 _result
= (int )wxSlider_GetValue(_arg0
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) return NULL
;
10331 } _resultobj
= Py_BuildValue("i",_result
);
10335 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10336 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
* _resultobj
;
10341 PyObject
* _argo0
= 0;
10342 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) return NULL
;
10360 } Py_INCREF(Py_None
);
10361 _resultobj
= Py_None
;
10365 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10366 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
* _resultobj
;
10371 PyObject
* _argo0
= 0;
10372 char *_kwnames
[] = { "self","n","pos", NULL
};
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) return NULL
;
10390 } Py_INCREF(Py_None
);
10391 _resultobj
= Py_None
;
10395 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10396 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
* _resultobj
;
10400 PyObject
* _argo0
= 0;
10401 char *_kwnames
[] = { "self","lineSize", NULL
};
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 wxSlider_SetLineSize(_arg0
,_arg1
);
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) return NULL
;
10419 } Py_INCREF(Py_None
);
10420 _resultobj
= Py_None
;
10424 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10425 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
* _resultobj
;
10429 PyObject
* _argo0
= 0;
10430 char *_kwnames
[] = { "self","pageSize", NULL
};
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 wxSlider_SetPageSize(_arg0
,_arg1
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) return NULL
;
10448 } Py_INCREF(Py_None
);
10449 _resultobj
= Py_None
;
10453 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10454 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
* _resultobj
;
10459 PyObject
* _argo0
= 0;
10460 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) return NULL
;
10478 } Py_INCREF(Py_None
);
10479 _resultobj
= Py_None
;
10483 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10484 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
* _resultobj
;
10488 PyObject
* _argo0
= 0;
10489 char *_kwnames
[] = { "self","len", NULL
};
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 wxSlider_SetThumbLength(_arg0
,_arg1
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) return NULL
;
10507 } Py_INCREF(Py_None
);
10508 _resultobj
= Py_None
;
10512 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10513 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
* _resultobj
;
10517 PyObject
* _argo0
= 0;
10518 char *_kwnames
[] = { "self","tickPos", NULL
};
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 wxSlider_SetTick(_arg0
,_arg1
);
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) return NULL
;
10536 } Py_INCREF(Py_None
);
10537 _resultobj
= Py_None
;
10541 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10542 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
* _resultobj
;
10546 PyObject
* _argo0
= 0;
10547 char *_kwnames
[] = { "self","value", NULL
};
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 wxSlider_SetValue(_arg0
,_arg1
);
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) return NULL
;
10565 } Py_INCREF(Py_None
);
10566 _resultobj
= Py_None
;
10570 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10572 wxSpinButton
*dest
;
10573 src
= (wxSpinCtrl
*) ptr
;
10574 dest
= (wxSpinButton
*) src
;
10575 return (void *) dest
;
10578 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10581 src
= (wxSpinCtrl
*) ptr
;
10582 dest
= (wxControl
*) src
;
10583 return (void *) dest
;
10586 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10589 src
= (wxSpinCtrl
*) ptr
;
10590 dest
= (wxWindow
*) src
;
10591 return (void *) dest
;
10594 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10596 wxEvtHandler
*dest
;
10597 src
= (wxSpinCtrl
*) ptr
;
10598 dest
= (wxEvtHandler
*) src
;
10599 return (void *) dest
;
10602 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10605 src
= (wxSpinCtrl
*) ptr
;
10606 dest
= (wxObject
*) src
;
10607 return (void *) dest
;
10610 #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))
10611 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10612 PyObject
* _resultobj
;
10613 wxSpinCtrl
* _result
;
10615 wxWindowID _arg1
= (wxWindowID
) -1;
10616 char * _arg2
= (char *) "";
10617 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10618 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10619 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10620 int _arg6
= (int ) 0;
10621 int _arg7
= (int ) 100;
10622 int _arg8
= (int ) 0;
10623 char * _arg9
= (char *) "wxSpinCtrl";
10624 PyObject
* _argo0
= 0;
10626 PyObject
* _obj3
= 0;
10628 PyObject
* _obj4
= 0;
10629 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10645 if (! wxPoint_helper(_obj3
, &_arg3
))
10651 if (! wxSize_helper(_obj4
, &_arg4
))
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) return NULL
;
10661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10662 _resultobj
= Py_BuildValue("s",_ptemp
);
10664 Py_INCREF(Py_None
);
10665 _resultobj
= Py_None
;
10670 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10671 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
* _resultobj
;
10673 wxSpinCtrl
* _result
;
10674 char *_kwnames
[] = { NULL
};
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) return NULL
;
10687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10688 _resultobj
= Py_BuildValue("s",_ptemp
);
10690 Py_INCREF(Py_None
);
10691 _resultobj
= Py_None
;
10696 #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))
10697 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
* _resultobj
;
10700 wxSpinCtrl
* _arg0
;
10702 wxWindowID _arg2
= (wxWindowID
) -1;
10703 char * _arg3
= (char *) "";
10704 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10705 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10706 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10707 int _arg7
= (int ) 0;
10708 int _arg8
= (int ) 100;
10709 int _arg9
= (int ) 0;
10710 char * _arg10
= (char *) "wxSpinCtrl";
10711 PyObject
* _argo0
= 0;
10712 PyObject
* _argo1
= 0;
10714 PyObject
* _obj4
= 0;
10716 PyObject
* _obj5
= 0;
10717 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10730 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10731 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10739 if (! wxPoint_helper(_obj4
, &_arg4
))
10745 if (! wxSize_helper(_obj5
, &_arg5
))
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) return NULL
;
10754 } _resultobj
= Py_BuildValue("i",_result
);
10758 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10759 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
* _resultobj
;
10762 wxSpinCtrl
* _arg0
;
10763 PyObject
* _argo0
= 0;
10764 char *_kwnames
[] = { "self", NULL
};
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) return NULL
;
10782 } _resultobj
= Py_BuildValue("i",_result
);
10786 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10787 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
* _resultobj
;
10790 wxSpinCtrl
* _arg0
;
10791 PyObject
* _argo0
= 0;
10792 char *_kwnames
[] = { "self", NULL
};
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) return NULL
;
10810 } _resultobj
= Py_BuildValue("i",_result
);
10814 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10815 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
* _resultobj
;
10818 wxSpinCtrl
* _arg0
;
10819 PyObject
* _argo0
= 0;
10820 char *_kwnames
[] = { "self", NULL
};
10823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) return NULL
;
10838 } _resultobj
= Py_BuildValue("i",_result
);
10842 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10843 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
* _resultobj
;
10845 wxSpinCtrl
* _arg0
;
10848 PyObject
* _argo0
= 0;
10849 char *_kwnames
[] = { "self","min","max", NULL
};
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) return NULL
;
10867 } Py_INCREF(Py_None
);
10868 _resultobj
= Py_None
;
10872 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10873 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
* _resultobj
;
10875 wxSpinCtrl
* _arg0
;
10877 PyObject
* _argo0
= 0;
10878 char *_kwnames
[] = { "self","value", NULL
};
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) return NULL
;
10896 } Py_INCREF(Py_None
);
10897 _resultobj
= Py_None
;
10901 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10902 wxToggleButton
*src
;
10904 src
= (wxToggleButton
*) ptr
;
10905 dest
= (wxControl
*) src
;
10906 return (void *) dest
;
10909 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10910 wxToggleButton
*src
;
10912 src
= (wxToggleButton
*) ptr
;
10913 dest
= (wxWindow
*) src
;
10914 return (void *) dest
;
10917 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10918 wxToggleButton
*src
;
10919 wxEvtHandler
*dest
;
10920 src
= (wxToggleButton
*) ptr
;
10921 dest
= (wxEvtHandler
*) src
;
10922 return (void *) dest
;
10925 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10926 wxToggleButton
*src
;
10928 src
= (wxToggleButton
*) ptr
;
10929 dest
= (wxObject
*) src
;
10930 return (void *) dest
;
10933 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10934 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
* _resultobj
;
10936 wxToggleButton
* _result
;
10940 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10941 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10942 long _arg5
= (long ) 0;
10943 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10944 char * _arg7
= (char *) "toggle";
10945 PyObject
* _argo0
= 0;
10946 PyObject
* _obj2
= 0;
10948 PyObject
* _obj3
= 0;
10950 PyObject
* _obj4
= 0;
10951 PyObject
* _argo6
= 0;
10952 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10966 #if PYTHON_API_VERSION >= 1009
10967 char* tmpPtr
; int tmpSize
;
10968 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10972 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10974 _arg2
= new wxString(tmpPtr
, tmpSize
);
10976 if (!PyString_Check(_obj2
)) {
10977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10980 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10986 if (! wxPoint_helper(_obj3
, &_arg3
))
10992 if (! wxSize_helper(_obj4
, &_arg4
))
10996 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10997 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) return NULL
;
11009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11010 _resultobj
= Py_BuildValue("s",_ptemp
);
11012 Py_INCREF(Py_None
);
11013 _resultobj
= Py_None
;
11022 #define new_wxPreToggleButton() (new wxToggleButton())
11023 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
* _resultobj
;
11025 wxToggleButton
* _result
;
11026 char *_kwnames
[] = { NULL
};
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) return NULL
;
11039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11040 _resultobj
= Py_BuildValue("s",_ptemp
);
11042 Py_INCREF(Py_None
);
11043 _resultobj
= Py_None
;
11048 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11049 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
* _resultobj
;
11052 wxToggleButton
* _arg0
;
11056 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11057 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11058 long _arg6
= (long ) 0;
11059 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11060 char * _arg8
= (char *) "toggle";
11061 PyObject
* _argo0
= 0;
11062 PyObject
* _argo1
= 0;
11063 PyObject
* _obj3
= 0;
11065 PyObject
* _obj4
= 0;
11067 PyObject
* _obj5
= 0;
11068 PyObject
* _argo7
= 0;
11069 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11082 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11083 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11089 #if PYTHON_API_VERSION >= 1009
11090 char* tmpPtr
; int tmpSize
;
11091 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11095 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11097 _arg3
= new wxString(tmpPtr
, tmpSize
);
11099 if (!PyString_Check(_obj3
)) {
11100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11103 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11109 if (! wxPoint_helper(_obj4
, &_arg4
))
11115 if (! wxSize_helper(_obj5
, &_arg5
))
11119 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11120 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) return NULL
;
11131 } _resultobj
= Py_BuildValue("i",_result
);
11139 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11140 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
* _resultobj
;
11142 wxToggleButton
* _arg0
;
11144 PyObject
* _argo0
= 0;
11146 char *_kwnames
[] = { "self","value", NULL
};
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11158 _arg1
= (bool ) tempbool1
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxToggleButton_SetValue(_arg0
,_arg1
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) return NULL
;
11165 } Py_INCREF(Py_None
);
11166 _resultobj
= Py_None
;
11170 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11171 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11172 PyObject
* _resultobj
;
11174 wxToggleButton
* _arg0
;
11175 PyObject
* _argo0
= 0;
11176 char *_kwnames
[] = { "self", NULL
};
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) return NULL
;
11194 } _resultobj
= Py_BuildValue("i",_result
);
11198 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11199 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
* _resultobj
;
11201 wxToggleButton
* _arg0
;
11203 PyObject
* _argo0
= 0;
11204 PyObject
* _obj1
= 0;
11205 char *_kwnames
[] = { "self","label", NULL
};
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11218 #if PYTHON_API_VERSION >= 1009
11219 char* tmpPtr
; int tmpSize
;
11220 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11221 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11224 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11226 _arg1
= new wxString(tmpPtr
, tmpSize
);
11228 if (!PyString_Check(_obj1
)) {
11229 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11232 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) return NULL
;
11241 } Py_INCREF(Py_None
);
11242 _resultobj
= Py_None
;
11250 static PyMethodDef controlscMethods
[] = {
11251 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11516 * This table is used by the pointer type-checker
11518 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11519 { "_signed_long","_long",0},
11520 { "_wxPrintQuality","_wxCoord",0},
11521 { "_wxPrintQuality","_int",0},
11522 { "_wxPrintQuality","_signed_int",0},
11523 { "_wxPrintQuality","_unsigned_int",0},
11524 { "_wxPrintQuality","_wxWindowID",0},
11525 { "_wxPrintQuality","_uint",0},
11526 { "_wxPrintQuality","_EBool",0},
11527 { "_wxPrintQuality","_size_t",0},
11528 { "_wxPrintQuality","_time_t",0},
11529 { "_byte","_unsigned_char",0},
11530 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11531 { "_long","_unsigned_long",0},
11532 { "_long","_signed_long",0},
11533 { "_size_t","_wxCoord",0},
11534 { "_size_t","_wxPrintQuality",0},
11535 { "_size_t","_time_t",0},
11536 { "_size_t","_unsigned_int",0},
11537 { "_size_t","_int",0},
11538 { "_size_t","_wxWindowID",0},
11539 { "_size_t","_uint",0},
11540 { "_uint","_wxCoord",0},
11541 { "_uint","_wxPrintQuality",0},
11542 { "_uint","_time_t",0},
11543 { "_uint","_size_t",0},
11544 { "_uint","_unsigned_int",0},
11545 { "_uint","_int",0},
11546 { "_uint","_wxWindowID",0},
11547 { "_wxChar","_char",0},
11548 { "_char","_wxChar",0},
11549 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11550 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11551 { "_EBool","_wxCoord",0},
11552 { "_EBool","_wxPrintQuality",0},
11553 { "_EBool","_signed_int",0},
11554 { "_EBool","_int",0},
11555 { "_EBool","_wxWindowID",0},
11556 { "_unsigned_long","_long",0},
11557 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11558 { "_signed_int","_wxCoord",0},
11559 { "_signed_int","_wxPrintQuality",0},
11560 { "_signed_int","_EBool",0},
11561 { "_signed_int","_wxWindowID",0},
11562 { "_signed_int","_int",0},
11563 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11564 { "_WXTYPE","_short",0},
11565 { "_WXTYPE","_signed_short",0},
11566 { "_WXTYPE","_unsigned_short",0},
11567 { "_unsigned_short","_WXTYPE",0},
11568 { "_unsigned_short","_short",0},
11569 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11570 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11571 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11572 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11573 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11574 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11575 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11576 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11577 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11578 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11579 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11580 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11581 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11582 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11583 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11584 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11585 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11586 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11587 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11588 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11589 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11590 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11591 { "_signed_short","_WXTYPE",0},
11592 { "_signed_short","_short",0},
11593 { "_unsigned_char","_byte",0},
11594 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11595 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11596 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11597 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11598 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11599 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11600 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11601 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11602 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11603 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11604 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11605 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11606 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11607 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11608 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11609 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11610 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11611 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11612 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11613 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11614 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11615 { "_unsigned_int","_wxCoord",0},
11616 { "_unsigned_int","_wxPrintQuality",0},
11617 { "_unsigned_int","_time_t",0},
11618 { "_unsigned_int","_size_t",0},
11619 { "_unsigned_int","_uint",0},
11620 { "_unsigned_int","_wxWindowID",0},
11621 { "_unsigned_int","_int",0},
11622 { "_short","_WXTYPE",0},
11623 { "_short","_unsigned_short",0},
11624 { "_short","_signed_short",0},
11625 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11626 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11627 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11628 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11629 { "_wxWindowID","_wxCoord",0},
11630 { "_wxWindowID","_wxPrintQuality",0},
11631 { "_wxWindowID","_time_t",0},
11632 { "_wxWindowID","_size_t",0},
11633 { "_wxWindowID","_EBool",0},
11634 { "_wxWindowID","_uint",0},
11635 { "_wxWindowID","_int",0},
11636 { "_wxWindowID","_signed_int",0},
11637 { "_wxWindowID","_unsigned_int",0},
11638 { "_int","_wxCoord",0},
11639 { "_int","_wxPrintQuality",0},
11640 { "_int","_time_t",0},
11641 { "_int","_size_t",0},
11642 { "_int","_EBool",0},
11643 { "_int","_uint",0},
11644 { "_int","_wxWindowID",0},
11645 { "_int","_unsigned_int",0},
11646 { "_int","_signed_int",0},
11647 { "_time_t","_wxCoord",0},
11648 { "_time_t","_wxPrintQuality",0},
11649 { "_time_t","_unsigned_int",0},
11650 { "_time_t","_int",0},
11651 { "_time_t","_wxWindowID",0},
11652 { "_time_t","_uint",0},
11653 { "_time_t","_size_t",0},
11654 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11655 { "_wxCoord","_int",0},
11656 { "_wxCoord","_signed_int",0},
11657 { "_wxCoord","_unsigned_int",0},
11658 { "_wxCoord","_wxWindowID",0},
11659 { "_wxCoord","_uint",0},
11660 { "_wxCoord","_EBool",0},
11661 { "_wxCoord","_size_t",0},
11662 { "_wxCoord","_time_t",0},
11663 { "_wxCoord","_wxPrintQuality",0},
11664 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11665 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11666 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11667 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11668 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11669 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11670 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11671 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11672 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11673 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11674 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11675 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11676 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11677 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11678 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11679 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11680 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11681 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11682 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11683 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11684 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11685 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11686 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11687 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11688 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11689 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11690 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11691 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11692 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11693 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11694 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11695 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11696 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11697 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11698 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11699 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11700 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11701 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11702 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11703 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11704 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11705 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11706 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11707 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11710 static PyObject
*SWIG_globals
;
11714 SWIGEXPORT(void) initcontrolsc() {
11716 SWIG_globals
= SWIG_newvarlink();
11717 m
= Py_InitModule("controlsc", controlscMethods
);
11718 d
= PyModule_GetDict(m
);
11719 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11720 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11721 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11724 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11725 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);