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 static void *SwigwxButtonTowxControl(void *ptr
) {
892 src
= (wxButton
*) ptr
;
893 dest
= (wxControl
*) src
;
894 return (void *) dest
;
897 static void *SwigwxButtonTowxWindow(void *ptr
) {
900 src
= (wxButton
*) ptr
;
901 dest
= (wxWindow
*) src
;
902 return (void *) dest
;
905 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
908 src
= (wxButton
*) ptr
;
909 dest
= (wxEvtHandler
*) src
;
910 return (void *) dest
;
913 static void *SwigwxButtonTowxObject(void *ptr
) {
916 src
= (wxButton
*) ptr
;
917 dest
= (wxObject
*) src
;
918 return (void *) dest
;
921 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
922 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
928 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
929 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
930 long _arg5
= (long ) 0;
931 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
932 char * _arg7
= (char *) "button";
933 PyObject
* _argo0
= 0;
934 PyObject
* _obj2
= 0;
936 PyObject
* _obj3
= 0;
938 PyObject
* _obj4
= 0;
939 PyObject
* _argo6
= 0;
940 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
954 #if PYTHON_API_VERSION >= 1009
955 char* tmpPtr
; int tmpSize
;
956 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
960 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
962 _arg2
= new wxString(tmpPtr
, tmpSize
);
964 if (!PyString_Check(_obj2
)) {
965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
968 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
974 if (! wxPoint_helper(_obj3
, &_arg3
))
980 if (! wxSize_helper(_obj4
, &_arg4
))
984 if (_argo6
== Py_None
) { _arg6
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
998 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 _resultobj
= Py_None
;
1010 #define new_wxPreButton() (new wxButton())
1011 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1014 char *_kwnames
[] = { NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 _result
= (wxButton
*)new_wxPreButton();
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1028 _resultobj
= Py_BuildValue("s",_ptemp
);
1031 _resultobj
= Py_None
;
1036 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1037 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
* _resultobj
;
1044 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1045 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1046 long _arg6
= (long ) 0;
1047 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1048 char * _arg8
= (char *) "button";
1049 PyObject
* _argo0
= 0;
1050 PyObject
* _argo1
= 0;
1051 PyObject
* _obj3
= 0;
1053 PyObject
* _obj4
= 0;
1055 PyObject
* _obj5
= 0;
1056 PyObject
* _argo7
= 0;
1057 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1077 #if PYTHON_API_VERSION >= 1009
1078 char* tmpPtr
; int tmpSize
;
1079 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1083 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1085 _arg3
= new wxString(tmpPtr
, tmpSize
);
1087 if (!PyString_Check(_obj3
)) {
1088 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1091 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1097 if (! wxPoint_helper(_obj4
, &_arg4
))
1103 if (! wxSize_helper(_obj5
, &_arg5
))
1107 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1128 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 PyObject
* _argo0
= 0;
1132 char *_kwnames
[] = { "self", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 wxButton_SetDefault(_arg0
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) return NULL
;
1150 } Py_INCREF(Py_None
);
1151 _resultobj
= Py_None
;
1155 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1156 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 PyObject
* _argo0
= 0;
1162 PyObject
* _obj1
= 0;
1163 char *_kwnames
[] = { "self","colour", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1177 if (! wxColour_helper(_obj1
, &_arg1
))
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) return NULL
;
1186 } Py_INCREF(Py_None
);
1187 _resultobj
= Py_None
;
1191 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1192 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1198 PyObject
* _obj1
= 0;
1199 char *_kwnames
[] = { "self","colour", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1213 if (! wxColour_helper(_obj1
, &_arg1
))
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1227 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1228 static PyObject
*_wrap_wxButton_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1232 PyObject
* _argo0
= 0;
1233 PyObject
* _argo1
= 0;
1234 char *_kwnames
[] = { "self","bitmap", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetImageLabel",_kwnames
,&_argo0
,&_argo1
))
1240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1255 wxButton_SetImageLabel(_arg0
,*_arg1
);
1257 wxPyEndAllowThreads(__tstate
);
1258 if (PyErr_Occurred()) return NULL
;
1259 } Py_INCREF(Py_None
);
1260 _resultobj
= Py_None
;
1264 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1265 static PyObject
*_wrap_wxButton_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1266 PyObject
* _resultobj
;
1270 PyObject
* _argo0
= 0;
1271 char *_kwnames
[] = { "self","x","y", NULL
};
1274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxButton_SetImageMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) return NULL
;
1289 } Py_INCREF(Py_None
);
1290 _resultobj
= Py_None
;
1294 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1295 PyObject
* _resultobj
;
1297 char *_kwnames
[] = { NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 _result
= new wxSize (wxButton::GetDefaultSize());
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1309 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1310 _resultobj
= Py_BuildValue("s",_ptemp
);
1314 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1315 wxBitmapButton
*src
;
1317 src
= (wxBitmapButton
*) ptr
;
1318 dest
= (wxButton
*) src
;
1319 return (void *) dest
;
1322 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1323 wxBitmapButton
*src
;
1325 src
= (wxBitmapButton
*) ptr
;
1326 dest
= (wxControl
*) src
;
1327 return (void *) dest
;
1330 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1331 wxBitmapButton
*src
;
1333 src
= (wxBitmapButton
*) ptr
;
1334 dest
= (wxWindow
*) src
;
1335 return (void *) dest
;
1338 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1339 wxBitmapButton
*src
;
1341 src
= (wxBitmapButton
*) ptr
;
1342 dest
= (wxEvtHandler
*) src
;
1343 return (void *) dest
;
1346 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1347 wxBitmapButton
*src
;
1349 src
= (wxBitmapButton
*) ptr
;
1350 dest
= (wxObject
*) src
;
1351 return (void *) dest
;
1354 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1355 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
* _resultobj
;
1357 wxBitmapButton
* _result
;
1361 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1362 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1363 long _arg5
= (long ) wxBU_AUTODRAW
;
1364 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1365 char * _arg7
= (char *) "button";
1366 PyObject
* _argo0
= 0;
1367 PyObject
* _argo2
= 0;
1369 PyObject
* _obj3
= 0;
1371 PyObject
* _obj4
= 0;
1372 PyObject
* _argo6
= 0;
1373 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1387 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1396 if (! wxPoint_helper(_obj3
, &_arg3
))
1402 if (! wxSize_helper(_obj4
, &_arg4
))
1406 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) return NULL
;
1419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1420 _resultobj
= Py_BuildValue("s",_ptemp
);
1423 _resultobj
= Py_None
;
1428 #define new_wxPreBitmapButton() (new wxBitmapButton())
1429 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1430 PyObject
* _resultobj
;
1431 wxBitmapButton
* _result
;
1432 char *_kwnames
[] = { NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) return NULL
;
1445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1446 _resultobj
= Py_BuildValue("s",_ptemp
);
1449 _resultobj
= Py_None
;
1454 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1455 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
* _resultobj
;
1458 wxBitmapButton
* _arg0
;
1462 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1463 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1464 long _arg6
= (long ) wxBU_AUTODRAW
;
1465 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1466 char * _arg8
= (char *) "button";
1467 PyObject
* _argo0
= 0;
1468 PyObject
* _argo1
= 0;
1469 PyObject
* _argo3
= 0;
1471 PyObject
* _obj4
= 0;
1473 PyObject
* _obj5
= 0;
1474 PyObject
* _argo7
= 0;
1475 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1495 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1496 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1504 if (! wxPoint_helper(_obj4
, &_arg4
))
1510 if (! wxSize_helper(_obj5
, &_arg5
))
1514 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1515 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) return NULL
;
1526 } _resultobj
= Py_BuildValue("i",_result
);
1530 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1531 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1534 wxBitmapButton
* _arg0
;
1535 PyObject
* _argo0
= 0;
1536 char *_kwnames
[] = { "self", NULL
};
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) return NULL
;
1555 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1556 _resultobj
= Py_BuildValue("s",_ptemp
);
1560 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1561 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1564 wxBitmapButton
* _arg0
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1581 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) return NULL
;
1585 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1586 _resultobj
= Py_BuildValue("s",_ptemp
);
1590 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1591 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
* _resultobj
;
1594 wxBitmapButton
* _arg0
;
1595 PyObject
* _argo0
= 0;
1596 char *_kwnames
[] = { "self", NULL
};
1600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1616 _resultobj
= Py_BuildValue("s",_ptemp
);
1620 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1621 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1624 wxBitmapButton
* _arg0
;
1625 PyObject
* _argo0
= 0;
1626 char *_kwnames
[] = { "self", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1641 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1643 wxPyEndAllowThreads(__tstate
);
1644 if (PyErr_Occurred()) return NULL
;
1645 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1646 _resultobj
= Py_BuildValue("s",_ptemp
);
1650 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1651 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1653 wxBitmapButton
* _arg0
;
1655 PyObject
* _argo0
= 0;
1656 PyObject
* _argo1
= 0;
1657 char *_kwnames
[] = { "self","bitmap", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1670 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1678 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) return NULL
;
1682 } Py_INCREF(Py_None
);
1683 _resultobj
= Py_None
;
1687 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1688 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxBitmapButton
* _arg0
;
1692 PyObject
* _argo0
= 0;
1693 PyObject
* _argo1
= 0;
1694 char *_kwnames
[] = { "self","bitmap", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) return NULL
;
1719 } Py_INCREF(Py_None
);
1720 _resultobj
= Py_None
;
1724 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1725 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
* _resultobj
;
1727 wxBitmapButton
* _arg0
;
1729 PyObject
* _argo0
= 0;
1730 PyObject
* _argo1
= 0;
1731 char *_kwnames
[] = { "self","bitmap", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1762 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1764 wxBitmapButton
* _arg0
;
1766 PyObject
* _argo0
= 0;
1767 PyObject
* _argo1
= 0;
1768 char *_kwnames
[] = { "self","bitmap", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1781 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1782 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) return NULL
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1799 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1801 wxBitmapButton
* _arg0
;
1804 PyObject
* _argo0
= 0;
1805 char *_kwnames
[] = { "self","x","y", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) return NULL
;
1823 } Py_INCREF(Py_None
);
1824 _resultobj
= Py_None
;
1828 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1829 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1830 PyObject
* _resultobj
;
1832 wxBitmapButton
* _arg0
;
1833 PyObject
* _argo0
= 0;
1834 char *_kwnames
[] = { "self", NULL
};
1837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) return NULL
;
1852 } _resultobj
= Py_BuildValue("i",_result
);
1856 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1857 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1858 PyObject
* _resultobj
;
1860 wxBitmapButton
* _arg0
;
1861 PyObject
* _argo0
= 0;
1862 char *_kwnames
[] = { "self", NULL
};
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1876 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1878 wxPyEndAllowThreads(__tstate
);
1879 if (PyErr_Occurred()) return NULL
;
1880 } _resultobj
= Py_BuildValue("i",_result
);
1884 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1887 src
= (wxCheckBox
*) ptr
;
1888 dest
= (wxControl
*) src
;
1889 return (void *) dest
;
1892 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1895 src
= (wxCheckBox
*) ptr
;
1896 dest
= (wxWindow
*) src
;
1897 return (void *) dest
;
1900 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1903 src
= (wxCheckBox
*) ptr
;
1904 dest
= (wxEvtHandler
*) src
;
1905 return (void *) dest
;
1908 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1911 src
= (wxCheckBox
*) ptr
;
1912 dest
= (wxObject
*) src
;
1913 return (void *) dest
;
1916 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1917 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1919 wxCheckBox
* _result
;
1923 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1924 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1925 long _arg5
= (long ) 0;
1926 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1927 char * _arg7
= (char *) "checkBox";
1928 PyObject
* _argo0
= 0;
1929 PyObject
* _obj2
= 0;
1931 PyObject
* _obj3
= 0;
1933 PyObject
* _obj4
= 0;
1934 PyObject
* _argo6
= 0;
1935 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1949 #if PYTHON_API_VERSION >= 1009
1950 char* tmpPtr
; int tmpSize
;
1951 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1955 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1957 _arg2
= new wxString(tmpPtr
, tmpSize
);
1959 if (!PyString_Check(_obj2
)) {
1960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1963 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1969 if (! wxPoint_helper(_obj3
, &_arg3
))
1975 if (! wxSize_helper(_obj4
, &_arg4
))
1979 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) return NULL
;
1992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1993 _resultobj
= Py_BuildValue("s",_ptemp
);
1996 _resultobj
= Py_None
;
2005 #define new_wxPreCheckBox() (new wxCheckBox())
2006 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
* _resultobj
;
2008 wxCheckBox
* _result
;
2009 char *_kwnames
[] = { NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2017 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2019 wxPyEndAllowThreads(__tstate
);
2020 if (PyErr_Occurred()) return NULL
;
2022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2023 _resultobj
= Py_BuildValue("s",_ptemp
);
2026 _resultobj
= Py_None
;
2031 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2032 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
* _resultobj
;
2039 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2040 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2041 long _arg6
= (long ) 0;
2042 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2043 char * _arg8
= (char *) "checkBox";
2044 PyObject
* _argo0
= 0;
2045 PyObject
* _argo1
= 0;
2046 PyObject
* _obj3
= 0;
2048 PyObject
* _obj4
= 0;
2050 PyObject
* _obj5
= 0;
2051 PyObject
* _argo7
= 0;
2052 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2072 #if PYTHON_API_VERSION >= 1009
2073 char* tmpPtr
; int tmpSize
;
2074 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2075 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2078 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2080 _arg3
= new wxString(tmpPtr
, tmpSize
);
2082 if (!PyString_Check(_obj3
)) {
2083 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2086 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2092 if (! wxPoint_helper(_obj4
, &_arg4
))
2098 if (! wxSize_helper(_obj5
, &_arg5
))
2102 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2103 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) return NULL
;
2114 } _resultobj
= Py_BuildValue("i",_result
);
2122 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2123 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
* _resultobj
;
2127 PyObject
* _argo0
= 0;
2128 char *_kwnames
[] = { "self", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2142 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2144 wxPyEndAllowThreads(__tstate
);
2145 if (PyErr_Occurred()) return NULL
;
2146 } _resultobj
= Py_BuildValue("i",_result
);
2150 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2151 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
* _resultobj
;
2155 PyObject
* _argo0
= 0;
2157 char *_kwnames
[] = { "self","state", NULL
};
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2169 _arg1
= (bool ) tempbool1
;
2171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2172 wxCheckBox_SetValue(_arg0
,_arg1
);
2174 wxPyEndAllowThreads(__tstate
);
2175 if (PyErr_Occurred()) return NULL
;
2176 } Py_INCREF(Py_None
);
2177 _resultobj
= Py_None
;
2181 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2183 wxControlWithItems
*dest
;
2184 src
= (wxChoice
*) ptr
;
2185 dest
= (wxControlWithItems
*) src
;
2186 return (void *) dest
;
2189 static void *SwigwxChoiceTowxControl(void *ptr
) {
2192 src
= (wxChoice
*) ptr
;
2193 dest
= (wxControl
*) src
;
2194 return (void *) dest
;
2197 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2200 src
= (wxChoice
*) ptr
;
2201 dest
= (wxWindow
*) src
;
2202 return (void *) dest
;
2205 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2208 src
= (wxChoice
*) ptr
;
2209 dest
= (wxEvtHandler
*) src
;
2210 return (void *) dest
;
2213 static void *SwigwxChoiceTowxObject(void *ptr
) {
2216 src
= (wxChoice
*) ptr
;
2217 dest
= (wxObject
*) src
;
2218 return (void *) dest
;
2221 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2222 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2227 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2228 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2229 int _arg4
= (int ) 0;
2230 wxString
* _arg5
= (wxString
*) NULL
;
2231 long _arg6
= (long ) 0;
2232 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2233 char * _arg8
= (char *) "choice";
2234 PyObject
* _argo0
= 0;
2236 PyObject
* _obj2
= 0;
2238 PyObject
* _obj3
= 0;
2239 PyObject
* _obj5
= 0;
2240 PyObject
* _argo7
= 0;
2241 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2257 if (! wxPoint_helper(_obj2
, &_arg2
))
2263 if (! wxSize_helper(_obj3
, &_arg3
))
2268 _arg5
= wxString_LIST_helper(_obj5
);
2269 if (_arg5
== NULL
) {
2274 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2275 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2282 _arg4
= PyList_Size(_obj5
);
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) return NULL
;
2295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2296 _resultobj
= Py_BuildValue("s",_ptemp
);
2299 _resultobj
= Py_None
;
2307 #define new_wxPreChoice() (new wxChoice())
2308 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
* _resultobj
;
2311 char *_kwnames
[] = { NULL
};
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 _result
= (wxChoice
*)new_wxPreChoice();
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) return NULL
;
2324 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2325 _resultobj
= Py_BuildValue("s",_ptemp
);
2328 _resultobj
= Py_None
;
2333 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2334 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
* _resultobj
;
2340 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2341 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2342 int _arg5
= (int ) 0;
2343 wxString
* _arg6
= (wxString
*) NULL
;
2344 long _arg7
= (long ) 0;
2345 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2346 char * _arg9
= (char *) "choice";
2347 PyObject
* _argo0
= 0;
2348 PyObject
* _argo1
= 0;
2350 PyObject
* _obj3
= 0;
2352 PyObject
* _obj4
= 0;
2353 PyObject
* _obj6
= 0;
2354 PyObject
* _argo8
= 0;
2355 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2368 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2369 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2377 if (! wxPoint_helper(_obj3
, &_arg3
))
2383 if (! wxSize_helper(_obj4
, &_arg4
))
2388 _arg6
= wxString_LIST_helper(_obj6
);
2389 if (_arg6
== NULL
) {
2394 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2402 _arg5
= PyList_Size(_obj6
);
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) return NULL
;
2414 } _resultobj
= Py_BuildValue("i",_result
);
2421 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2422 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2425 PyObject
* _argo0
= 0;
2426 char *_kwnames
[] = { "self", NULL
};
2429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 wxChoice_Clear(_arg0
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) return NULL
;
2444 } Py_INCREF(Py_None
);
2445 _resultobj
= Py_None
;
2449 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2450 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
* _resultobj
;
2454 PyObject
* _argo0
= 0;
2455 char *_kwnames
[] = { "self", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 _result
= (int )wxChoice_GetColumns(_arg0
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2473 } _resultobj
= Py_BuildValue("i",_result
);
2477 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2478 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2481 int _arg1
= (int ) 1;
2482 PyObject
* _argo0
= 0;
2483 char *_kwnames
[] = { "self","n", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 wxChoice_SetColumns(_arg0
,_arg1
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) return NULL
;
2501 } Py_INCREF(Py_None
);
2502 _resultobj
= Py_None
;
2506 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2507 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2511 PyObject
* _argo0
= 0;
2512 char *_kwnames
[] = { "self","n", NULL
};
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2526 wxChoice_SetSelection(_arg0
,_arg1
);
2528 wxPyEndAllowThreads(__tstate
);
2529 if (PyErr_Occurred()) return NULL
;
2530 } Py_INCREF(Py_None
);
2531 _resultobj
= Py_None
;
2535 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2536 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2540 PyObject
* _argo0
= 0;
2541 PyObject
* _obj1
= 0;
2542 char *_kwnames
[] = { "self","string", NULL
};
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2555 #if PYTHON_API_VERSION >= 1009
2556 char* tmpPtr
; int tmpSize
;
2557 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2558 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2561 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2563 _arg1
= new wxString(tmpPtr
, tmpSize
);
2565 if (!PyString_Check(_obj1
)) {
2566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2569 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2578 } Py_INCREF(Py_None
);
2579 _resultobj
= Py_None
;
2587 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2588 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2589 PyObject
* _resultobj
;
2593 PyObject
* _argo0
= 0;
2594 PyObject
* _obj2
= 0;
2595 char *_kwnames
[] = { "self","n","s", NULL
};
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2608 #if PYTHON_API_VERSION >= 1009
2609 char* tmpPtr
; int tmpSize
;
2610 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2614 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2616 _arg2
= new wxString(tmpPtr
, tmpSize
);
2618 if (!PyString_Check(_obj2
)) {
2619 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2622 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) return NULL
;
2631 } Py_INCREF(Py_None
);
2632 _resultobj
= Py_None
;
2640 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2643 src
= (wxComboBox
*) ptr
;
2644 dest
= (wxChoice
*) src
;
2645 return (void *) dest
;
2648 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2650 wxControlWithItems
*dest
;
2651 src
= (wxComboBox
*) ptr
;
2652 dest
= (wxControlWithItems
*) src
;
2653 return (void *) dest
;
2656 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2659 src
= (wxComboBox
*) ptr
;
2660 dest
= (wxControl
*) src
;
2661 return (void *) dest
;
2664 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2667 src
= (wxComboBox
*) ptr
;
2668 dest
= (wxWindow
*) src
;
2669 return (void *) dest
;
2672 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2675 src
= (wxComboBox
*) ptr
;
2676 dest
= (wxEvtHandler
*) src
;
2677 return (void *) dest
;
2680 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2683 src
= (wxComboBox
*) ptr
;
2684 dest
= (wxObject
*) src
;
2685 return (void *) dest
;
2688 #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))
2689 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2691 wxComboBox
* _result
;
2694 char * _arg2
= (char *) "";
2695 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2696 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2697 int _arg5
= (int ) 0;
2698 wxString
* _arg6
= (wxString
*) NULL
;
2699 long _arg7
= (long ) 0;
2700 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2701 char * _arg9
= (char *) "comboBox";
2702 PyObject
* _argo0
= 0;
2704 PyObject
* _obj3
= 0;
2706 PyObject
* _obj4
= 0;
2707 PyObject
* _obj6
= 0;
2708 PyObject
* _argo8
= 0;
2709 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2725 if (! wxPoint_helper(_obj3
, &_arg3
))
2731 if (! wxSize_helper(_obj4
, &_arg4
))
2736 _arg6
= wxString_LIST_helper(_obj6
);
2737 if (_arg6
== NULL
) {
2742 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2750 _arg5
= PyList_Size(_obj6
);
2757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2758 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2760 wxPyEndAllowThreads(__tstate
);
2761 if (PyErr_Occurred()) return NULL
;
2763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2764 _resultobj
= Py_BuildValue("s",_ptemp
);
2767 _resultobj
= Py_None
;
2775 #define new_wxPreComboBox() (new wxComboBox())
2776 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
* _resultobj
;
2778 wxComboBox
* _result
;
2779 char *_kwnames
[] = { NULL
};
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 _result
= (wxComboBox
*)new_wxPreComboBox();
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) return NULL
;
2792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2793 _resultobj
= Py_BuildValue("s",_ptemp
);
2796 _resultobj
= Py_None
;
2801 #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))
2802 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
* _resultobj
;
2808 char * _arg3
= (char *) "";
2809 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2810 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2811 int _arg6
= (int ) 0;
2812 wxString
* _arg7
= (wxString
*) NULL
;
2813 long _arg8
= (long ) 0;
2814 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2815 char * _arg10
= (char *) "comboBox";
2816 PyObject
* _argo0
= 0;
2817 PyObject
* _argo1
= 0;
2819 PyObject
* _obj4
= 0;
2821 PyObject
* _obj5
= 0;
2822 PyObject
* _obj7
= 0;
2823 PyObject
* _argo9
= 0;
2824 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2837 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2846 if (! wxPoint_helper(_obj4
, &_arg4
))
2852 if (! wxSize_helper(_obj5
, &_arg5
))
2857 _arg7
= wxString_LIST_helper(_obj7
);
2858 if (_arg7
== NULL
) {
2863 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2871 _arg6
= PyList_Size(_obj7
);
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) return NULL
;
2883 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2891 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxComboBox_Copy(_arg0
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) return NULL
;
2913 } Py_INCREF(Py_None
);
2914 _resultobj
= Py_None
;
2918 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2919 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
* _resultobj
;
2922 PyObject
* _argo0
= 0;
2923 char *_kwnames
[] = { "self", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 wxComboBox_Cut(_arg0
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) return NULL
;
2941 } Py_INCREF(Py_None
);
2942 _resultobj
= Py_None
;
2946 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2947 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
* _resultobj
;
2951 PyObject
* _argo0
= 0;
2952 char *_kwnames
[] = { "self", NULL
};
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) return NULL
;
2970 } _resultobj
= Py_BuildValue("l",_result
);
2974 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2975 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
* _resultobj
;
2979 PyObject
* _argo0
= 0;
2980 char *_kwnames
[] = { "self", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2994 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2996 wxPyEndAllowThreads(__tstate
);
2997 if (PyErr_Occurred()) return NULL
;
2998 } _resultobj
= Py_BuildValue("l",_result
);
3002 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3003 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) return NULL
;
3027 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3035 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3036 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3039 PyObject
* _argo0
= 0;
3040 char *_kwnames
[] = { "self", NULL
};
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3054 wxComboBox_Paste(_arg0
);
3056 wxPyEndAllowThreads(__tstate
);
3057 if (PyErr_Occurred()) return NULL
;
3058 } Py_INCREF(Py_None
);
3059 _resultobj
= Py_None
;
3063 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3064 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3070 PyObject
* _argo0
= 0;
3071 PyObject
* _obj3
= 0;
3072 char *_kwnames
[] = { "self","from","to","text", NULL
};
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3085 #if PYTHON_API_VERSION >= 1009
3086 char* tmpPtr
; int tmpSize
;
3087 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3088 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3091 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3093 _arg3
= new wxString(tmpPtr
, tmpSize
);
3095 if (!PyString_Check(_obj3
)) {
3096 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3099 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) return NULL
;
3108 } Py_INCREF(Py_None
);
3109 _resultobj
= Py_None
;
3117 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3118 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "self","from","to", NULL
};
3127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) return NULL
;
3142 } Py_INCREF(Py_None
);
3143 _resultobj
= Py_None
;
3147 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3148 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
* _resultobj
;
3152 PyObject
* _argo0
= 0;
3153 char *_kwnames
[] = { "self","pos", NULL
};
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3167 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3169 wxPyEndAllowThreads(__tstate
);
3170 if (PyErr_Occurred()) return NULL
;
3171 } Py_INCREF(Py_None
);
3172 _resultobj
= Py_None
;
3176 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3177 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
* _resultobj
;
3180 PyObject
* _argo0
= 0;
3181 char *_kwnames
[] = { "self", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 wxComboBox_SetInsertionPointEnd(_arg0
);
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) return NULL
;
3199 } Py_INCREF(Py_None
);
3200 _resultobj
= Py_None
;
3204 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3205 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
* _resultobj
;
3209 PyObject
* _argo0
= 0;
3210 char *_kwnames
[] = { "self","n", NULL
};
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3224 wxComboBox_SetSelection(_arg0
,_arg1
);
3226 wxPyEndAllowThreads(__tstate
);
3227 if (PyErr_Occurred()) return NULL
;
3228 } Py_INCREF(Py_None
);
3229 _resultobj
= Py_None
;
3233 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3234 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self","from","to", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3258 } Py_INCREF(Py_None
);
3259 _resultobj
= Py_None
;
3263 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3264 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3268 PyObject
* _argo0
= 0;
3269 PyObject
* _obj1
= 0;
3270 char *_kwnames
[] = { "self","text", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3283 #if PYTHON_API_VERSION >= 1009
3284 char* tmpPtr
; int tmpSize
;
3285 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3289 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3291 _arg1
= new wxString(tmpPtr
, tmpSize
);
3293 if (!PyString_Check(_obj1
)) {
3294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3297 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 wxComboBox_SetValue(_arg0
,*_arg1
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) return NULL
;
3306 } Py_INCREF(Py_None
);
3307 _resultobj
= Py_None
;
3315 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3316 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3320 PyObject
* _argo0
= 0;
3322 char *_kwnames
[] = { "self","editable", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3334 _arg1
= (bool ) tempbool1
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 wxComboBox_SetEditable(_arg0
,_arg1
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) return NULL
;
3341 } Py_INCREF(Py_None
);
3342 _resultobj
= Py_None
;
3346 static void *SwigwxGaugeTowxControl(void *ptr
) {
3349 src
= (wxGauge
*) ptr
;
3350 dest
= (wxControl
*) src
;
3351 return (void *) dest
;
3354 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3357 src
= (wxGauge
*) ptr
;
3358 dest
= (wxWindow
*) src
;
3359 return (void *) dest
;
3362 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3365 src
= (wxGauge
*) ptr
;
3366 dest
= (wxEvtHandler
*) src
;
3367 return (void *) dest
;
3370 static void *SwigwxGaugeTowxObject(void *ptr
) {
3373 src
= (wxGauge
*) ptr
;
3374 dest
= (wxObject
*) src
;
3375 return (void *) dest
;
3378 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3379 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3385 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3386 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3387 long _arg5
= (long ) wxGA_HORIZONTAL
;
3388 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3389 char * _arg7
= (char *) "gauge";
3390 PyObject
* _argo0
= 0;
3392 PyObject
* _obj3
= 0;
3394 PyObject
* _obj4
= 0;
3395 PyObject
* _argo6
= 0;
3396 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3412 if (! wxPoint_helper(_obj3
, &_arg3
))
3418 if (! wxSize_helper(_obj4
, &_arg4
))
3422 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3423 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) return NULL
;
3435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3436 _resultobj
= Py_BuildValue("s",_ptemp
);
3439 _resultobj
= Py_None
;
3444 #define new_wxPreGauge() (new wxGauge())
3445 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
* _resultobj
;
3448 char *_kwnames
[] = { NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 _result
= (wxGauge
*)new_wxPreGauge();
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) return NULL
;
3461 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3462 _resultobj
= Py_BuildValue("s",_ptemp
);
3465 _resultobj
= Py_None
;
3470 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3471 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
* _resultobj
;
3478 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3479 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3480 long _arg6
= (long ) wxGA_HORIZONTAL
;
3481 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3482 char * _arg8
= (char *) "gauge";
3483 PyObject
* _argo0
= 0;
3484 PyObject
* _argo1
= 0;
3486 PyObject
* _obj4
= 0;
3488 PyObject
* _obj5
= 0;
3489 PyObject
* _argo7
= 0;
3490 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3512 if (! wxPoint_helper(_obj4
, &_arg4
))
3518 if (! wxSize_helper(_obj5
, &_arg5
))
3522 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3523 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) return NULL
;
3534 } _resultobj
= Py_BuildValue("i",_result
);
3538 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3539 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3543 PyObject
* _argo0
= 0;
3544 char *_kwnames
[] = { "self", NULL
};
3547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) return NULL
;
3562 } _resultobj
= Py_BuildValue("i",_result
);
3566 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3567 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3571 PyObject
* _argo0
= 0;
3572 char *_kwnames
[] = { "self", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 _result
= (int )wxGauge_GetRange(_arg0
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) return NULL
;
3590 } _resultobj
= Py_BuildValue("i",_result
);
3594 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3595 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) return NULL
;
3618 } _resultobj
= Py_BuildValue("i",_result
);
3622 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3623 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3627 PyObject
* _argo0
= 0;
3628 char *_kwnames
[] = { "self", NULL
};
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 _result
= (int )wxGauge_GetValue(_arg0
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) return NULL
;
3646 } _resultobj
= Py_BuildValue("i",_result
);
3650 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3651 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3655 PyObject
* _argo0
= 0;
3656 char *_kwnames
[] = { "self","width", NULL
};
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 wxGauge_SetBezelFace(_arg0
,_arg1
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3674 } Py_INCREF(Py_None
);
3675 _resultobj
= Py_None
;
3679 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3680 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3684 PyObject
* _argo0
= 0;
3685 char *_kwnames
[] = { "self","range", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 wxGauge_SetRange(_arg0
,_arg1
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) return NULL
;
3703 } Py_INCREF(Py_None
);
3704 _resultobj
= Py_None
;
3708 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3709 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
* _resultobj
;
3713 PyObject
* _argo0
= 0;
3714 char *_kwnames
[] = { "self","width", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) return NULL
;
3732 } Py_INCREF(Py_None
);
3733 _resultobj
= Py_None
;
3737 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3738 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3742 PyObject
* _argo0
= 0;
3743 char *_kwnames
[] = { "self","pos", NULL
};
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 wxGauge_SetValue(_arg0
,_arg1
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) return NULL
;
3761 } Py_INCREF(Py_None
);
3762 _resultobj
= Py_None
;
3766 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3769 src
= (wxStaticBox
*) ptr
;
3770 dest
= (wxControl
*) src
;
3771 return (void *) dest
;
3774 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3777 src
= (wxStaticBox
*) ptr
;
3778 dest
= (wxWindow
*) src
;
3779 return (void *) dest
;
3782 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3785 src
= (wxStaticBox
*) ptr
;
3786 dest
= (wxEvtHandler
*) src
;
3787 return (void *) dest
;
3790 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3793 src
= (wxStaticBox
*) ptr
;
3794 dest
= (wxObject
*) src
;
3795 return (void *) dest
;
3798 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3799 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
* _resultobj
;
3801 wxStaticBox
* _result
;
3805 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3806 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3807 long _arg5
= (long ) 0;
3808 char * _arg6
= (char *) "staticBox";
3809 PyObject
* _argo0
= 0;
3810 PyObject
* _obj2
= 0;
3812 PyObject
* _obj3
= 0;
3814 PyObject
* _obj4
= 0;
3815 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3829 #if PYTHON_API_VERSION >= 1009
3830 char* tmpPtr
; int tmpSize
;
3831 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3835 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3837 _arg2
= new wxString(tmpPtr
, tmpSize
);
3839 if (!PyString_Check(_obj2
)) {
3840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3843 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3849 if (! wxPoint_helper(_obj3
, &_arg3
))
3855 if (! wxSize_helper(_obj4
, &_arg4
))
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) return NULL
;
3865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3866 _resultobj
= Py_BuildValue("s",_ptemp
);
3869 _resultobj
= Py_None
;
3878 #define new_wxPreStaticBox() (new wxStaticBox())
3879 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
* _resultobj
;
3881 wxStaticBox
* _result
;
3882 char *_kwnames
[] = { NULL
};
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) return NULL
;
3895 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3896 _resultobj
= Py_BuildValue("s",_ptemp
);
3899 _resultobj
= Py_None
;
3904 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3905 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3908 wxStaticBox
* _arg0
;
3912 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3913 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3914 long _arg6
= (long ) 0;
3915 char * _arg7
= (char *) "staticBox";
3916 PyObject
* _argo0
= 0;
3917 PyObject
* _argo1
= 0;
3918 PyObject
* _obj3
= 0;
3920 PyObject
* _obj4
= 0;
3922 PyObject
* _obj5
= 0;
3923 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3936 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3937 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3943 #if PYTHON_API_VERSION >= 1009
3944 char* tmpPtr
; int tmpSize
;
3945 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3946 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3949 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3951 _arg3
= new wxString(tmpPtr
, tmpSize
);
3953 if (!PyString_Check(_obj3
)) {
3954 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3957 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3963 if (! wxPoint_helper(_obj4
, &_arg4
))
3969 if (! wxSize_helper(_obj5
, &_arg5
))
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) return NULL
;
3978 } _resultobj
= Py_BuildValue("i",_result
);
3986 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3989 src
= (wxStaticLine
*) ptr
;
3990 dest
= (wxControl
*) src
;
3991 return (void *) dest
;
3994 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3997 src
= (wxStaticLine
*) ptr
;
3998 dest
= (wxWindow
*) src
;
3999 return (void *) dest
;
4002 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4005 src
= (wxStaticLine
*) ptr
;
4006 dest
= (wxEvtHandler
*) src
;
4007 return (void *) dest
;
4010 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4013 src
= (wxStaticLine
*) ptr
;
4014 dest
= (wxObject
*) src
;
4015 return (void *) dest
;
4018 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4019 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
* _resultobj
;
4021 wxStaticLine
* _result
;
4024 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4025 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4026 long _arg4
= (long ) wxLI_HORIZONTAL
;
4027 char * _arg5
= (char *) "staticLine";
4028 PyObject
* _argo0
= 0;
4030 PyObject
* _obj2
= 0;
4032 PyObject
* _obj3
= 0;
4033 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4049 if (! wxPoint_helper(_obj2
, &_arg2
))
4055 if (! wxSize_helper(_obj3
, &_arg3
))
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) return NULL
;
4065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4066 _resultobj
= Py_BuildValue("s",_ptemp
);
4069 _resultobj
= Py_None
;
4074 #define new_wxPreStaticLine() (new wxStaticLine())
4075 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
* _resultobj
;
4077 wxStaticLine
* _result
;
4078 char *_kwnames
[] = { NULL
};
4082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) return NULL
;
4091 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4092 _resultobj
= Py_BuildValue("s",_ptemp
);
4095 _resultobj
= Py_None
;
4100 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4101 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
* _resultobj
;
4104 wxStaticLine
* _arg0
;
4107 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4108 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4109 long _arg5
= (long ) wxLI_HORIZONTAL
;
4110 char * _arg6
= (char *) "staticLine";
4111 PyObject
* _argo0
= 0;
4112 PyObject
* _argo1
= 0;
4114 PyObject
* _obj3
= 0;
4116 PyObject
* _obj4
= 0;
4117 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4130 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4131 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4139 if (! wxPoint_helper(_obj3
, &_arg3
))
4145 if (! wxSize_helper(_obj4
, &_arg4
))
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 } _resultobj
= Py_BuildValue("i",_result
);
4158 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4161 src
= (wxStaticText
*) ptr
;
4162 dest
= (wxControl
*) src
;
4163 return (void *) dest
;
4166 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4169 src
= (wxStaticText
*) ptr
;
4170 dest
= (wxWindow
*) src
;
4171 return (void *) dest
;
4174 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4177 src
= (wxStaticText
*) ptr
;
4178 dest
= (wxEvtHandler
*) src
;
4179 return (void *) dest
;
4182 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4185 src
= (wxStaticText
*) ptr
;
4186 dest
= (wxObject
*) src
;
4187 return (void *) dest
;
4190 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4191 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4193 wxStaticText
* _result
;
4197 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4198 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4199 long _arg5
= (long ) 0;
4200 char * _arg6
= (char *) "staticText";
4201 PyObject
* _argo0
= 0;
4202 PyObject
* _obj2
= 0;
4204 PyObject
* _obj3
= 0;
4206 PyObject
* _obj4
= 0;
4207 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4221 #if PYTHON_API_VERSION >= 1009
4222 char* tmpPtr
; int tmpSize
;
4223 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4224 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4227 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4229 _arg2
= new wxString(tmpPtr
, tmpSize
);
4231 if (!PyString_Check(_obj2
)) {
4232 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4235 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4241 if (! wxPoint_helper(_obj3
, &_arg3
))
4247 if (! wxSize_helper(_obj4
, &_arg4
))
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) return NULL
;
4257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4258 _resultobj
= Py_BuildValue("s",_ptemp
);
4261 _resultobj
= Py_None
;
4270 #define new_wxPreStaticText() (new wxStaticText())
4271 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4273 wxStaticText
* _result
;
4274 char *_kwnames
[] = { NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 _result
= (wxStaticText
*)new_wxPreStaticText();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) return NULL
;
4287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4288 _resultobj
= Py_BuildValue("s",_ptemp
);
4291 _resultobj
= Py_None
;
4296 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4297 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4300 wxStaticText
* _arg0
;
4304 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4305 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4306 long _arg6
= (long ) 0;
4307 char * _arg7
= (char *) "staticText";
4308 PyObject
* _argo0
= 0;
4309 PyObject
* _argo1
= 0;
4310 PyObject
* _obj3
= 0;
4312 PyObject
* _obj4
= 0;
4314 PyObject
* _obj5
= 0;
4315 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4335 #if PYTHON_API_VERSION >= 1009
4336 char* tmpPtr
; int tmpSize
;
4337 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4338 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4341 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4343 _arg3
= new wxString(tmpPtr
, tmpSize
);
4345 if (!PyString_Check(_obj3
)) {
4346 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4349 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4355 if (! wxPoint_helper(_obj4
, &_arg4
))
4361 if (! wxSize_helper(_obj5
, &_arg5
))
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4370 } _resultobj
= Py_BuildValue("i",_result
);
4378 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4379 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
* _resultobj
;
4382 wxStaticText
* _arg0
;
4383 PyObject
* _argo0
= 0;
4384 char *_kwnames
[] = { "self", NULL
};
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) return NULL
;
4403 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4411 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4412 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4414 wxStaticText
* _arg0
;
4416 PyObject
* _argo0
= 0;
4417 PyObject
* _obj1
= 0;
4418 char *_kwnames
[] = { "self","label", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4431 #if PYTHON_API_VERSION >= 1009
4432 char* tmpPtr
; int tmpSize
;
4433 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4437 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4439 _arg1
= new wxString(tmpPtr
, tmpSize
);
4441 if (!PyString_Check(_obj1
)) {
4442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4445 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 wxStaticText_SetLabel(_arg0
,*_arg1
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) return NULL
;
4454 } Py_INCREF(Py_None
);
4455 _resultobj
= Py_None
;
4463 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4465 wxControlWithItems
*dest
;
4466 src
= (wxListBox
*) ptr
;
4467 dest
= (wxControlWithItems
*) src
;
4468 return (void *) dest
;
4471 static void *SwigwxListBoxTowxControl(void *ptr
) {
4474 src
= (wxListBox
*) ptr
;
4475 dest
= (wxControl
*) src
;
4476 return (void *) dest
;
4479 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4482 src
= (wxListBox
*) ptr
;
4483 dest
= (wxWindow
*) src
;
4484 return (void *) dest
;
4487 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4490 src
= (wxListBox
*) ptr
;
4491 dest
= (wxEvtHandler
*) src
;
4492 return (void *) dest
;
4495 static void *SwigwxListBoxTowxObject(void *ptr
) {
4498 src
= (wxListBox
*) ptr
;
4499 dest
= (wxObject
*) src
;
4500 return (void *) dest
;
4503 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4504 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4506 wxListBox
* _result
;
4509 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4510 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4512 wxString
* _arg5
= (wxString
*) NULL
;
4513 long _arg6
= (long ) 0;
4514 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4515 char * _arg8
= (char *) "listBox";
4516 PyObject
* _argo0
= 0;
4518 PyObject
* _obj2
= 0;
4520 PyObject
* _obj3
= 0;
4521 PyObject
* _obj5
= 0;
4522 PyObject
* _argo7
= 0;
4523 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4539 if (! wxPoint_helper(_obj2
, &_arg2
))
4545 if (! wxSize_helper(_obj3
, &_arg3
))
4550 _arg5
= wxString_LIST_helper(_obj5
);
4551 if (_arg5
== NULL
) {
4556 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4564 _arg4
= PyList_Size(_obj5
);
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4578 _resultobj
= Py_BuildValue("s",_ptemp
);
4581 _resultobj
= Py_None
;
4589 #define new_wxPreListBox() (new wxListBox())
4590 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4592 wxListBox
* _result
;
4593 char *_kwnames
[] = { NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 _result
= (wxListBox
*)new_wxPreListBox();
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) return NULL
;
4606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4607 _resultobj
= Py_BuildValue("s",_ptemp
);
4610 _resultobj
= Py_None
;
4615 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4616 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4622 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4623 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4625 wxString
* _arg6
= (wxString
*) NULL
;
4626 long _arg7
= (long ) 0;
4627 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4628 char * _arg9
= (char *) "listBox";
4629 PyObject
* _argo0
= 0;
4630 PyObject
* _argo1
= 0;
4632 PyObject
* _obj3
= 0;
4634 PyObject
* _obj4
= 0;
4635 PyObject
* _obj6
= 0;
4636 PyObject
* _argo8
= 0;
4637 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4659 if (! wxPoint_helper(_obj3
, &_arg3
))
4665 if (! wxSize_helper(_obj4
, &_arg4
))
4670 _arg6
= wxString_LIST_helper(_obj6
);
4671 if (_arg6
== NULL
) {
4676 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4684 _arg5
= PyList_Size(_obj6
);
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) return NULL
;
4696 } _resultobj
= Py_BuildValue("i",_result
);
4703 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4704 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
* _resultobj
;
4707 PyObject
* _argo0
= 0;
4708 char *_kwnames
[] = { "self", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxListBox_Clear(_arg0
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) return NULL
;
4726 } Py_INCREF(Py_None
);
4727 _resultobj
= Py_None
;
4731 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4732 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4736 PyObject
* _argo0
= 0;
4737 char *_kwnames
[] = { "self","n", NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 wxListBox_Deselect(_arg0
,_arg1
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) return NULL
;
4755 } Py_INCREF(Py_None
);
4756 _resultobj
= Py_None
;
4760 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4762 self
->GetSelections(lst
);
4763 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4764 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4765 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4769 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4773 PyObject
* _argo0
= 0;
4774 char *_kwnames
[] = { "self", NULL
};
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) return NULL
;
4793 _resultobj
= _result
;
4798 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4799 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4805 PyObject
* _argo0
= 0;
4806 PyObject
* _obj2
= 0;
4807 char *_kwnames
[] = { "self","choices","pos", NULL
};
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4820 _arg2
= wxString_LIST_helper(_obj2
);
4821 if (_arg2
== NULL
) {
4827 _arg1
= PyList_Size(_obj2
);
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) return NULL
;
4839 } Py_INCREF(Py_None
);
4840 _resultobj
= Py_None
;
4847 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4848 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
* _resultobj
;
4853 PyObject
* _argo0
= 0;
4854 char *_kwnames
[] = { "self","n", NULL
};
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4868 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) return NULL
;
4872 } _resultobj
= Py_BuildValue("i",_result
);
4876 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4877 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
* _resultobj
;
4882 PyObject
* _argo0
= 0;
4883 char *_kwnames
[] = { "self","n", NULL
};
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) return NULL
;
4901 } _resultobj
= Py_BuildValue("i",_result
);
4905 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4906 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
* _resultobj
;
4911 PyObject
* _argo0
= 0;
4912 PyObject
* _obj2
= 0;
4913 char *_kwnames
[] = { "self","choices", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4927 _arg2
= wxString_LIST_helper(_obj2
);
4928 if (_arg2
== NULL
) {
4934 _arg1
= PyList_Size(_obj2
);
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) return NULL
;
4946 } Py_INCREF(Py_None
);
4947 _resultobj
= Py_None
;
4954 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4955 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
* _resultobj
;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self","n", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 wxListBox_SetFirstItem(_arg0
,_arg1
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) return NULL
;
4978 } Py_INCREF(Py_None
);
4979 _resultobj
= Py_None
;
4983 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4984 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4988 PyObject
* _argo0
= 0;
4989 PyObject
* _obj1
= 0;
4990 char *_kwnames
[] = { "self","string", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5003 #if PYTHON_API_VERSION >= 1009
5004 char* tmpPtr
; int tmpSize
;
5005 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5009 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5011 _arg1
= new wxString(tmpPtr
, tmpSize
);
5013 if (!PyString_Check(_obj1
)) {
5014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5017 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5026 } Py_INCREF(Py_None
);
5027 _resultobj
= Py_None
;
5035 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5036 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5040 bool _arg2
= (bool ) TRUE
;
5041 PyObject
* _argo0
= 0;
5042 int tempbool2
= (int) TRUE
;
5043 char *_kwnames
[] = { "self","n","select", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5055 _arg2
= (bool ) tempbool2
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) return NULL
;
5062 } Py_INCREF(Py_None
);
5063 _resultobj
= Py_None
;
5067 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5068 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
* _resultobj
;
5073 PyObject
* _argo0
= 0;
5074 PyObject
* _obj2
= 0;
5075 char *_kwnames
[] = { "self","n","string", NULL
};
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5088 #if PYTHON_API_VERSION >= 1009
5089 char* tmpPtr
; int tmpSize
;
5090 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5091 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5094 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5096 _arg2
= new wxString(tmpPtr
, tmpSize
);
5098 if (!PyString_Check(_obj2
)) {
5099 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5102 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5107 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) return NULL
;
5111 } Py_INCREF(Py_None
);
5112 _resultobj
= Py_None
;
5120 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5121 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
* _resultobj
;
5125 bool _arg2
= (bool ) TRUE
;
5126 PyObject
* _argo0
= 0;
5127 PyObject
* _obj1
= 0;
5128 int tempbool2
= (int) TRUE
;
5129 char *_kwnames
[] = { "self","string","select", NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5142 #if PYTHON_API_VERSION >= 1009
5143 char* tmpPtr
; int tmpSize
;
5144 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5148 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5150 _arg1
= new wxString(tmpPtr
, tmpSize
);
5152 if (!PyString_Check(_obj1
)) {
5153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5156 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5159 _arg2
= (bool ) tempbool2
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) return NULL
;
5166 } Py_INCREF(Py_None
);
5167 _resultobj
= Py_None
;
5175 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5176 wxCheckListBox
*src
;
5178 src
= (wxCheckListBox
*) ptr
;
5179 dest
= (wxListBox
*) src
;
5180 return (void *) dest
;
5183 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5184 wxCheckListBox
*src
;
5185 wxControlWithItems
*dest
;
5186 src
= (wxCheckListBox
*) ptr
;
5187 dest
= (wxControlWithItems
*) src
;
5188 return (void *) dest
;
5191 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5192 wxCheckListBox
*src
;
5194 src
= (wxCheckListBox
*) ptr
;
5195 dest
= (wxControl
*) src
;
5196 return (void *) dest
;
5199 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5200 wxCheckListBox
*src
;
5202 src
= (wxCheckListBox
*) ptr
;
5203 dest
= (wxWindow
*) src
;
5204 return (void *) dest
;
5207 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5208 wxCheckListBox
*src
;
5210 src
= (wxCheckListBox
*) ptr
;
5211 dest
= (wxEvtHandler
*) src
;
5212 return (void *) dest
;
5215 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5216 wxCheckListBox
*src
;
5218 src
= (wxCheckListBox
*) ptr
;
5219 dest
= (wxObject
*) src
;
5220 return (void *) dest
;
5223 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5224 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5226 wxCheckListBox
* _result
;
5229 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5230 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5231 int _arg4
= (int ) 0;
5232 wxString
* _arg5
= (wxString
*) NULL
;
5233 long _arg6
= (long ) 0;
5234 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5235 char * _arg8
= (char *) "listBox";
5236 PyObject
* _argo0
= 0;
5238 PyObject
* _obj2
= 0;
5240 PyObject
* _obj3
= 0;
5241 PyObject
* _obj5
= 0;
5242 PyObject
* _argo7
= 0;
5243 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5259 if (! wxPoint_helper(_obj2
, &_arg2
))
5265 if (! wxSize_helper(_obj3
, &_arg3
))
5270 _arg5
= wxString_LIST_helper(_obj5
);
5271 if (_arg5
== NULL
) {
5276 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5284 _arg4
= PyList_Size(_obj5
);
5291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5292 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) return NULL
;
5297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5298 _resultobj
= Py_BuildValue("s",_ptemp
);
5301 _resultobj
= Py_None
;
5309 #define new_wxPreCheckListBox() (new wxCheckListBox())
5310 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5312 wxCheckListBox
* _result
;
5313 char *_kwnames
[] = { NULL
};
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) return NULL
;
5326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5327 _resultobj
= Py_BuildValue("s",_ptemp
);
5330 _resultobj
= Py_None
;
5335 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5336 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5339 wxCheckListBox
* _arg0
;
5342 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5343 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5344 int _arg5
= (int ) 0;
5345 wxString
* _arg6
= (wxString
*) NULL
;
5346 long _arg7
= (long ) 0;
5347 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5348 char * _arg9
= (char *) "listBox";
5349 PyObject
* _argo0
= 0;
5350 PyObject
* _argo1
= 0;
5352 PyObject
* _obj3
= 0;
5354 PyObject
* _obj4
= 0;
5355 PyObject
* _obj6
= 0;
5356 PyObject
* _argo8
= 0;
5357 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5370 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5379 if (! wxPoint_helper(_obj3
, &_arg3
))
5385 if (! wxSize_helper(_obj4
, &_arg4
))
5390 _arg6
= wxString_LIST_helper(_obj6
);
5391 if (_arg6
== NULL
) {
5396 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5397 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5404 _arg5
= PyList_Size(_obj6
);
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) return NULL
;
5416 } _resultobj
= Py_BuildValue("i",_result
);
5423 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5424 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
* _resultobj
;
5427 wxCheckListBox
* _arg0
;
5429 PyObject
* _argo0
= 0;
5430 char *_kwnames
[] = { "self","uiIndex", NULL
};
5433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5446 wxPyEndAllowThreads(__tstate
);
5447 if (PyErr_Occurred()) return NULL
;
5448 } _resultobj
= Py_BuildValue("i",_result
);
5452 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5453 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
* _resultobj
;
5455 wxCheckListBox
* _arg0
;
5457 int _arg2
= (int ) TRUE
;
5458 PyObject
* _argo0
= 0;
5459 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) return NULL
;
5477 } Py_INCREF(Py_None
);
5478 _resultobj
= Py_None
;
5482 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5483 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5485 wxCheckListBox
* _arg0
;
5489 PyObject
* _argo0
= 0;
5490 PyObject
* _obj2
= 0;
5491 char *_kwnames
[] = { "self","choices","pos", NULL
};
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5504 _arg2
= wxString_LIST_helper(_obj2
);
5505 if (_arg2
== NULL
) {
5511 _arg1
= PyList_Size(_obj2
);
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) return NULL
;
5523 } Py_INCREF(Py_None
);
5524 _resultobj
= Py_None
;
5531 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5532 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
* _resultobj
;
5535 wxCheckListBox
* _arg0
;
5536 PyObject
* _argo0
= 0;
5537 char *_kwnames
[] = { "self", NULL
};
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5553 wxPyEndAllowThreads(__tstate
);
5554 if (PyErr_Occurred()) return NULL
;
5555 } _resultobj
= Py_BuildValue("i",_result
);
5559 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5560 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
* _resultobj
;
5562 wxTextAttr
* _result
;
5563 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5564 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5565 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5567 PyObject
* _obj0
= 0;
5569 PyObject
* _obj1
= 0;
5570 PyObject
* _argo2
= 0;
5571 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5580 if (! wxColour_helper(_obj0
, &_arg0
))
5586 if (! wxColour_helper(_obj1
, &_arg1
))
5590 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5591 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) return NULL
;
5603 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5604 _resultobj
= Py_BuildValue("s",_ptemp
);
5607 _resultobj
= Py_None
;
5612 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5613 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
* _resultobj
;
5616 PyObject
* _argo0
= 0;
5617 char *_kwnames
[] = { "self", NULL
};
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 delete_wxTextAttr(_arg0
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) return NULL
;
5635 } Py_INCREF(Py_None
);
5636 _resultobj
= Py_None
;
5640 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5641 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
* _resultobj
;
5645 PyObject
* _argo0
= 0;
5647 PyObject
* _obj1
= 0;
5648 char *_kwnames
[] = { "self","colText", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5662 if (! wxColour_helper(_obj1
, &_arg1
))
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) return NULL
;
5671 } Py_INCREF(Py_None
);
5672 _resultobj
= Py_None
;
5676 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5677 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
* _resultobj
;
5681 PyObject
* _argo0
= 0;
5683 PyObject
* _obj1
= 0;
5684 char *_kwnames
[] = { "self","colBack", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5698 if (! wxColour_helper(_obj1
, &_arg1
))
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) return NULL
;
5707 } Py_INCREF(Py_None
);
5708 _resultobj
= Py_None
;
5712 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5713 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
* _resultobj
;
5717 PyObject
* _argo0
= 0;
5718 PyObject
* _argo1
= 0;
5719 char *_kwnames
[] = { "self","font", NULL
};
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 wxTextAttr_SetFont(_arg0
,*_arg1
);
5742 wxPyEndAllowThreads(__tstate
);
5743 if (PyErr_Occurred()) return NULL
;
5744 } Py_INCREF(Py_None
);
5745 _resultobj
= Py_None
;
5749 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5750 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5754 PyObject
* _argo0
= 0;
5755 char *_kwnames
[] = { "self", NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) return NULL
;
5773 } _resultobj
= Py_BuildValue("i",_result
);
5777 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5778 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5782 PyObject
* _argo0
= 0;
5783 char *_kwnames
[] = { "self", NULL
};
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) return NULL
;
5801 } _resultobj
= Py_BuildValue("i",_result
);
5805 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5806 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
* _resultobj
;
5810 PyObject
* _argo0
= 0;
5811 char *_kwnames
[] = { "self", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) return NULL
;
5829 } _resultobj
= Py_BuildValue("i",_result
);
5833 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5834 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5838 PyObject
* _argo0
= 0;
5839 char *_kwnames
[] = { "self", NULL
};
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) return NULL
;
5858 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5859 _resultobj
= Py_BuildValue("s",_ptemp
);
5863 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5864 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5869 char *_kwnames
[] = { "self", NULL
};
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5884 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) return NULL
;
5888 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5889 _resultobj
= Py_BuildValue("s",_ptemp
);
5893 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5894 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
* _resultobj
;
5898 PyObject
* _argo0
= 0;
5899 char *_kwnames
[] = { "self", NULL
};
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) return NULL
;
5918 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5919 _resultobj
= Py_BuildValue("s",_ptemp
);
5923 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5924 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
* _resultobj
;
5928 PyObject
* _argo0
= 0;
5929 char *_kwnames
[] = { "self", NULL
};
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) return NULL
;
5947 } _resultobj
= Py_BuildValue("i",_result
);
5951 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
* _resultobj
;
5953 wxTextAttr
* _result
;
5957 PyObject
* _argo0
= 0;
5958 PyObject
* _argo1
= 0;
5959 PyObject
* _argo2
= 0;
5960 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5974 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5975 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5981 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) return NULL
;
5993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5994 _resultobj
= Py_BuildValue("s",_ptemp
);
5998 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6001 src
= (wxTextCtrl
*) ptr
;
6002 dest
= (wxControl
*) src
;
6003 return (void *) dest
;
6006 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6009 src
= (wxTextCtrl
*) ptr
;
6010 dest
= (wxWindow
*) src
;
6011 return (void *) dest
;
6014 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6017 src
= (wxTextCtrl
*) ptr
;
6018 dest
= (wxEvtHandler
*) src
;
6019 return (void *) dest
;
6022 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6025 src
= (wxTextCtrl
*) ptr
;
6026 dest
= (wxObject
*) src
;
6027 return (void *) dest
;
6030 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6031 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
* _resultobj
;
6033 wxTextCtrl
* _result
;
6036 char * _arg2
= (char *) "";
6037 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6038 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6039 long _arg5
= (long ) 0;
6040 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6041 char * _arg7
= (char *) "text";
6042 PyObject
* _argo0
= 0;
6044 PyObject
* _obj3
= 0;
6046 PyObject
* _obj4
= 0;
6047 PyObject
* _argo6
= 0;
6048 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6064 if (! wxPoint_helper(_obj3
, &_arg3
))
6070 if (! wxSize_helper(_obj4
, &_arg4
))
6074 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6075 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) return NULL
;
6087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6088 _resultobj
= Py_BuildValue("s",_ptemp
);
6091 _resultobj
= Py_None
;
6096 #define new_wxPreTextCtrl() (new wxTextCtrl())
6097 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
* _resultobj
;
6099 wxTextCtrl
* _result
;
6100 char *_kwnames
[] = { NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6114 _resultobj
= Py_BuildValue("s",_ptemp
);
6117 _resultobj
= Py_None
;
6122 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6123 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
* _resultobj
;
6129 char * _arg3
= (char *) "";
6130 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6131 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6132 long _arg6
= (long ) 0;
6133 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6134 char * _arg8
= (char *) "text";
6135 PyObject
* _argo0
= 0;
6136 PyObject
* _argo1
= 0;
6138 PyObject
* _obj4
= 0;
6140 PyObject
* _obj5
= 0;
6141 PyObject
* _argo7
= 0;
6142 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6164 if (! wxPoint_helper(_obj4
, &_arg4
))
6170 if (! wxSize_helper(_obj5
, &_arg5
))
6174 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6175 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) return NULL
;
6186 } _resultobj
= Py_BuildValue("i",_result
);
6190 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6191 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
* _resultobj
;
6195 PyObject
* _argo0
= 0;
6196 char *_kwnames
[] = { "self", NULL
};
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6210 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6212 wxPyEndAllowThreads(__tstate
);
6213 if (PyErr_Occurred()) return NULL
;
6215 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6223 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6224 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6228 PyObject
* _argo0
= 0;
6229 PyObject
* _obj1
= 0;
6230 char *_kwnames
[] = { "self","value", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6243 #if PYTHON_API_VERSION >= 1009
6244 char* tmpPtr
; int tmpSize
;
6245 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6249 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6251 _arg1
= new wxString(tmpPtr
, tmpSize
);
6253 if (!PyString_Check(_obj1
)) {
6254 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6257 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) return NULL
;
6266 } Py_INCREF(Py_None
);
6267 _resultobj
= Py_None
;
6275 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6276 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6277 PyObject
* _resultobj
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self","from","to", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6302 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6310 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6311 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
* _resultobj
;
6316 PyObject
* _argo0
= 0;
6317 char *_kwnames
[] = { "self","lineNo", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6333 wxPyEndAllowThreads(__tstate
);
6334 if (PyErr_Occurred()) return NULL
;
6335 } _resultobj
= Py_BuildValue("i",_result
);
6339 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6340 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6345 PyObject
* _argo0
= 0;
6346 char *_kwnames
[] = { "self","lineNo", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) return NULL
;
6365 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6373 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6374 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
* _resultobj
;
6378 PyObject
* _argo0
= 0;
6379 char *_kwnames
[] = { "self", NULL
};
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) return NULL
;
6397 } _resultobj
= Py_BuildValue("i",_result
);
6401 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6402 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
* _resultobj
;
6406 PyObject
* _argo0
= 0;
6407 char *_kwnames
[] = { "self", NULL
};
6410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) return NULL
;
6425 } _resultobj
= Py_BuildValue("i",_result
);
6429 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6430 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
* _resultobj
;
6434 PyObject
* _argo0
= 0;
6435 char *_kwnames
[] = { "self", NULL
};
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) return NULL
;
6453 } _resultobj
= Py_BuildValue("i",_result
);
6457 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6458 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6465 PyObject
* _argo0
= 0;
6466 char *_kwnames
[] = { "self", NULL
};
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) return NULL
;
6490 } Py_INCREF(Py_None
);
6491 _resultobj
= Py_None
;
6494 o
= PyInt_FromLong((long) (*_arg1
));
6495 _resultobj
= t_output_helper(_resultobj
, o
);
6499 o
= PyInt_FromLong((long) (*_arg2
));
6500 _resultobj
= t_output_helper(_resultobj
, o
);
6505 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6506 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
* _resultobj
;
6510 PyObject
* _argo0
= 0;
6511 char *_kwnames
[] = { "self", NULL
};
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) return NULL
;
6530 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6538 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6539 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6542 PyObject
* _argo0
= 0;
6543 char *_kwnames
[] = { "self", NULL
};
6546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 wxTextCtrl_Clear(_arg0
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) return NULL
;
6561 } Py_INCREF(Py_None
);
6562 _resultobj
= Py_None
;
6566 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6567 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6573 PyObject
* _argo0
= 0;
6574 PyObject
* _obj3
= 0;
6575 char *_kwnames
[] = { "self","from","to","value", NULL
};
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6588 #if PYTHON_API_VERSION >= 1009
6589 char* tmpPtr
; int tmpSize
;
6590 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6594 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6596 _arg3
= new wxString(tmpPtr
, tmpSize
);
6598 if (!PyString_Check(_obj3
)) {
6599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6602 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } Py_INCREF(Py_None
);
6612 _resultobj
= Py_None
;
6620 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6621 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
* _resultobj
;
6626 PyObject
* _argo0
= 0;
6627 char *_kwnames
[] = { "self","from","to", NULL
};
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) return NULL
;
6645 } Py_INCREF(Py_None
);
6646 _resultobj
= Py_None
;
6650 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6651 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 PyObject
* _obj1
= 0;
6658 char *_kwnames
[] = { "self","file", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6671 #if PYTHON_API_VERSION >= 1009
6672 char* tmpPtr
; int tmpSize
;
6673 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6674 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6677 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6679 _arg1
= new wxString(tmpPtr
, tmpSize
);
6681 if (!PyString_Check(_obj1
)) {
6682 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6685 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) return NULL
;
6694 } _resultobj
= Py_BuildValue("i",_result
);
6702 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6703 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
* _resultobj
;
6707 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6708 PyObject
* _argo0
= 0;
6709 PyObject
* _obj1
= 0;
6710 char *_kwnames
[] = { "self","file", NULL
};
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6724 #if PYTHON_API_VERSION >= 1009
6725 char* tmpPtr
; int tmpSize
;
6726 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6727 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6730 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6732 _arg1
= new wxString(tmpPtr
, tmpSize
);
6734 if (!PyString_Check(_obj1
)) {
6735 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6738 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) return NULL
;
6747 } _resultobj
= Py_BuildValue("i",_result
);
6755 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6756 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
* _resultobj
;
6759 PyObject
* _argo0
= 0;
6760 char *_kwnames
[] = { "self", NULL
};
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 wxTextCtrl_DiscardEdits(_arg0
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) return NULL
;
6778 } Py_INCREF(Py_None
);
6779 _resultobj
= Py_None
;
6783 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6784 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
* _resultobj
;
6787 unsigned long _arg1
;
6788 PyObject
* _argo0
= 0;
6789 char *_kwnames
[] = { "self","len", NULL
};
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) return NULL
;
6807 } Py_INCREF(Py_None
);
6808 _resultobj
= Py_None
;
6812 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6813 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 PyObject
* _obj1
= 0;
6819 char *_kwnames
[] = { "self","text", NULL
};
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6832 #if PYTHON_API_VERSION >= 1009
6833 char* tmpPtr
; int tmpSize
;
6834 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6835 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6838 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6840 _arg1
= new wxString(tmpPtr
, tmpSize
);
6842 if (!PyString_Check(_obj1
)) {
6843 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6846 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) return NULL
;
6855 } Py_INCREF(Py_None
);
6856 _resultobj
= Py_None
;
6864 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6865 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6869 PyObject
* _argo0
= 0;
6870 PyObject
* _obj1
= 0;
6871 char *_kwnames
[] = { "self","text", NULL
};
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6884 #if PYTHON_API_VERSION >= 1009
6885 char* tmpPtr
; int tmpSize
;
6886 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6890 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6892 _arg1
= new wxString(tmpPtr
, tmpSize
);
6894 if (!PyString_Check(_obj1
)) {
6895 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6898 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) return NULL
;
6907 } Py_INCREF(Py_None
);
6908 _resultobj
= Py_None
;
6916 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6917 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
* _resultobj
;
6924 PyObject
* _argo0
= 0;
6925 PyObject
* _argo3
= 0;
6926 char *_kwnames
[] = { "self","start","end","style", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6939 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) return NULL
;
6951 } _resultobj
= Py_BuildValue("i",_result
);
6955 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6956 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6961 PyObject
* _argo0
= 0;
6962 PyObject
* _argo1
= 0;
6963 char *_kwnames
[] = { "self","style", NULL
};
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6976 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6986 wxPyEndAllowThreads(__tstate
);
6987 if (PyErr_Occurred()) return NULL
;
6988 } _resultobj
= Py_BuildValue("i",_result
);
6992 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6993 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6995 wxTextAttr
* _result
;
6997 PyObject
* _argo0
= 0;
6998 char *_kwnames
[] = { "self", NULL
};
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7014 _result
= (wxTextAttr
*) &_result_ref
;
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) return NULL
;
7019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7020 _resultobj
= Py_BuildValue("s",_ptemp
);
7023 _resultobj
= Py_None
;
7028 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7029 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
* _resultobj
;
7035 PyObject
* _argo0
= 0;
7036 char *_kwnames
[] = { "self","x","y", NULL
};
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) return NULL
;
7054 } _resultobj
= Py_BuildValue("l",_result
);
7058 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7059 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7060 PyObject
* _resultobj
;
7067 PyObject
* _argo0
= 0;
7068 char *_kwnames
[] = { "self","pos", NULL
};
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7088 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7090 wxPyEndAllowThreads(__tstate
);
7091 if (PyErr_Occurred()) return NULL
;
7092 } Py_INCREF(Py_None
);
7093 _resultobj
= Py_None
;
7096 o
= PyInt_FromLong((long) (*_arg2
));
7097 _resultobj
= t_output_helper(_resultobj
, o
);
7101 o
= PyInt_FromLong((long) (*_arg3
));
7102 _resultobj
= t_output_helper(_resultobj
, o
);
7107 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7108 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
* _resultobj
;
7112 PyObject
* _argo0
= 0;
7113 char *_kwnames
[] = { "self","pos", NULL
};
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) return NULL
;
7131 } Py_INCREF(Py_None
);
7132 _resultobj
= Py_None
;
7136 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7137 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
* _resultobj
;
7140 PyObject
* _argo0
= 0;
7141 char *_kwnames
[] = { "self", NULL
};
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 wxTextCtrl_Copy(_arg0
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) return NULL
;
7159 } Py_INCREF(Py_None
);
7160 _resultobj
= Py_None
;
7164 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7165 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
* _resultobj
;
7168 PyObject
* _argo0
= 0;
7169 char *_kwnames
[] = { "self", NULL
};
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxTextCtrl_Cut(_arg0
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) return NULL
;
7187 } Py_INCREF(Py_None
);
7188 _resultobj
= Py_None
;
7192 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7193 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7196 PyObject
* _argo0
= 0;
7197 char *_kwnames
[] = { "self", NULL
};
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 wxTextCtrl_Paste(_arg0
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) return NULL
;
7215 } Py_INCREF(Py_None
);
7216 _resultobj
= Py_None
;
7220 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7221 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
* _resultobj
;
7225 PyObject
* _argo0
= 0;
7226 char *_kwnames
[] = { "self", NULL
};
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) return NULL
;
7244 } _resultobj
= Py_BuildValue("i",_result
);
7248 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7249 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
* _resultobj
;
7253 PyObject
* _argo0
= 0;
7254 char *_kwnames
[] = { "self", NULL
};
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) return NULL
;
7272 } _resultobj
= Py_BuildValue("i",_result
);
7276 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7277 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
* _resultobj
;
7281 PyObject
* _argo0
= 0;
7282 char *_kwnames
[] = { "self", NULL
};
7285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) return NULL
;
7300 } _resultobj
= Py_BuildValue("i",_result
);
7304 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7305 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
* _resultobj
;
7308 PyObject
* _argo0
= 0;
7309 char *_kwnames
[] = { "self", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 wxTextCtrl_Undo(_arg0
);
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) return NULL
;
7327 } Py_INCREF(Py_None
);
7328 _resultobj
= Py_None
;
7332 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7333 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
* _resultobj
;
7336 PyObject
* _argo0
= 0;
7337 char *_kwnames
[] = { "self", NULL
};
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 wxTextCtrl_Redo(_arg0
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) return NULL
;
7355 } Py_INCREF(Py_None
);
7356 _resultobj
= Py_None
;
7360 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7361 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
* _resultobj
;
7365 PyObject
* _argo0
= 0;
7366 char *_kwnames
[] = { "self", NULL
};
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) return NULL
;
7384 } _resultobj
= Py_BuildValue("i",_result
);
7388 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7389 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
* _resultobj
;
7393 PyObject
* _argo0
= 0;
7394 char *_kwnames
[] = { "self", NULL
};
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7408 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) return NULL
;
7412 } _resultobj
= Py_BuildValue("i",_result
);
7416 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7417 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
* _resultobj
;
7421 PyObject
* _argo0
= 0;
7422 char *_kwnames
[] = { "self","pos", NULL
};
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) return NULL
;
7440 } Py_INCREF(Py_None
);
7441 _resultobj
= Py_None
;
7445 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7446 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7449 PyObject
* _argo0
= 0;
7450 char *_kwnames
[] = { "self", NULL
};
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) return NULL
;
7468 } Py_INCREF(Py_None
);
7469 _resultobj
= Py_None
;
7473 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7474 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7478 PyObject
* _argo0
= 0;
7479 char *_kwnames
[] = { "self", NULL
};
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) return NULL
;
7497 } _resultobj
= Py_BuildValue("l",_result
);
7501 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7502 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
* _resultobj
;
7506 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) return NULL
;
7525 } _resultobj
= Py_BuildValue("l",_result
);
7529 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7530 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
* _resultobj
;
7535 PyObject
* _argo0
= 0;
7536 char *_kwnames
[] = { "self","from","to", NULL
};
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) return NULL
;
7554 } Py_INCREF(Py_None
);
7555 _resultobj
= Py_None
;
7559 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7560 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
* _resultobj
;
7563 PyObject
* _argo0
= 0;
7564 char *_kwnames
[] = { "self", NULL
};
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 wxTextCtrl_SelectAll(_arg0
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) return NULL
;
7582 } Py_INCREF(Py_None
);
7583 _resultobj
= Py_None
;
7587 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7588 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
* _resultobj
;
7592 PyObject
* _argo0
= 0;
7594 char *_kwnames
[] = { "self","editable", NULL
};
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7606 _arg1
= (bool ) tempbool1
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) return NULL
;
7613 } Py_INCREF(Py_None
);
7614 _resultobj
= Py_None
;
7618 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7619 self
->AppendText(text
);
7621 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
* _resultobj
;
7625 PyObject
* _argo0
= 0;
7626 PyObject
* _obj1
= 0;
7627 char *_kwnames
[] = { "self","text", NULL
};
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7640 #if PYTHON_API_VERSION >= 1009
7641 char* tmpPtr
; int tmpSize
;
7642 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7643 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7646 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7648 _arg1
= new wxString(tmpPtr
, tmpSize
);
7650 if (!PyString_Check(_obj1
)) {
7651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7654 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 wxTextCtrl_write(_arg0
,*_arg1
);
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) return NULL
;
7663 } Py_INCREF(Py_None
);
7664 _resultobj
= Py_None
;
7672 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7673 return self
->GetValue().Mid(from
, to
-from
);
7675 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
* _resultobj
;
7681 PyObject
* _argo0
= 0;
7682 char *_kwnames
[] = { "self","from","to", NULL
};
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) return NULL
;
7701 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7709 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7712 src
= (wxScrollBar
*) ptr
;
7713 dest
= (wxControl
*) src
;
7714 return (void *) dest
;
7717 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7720 src
= (wxScrollBar
*) ptr
;
7721 dest
= (wxWindow
*) src
;
7722 return (void *) dest
;
7725 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7728 src
= (wxScrollBar
*) ptr
;
7729 dest
= (wxEvtHandler
*) src
;
7730 return (void *) dest
;
7733 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7736 src
= (wxScrollBar
*) ptr
;
7737 dest
= (wxObject
*) src
;
7738 return (void *) dest
;
7741 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7742 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
* _resultobj
;
7744 wxScrollBar
* _result
;
7746 wxWindowID _arg1
= (wxWindowID
) -1;
7747 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7748 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7749 long _arg4
= (long ) wxSB_HORIZONTAL
;
7750 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7751 char * _arg6
= (char *) "scrollBar";
7752 PyObject
* _argo0
= 0;
7754 PyObject
* _obj2
= 0;
7756 PyObject
* _obj3
= 0;
7757 PyObject
* _argo5
= 0;
7758 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7765 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7766 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7767 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7774 if (! wxPoint_helper(_obj2
, &_arg2
))
7780 if (! wxSize_helper(_obj3
, &_arg3
))
7784 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7785 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) return NULL
;
7797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7798 _resultobj
= Py_BuildValue("s",_ptemp
);
7801 _resultobj
= Py_None
;
7806 #define new_wxPreScrollBar() (new wxScrollBar())
7807 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
* _resultobj
;
7809 wxScrollBar
* _result
;
7810 char *_kwnames
[] = { NULL
};
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) return NULL
;
7823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7824 _resultobj
= Py_BuildValue("s",_ptemp
);
7827 _resultobj
= Py_None
;
7832 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7833 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
* _resultobj
;
7836 wxScrollBar
* _arg0
;
7838 wxWindowID _arg2
= (wxWindowID
) -1;
7839 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7840 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7841 long _arg5
= (long ) wxSB_HORIZONTAL
;
7842 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7843 char * _arg7
= (char *) "scrollBar";
7844 PyObject
* _argo0
= 0;
7845 PyObject
* _argo1
= 0;
7847 PyObject
* _obj3
= 0;
7849 PyObject
* _obj4
= 0;
7850 PyObject
* _argo6
= 0;
7851 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7873 if (! wxPoint_helper(_obj3
, &_arg3
))
7879 if (! wxSize_helper(_obj4
, &_arg4
))
7883 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7884 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) return NULL
;
7895 } _resultobj
= Py_BuildValue("i",_result
);
7899 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7900 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
* _resultobj
;
7903 wxScrollBar
* _arg0
;
7904 PyObject
* _argo0
= 0;
7905 char *_kwnames
[] = { "self", NULL
};
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 _result
= (int )wxScrollBar_GetRange(_arg0
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) return NULL
;
7923 } _resultobj
= Py_BuildValue("i",_result
);
7927 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7928 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7931 wxScrollBar
* _arg0
;
7932 PyObject
* _argo0
= 0;
7933 char *_kwnames
[] = { "self", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) return NULL
;
7951 } _resultobj
= Py_BuildValue("i",_result
);
7955 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7956 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7959 wxScrollBar
* _arg0
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7977 wxPyEndAllowThreads(__tstate
);
7978 if (PyErr_Occurred()) return NULL
;
7979 } _resultobj
= Py_BuildValue("i",_result
);
7983 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7984 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
* _resultobj
;
7987 wxScrollBar
* _arg0
;
7988 PyObject
* _argo0
= 0;
7989 char *_kwnames
[] = { "self", NULL
};
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) return NULL
;
8007 } _resultobj
= Py_BuildValue("i",_result
);
8011 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8012 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
* _resultobj
;
8015 wxScrollBar
* _arg0
;
8016 PyObject
* _argo0
= 0;
8017 char *_kwnames
[] = { "self", NULL
};
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) return NULL
;
8035 } _resultobj
= Py_BuildValue("i",_result
);
8039 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8040 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
* _resultobj
;
8042 wxScrollBar
* _arg0
;
8044 PyObject
* _argo0
= 0;
8045 char *_kwnames
[] = { "self","viewStart", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) return NULL
;
8063 } Py_INCREF(Py_None
);
8064 _resultobj
= Py_None
;
8068 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8069 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
* _resultobj
;
8071 wxScrollBar
* _arg0
;
8076 bool _arg5
= (bool ) TRUE
;
8077 PyObject
* _argo0
= 0;
8078 int tempbool5
= (int) TRUE
;
8079 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8091 _arg5
= (bool ) tempbool5
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) return NULL
;
8098 } Py_INCREF(Py_None
);
8099 _resultobj
= Py_None
;
8103 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8106 src
= (wxSpinButton
*) ptr
;
8107 dest
= (wxControl
*) src
;
8108 return (void *) dest
;
8111 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8114 src
= (wxSpinButton
*) ptr
;
8115 dest
= (wxWindow
*) src
;
8116 return (void *) dest
;
8119 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8122 src
= (wxSpinButton
*) ptr
;
8123 dest
= (wxEvtHandler
*) src
;
8124 return (void *) dest
;
8127 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8130 src
= (wxSpinButton
*) ptr
;
8131 dest
= (wxObject
*) src
;
8132 return (void *) dest
;
8135 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8136 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
* _resultobj
;
8138 wxSpinButton
* _result
;
8140 wxWindowID _arg1
= (wxWindowID
) -1;
8141 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8142 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8143 long _arg4
= (long ) wxSP_HORIZONTAL
;
8144 char * _arg5
= (char *) "spinButton";
8145 PyObject
* _argo0
= 0;
8147 PyObject
* _obj2
= 0;
8149 PyObject
* _obj3
= 0;
8150 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8166 if (! wxPoint_helper(_obj2
, &_arg2
))
8172 if (! wxSize_helper(_obj3
, &_arg3
))
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) return NULL
;
8182 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8183 _resultobj
= Py_BuildValue("s",_ptemp
);
8186 _resultobj
= Py_None
;
8191 #define new_wxPreSpinButton() (new wxSpinButton())
8192 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8194 wxSpinButton
* _result
;
8195 char *_kwnames
[] = { NULL
};
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) return NULL
;
8208 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8209 _resultobj
= Py_BuildValue("s",_ptemp
);
8212 _resultobj
= Py_None
;
8217 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8218 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8221 wxSpinButton
* _arg0
;
8223 wxWindowID _arg2
= (wxWindowID
) -1;
8224 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8225 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8226 long _arg5
= (long ) wxSP_HORIZONTAL
;
8227 char * _arg6
= (char *) "spinButton";
8228 PyObject
* _argo0
= 0;
8229 PyObject
* _argo1
= 0;
8231 PyObject
* _obj3
= 0;
8233 PyObject
* _obj4
= 0;
8234 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8247 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8248 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8256 if (! wxPoint_helper(_obj3
, &_arg3
))
8262 if (! wxSize_helper(_obj4
, &_arg4
))
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) return NULL
;
8271 } _resultobj
= Py_BuildValue("i",_result
);
8275 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8276 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
* _resultobj
;
8279 wxSpinButton
* _arg0
;
8280 PyObject
* _argo0
= 0;
8281 char *_kwnames
[] = { "self", NULL
};
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 _result
= (int )wxSpinButton_GetMax(_arg0
);
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) return NULL
;
8299 } _resultobj
= Py_BuildValue("i",_result
);
8303 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8304 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8307 wxSpinButton
* _arg0
;
8308 PyObject
* _argo0
= 0;
8309 char *_kwnames
[] = { "self", NULL
};
8312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 _result
= (int )wxSpinButton_GetMin(_arg0
);
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) return NULL
;
8327 } _resultobj
= Py_BuildValue("i",_result
);
8331 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8332 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
* _resultobj
;
8335 wxSpinButton
* _arg0
;
8336 PyObject
* _argo0
= 0;
8337 char *_kwnames
[] = { "self", NULL
};
8340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 _result
= (int )wxSpinButton_GetValue(_arg0
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) return NULL
;
8355 } _resultobj
= Py_BuildValue("i",_result
);
8359 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8360 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
* _resultobj
;
8362 wxSpinButton
* _arg0
;
8365 PyObject
* _argo0
= 0;
8366 char *_kwnames
[] = { "self","min","max", NULL
};
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) return NULL
;
8384 } Py_INCREF(Py_None
);
8385 _resultobj
= Py_None
;
8389 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8390 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
* _resultobj
;
8392 wxSpinButton
* _arg0
;
8394 PyObject
* _argo0
= 0;
8395 char *_kwnames
[] = { "self","value", NULL
};
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 wxSpinButton_SetValue(_arg0
,_arg1
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) return NULL
;
8413 } Py_INCREF(Py_None
);
8414 _resultobj
= Py_None
;
8418 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8419 wxStaticBitmap
*src
;
8421 src
= (wxStaticBitmap
*) ptr
;
8422 dest
= (wxControl
*) src
;
8423 return (void *) dest
;
8426 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8427 wxStaticBitmap
*src
;
8429 src
= (wxStaticBitmap
*) ptr
;
8430 dest
= (wxWindow
*) src
;
8431 return (void *) dest
;
8434 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8435 wxStaticBitmap
*src
;
8437 src
= (wxStaticBitmap
*) ptr
;
8438 dest
= (wxEvtHandler
*) src
;
8439 return (void *) dest
;
8442 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8443 wxStaticBitmap
*src
;
8445 src
= (wxStaticBitmap
*) ptr
;
8446 dest
= (wxObject
*) src
;
8447 return (void *) dest
;
8450 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8451 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
* _resultobj
;
8453 wxStaticBitmap
* _result
;
8457 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8458 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8459 long _arg5
= (long ) 0;
8460 char * _arg6
= (char *) "staticBitmap";
8461 PyObject
* _argo0
= 0;
8462 PyObject
* _argo2
= 0;
8464 PyObject
* _obj3
= 0;
8466 PyObject
* _obj4
= 0;
8467 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8481 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8482 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8490 if (! wxPoint_helper(_obj3
, &_arg3
))
8496 if (! wxSize_helper(_obj4
, &_arg4
))
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) return NULL
;
8506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8507 _resultobj
= Py_BuildValue("s",_ptemp
);
8510 _resultobj
= Py_None
;
8515 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8516 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
* _resultobj
;
8518 wxStaticBitmap
* _result
;
8519 char *_kwnames
[] = { NULL
};
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) return NULL
;
8532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8533 _resultobj
= Py_BuildValue("s",_ptemp
);
8536 _resultobj
= Py_None
;
8541 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8542 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
* _resultobj
;
8545 wxStaticBitmap
* _arg0
;
8549 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8550 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8551 long _arg6
= (long ) 0;
8552 char * _arg7
= (char *) "staticBitmap";
8553 PyObject
* _argo0
= 0;
8554 PyObject
* _argo1
= 0;
8555 PyObject
* _argo3
= 0;
8557 PyObject
* _obj4
= 0;
8559 PyObject
* _obj5
= 0;
8560 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8573 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8574 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8580 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8581 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8589 if (! wxPoint_helper(_obj4
, &_arg4
))
8595 if (! wxSize_helper(_obj5
, &_arg5
))
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) return NULL
;
8604 } _resultobj
= Py_BuildValue("i",_result
);
8608 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8609 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
* _resultobj
;
8612 wxStaticBitmap
* _arg0
;
8613 PyObject
* _argo0
= 0;
8614 char *_kwnames
[] = { "self", NULL
};
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) return NULL
;
8633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8634 _resultobj
= Py_BuildValue("s",_ptemp
);
8638 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8639 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
* _resultobj
;
8641 wxStaticBitmap
* _arg0
;
8643 PyObject
* _argo0
= 0;
8644 PyObject
* _argo1
= 0;
8645 char *_kwnames
[] = { "self","bitmap", NULL
};
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8658 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8659 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) return NULL
;
8670 } Py_INCREF(Py_None
);
8671 _resultobj
= Py_None
;
8675 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8676 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
* _resultobj
;
8678 wxStaticBitmap
* _arg0
;
8680 PyObject
* _argo0
= 0;
8681 PyObject
* _argo1
= 0;
8682 char *_kwnames
[] = { "self","icon", NULL
};
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) return NULL
;
8707 } Py_INCREF(Py_None
);
8708 _resultobj
= Py_None
;
8712 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8715 src
= (wxRadioBox
*) ptr
;
8716 dest
= (wxControl
*) src
;
8717 return (void *) dest
;
8720 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8723 src
= (wxRadioBox
*) ptr
;
8724 dest
= (wxWindow
*) src
;
8725 return (void *) dest
;
8728 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8731 src
= (wxRadioBox
*) ptr
;
8732 dest
= (wxEvtHandler
*) src
;
8733 return (void *) dest
;
8736 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8739 src
= (wxRadioBox
*) ptr
;
8740 dest
= (wxObject
*) src
;
8741 return (void *) dest
;
8744 #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))
8745 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
* _resultobj
;
8747 wxRadioBox
* _result
;
8751 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8752 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8753 int _arg5
= (int ) 0;
8754 wxString
* _arg6
= (wxString
*) NULL
;
8755 int _arg7
= (int ) 0;
8756 long _arg8
= (long ) wxRA_HORIZONTAL
;
8757 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8758 char * _arg10
= (char *) "radioBox";
8759 PyObject
* _argo0
= 0;
8760 PyObject
* _obj2
= 0;
8762 PyObject
* _obj3
= 0;
8764 PyObject
* _obj4
= 0;
8765 PyObject
* _obj6
= 0;
8766 PyObject
* _argo9
= 0;
8767 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8781 #if PYTHON_API_VERSION >= 1009
8782 char* tmpPtr
; int tmpSize
;
8783 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8784 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8787 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8789 _arg2
= new wxString(tmpPtr
, tmpSize
);
8791 if (!PyString_Check(_obj2
)) {
8792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8795 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8801 if (! wxPoint_helper(_obj3
, &_arg3
))
8807 if (! wxSize_helper(_obj4
, &_arg4
))
8812 _arg6
= wxString_LIST_helper(_obj6
);
8813 if (_arg6
== NULL
) {
8818 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8819 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8826 _arg5
= PyList_Size(_obj6
);
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) return NULL
;
8839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8840 _resultobj
= Py_BuildValue("s",_ptemp
);
8843 _resultobj
= Py_None
;
8855 #define new_wxPreRadioBox() (new wxRadioBox())
8856 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
* _resultobj
;
8858 wxRadioBox
* _result
;
8859 char *_kwnames
[] = { NULL
};
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) return NULL
;
8872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8873 _resultobj
= Py_BuildValue("s",_ptemp
);
8876 _resultobj
= Py_None
;
8881 #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))
8882 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
* _resultobj
;
8889 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8890 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8891 int _arg6
= (int ) 0;
8892 wxString
* _arg7
= (wxString
*) NULL
;
8893 int _arg8
= (int ) 0;
8894 long _arg9
= (long ) wxRA_HORIZONTAL
;
8895 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8896 char * _arg11
= (char *) "radioBox";
8897 PyObject
* _argo0
= 0;
8898 PyObject
* _argo1
= 0;
8899 PyObject
* _obj3
= 0;
8901 PyObject
* _obj4
= 0;
8903 PyObject
* _obj5
= 0;
8904 PyObject
* _obj7
= 0;
8905 PyObject
* _argo10
= 0;
8906 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8919 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8920 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8926 #if PYTHON_API_VERSION >= 1009
8927 char* tmpPtr
; int tmpSize
;
8928 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8929 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8932 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8934 _arg3
= new wxString(tmpPtr
, tmpSize
);
8936 if (!PyString_Check(_obj3
)) {
8937 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8940 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8946 if (! wxPoint_helper(_obj4
, &_arg4
))
8952 if (! wxSize_helper(_obj5
, &_arg5
))
8957 _arg7
= wxString_LIST_helper(_obj7
);
8958 if (_arg7
== NULL
) {
8963 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8964 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8971 _arg6
= PyList_Size(_obj7
);
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) return NULL
;
8983 } _resultobj
= Py_BuildValue("i",_result
);
8994 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8995 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
* _resultobj
;
8999 PyObject
* _argo0
= 0;
9001 char *_kwnames
[] = { "self","enable", NULL
};
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9013 _arg1
= (bool ) tempbool1
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 wxRadioBox_Enable(_arg0
,_arg1
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) return NULL
;
9020 } Py_INCREF(Py_None
);
9021 _resultobj
= Py_None
;
9025 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9026 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
* _resultobj
;
9031 PyObject
* _argo0
= 0;
9033 char *_kwnames
[] = { "self","n","enable", NULL
};
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9045 _arg2
= (bool ) tempbool2
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) return NULL
;
9052 } Py_INCREF(Py_None
);
9053 _resultobj
= Py_None
;
9057 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9058 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
* _resultobj
;
9063 PyObject
* _argo0
= 0;
9064 PyObject
* _obj1
= 0;
9065 char *_kwnames
[] = { "self","string", NULL
};
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9078 #if PYTHON_API_VERSION >= 1009
9079 char* tmpPtr
; int tmpSize
;
9080 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9084 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9086 _arg1
= new wxString(tmpPtr
, tmpSize
);
9088 if (!PyString_Check(_obj1
)) {
9089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9092 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) return NULL
;
9101 } _resultobj
= Py_BuildValue("i",_result
);
9109 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9110 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
* _resultobj
;
9115 PyObject
* _argo0
= 0;
9116 char *_kwnames
[] = { "self","n", NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) return NULL
;
9135 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9143 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9144 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
* _resultobj
;
9149 PyObject
* _argo0
= 0;
9150 PyObject
* _obj2
= 0;
9151 char *_kwnames
[] = { "self","n","label", NULL
};
9154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9164 #if PYTHON_API_VERSION >= 1009
9165 char* tmpPtr
; int tmpSize
;
9166 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9170 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9172 _arg2
= new wxString(tmpPtr
, tmpSize
);
9174 if (!PyString_Check(_obj2
)) {
9175 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9178 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) return NULL
;
9187 } Py_INCREF(Py_None
);
9188 _resultobj
= Py_None
;
9196 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9197 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
* _resultobj
;
9201 PyObject
* _argo0
= 0;
9202 char *_kwnames
[] = { "self", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) return NULL
;
9220 } _resultobj
= Py_BuildValue("i",_result
);
9224 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9225 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
* _resultobj
;
9229 PyObject
* _argo0
= 0;
9230 char *_kwnames
[] = { "self", NULL
};
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) return NULL
;
9248 } _resultobj
= Py_BuildValue("i",_result
);
9252 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9253 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
* _resultobj
;
9257 PyObject
* _argo0
= 0;
9258 char *_kwnames
[] = { "self", NULL
};
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) return NULL
;
9276 } _resultobj
= Py_BuildValue("i",_result
);
9280 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9281 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
* _resultobj
;
9285 PyObject
* _argo0
= 0;
9286 char *_kwnames
[] = { "self", NULL
};
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) return NULL
;
9305 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9313 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9314 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
* _resultobj
;
9318 PyObject
* _argo0
= 0;
9319 char *_kwnames
[] = { "self", NULL
};
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 _result
= (int )wxRadioBox_GetCount(_arg0
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) return NULL
;
9337 } _resultobj
= Py_BuildValue("i",_result
);
9341 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9342 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9346 PyObject
* _argo0
= 0;
9347 char *_kwnames
[] = { "self","n", NULL
};
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 wxRadioBox_SetSelection(_arg0
,_arg1
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) return NULL
;
9365 } Py_INCREF(Py_None
);
9366 _resultobj
= Py_None
;
9370 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9371 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
* _resultobj
;
9375 PyObject
* _argo0
= 0;
9376 PyObject
* _obj1
= 0;
9377 char *_kwnames
[] = { "self","string", NULL
};
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9390 #if PYTHON_API_VERSION >= 1009
9391 char* tmpPtr
; int tmpSize
;
9392 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9396 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9398 _arg1
= new wxString(tmpPtr
, tmpSize
);
9400 if (!PyString_Check(_obj1
)) {
9401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9404 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) return NULL
;
9413 } Py_INCREF(Py_None
);
9414 _resultobj
= Py_None
;
9422 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9423 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
* _resultobj
;
9427 PyObject
* _argo0
= 0;
9429 char *_kwnames
[] = { "self","show", NULL
};
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9441 _arg1
= (bool ) tempbool1
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 wxRadioBox_Show(_arg0
,_arg1
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) return NULL
;
9448 } Py_INCREF(Py_None
);
9449 _resultobj
= Py_None
;
9453 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9454 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9455 PyObject
* _resultobj
;
9459 PyObject
* _argo0
= 0;
9461 char *_kwnames
[] = { "self","item","show", NULL
};
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9473 _arg2
= (bool ) tempbool2
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) return NULL
;
9480 } Py_INCREF(Py_None
);
9481 _resultobj
= Py_None
;
9485 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9488 src
= (wxRadioButton
*) ptr
;
9489 dest
= (wxControl
*) src
;
9490 return (void *) dest
;
9493 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9496 src
= (wxRadioButton
*) ptr
;
9497 dest
= (wxWindow
*) src
;
9498 return (void *) dest
;
9501 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9504 src
= (wxRadioButton
*) ptr
;
9505 dest
= (wxEvtHandler
*) src
;
9506 return (void *) dest
;
9509 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9512 src
= (wxRadioButton
*) ptr
;
9513 dest
= (wxObject
*) src
;
9514 return (void *) dest
;
9517 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9518 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
* _resultobj
;
9520 wxRadioButton
* _result
;
9524 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9525 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9526 long _arg5
= (long ) 0;
9527 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9528 char * _arg7
= (char *) "radioButton";
9529 PyObject
* _argo0
= 0;
9530 PyObject
* _obj2
= 0;
9532 PyObject
* _obj3
= 0;
9534 PyObject
* _obj4
= 0;
9535 PyObject
* _argo6
= 0;
9536 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9550 #if PYTHON_API_VERSION >= 1009
9551 char* tmpPtr
; int tmpSize
;
9552 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9556 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9558 _arg2
= new wxString(tmpPtr
, tmpSize
);
9560 if (!PyString_Check(_obj2
)) {
9561 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9564 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9570 if (! wxPoint_helper(_obj3
, &_arg3
))
9576 if (! wxSize_helper(_obj4
, &_arg4
))
9580 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9581 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) return NULL
;
9593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9594 _resultobj
= Py_BuildValue("s",_ptemp
);
9597 _resultobj
= Py_None
;
9606 #define new_wxPreRadioButton() (new wxRadioButton())
9607 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
* _resultobj
;
9609 wxRadioButton
* _result
;
9610 char *_kwnames
[] = { NULL
};
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) return NULL
;
9623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9624 _resultobj
= Py_BuildValue("s",_ptemp
);
9627 _resultobj
= Py_None
;
9632 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9633 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
* _resultobj
;
9636 wxRadioButton
* _arg0
;
9640 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9641 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9642 long _arg6
= (long ) 0;
9643 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9644 char * _arg8
= (char *) "radioButton";
9645 PyObject
* _argo0
= 0;
9646 PyObject
* _argo1
= 0;
9647 PyObject
* _obj3
= 0;
9649 PyObject
* _obj4
= 0;
9651 PyObject
* _obj5
= 0;
9652 PyObject
* _argo7
= 0;
9653 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9673 #if PYTHON_API_VERSION >= 1009
9674 char* tmpPtr
; int tmpSize
;
9675 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9676 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9679 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9681 _arg3
= new wxString(tmpPtr
, tmpSize
);
9683 if (!PyString_Check(_obj3
)) {
9684 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9687 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9693 if (! wxPoint_helper(_obj4
, &_arg4
))
9699 if (! wxSize_helper(_obj5
, &_arg5
))
9703 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9704 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) return NULL
;
9715 } _resultobj
= Py_BuildValue("i",_result
);
9723 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9724 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
* _resultobj
;
9727 wxRadioButton
* _arg0
;
9728 PyObject
* _argo0
= 0;
9729 char *_kwnames
[] = { "self", NULL
};
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) return NULL
;
9747 } _resultobj
= Py_BuildValue("i",_result
);
9751 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9752 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
* _resultobj
;
9754 wxRadioButton
* _arg0
;
9756 PyObject
* _argo0
= 0;
9758 char *_kwnames
[] = { "self","value", NULL
};
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9770 _arg1
= (bool ) tempbool1
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 wxRadioButton_SetValue(_arg0
,_arg1
);
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) return NULL
;
9777 } Py_INCREF(Py_None
);
9778 _resultobj
= Py_None
;
9782 static void *SwigwxSliderTowxControl(void *ptr
) {
9785 src
= (wxSlider
*) ptr
;
9786 dest
= (wxControl
*) src
;
9787 return (void *) dest
;
9790 static void *SwigwxSliderTowxWindow(void *ptr
) {
9793 src
= (wxSlider
*) ptr
;
9794 dest
= (wxWindow
*) src
;
9795 return (void *) dest
;
9798 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9801 src
= (wxSlider
*) ptr
;
9802 dest
= (wxEvtHandler
*) src
;
9803 return (void *) dest
;
9806 static void *SwigwxSliderTowxObject(void *ptr
) {
9809 src
= (wxSlider
*) ptr
;
9810 dest
= (wxObject
*) src
;
9811 return (void *) dest
;
9814 #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))
9815 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
* _resultobj
;
9823 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9824 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9825 long _arg7
= (long ) wxSL_HORIZONTAL
;
9826 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9827 char * _arg9
= (char *) "slider";
9828 PyObject
* _argo0
= 0;
9830 PyObject
* _obj5
= 0;
9832 PyObject
* _obj6
= 0;
9833 PyObject
* _argo8
= 0;
9834 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9850 if (! wxPoint_helper(_obj5
, &_arg5
))
9856 if (! wxSize_helper(_obj6
, &_arg6
))
9860 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9861 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) return NULL
;
9873 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9874 _resultobj
= Py_BuildValue("s",_ptemp
);
9877 _resultobj
= Py_None
;
9882 #define new_wxPreSlider() (new wxSlider())
9883 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
* _resultobj
;
9886 char *_kwnames
[] = { NULL
};
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 _result
= (wxSlider
*)new_wxPreSlider();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) return NULL
;
9899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9900 _resultobj
= Py_BuildValue("s",_ptemp
);
9903 _resultobj
= Py_None
;
9908 #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))
9909 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
* _resultobj
;
9918 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9919 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9920 long _arg8
= (long ) wxSL_HORIZONTAL
;
9921 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9922 char * _arg10
= (char *) "slider";
9923 PyObject
* _argo0
= 0;
9924 PyObject
* _argo1
= 0;
9926 PyObject
* _obj6
= 0;
9928 PyObject
* _obj7
= 0;
9929 PyObject
* _argo9
= 0;
9930 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9943 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9944 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9952 if (! wxPoint_helper(_obj6
, &_arg6
))
9958 if (! wxSize_helper(_obj7
, &_arg7
))
9962 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9963 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) return NULL
;
9974 } _resultobj
= Py_BuildValue("i",_result
);
9978 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9979 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
* _resultobj
;
9982 PyObject
* _argo0
= 0;
9983 char *_kwnames
[] = { "self", NULL
};
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 wxSlider_ClearSel(_arg0
);
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) return NULL
;
10001 } Py_INCREF(Py_None
);
10002 _resultobj
= Py_None
;
10006 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10007 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
* _resultobj
;
10010 PyObject
* _argo0
= 0;
10011 char *_kwnames
[] = { "self", NULL
};
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 wxSlider_ClearTicks(_arg0
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) return NULL
;
10029 } Py_INCREF(Py_None
);
10030 _resultobj
= Py_None
;
10034 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10035 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
* _resultobj
;
10039 PyObject
* _argo0
= 0;
10040 char *_kwnames
[] = { "self", NULL
};
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 _result
= (int )wxSlider_GetLineSize(_arg0
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) return NULL
;
10058 } _resultobj
= Py_BuildValue("i",_result
);
10062 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10063 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
* _resultobj
;
10067 PyObject
* _argo0
= 0;
10068 char *_kwnames
[] = { "self", NULL
};
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 _result
= (int )wxSlider_GetMax(_arg0
);
10084 wxPyEndAllowThreads(__tstate
);
10085 if (PyErr_Occurred()) return NULL
;
10086 } _resultobj
= Py_BuildValue("i",_result
);
10090 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10091 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
* _resultobj
;
10095 PyObject
* _argo0
= 0;
10096 char *_kwnames
[] = { "self", NULL
};
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 _result
= (int )wxSlider_GetMin(_arg0
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) return NULL
;
10114 } _resultobj
= Py_BuildValue("i",_result
);
10118 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10119 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
* _resultobj
;
10123 PyObject
* _argo0
= 0;
10124 char *_kwnames
[] = { "self", NULL
};
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 _result
= (int )wxSlider_GetPageSize(_arg0
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) return NULL
;
10142 } _resultobj
= Py_BuildValue("i",_result
);
10146 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10147 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
* _resultobj
;
10151 PyObject
* _argo0
= 0;
10152 char *_kwnames
[] = { "self", NULL
};
10155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) return NULL
;
10170 } _resultobj
= Py_BuildValue("i",_result
);
10174 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10175 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
* _resultobj
;
10179 PyObject
* _argo0
= 0;
10180 char *_kwnames
[] = { "self", NULL
};
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 _result
= (int )wxSlider_GetSelStart(_arg0
);
10196 wxPyEndAllowThreads(__tstate
);
10197 if (PyErr_Occurred()) return NULL
;
10198 } _resultobj
= Py_BuildValue("i",_result
);
10202 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10203 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
* _resultobj
;
10207 PyObject
* _argo0
= 0;
10208 char *_kwnames
[] = { "self", NULL
};
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) return NULL
;
10226 } _resultobj
= Py_BuildValue("i",_result
);
10230 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10231 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10232 PyObject
* _resultobj
;
10235 PyObject
* _argo0
= 0;
10236 char *_kwnames
[] = { "self", NULL
};
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) return NULL
;
10254 } _resultobj
= Py_BuildValue("i",_result
);
10258 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10259 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
* _resultobj
;
10263 PyObject
* _argo0
= 0;
10264 char *_kwnames
[] = { "self", NULL
};
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 _result
= (int )wxSlider_GetValue(_arg0
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) return NULL
;
10282 } _resultobj
= Py_BuildValue("i",_result
);
10286 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10287 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
* _resultobj
;
10292 PyObject
* _argo0
= 0;
10293 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) return NULL
;
10311 } Py_INCREF(Py_None
);
10312 _resultobj
= Py_None
;
10316 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10317 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
* _resultobj
;
10322 PyObject
* _argo0
= 0;
10323 char *_kwnames
[] = { "self","n","pos", NULL
};
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) return NULL
;
10341 } Py_INCREF(Py_None
);
10342 _resultobj
= Py_None
;
10346 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10347 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
* _resultobj
;
10351 PyObject
* _argo0
= 0;
10352 char *_kwnames
[] = { "self","lineSize", NULL
};
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 wxSlider_SetLineSize(_arg0
,_arg1
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) return NULL
;
10370 } Py_INCREF(Py_None
);
10371 _resultobj
= Py_None
;
10375 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10376 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
* _resultobj
;
10380 PyObject
* _argo0
= 0;
10381 char *_kwnames
[] = { "self","pageSize", NULL
};
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 wxSlider_SetPageSize(_arg0
,_arg1
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) return NULL
;
10399 } Py_INCREF(Py_None
);
10400 _resultobj
= Py_None
;
10404 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10405 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
* _resultobj
;
10410 PyObject
* _argo0
= 0;
10411 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) return NULL
;
10429 } Py_INCREF(Py_None
);
10430 _resultobj
= Py_None
;
10434 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10435 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
* _resultobj
;
10439 PyObject
* _argo0
= 0;
10440 char *_kwnames
[] = { "self","len", NULL
};
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 wxSlider_SetThumbLength(_arg0
,_arg1
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) return NULL
;
10458 } Py_INCREF(Py_None
);
10459 _resultobj
= Py_None
;
10463 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10464 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
* _resultobj
;
10468 PyObject
* _argo0
= 0;
10469 char *_kwnames
[] = { "self","tickPos", NULL
};
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 wxSlider_SetTick(_arg0
,_arg1
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) return NULL
;
10487 } Py_INCREF(Py_None
);
10488 _resultobj
= Py_None
;
10492 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10493 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
* _resultobj
;
10497 PyObject
* _argo0
= 0;
10498 char *_kwnames
[] = { "self","value", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 wxSlider_SetValue(_arg0
,_arg1
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) return NULL
;
10516 } Py_INCREF(Py_None
);
10517 _resultobj
= Py_None
;
10521 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10523 wxSpinButton
*dest
;
10524 src
= (wxSpinCtrl
*) ptr
;
10525 dest
= (wxSpinButton
*) src
;
10526 return (void *) dest
;
10529 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10532 src
= (wxSpinCtrl
*) ptr
;
10533 dest
= (wxControl
*) src
;
10534 return (void *) dest
;
10537 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10540 src
= (wxSpinCtrl
*) ptr
;
10541 dest
= (wxWindow
*) src
;
10542 return (void *) dest
;
10545 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10547 wxEvtHandler
*dest
;
10548 src
= (wxSpinCtrl
*) ptr
;
10549 dest
= (wxEvtHandler
*) src
;
10550 return (void *) dest
;
10553 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10556 src
= (wxSpinCtrl
*) ptr
;
10557 dest
= (wxObject
*) src
;
10558 return (void *) dest
;
10561 #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))
10562 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
* _resultobj
;
10564 wxSpinCtrl
* _result
;
10566 wxWindowID _arg1
= (wxWindowID
) -1;
10567 char * _arg2
= (char *) "";
10568 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10569 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10570 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10571 int _arg6
= (int ) 0;
10572 int _arg7
= (int ) 100;
10573 int _arg8
= (int ) 0;
10574 char * _arg9
= (char *) "wxSpinCtrl";
10575 PyObject
* _argo0
= 0;
10577 PyObject
* _obj3
= 0;
10579 PyObject
* _obj4
= 0;
10580 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10596 if (! wxPoint_helper(_obj3
, &_arg3
))
10602 if (! wxSize_helper(_obj4
, &_arg4
))
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) return NULL
;
10612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10613 _resultobj
= Py_BuildValue("s",_ptemp
);
10615 Py_INCREF(Py_None
);
10616 _resultobj
= Py_None
;
10621 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10622 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
* _resultobj
;
10624 wxSpinCtrl
* _result
;
10625 char *_kwnames
[] = { NULL
};
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) return NULL
;
10638 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10639 _resultobj
= Py_BuildValue("s",_ptemp
);
10641 Py_INCREF(Py_None
);
10642 _resultobj
= Py_None
;
10647 #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))
10648 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10649 PyObject
* _resultobj
;
10651 wxSpinCtrl
* _arg0
;
10653 wxWindowID _arg2
= (wxWindowID
) -1;
10654 char * _arg3
= (char *) "";
10655 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10656 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10657 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10658 int _arg7
= (int ) 0;
10659 int _arg8
= (int ) 100;
10660 int _arg9
= (int ) 0;
10661 char * _arg10
= (char *) "wxSpinCtrl";
10662 PyObject
* _argo0
= 0;
10663 PyObject
* _argo1
= 0;
10665 PyObject
* _obj4
= 0;
10667 PyObject
* _obj5
= 0;
10668 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10690 if (! wxPoint_helper(_obj4
, &_arg4
))
10696 if (! wxSize_helper(_obj5
, &_arg5
))
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) return NULL
;
10705 } _resultobj
= Py_BuildValue("i",_result
);
10709 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10710 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
* _resultobj
;
10713 wxSpinCtrl
* _arg0
;
10714 PyObject
* _argo0
= 0;
10715 char *_kwnames
[] = { "self", NULL
};
10718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10731 wxPyEndAllowThreads(__tstate
);
10732 if (PyErr_Occurred()) return NULL
;
10733 } _resultobj
= Py_BuildValue("i",_result
);
10737 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10738 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10739 PyObject
* _resultobj
;
10741 wxSpinCtrl
* _arg0
;
10742 PyObject
* _argo0
= 0;
10743 char *_kwnames
[] = { "self", NULL
};
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) return NULL
;
10761 } _resultobj
= Py_BuildValue("i",_result
);
10765 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10766 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
* _resultobj
;
10769 wxSpinCtrl
* _arg0
;
10770 PyObject
* _argo0
= 0;
10771 char *_kwnames
[] = { "self", NULL
};
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) return NULL
;
10789 } _resultobj
= Py_BuildValue("i",_result
);
10793 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10794 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
* _resultobj
;
10796 wxSpinCtrl
* _arg0
;
10799 PyObject
* _argo0
= 0;
10800 char *_kwnames
[] = { "self","min","max", NULL
};
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) return NULL
;
10818 } Py_INCREF(Py_None
);
10819 _resultobj
= Py_None
;
10823 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10824 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
* _resultobj
;
10826 wxSpinCtrl
* _arg0
;
10828 PyObject
* _argo0
= 0;
10829 char *_kwnames
[] = { "self","value", NULL
};
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) return NULL
;
10847 } Py_INCREF(Py_None
);
10848 _resultobj
= Py_None
;
10852 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10853 wxToggleButton
*src
;
10855 src
= (wxToggleButton
*) ptr
;
10856 dest
= (wxControl
*) src
;
10857 return (void *) dest
;
10860 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10861 wxToggleButton
*src
;
10863 src
= (wxToggleButton
*) ptr
;
10864 dest
= (wxWindow
*) src
;
10865 return (void *) dest
;
10868 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10869 wxToggleButton
*src
;
10870 wxEvtHandler
*dest
;
10871 src
= (wxToggleButton
*) ptr
;
10872 dest
= (wxEvtHandler
*) src
;
10873 return (void *) dest
;
10876 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10877 wxToggleButton
*src
;
10879 src
= (wxToggleButton
*) ptr
;
10880 dest
= (wxObject
*) src
;
10881 return (void *) dest
;
10884 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10885 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
* _resultobj
;
10887 wxToggleButton
* _result
;
10891 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10892 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10893 long _arg5
= (long ) 0;
10894 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10895 char * _arg7
= (char *) "toggle";
10896 PyObject
* _argo0
= 0;
10897 PyObject
* _obj2
= 0;
10899 PyObject
* _obj3
= 0;
10901 PyObject
* _obj4
= 0;
10902 PyObject
* _argo6
= 0;
10903 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10917 #if PYTHON_API_VERSION >= 1009
10918 char* tmpPtr
; int tmpSize
;
10919 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10920 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10923 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10925 _arg2
= new wxString(tmpPtr
, tmpSize
);
10927 if (!PyString_Check(_obj2
)) {
10928 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10931 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10937 if (! wxPoint_helper(_obj3
, &_arg3
))
10943 if (! wxSize_helper(_obj4
, &_arg4
))
10947 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10948 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) return NULL
;
10960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10961 _resultobj
= Py_BuildValue("s",_ptemp
);
10963 Py_INCREF(Py_None
);
10964 _resultobj
= Py_None
;
10973 #define new_wxPreToggleButton() (new wxToggleButton())
10974 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
* _resultobj
;
10976 wxToggleButton
* _result
;
10977 char *_kwnames
[] = { NULL
};
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 _result
= (wxToggleButton
*)new_wxPreToggleButton();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) return NULL
;
10990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10991 _resultobj
= Py_BuildValue("s",_ptemp
);
10993 Py_INCREF(Py_None
);
10994 _resultobj
= Py_None
;
10999 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11000 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
* _resultobj
;
11003 wxToggleButton
* _arg0
;
11007 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11008 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11009 long _arg6
= (long ) 0;
11010 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11011 char * _arg8
= (char *) "toggle";
11012 PyObject
* _argo0
= 0;
11013 PyObject
* _argo1
= 0;
11014 PyObject
* _obj3
= 0;
11016 PyObject
* _obj4
= 0;
11018 PyObject
* _obj5
= 0;
11019 PyObject
* _argo7
= 0;
11020 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11033 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11034 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11040 #if PYTHON_API_VERSION >= 1009
11041 char* tmpPtr
; int tmpSize
;
11042 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11043 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11046 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11048 _arg3
= new wxString(tmpPtr
, tmpSize
);
11050 if (!PyString_Check(_obj3
)) {
11051 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11054 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11060 if (! wxPoint_helper(_obj4
, &_arg4
))
11066 if (! wxSize_helper(_obj5
, &_arg5
))
11070 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11071 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) return NULL
;
11082 } _resultobj
= Py_BuildValue("i",_result
);
11090 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11091 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
* _resultobj
;
11093 wxToggleButton
* _arg0
;
11095 PyObject
* _argo0
= 0;
11097 char *_kwnames
[] = { "self","value", NULL
};
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11109 _arg1
= (bool ) tempbool1
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 wxToggleButton_SetValue(_arg0
,_arg1
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) return NULL
;
11116 } Py_INCREF(Py_None
);
11117 _resultobj
= Py_None
;
11121 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11122 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
* _resultobj
;
11125 wxToggleButton
* _arg0
;
11126 PyObject
* _argo0
= 0;
11127 char *_kwnames
[] = { "self", NULL
};
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) return NULL
;
11145 } _resultobj
= Py_BuildValue("i",_result
);
11149 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11150 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
* _resultobj
;
11152 wxToggleButton
* _arg0
;
11154 PyObject
* _argo0
= 0;
11155 PyObject
* _obj1
= 0;
11156 char *_kwnames
[] = { "self","label", NULL
};
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11169 #if PYTHON_API_VERSION >= 1009
11170 char* tmpPtr
; int tmpSize
;
11171 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11175 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11177 _arg1
= new wxString(tmpPtr
, tmpSize
);
11179 if (!PyString_Check(_obj1
)) {
11180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11183 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) return NULL
;
11192 } Py_INCREF(Py_None
);
11193 _resultobj
= Py_None
;
11201 static PyMethodDef controlscMethods
[] = {
11202 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11466 * This table is used by the pointer type-checker
11468 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11469 { "_signed_long","_long",0},
11470 { "_wxPrintQuality","_wxCoord",0},
11471 { "_wxPrintQuality","_int",0},
11472 { "_wxPrintQuality","_signed_int",0},
11473 { "_wxPrintQuality","_unsigned_int",0},
11474 { "_wxPrintQuality","_wxWindowID",0},
11475 { "_wxPrintQuality","_uint",0},
11476 { "_wxPrintQuality","_EBool",0},
11477 { "_wxPrintQuality","_size_t",0},
11478 { "_wxPrintQuality","_time_t",0},
11479 { "_byte","_unsigned_char",0},
11480 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11481 { "_long","_unsigned_long",0},
11482 { "_long","_signed_long",0},
11483 { "_size_t","_wxCoord",0},
11484 { "_size_t","_wxPrintQuality",0},
11485 { "_size_t","_time_t",0},
11486 { "_size_t","_unsigned_int",0},
11487 { "_size_t","_int",0},
11488 { "_size_t","_wxWindowID",0},
11489 { "_size_t","_uint",0},
11490 { "_uint","_wxCoord",0},
11491 { "_uint","_wxPrintQuality",0},
11492 { "_uint","_time_t",0},
11493 { "_uint","_size_t",0},
11494 { "_uint","_unsigned_int",0},
11495 { "_uint","_int",0},
11496 { "_uint","_wxWindowID",0},
11497 { "_wxChar","_char",0},
11498 { "_char","_wxChar",0},
11499 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11500 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11501 { "_EBool","_wxCoord",0},
11502 { "_EBool","_wxPrintQuality",0},
11503 { "_EBool","_signed_int",0},
11504 { "_EBool","_int",0},
11505 { "_EBool","_wxWindowID",0},
11506 { "_unsigned_long","_long",0},
11507 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11508 { "_signed_int","_wxCoord",0},
11509 { "_signed_int","_wxPrintQuality",0},
11510 { "_signed_int","_EBool",0},
11511 { "_signed_int","_wxWindowID",0},
11512 { "_signed_int","_int",0},
11513 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11514 { "_WXTYPE","_short",0},
11515 { "_WXTYPE","_signed_short",0},
11516 { "_WXTYPE","_unsigned_short",0},
11517 { "_unsigned_short","_WXTYPE",0},
11518 { "_unsigned_short","_short",0},
11519 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11520 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11521 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11522 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11523 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11524 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11525 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11526 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11527 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11528 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11529 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11530 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11531 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11532 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11533 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11534 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11535 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11536 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11537 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11538 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11539 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11540 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11541 { "_signed_short","_WXTYPE",0},
11542 { "_signed_short","_short",0},
11543 { "_unsigned_char","_byte",0},
11544 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11545 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11546 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11547 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11548 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11549 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11550 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11551 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11552 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11553 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11554 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11555 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11556 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11557 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11558 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11559 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11560 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11561 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11562 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11563 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11564 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11565 { "_unsigned_int","_wxCoord",0},
11566 { "_unsigned_int","_wxPrintQuality",0},
11567 { "_unsigned_int","_time_t",0},
11568 { "_unsigned_int","_size_t",0},
11569 { "_unsigned_int","_uint",0},
11570 { "_unsigned_int","_wxWindowID",0},
11571 { "_unsigned_int","_int",0},
11572 { "_short","_WXTYPE",0},
11573 { "_short","_unsigned_short",0},
11574 { "_short","_signed_short",0},
11575 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11576 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11577 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11578 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11579 { "_wxWindowID","_wxCoord",0},
11580 { "_wxWindowID","_wxPrintQuality",0},
11581 { "_wxWindowID","_time_t",0},
11582 { "_wxWindowID","_size_t",0},
11583 { "_wxWindowID","_EBool",0},
11584 { "_wxWindowID","_uint",0},
11585 { "_wxWindowID","_int",0},
11586 { "_wxWindowID","_signed_int",0},
11587 { "_wxWindowID","_unsigned_int",0},
11588 { "_int","_wxCoord",0},
11589 { "_int","_wxPrintQuality",0},
11590 { "_int","_time_t",0},
11591 { "_int","_size_t",0},
11592 { "_int","_EBool",0},
11593 { "_int","_uint",0},
11594 { "_int","_wxWindowID",0},
11595 { "_int","_unsigned_int",0},
11596 { "_int","_signed_int",0},
11597 { "_time_t","_wxCoord",0},
11598 { "_time_t","_wxPrintQuality",0},
11599 { "_time_t","_unsigned_int",0},
11600 { "_time_t","_int",0},
11601 { "_time_t","_wxWindowID",0},
11602 { "_time_t","_uint",0},
11603 { "_time_t","_size_t",0},
11604 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11605 { "_wxCoord","_int",0},
11606 { "_wxCoord","_signed_int",0},
11607 { "_wxCoord","_unsigned_int",0},
11608 { "_wxCoord","_wxWindowID",0},
11609 { "_wxCoord","_uint",0},
11610 { "_wxCoord","_EBool",0},
11611 { "_wxCoord","_size_t",0},
11612 { "_wxCoord","_time_t",0},
11613 { "_wxCoord","_wxPrintQuality",0},
11614 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11615 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11616 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11617 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11618 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11619 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11620 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11621 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11622 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11623 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11624 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11625 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11626 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11627 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11628 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11629 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11630 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11631 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11632 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11633 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11634 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11635 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11636 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11637 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11638 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11639 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11640 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11641 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11642 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11643 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11644 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11645 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11646 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11647 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11648 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11649 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11650 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11651 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11652 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11653 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11654 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11655 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11656 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11657 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11660 static PyObject
*SWIG_globals
;
11664 SWIGEXPORT(void) initcontrolsc() {
11666 SWIG_globals
= SWIG_newvarlink();
11667 m
= Py_InitModule("controlsc", controlscMethods
);
11668 d
= PyModule_GetDict(m
);
11669 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11670 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11671 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11674 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11675 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);