2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
105 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
107 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
111 static PyObject
*_wrap_wxDefaultValidator_get() {
115 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
116 pyobj
= PyString_FromString(ptemp
);
120 static void *SwigwxControlTowxWindow(void *ptr
) {
123 src
= (wxControl
*) ptr
;
124 dest
= (wxWindow
*) src
;
125 return (void *) dest
;
128 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
131 src
= (wxControl
*) ptr
;
132 dest
= (wxEvtHandler
*) src
;
133 return (void *) dest
;
136 static void *SwigwxControlTowxObject(void *ptr
) {
139 src
= (wxControl
*) ptr
;
140 dest
= (wxObject
*) src
;
141 return (void *) dest
;
144 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
145 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
146 PyObject
* _resultobj
;
150 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
151 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
152 long _arg4
= (long ) 0;
153 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
154 char * _arg6
= (char *) "control";
155 PyObject
* _argo0
= 0;
157 PyObject
* _obj2
= 0;
159 PyObject
* _obj3
= 0;
160 PyObject
* _argo5
= 0;
161 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
177 if (! wxPoint_helper(_obj2
, &_arg2
))
183 if (! wxSize_helper(_obj3
, &_arg3
))
187 if (_argo5
== Py_None
) { _arg5
= NULL
; }
188 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
195 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
197 wxPyEndAllowThreads(__tstate
);
198 if (PyErr_Occurred()) return NULL
;
200 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
201 _resultobj
= Py_BuildValue("s",_ptemp
);
204 _resultobj
= Py_None
;
209 #define new_wxPreControl() (new wxControl())
210 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
213 char *_kwnames
[] = { NULL
};
217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
221 _result
= (wxControl
*)new_wxPreControl();
223 wxPyEndAllowThreads(__tstate
);
224 if (PyErr_Occurred()) return NULL
;
226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
227 _resultobj
= Py_BuildValue("s",_ptemp
);
230 _resultobj
= Py_None
;
235 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
236 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
242 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
243 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
244 long _arg5
= (long ) 0;
245 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
246 char * _arg7
= (char *) "control";
247 PyObject
* _argo0
= 0;
248 PyObject
* _argo1
= 0;
250 PyObject
* _obj3
= 0;
252 PyObject
* _obj4
= 0;
253 PyObject
* _argo6
= 0;
254 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
276 if (! wxPoint_helper(_obj3
, &_arg3
))
282 if (! wxSize_helper(_obj4
, &_arg4
))
286 if (_argo6
== Py_None
) { _arg6
= NULL
; }
287 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
294 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
296 wxPyEndAllowThreads(__tstate
);
297 if (PyErr_Occurred()) return NULL
;
298 } _resultobj
= Py_BuildValue("i",_result
);
302 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
303 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
306 wxCommandEvent
* _arg1
;
307 PyObject
* _argo0
= 0;
308 PyObject
* _argo1
= 0;
309 char *_kwnames
[] = { "self","event", NULL
};
312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
330 wxControl_Command(_arg0
,*_arg1
);
332 wxPyEndAllowThreads(__tstate
);
333 if (PyErr_Occurred()) return NULL
;
334 } Py_INCREF(Py_None
);
335 _resultobj
= Py_None
;
339 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
340 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
344 PyObject
* _argo0
= 0;
345 char *_kwnames
[] = { "self", NULL
};
348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
359 _result
= new wxString (wxControl_GetLabel(_arg0
));
361 wxPyEndAllowThreads(__tstate
);
362 if (PyErr_Occurred()) return NULL
;
365 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
367 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
376 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
377 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
378 PyObject
* _resultobj
;
381 PyObject
* _argo0
= 0;
382 PyObject
* _obj1
= 0;
383 char *_kwnames
[] = { "self","label", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
396 _arg1
= wxString_in_helper(_obj1
);
401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
402 wxControl_SetLabel(_arg0
,*_arg1
);
404 wxPyEndAllowThreads(__tstate
);
405 if (PyErr_Occurred()) return NULL
;
406 } Py_INCREF(Py_None
);
407 _resultobj
= Py_None
;
415 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
416 wxControlWithItems
*src
;
418 src
= (wxControlWithItems
*) ptr
;
419 dest
= (wxControl
*) src
;
420 return (void *) dest
;
423 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
424 wxControlWithItems
*src
;
426 src
= (wxControlWithItems
*) ptr
;
427 dest
= (wxWindow
*) src
;
428 return (void *) dest
;
431 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
432 wxControlWithItems
*src
;
434 src
= (wxControlWithItems
*) ptr
;
435 dest
= (wxEvtHandler
*) src
;
436 return (void *) dest
;
439 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
440 wxControlWithItems
*src
;
442 src
= (wxControlWithItems
*) ptr
;
443 dest
= (wxObject
*) src
;
444 return (void *) dest
;
447 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
448 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
450 wxControlWithItems
* _arg0
;
452 PyObject
* _argo0
= 0;
453 char *_kwnames
[] = { "self","n", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
467 wxControlWithItems_Delete(_arg0
,_arg1
);
469 wxPyEndAllowThreads(__tstate
);
470 if (PyErr_Occurred()) return NULL
;
471 } Py_INCREF(Py_None
);
472 _resultobj
= Py_None
;
476 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
477 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
478 PyObject
* _resultobj
;
480 wxControlWithItems
* _arg0
;
481 PyObject
* _argo0
= 0;
482 char *_kwnames
[] = { "self", NULL
};
485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
496 _result
= (int )wxControlWithItems_GetCount(_arg0
);
498 wxPyEndAllowThreads(__tstate
);
499 if (PyErr_Occurred()) return NULL
;
500 } _resultobj
= Py_BuildValue("i",_result
);
504 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
505 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
506 PyObject
* _resultobj
;
508 wxControlWithItems
* _arg0
;
510 PyObject
* _argo0
= 0;
511 char *_kwnames
[] = { "self","n", NULL
};
514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
525 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
527 wxPyEndAllowThreads(__tstate
);
528 if (PyErr_Occurred()) return NULL
;
531 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
533 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
542 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
543 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
544 PyObject
* _resultobj
;
545 wxControlWithItems
* _arg0
;
548 PyObject
* _argo0
= 0;
549 PyObject
* _obj2
= 0;
550 char *_kwnames
[] = { "self","n","s", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
563 _arg2
= wxString_in_helper(_obj2
);
568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
569 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
571 wxPyEndAllowThreads(__tstate
);
572 if (PyErr_Occurred()) return NULL
;
573 } Py_INCREF(Py_None
);
574 _resultobj
= Py_None
;
582 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
583 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
584 PyObject
* _resultobj
;
586 wxControlWithItems
* _arg0
;
588 PyObject
* _argo0
= 0;
589 PyObject
* _obj1
= 0;
590 char *_kwnames
[] = { "self","s", NULL
};
593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
603 _arg1
= wxString_in_helper(_obj1
);
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
613 } _resultobj
= Py_BuildValue("i",_result
);
621 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
622 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
624 wxControlWithItems
* _arg0
;
626 PyObject
* _argo0
= 0;
627 char *_kwnames
[] = { "self","n", NULL
};
630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
641 wxControlWithItems_Select(_arg0
,_arg1
);
643 wxPyEndAllowThreads(__tstate
);
644 if (PyErr_Occurred()) return NULL
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
650 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
651 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
654 wxControlWithItems
* _arg0
;
655 PyObject
* _argo0
= 0;
656 char *_kwnames
[] = { "self", NULL
};
659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
670 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
672 wxPyEndAllowThreads(__tstate
);
673 if (PyErr_Occurred()) return NULL
;
674 } _resultobj
= Py_BuildValue("i",_result
);
678 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
679 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
680 PyObject
* _resultobj
;
682 wxControlWithItems
* _arg0
;
683 PyObject
* _argo0
= 0;
684 char *_kwnames
[] = { "self", NULL
};
687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
698 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
700 wxPyEndAllowThreads(__tstate
);
701 if (PyErr_Occurred()) return NULL
;
704 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
706 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
715 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
717 wxPyClientData
* data
= new wxPyClientData(clientData
);
718 self
->Append(item
, data
);
722 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
723 PyObject
* _resultobj
;
724 wxControlWithItems
* _arg0
;
726 PyObject
* _arg2
= (PyObject
*) NULL
;
727 PyObject
* _argo0
= 0;
728 PyObject
* _obj1
= 0;
729 PyObject
* _obj2
= 0;
730 char *_kwnames
[] = { "self","item","clientData", NULL
};
733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
743 _arg1
= wxString_in_helper(_obj1
);
752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
753 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
755 wxPyEndAllowThreads(__tstate
);
756 if (PyErr_Occurred()) return NULL
;
757 } Py_INCREF(Py_None
);
758 _resultobj
= Py_None
;
766 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
767 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
769 Py_INCREF(data
->m_obj
);
776 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
779 wxControlWithItems
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self","n", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
796 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
798 wxPyEndAllowThreads(__tstate
);
799 if (PyErr_Occurred()) return NULL
;
801 _resultobj
= _result
;
806 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
807 wxPyClientData
* data
= new wxPyClientData(clientData
);
808 self
->SetClientObject(n
, data
);
810 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
811 PyObject
* _resultobj
;
812 wxControlWithItems
* _arg0
;
815 PyObject
* _argo0
= 0;
816 PyObject
* _obj2
= 0;
817 char *_kwnames
[] = { "self","n","clientData", NULL
};
820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
834 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
836 wxPyEndAllowThreads(__tstate
);
837 if (PyErr_Occurred()) return NULL
;
838 } Py_INCREF(Py_None
);
839 _resultobj
= Py_None
;
843 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
844 static PyObject
*_wrap_wxControlWithItems_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
846 wxControlWithItems
* _arg0
;
847 wxArrayString
* _arg1
;
848 PyObject
* _argo0
= 0;
849 PyObject
* _obj1
= 0;
850 char *_kwnames
[] = { "self","strings", NULL
};
853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_AppendItems",_kwnames
,&_argo0
,&_obj1
))
856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
863 if (! PySequence_Check(_obj1
)) {
864 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
867 _arg1
= new wxArrayString
;
868 int i
, len
=PySequence_Length(_obj1
);
869 for (i
=0; i
<len
; i
++) {
870 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
872 PyObject
* str
= PyObject_Unicode(item
);
873 _arg1
->Add(PyUnicode_AsUnicode(str
));
875 PyObject
* str
= PyObject_Str(item
);
876 _arg1
->Add(PyString_AsString(str
));
883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
884 wxControlWithItems_AppendItems(_arg0
,*_arg1
);
886 wxPyEndAllowThreads(__tstate
);
887 if (PyErr_Occurred()) return NULL
;
888 } Py_INCREF(Py_None
);
889 _resultobj
= Py_None
;
897 static void *SwigwxButtonTowxControl(void *ptr
) {
900 src
= (wxButton
*) ptr
;
901 dest
= (wxControl
*) src
;
902 return (void *) dest
;
905 static void *SwigwxButtonTowxWindow(void *ptr
) {
908 src
= (wxButton
*) ptr
;
909 dest
= (wxWindow
*) src
;
910 return (void *) dest
;
913 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
916 src
= (wxButton
*) ptr
;
917 dest
= (wxEvtHandler
*) src
;
918 return (void *) dest
;
921 static void *SwigwxButtonTowxObject(void *ptr
) {
924 src
= (wxButton
*) ptr
;
925 dest
= (wxObject
*) src
;
926 return (void *) dest
;
929 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
930 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
931 PyObject
* _resultobj
;
936 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
937 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
938 long _arg5
= (long ) 0;
939 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
940 char * _arg7
= (char *) "button";
941 PyObject
* _argo0
= 0;
942 PyObject
* _obj2
= 0;
944 PyObject
* _obj3
= 0;
946 PyObject
* _obj4
= 0;
947 PyObject
* _argo6
= 0;
948 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
962 _arg2
= wxString_in_helper(_obj2
);
969 if (! wxPoint_helper(_obj3
, &_arg3
))
975 if (! wxSize_helper(_obj4
, &_arg4
))
979 if (_argo6
== Py_None
) { _arg6
= NULL
; }
980 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
987 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
989 wxPyEndAllowThreads(__tstate
);
990 if (PyErr_Occurred()) return NULL
;
992 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
993 _resultobj
= Py_BuildValue("s",_ptemp
);
996 _resultobj
= Py_None
;
1005 #define new_wxPreButton() (new wxButton())
1006 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1007 PyObject
* _resultobj
;
1009 char *_kwnames
[] = { NULL
};
1013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1017 _result
= (wxButton
*)new_wxPreButton();
1019 wxPyEndAllowThreads(__tstate
);
1020 if (PyErr_Occurred()) return NULL
;
1022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1023 _resultobj
= Py_BuildValue("s",_ptemp
);
1026 _resultobj
= Py_None
;
1031 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1032 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1039 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1040 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1041 long _arg6
= (long ) 0;
1042 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1043 char * _arg8
= (char *) "button";
1044 PyObject
* _argo0
= 0;
1045 PyObject
* _argo1
= 0;
1046 PyObject
* _obj3
= 0;
1048 PyObject
* _obj4
= 0;
1050 PyObject
* _obj5
= 0;
1051 PyObject
* _argo7
= 0;
1052 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1065 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1072 _arg3
= wxString_in_helper(_obj3
);
1079 if (! wxPoint_helper(_obj4
, &_arg4
))
1085 if (! wxSize_helper(_obj5
, &_arg5
))
1089 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1090 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1091 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1097 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1099 wxPyEndAllowThreads(__tstate
);
1100 if (PyErr_Occurred()) return NULL
;
1101 } _resultobj
= Py_BuildValue("i",_result
);
1109 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1110 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1111 PyObject
* _resultobj
;
1113 PyObject
* _argo0
= 0;
1114 char *_kwnames
[] = { "self", NULL
};
1117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1128 wxButton_SetDefault(_arg0
);
1130 wxPyEndAllowThreads(__tstate
);
1131 if (PyErr_Occurred()) return NULL
;
1132 } Py_INCREF(Py_None
);
1133 _resultobj
= Py_None
;
1137 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1138 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
* _resultobj
;
1142 PyObject
* _argo0
= 0;
1144 PyObject
* _obj1
= 0;
1145 char *_kwnames
[] = { "self","colour", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1159 if (! wxColour_helper(_obj1
, &_arg1
))
1163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1164 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1166 wxPyEndAllowThreads(__tstate
);
1167 if (PyErr_Occurred()) return NULL
;
1168 } Py_INCREF(Py_None
);
1169 _resultobj
= Py_None
;
1173 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1174 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1180 PyObject
* _obj1
= 0;
1181 char *_kwnames
[] = { "self","colour", NULL
};
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1195 if (! wxColour_helper(_obj1
, &_arg1
))
1199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1200 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1202 wxPyEndAllowThreads(__tstate
);
1203 if (PyErr_Occurred()) return NULL
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1209 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1212 char *_kwnames
[] = { NULL
};
1216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1220 _result
= new wxSize (wxButton::GetDefaultSize());
1222 wxPyEndAllowThreads(__tstate
);
1223 if (PyErr_Occurred()) return NULL
;
1224 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1225 _resultobj
= Py_BuildValue("s",_ptemp
);
1229 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1230 wxBitmapButton
*src
;
1232 src
= (wxBitmapButton
*) ptr
;
1233 dest
= (wxButton
*) src
;
1234 return (void *) dest
;
1237 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1238 wxBitmapButton
*src
;
1240 src
= (wxBitmapButton
*) ptr
;
1241 dest
= (wxControl
*) src
;
1242 return (void *) dest
;
1245 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1246 wxBitmapButton
*src
;
1248 src
= (wxBitmapButton
*) ptr
;
1249 dest
= (wxWindow
*) src
;
1250 return (void *) dest
;
1253 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1254 wxBitmapButton
*src
;
1256 src
= (wxBitmapButton
*) ptr
;
1257 dest
= (wxEvtHandler
*) src
;
1258 return (void *) dest
;
1261 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1262 wxBitmapButton
*src
;
1264 src
= (wxBitmapButton
*) ptr
;
1265 dest
= (wxObject
*) src
;
1266 return (void *) dest
;
1269 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1270 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1271 PyObject
* _resultobj
;
1272 wxBitmapButton
* _result
;
1276 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1277 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1278 long _arg5
= (long ) wxBU_AUTODRAW
;
1279 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1280 char * _arg7
= (char *) "button";
1281 PyObject
* _argo0
= 0;
1282 PyObject
* _argo2
= 0;
1284 PyObject
* _obj3
= 0;
1286 PyObject
* _obj4
= 0;
1287 PyObject
* _argo6
= 0;
1288 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1302 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1303 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1311 if (! wxPoint_helper(_obj3
, &_arg3
))
1317 if (! wxSize_helper(_obj4
, &_arg4
))
1321 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) return NULL
;
1334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1335 _resultobj
= Py_BuildValue("s",_ptemp
);
1338 _resultobj
= Py_None
;
1343 #define new_wxPreBitmapButton() (new wxBitmapButton())
1344 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1346 wxBitmapButton
* _result
;
1347 char *_kwnames
[] = { NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1355 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1357 wxPyEndAllowThreads(__tstate
);
1358 if (PyErr_Occurred()) return NULL
;
1360 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1361 _resultobj
= Py_BuildValue("s",_ptemp
);
1364 _resultobj
= Py_None
;
1369 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1370 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1373 wxBitmapButton
* _arg0
;
1377 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1378 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1379 long _arg6
= (long ) wxBU_AUTODRAW
;
1380 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1381 char * _arg8
= (char *) "button";
1382 PyObject
* _argo0
= 0;
1383 PyObject
* _argo1
= 0;
1384 PyObject
* _argo3
= 0;
1386 PyObject
* _obj4
= 0;
1388 PyObject
* _obj5
= 0;
1389 PyObject
* _argo7
= 0;
1390 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1403 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1404 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1410 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1411 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1419 if (! wxPoint_helper(_obj4
, &_arg4
))
1425 if (! wxSize_helper(_obj5
, &_arg5
))
1429 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } _resultobj
= Py_BuildValue("i",_result
);
1445 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1446 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1449 wxBitmapButton
* _arg0
;
1450 PyObject
* _argo0
= 0;
1451 char *_kwnames
[] = { "self", NULL
};
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) return NULL
;
1470 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1471 _resultobj
= Py_BuildValue("s",_ptemp
);
1475 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1476 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1479 wxBitmapButton
* _arg0
;
1480 PyObject
* _argo0
= 0;
1481 char *_kwnames
[] = { "self", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1506 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1509 wxBitmapButton
* _arg0
;
1510 PyObject
* _argo0
= 0;
1511 char *_kwnames
[] = { "self", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1530 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1531 _resultobj
= Py_BuildValue("s",_ptemp
);
1535 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1536 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 wxBitmapButton
* _arg0
;
1540 PyObject
* _argo0
= 0;
1541 char *_kwnames
[] = { "self", NULL
};
1545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1561 _resultobj
= Py_BuildValue("s",_ptemp
);
1565 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1566 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1567 PyObject
* _resultobj
;
1568 wxBitmapButton
* _arg0
;
1570 PyObject
* _argo0
= 0;
1571 PyObject
* _argo1
= 0;
1572 char *_kwnames
[] = { "self","bitmap", NULL
};
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1603 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1605 wxBitmapButton
* _arg0
;
1607 PyObject
* _argo0
= 0;
1608 PyObject
* _argo1
= 0;
1609 char *_kwnames
[] = { "self","bitmap", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1622 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1623 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1632 wxPyEndAllowThreads(__tstate
);
1633 if (PyErr_Occurred()) return NULL
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1640 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1642 wxBitmapButton
* _arg0
;
1644 PyObject
* _argo0
= 0;
1645 PyObject
* _argo1
= 0;
1646 char *_kwnames
[] = { "self","bitmap", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) return NULL
;
1671 } Py_INCREF(Py_None
);
1672 _resultobj
= Py_None
;
1676 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1677 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
* _resultobj
;
1679 wxBitmapButton
* _arg0
;
1681 PyObject
* _argo0
= 0;
1682 PyObject
* _argo1
= 0;
1683 char *_kwnames
[] = { "self","bitmap", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } Py_INCREF(Py_None
);
1709 _resultobj
= Py_None
;
1713 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1714 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1716 wxBitmapButton
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 char *_kwnames
[] = { "self","x","y", NULL
};
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) return NULL
;
1738 } Py_INCREF(Py_None
);
1739 _resultobj
= Py_None
;
1743 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1744 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
* _resultobj
;
1747 wxBitmapButton
* _arg0
;
1748 PyObject
* _argo0
= 0;
1749 char *_kwnames
[] = { "self", NULL
};
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) return NULL
;
1767 } _resultobj
= Py_BuildValue("i",_result
);
1771 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1772 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1773 PyObject
* _resultobj
;
1775 wxBitmapButton
* _arg0
;
1776 PyObject
* _argo0
= 0;
1777 char *_kwnames
[] = { "self", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) return NULL
;
1795 } _resultobj
= Py_BuildValue("i",_result
);
1799 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1802 src
= (wxCheckBox
*) ptr
;
1803 dest
= (wxControl
*) src
;
1804 return (void *) dest
;
1807 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1810 src
= (wxCheckBox
*) ptr
;
1811 dest
= (wxWindow
*) src
;
1812 return (void *) dest
;
1815 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1818 src
= (wxCheckBox
*) ptr
;
1819 dest
= (wxEvtHandler
*) src
;
1820 return (void *) dest
;
1823 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1826 src
= (wxCheckBox
*) ptr
;
1827 dest
= (wxObject
*) src
;
1828 return (void *) dest
;
1831 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1832 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxCheckBox
* _result
;
1838 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1839 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1840 long _arg5
= (long ) 0;
1841 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1842 char * _arg7
= (char *) "checkBox";
1843 PyObject
* _argo0
= 0;
1844 PyObject
* _obj2
= 0;
1846 PyObject
* _obj3
= 0;
1848 PyObject
* _obj4
= 0;
1849 PyObject
* _argo6
= 0;
1850 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1864 _arg2
= wxString_in_helper(_obj2
);
1871 if (! wxPoint_helper(_obj3
, &_arg3
))
1877 if (! wxSize_helper(_obj4
, &_arg4
))
1881 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1882 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) return NULL
;
1894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1895 _resultobj
= Py_BuildValue("s",_ptemp
);
1898 _resultobj
= Py_None
;
1907 #define new_wxPreCheckBox() (new wxCheckBox())
1908 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 wxCheckBox
* _result
;
1911 char *_kwnames
[] = { NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) return NULL
;
1924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1925 _resultobj
= Py_BuildValue("s",_ptemp
);
1928 _resultobj
= Py_None
;
1933 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1934 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
* _resultobj
;
1941 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1942 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1943 long _arg6
= (long ) 0;
1944 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1945 char * _arg8
= (char *) "checkBox";
1946 PyObject
* _argo0
= 0;
1947 PyObject
* _argo1
= 0;
1948 PyObject
* _obj3
= 0;
1950 PyObject
* _obj4
= 0;
1952 PyObject
* _obj5
= 0;
1953 PyObject
* _argo7
= 0;
1954 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1967 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
1974 _arg3
= wxString_in_helper(_obj3
);
1981 if (! wxPoint_helper(_obj4
, &_arg4
))
1987 if (! wxSize_helper(_obj5
, &_arg5
))
1991 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1999 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) return NULL
;
2003 } _resultobj
= Py_BuildValue("i",_result
);
2011 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2012 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2016 PyObject
* _argo0
= 0;
2017 char *_kwnames
[] = { "self", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) return NULL
;
2035 } _resultobj
= Py_BuildValue("i",_result
);
2039 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2040 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
* _resultobj
;
2044 PyObject
* _argo0
= 0;
2046 char *_kwnames
[] = { "self","state", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2058 _arg1
= (bool ) tempbool1
;
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2061 wxCheckBox_SetValue(_arg0
,_arg1
);
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) return NULL
;
2065 } Py_INCREF(Py_None
);
2066 _resultobj
= Py_None
;
2070 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2072 wxControlWithItems
*dest
;
2073 src
= (wxChoice
*) ptr
;
2074 dest
= (wxControlWithItems
*) src
;
2075 return (void *) dest
;
2078 static void *SwigwxChoiceTowxControl(void *ptr
) {
2081 src
= (wxChoice
*) ptr
;
2082 dest
= (wxControl
*) src
;
2083 return (void *) dest
;
2086 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2089 src
= (wxChoice
*) ptr
;
2090 dest
= (wxWindow
*) src
;
2091 return (void *) dest
;
2094 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2097 src
= (wxChoice
*) ptr
;
2098 dest
= (wxEvtHandler
*) src
;
2099 return (void *) dest
;
2102 static void *SwigwxChoiceTowxObject(void *ptr
) {
2105 src
= (wxChoice
*) ptr
;
2106 dest
= (wxObject
*) src
;
2107 return (void *) dest
;
2110 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2111 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2116 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2117 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2118 int _arg4
= (int ) 0;
2119 wxString
* _arg5
= (wxString
*) NULL
;
2120 long _arg6
= (long ) 0;
2121 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2122 char * _arg8
= (char *) "choice";
2123 PyObject
* _argo0
= 0;
2125 PyObject
* _obj2
= 0;
2127 PyObject
* _obj3
= 0;
2128 PyObject
* _obj5
= 0;
2129 PyObject
* _argo7
= 0;
2130 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2146 if (! wxPoint_helper(_obj2
, &_arg2
))
2152 if (! wxSize_helper(_obj3
, &_arg3
))
2157 _arg5
= wxString_LIST_helper(_obj5
);
2158 if (_arg5
== NULL
) {
2163 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2164 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2171 _arg4
= PyList_Size(_obj5
);
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) return NULL
;
2184 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2185 _resultobj
= Py_BuildValue("s",_ptemp
);
2188 _resultobj
= Py_None
;
2196 #define new_wxPreChoice() (new wxChoice())
2197 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
* _resultobj
;
2200 char *_kwnames
[] = { NULL
};
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 _result
= (wxChoice
*)new_wxPreChoice();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) return NULL
;
2213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2214 _resultobj
= Py_BuildValue("s",_ptemp
);
2217 _resultobj
= Py_None
;
2222 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2223 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2229 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2230 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2231 int _arg5
= (int ) 0;
2232 wxString
* _arg6
= (wxString
*) NULL
;
2233 long _arg7
= (long ) 0;
2234 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2235 char * _arg9
= (char *) "choice";
2236 PyObject
* _argo0
= 0;
2237 PyObject
* _argo1
= 0;
2239 PyObject
* _obj3
= 0;
2241 PyObject
* _obj4
= 0;
2242 PyObject
* _obj6
= 0;
2243 PyObject
* _argo8
= 0;
2244 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2257 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2258 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2266 if (! wxPoint_helper(_obj3
, &_arg3
))
2272 if (! wxSize_helper(_obj4
, &_arg4
))
2277 _arg6
= wxString_LIST_helper(_obj6
);
2278 if (_arg6
== NULL
) {
2283 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2284 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2291 _arg5
= PyList_Size(_obj6
);
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) return NULL
;
2303 } _resultobj
= Py_BuildValue("i",_result
);
2310 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2311 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
* _resultobj
;
2314 PyObject
* _argo0
= 0;
2315 char *_kwnames
[] = { "self", NULL
};
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxChoice_Clear(_arg0
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) return NULL
;
2333 } Py_INCREF(Py_None
);
2334 _resultobj
= Py_None
;
2338 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2339 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2343 PyObject
* _argo0
= 0;
2344 char *_kwnames
[] = { "self", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2358 _result
= (int )wxChoice_GetColumns(_arg0
);
2360 wxPyEndAllowThreads(__tstate
);
2361 if (PyErr_Occurred()) return NULL
;
2362 } _resultobj
= Py_BuildValue("i",_result
);
2366 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2367 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2370 int _arg1
= (int ) 1;
2371 PyObject
* _argo0
= 0;
2372 char *_kwnames
[] = { "self","n", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 wxChoice_SetColumns(_arg0
,_arg1
);
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) return NULL
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2395 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2396 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2397 PyObject
* _resultobj
;
2400 PyObject
* _argo0
= 0;
2401 char *_kwnames
[] = { "self","n", NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 wxChoice_SetSelection(_arg0
,_arg1
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) return NULL
;
2419 } Py_INCREF(Py_None
);
2420 _resultobj
= Py_None
;
2424 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2425 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2426 PyObject
* _resultobj
;
2429 PyObject
* _argo0
= 0;
2430 PyObject
* _obj1
= 0;
2431 char *_kwnames
[] = { "self","string", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2444 _arg1
= wxString_in_helper(_obj1
);
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) return NULL
;
2454 } Py_INCREF(Py_None
);
2455 _resultobj
= Py_None
;
2463 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2464 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2470 PyObject
* _obj2
= 0;
2471 char *_kwnames
[] = { "self","n","s", NULL
};
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2484 _arg2
= wxString_in_helper(_obj2
);
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2494 } Py_INCREF(Py_None
);
2495 _resultobj
= Py_None
;
2503 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2506 src
= (wxComboBox
*) ptr
;
2507 dest
= (wxControl
*) src
;
2508 return (void *) dest
;
2511 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2514 src
= (wxComboBox
*) ptr
;
2515 dest
= (wxWindow
*) src
;
2516 return (void *) dest
;
2519 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2522 src
= (wxComboBox
*) ptr
;
2523 dest
= (wxEvtHandler
*) src
;
2524 return (void *) dest
;
2527 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2530 src
= (wxComboBox
*) ptr
;
2531 dest
= (wxObject
*) src
;
2532 return (void *) dest
;
2535 #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))
2536 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2538 wxComboBox
* _result
;
2541 char * _arg2
= (char *) "";
2542 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2543 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2544 int _arg5
= (int ) 0;
2545 wxString
* _arg6
= (wxString
*) NULL
;
2546 long _arg7
= (long ) 0;
2547 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2548 char * _arg9
= (char *) "comboBox";
2549 PyObject
* _argo0
= 0;
2551 PyObject
* _obj3
= 0;
2553 PyObject
* _obj4
= 0;
2554 PyObject
* _obj6
= 0;
2555 PyObject
* _argo8
= 0;
2556 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2572 if (! wxPoint_helper(_obj3
, &_arg3
))
2578 if (! wxSize_helper(_obj4
, &_arg4
))
2583 _arg6
= wxString_LIST_helper(_obj6
);
2584 if (_arg6
== NULL
) {
2589 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2590 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2597 _arg5
= PyList_Size(_obj6
);
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) return NULL
;
2610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2611 _resultobj
= Py_BuildValue("s",_ptemp
);
2614 _resultobj
= Py_None
;
2622 #define new_wxPreComboBox() (new wxComboBox())
2623 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2625 wxComboBox
* _result
;
2626 char *_kwnames
[] = { NULL
};
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 _result
= (wxComboBox
*)new_wxPreComboBox();
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) return NULL
;
2639 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2640 _resultobj
= Py_BuildValue("s",_ptemp
);
2643 _resultobj
= Py_None
;
2648 #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))
2649 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
* _resultobj
;
2655 char * _arg3
= (char *) "";
2656 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2657 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2658 int _arg6
= (int ) 0;
2659 wxString
* _arg7
= (wxString
*) NULL
;
2660 long _arg8
= (long ) 0;
2661 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2662 char * _arg10
= (char *) "comboBox";
2663 PyObject
* _argo0
= 0;
2664 PyObject
* _argo1
= 0;
2666 PyObject
* _obj4
= 0;
2668 PyObject
* _obj5
= 0;
2669 PyObject
* _obj7
= 0;
2670 PyObject
* _argo9
= 0;
2671 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2693 if (! wxPoint_helper(_obj4
, &_arg4
))
2699 if (! wxSize_helper(_obj5
, &_arg5
))
2704 _arg7
= wxString_LIST_helper(_obj7
);
2705 if (_arg7
== NULL
) {
2710 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2711 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2718 _arg6
= PyList_Size(_obj7
);
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) return NULL
;
2730 } _resultobj
= Py_BuildValue("i",_result
);
2737 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2738 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2741 PyObject
* _argo0
= 0;
2742 char *_kwnames
[] = { "self", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxComboBox_Copy(_arg0
);
2758 wxPyEndAllowThreads(__tstate
);
2759 if (PyErr_Occurred()) return NULL
;
2760 } Py_INCREF(Py_None
);
2761 _resultobj
= Py_None
;
2765 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2766 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
* _resultobj
;
2769 PyObject
* _argo0
= 0;
2770 char *_kwnames
[] = { "self", NULL
};
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 wxComboBox_Cut(_arg0
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) return NULL
;
2788 } Py_INCREF(Py_None
);
2789 _resultobj
= Py_None
;
2793 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2794 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
* _resultobj
;
2798 PyObject
* _argo0
= 0;
2799 char *_kwnames
[] = { "self", NULL
};
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2813 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2815 wxPyEndAllowThreads(__tstate
);
2816 if (PyErr_Occurred()) return NULL
;
2817 } _resultobj
= Py_BuildValue("l",_result
);
2821 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2822 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
* _resultobj
;
2826 PyObject
* _argo0
= 0;
2827 char *_kwnames
[] = { "self", NULL
};
2830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2843 wxPyEndAllowThreads(__tstate
);
2844 if (PyErr_Occurred()) return NULL
;
2845 } _resultobj
= Py_BuildValue("l",_result
);
2849 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2850 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
* _resultobj
;
2854 PyObject
* _argo0
= 0;
2855 char *_kwnames
[] = { "self", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) return NULL
;
2875 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2877 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2886 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2887 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2888 PyObject
* _resultobj
;
2890 PyObject
* _argo0
= 0;
2891 char *_kwnames
[] = { "self", NULL
};
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 wxComboBox_Paste(_arg0
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) return NULL
;
2909 } Py_INCREF(Py_None
);
2910 _resultobj
= Py_None
;
2914 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2915 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 PyObject
* _obj3
= 0;
2923 char *_kwnames
[] = { "self","from","to","text", NULL
};
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
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_Replace. Expected _wxComboBox_p.");
2936 _arg3
= wxString_in_helper(_obj3
);
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) return NULL
;
2946 } Py_INCREF(Py_None
);
2947 _resultobj
= Py_None
;
2955 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2956 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self","from","to", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2976 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
2978 wxPyEndAllowThreads(__tstate
);
2979 if (PyErr_Occurred()) return NULL
;
2980 } Py_INCREF(Py_None
);
2981 _resultobj
= Py_None
;
2985 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2986 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2990 PyObject
* _argo0
= 0;
2991 char *_kwnames
[] = { "self","pos", NULL
};
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
2997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) return NULL
;
3009 } Py_INCREF(Py_None
);
3010 _resultobj
= Py_None
;
3014 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3015 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3016 PyObject
* _resultobj
;
3018 PyObject
* _argo0
= 0;
3019 char *_kwnames
[] = { "self", NULL
};
3022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 wxComboBox_SetInsertionPointEnd(_arg0
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) return NULL
;
3037 } Py_INCREF(Py_None
);
3038 _resultobj
= Py_None
;
3042 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3043 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
* _resultobj
;
3047 PyObject
* _argo0
= 0;
3048 char *_kwnames
[] = { "self","n", NULL
};
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 wxComboBox_SetSelection(_arg0
,_arg1
);
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) return NULL
;
3066 } Py_INCREF(Py_None
);
3067 _resultobj
= Py_None
;
3071 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3072 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
* _resultobj
;
3077 PyObject
* _argo0
= 0;
3078 char *_kwnames
[] = { "self","from","to", NULL
};
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) return NULL
;
3096 } Py_INCREF(Py_None
);
3097 _resultobj
= Py_None
;
3101 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3102 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
* _resultobj
;
3106 PyObject
* _argo0
= 0;
3107 PyObject
* _obj1
= 0;
3108 char *_kwnames
[] = { "self","text", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3121 _arg1
= wxString_in_helper(_obj1
);
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 wxComboBox_SetValue(_arg0
,*_arg1
);
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) return NULL
;
3131 } Py_INCREF(Py_None
);
3132 _resultobj
= Py_None
;
3140 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3141 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3145 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self","editable", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3159 _arg1
= (bool ) tempbool1
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 wxComboBox_SetEditable(_arg0
,_arg1
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) return NULL
;
3166 } Py_INCREF(Py_None
);
3167 _resultobj
= Py_None
;
3171 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3172 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3173 PyObject
* _resultobj
;
3175 PyObject
* _argo0
= 0;
3176 char *_kwnames
[] = { "self", NULL
};
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
3182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 wxComboBox_Clear(_arg0
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) return NULL
;
3194 } Py_INCREF(Py_None
);
3195 _resultobj
= Py_None
;
3199 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3200 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
* _resultobj
;
3204 PyObject
* _argo0
= 0;
3205 char *_kwnames
[] = { "self","n", NULL
};
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 wxComboBox_Delete(_arg0
,_arg1
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) return NULL
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3228 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3229 static PyObject
*_wrap_wxComboBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3233 PyObject
* _argo0
= 0;
3234 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3248 _result
= (int )wxComboBox_GetCount(_arg0
);
3250 wxPyEndAllowThreads(__tstate
);
3251 if (PyErr_Occurred()) return NULL
;
3252 } _resultobj
= Py_BuildValue("i",_result
);
3256 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3257 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3262 PyObject
* _argo0
= 0;
3263 char *_kwnames
[] = { "self","n", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3277 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3279 wxPyEndAllowThreads(__tstate
);
3280 if (PyErr_Occurred()) return NULL
;
3283 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3285 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3294 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3295 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
* _resultobj
;
3300 PyObject
* _argo0
= 0;
3301 PyObject
* _obj1
= 0;
3302 char *_kwnames
[] = { "self","s", NULL
};
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3315 _arg1
= wxString_in_helper(_obj1
);
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) return NULL
;
3325 } _resultobj
= Py_BuildValue("i",_result
);
3333 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3334 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3335 PyObject
* _resultobj
;
3338 PyObject
* _argo0
= 0;
3339 char *_kwnames
[] = { "self", NULL
};
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
3345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 _result
= (int )wxComboBox_GetSelection(_arg0
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) return NULL
;
3357 } _resultobj
= Py_BuildValue("i",_result
);
3361 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3362 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3366 PyObject
* _argo0
= 0;
3367 char *_kwnames
[] = { "self", NULL
};
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) return NULL
;
3387 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3389 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3398 static void wxComboBox_Append(wxComboBox
*self
,const wxString
& item
,PyObject
* clientData
) {
3400 wxPyClientData
* data
= new wxPyClientData(clientData
);
3401 self
->Append(item
, data
);
3405 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3409 PyObject
* _arg2
= (PyObject
*) NULL
;
3410 PyObject
* _argo0
= 0;
3411 PyObject
* _obj1
= 0;
3412 PyObject
* _obj2
= 0;
3413 char *_kwnames
[] = { "self","item","clientData", NULL
};
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3426 _arg1
= wxString_in_helper(_obj1
);
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxComboBox_Append(_arg0
,*_arg1
,_arg2
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) return NULL
;
3440 } Py_INCREF(Py_None
);
3441 _resultobj
= Py_None
;
3449 static PyObject
* wxComboBox_GetClientData(wxComboBox
*self
,int n
) {
3450 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3452 Py_INCREF(data
->m_obj
);
3459 static PyObject
*_wrap_wxComboBox_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self","n", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 _result
= (PyObject
*)wxComboBox_GetClientData(_arg0
,_arg1
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3484 _resultobj
= _result
;
3489 static void wxComboBox_SetClientData(wxComboBox
*self
,int n
,PyObject
* clientData
) {
3490 wxPyClientData
* data
= new wxPyClientData(clientData
);
3491 self
->SetClientObject(n
, data
);
3493 static PyObject
*_wrap_wxComboBox_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3494 PyObject
* _resultobj
;
3498 PyObject
* _argo0
= 0;
3499 PyObject
* _obj2
= 0;
3500 char *_kwnames
[] = { "self","n","clientData", NULL
};
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
);
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) return NULL
;
3521 } Py_INCREF(Py_None
);
3522 _resultobj
= Py_None
;
3526 static void *SwigwxGaugeTowxControl(void *ptr
) {
3529 src
= (wxGauge
*) ptr
;
3530 dest
= (wxControl
*) src
;
3531 return (void *) dest
;
3534 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3537 src
= (wxGauge
*) ptr
;
3538 dest
= (wxWindow
*) src
;
3539 return (void *) dest
;
3542 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3545 src
= (wxGauge
*) ptr
;
3546 dest
= (wxEvtHandler
*) src
;
3547 return (void *) dest
;
3550 static void *SwigwxGaugeTowxObject(void *ptr
) {
3553 src
= (wxGauge
*) ptr
;
3554 dest
= (wxObject
*) src
;
3555 return (void *) dest
;
3558 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3559 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
* _resultobj
;
3565 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3566 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3567 long _arg5
= (long ) wxGA_HORIZONTAL
;
3568 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3569 char * _arg7
= (char *) "gauge";
3570 PyObject
* _argo0
= 0;
3572 PyObject
* _obj3
= 0;
3574 PyObject
* _obj4
= 0;
3575 PyObject
* _argo6
= 0;
3576 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3592 if (! wxPoint_helper(_obj3
, &_arg3
))
3598 if (! wxSize_helper(_obj4
, &_arg4
))
3602 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) return NULL
;
3615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3616 _resultobj
= Py_BuildValue("s",_ptemp
);
3619 _resultobj
= Py_None
;
3624 #define new_wxPreGauge() (new wxGauge())
3625 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3628 char *_kwnames
[] = { NULL
};
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 _result
= (wxGauge
*)new_wxPreGauge();
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) return NULL
;
3641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3642 _resultobj
= Py_BuildValue("s",_ptemp
);
3645 _resultobj
= Py_None
;
3650 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3651 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
* _resultobj
;
3658 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3659 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3660 long _arg6
= (long ) wxGA_HORIZONTAL
;
3661 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3662 char * _arg8
= (char *) "gauge";
3663 PyObject
* _argo0
= 0;
3664 PyObject
* _argo1
= 0;
3666 PyObject
* _obj4
= 0;
3668 PyObject
* _obj5
= 0;
3669 PyObject
* _argo7
= 0;
3670 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3683 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3692 if (! wxPoint_helper(_obj4
, &_arg4
))
3698 if (! wxSize_helper(_obj5
, &_arg5
))
3702 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) return NULL
;
3714 } _resultobj
= Py_BuildValue("i",_result
);
3718 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3719 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
* _resultobj
;
3723 PyObject
* _argo0
= 0;
3724 char *_kwnames
[] = { "self", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) return NULL
;
3742 } _resultobj
= Py_BuildValue("i",_result
);
3746 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3747 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3748 PyObject
* _resultobj
;
3751 PyObject
* _argo0
= 0;
3752 char *_kwnames
[] = { "self", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 _result
= (int )wxGauge_GetRange(_arg0
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) return NULL
;
3770 } _resultobj
= Py_BuildValue("i",_result
);
3774 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3775 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
* _resultobj
;
3779 PyObject
* _argo0
= 0;
3780 char *_kwnames
[] = { "self", NULL
};
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) return NULL
;
3798 } _resultobj
= Py_BuildValue("i",_result
);
3802 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3803 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
* _resultobj
;
3807 PyObject
* _argo0
= 0;
3808 char *_kwnames
[] = { "self", NULL
};
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= (int )wxGauge_GetValue(_arg0
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 } _resultobj
= Py_BuildValue("i",_result
);
3830 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3831 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self","width", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 wxGauge_SetBezelFace(_arg0
,_arg1
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } Py_INCREF(Py_None
);
3855 _resultobj
= Py_None
;
3859 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3860 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self","range", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 wxGauge_SetRange(_arg0
,_arg1
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } Py_INCREF(Py_None
);
3884 _resultobj
= Py_None
;
3888 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3889 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self","width", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3908 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) return NULL
;
3912 } Py_INCREF(Py_None
);
3913 _resultobj
= Py_None
;
3917 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3918 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3922 PyObject
* _argo0
= 0;
3923 char *_kwnames
[] = { "self","pos", NULL
};
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 wxGauge_SetValue(_arg0
,_arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) return NULL
;
3941 } Py_INCREF(Py_None
);
3942 _resultobj
= Py_None
;
3946 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3949 src
= (wxStaticBox
*) ptr
;
3950 dest
= (wxControl
*) src
;
3951 return (void *) dest
;
3954 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3957 src
= (wxStaticBox
*) ptr
;
3958 dest
= (wxWindow
*) src
;
3959 return (void *) dest
;
3962 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3965 src
= (wxStaticBox
*) ptr
;
3966 dest
= (wxEvtHandler
*) src
;
3967 return (void *) dest
;
3970 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3973 src
= (wxStaticBox
*) ptr
;
3974 dest
= (wxObject
*) src
;
3975 return (void *) dest
;
3978 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3979 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
* _resultobj
;
3981 wxStaticBox
* _result
;
3985 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3986 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3987 long _arg5
= (long ) 0;
3988 char * _arg6
= (char *) "staticBox";
3989 PyObject
* _argo0
= 0;
3990 PyObject
* _obj2
= 0;
3992 PyObject
* _obj3
= 0;
3994 PyObject
* _obj4
= 0;
3995 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4009 _arg2
= wxString_in_helper(_obj2
);
4016 if (! wxPoint_helper(_obj3
, &_arg3
))
4022 if (! wxSize_helper(_obj4
, &_arg4
))
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4033 _resultobj
= Py_BuildValue("s",_ptemp
);
4036 _resultobj
= Py_None
;
4045 #define new_wxPreStaticBox() (new wxStaticBox())
4046 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
* _resultobj
;
4048 wxStaticBox
* _result
;
4049 char *_kwnames
[] = { NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) return NULL
;
4062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4063 _resultobj
= Py_BuildValue("s",_ptemp
);
4066 _resultobj
= Py_None
;
4071 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4072 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4075 wxStaticBox
* _arg0
;
4079 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4080 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4081 long _arg6
= (long ) 0;
4082 char * _arg7
= (char *) "staticBox";
4083 PyObject
* _argo0
= 0;
4084 PyObject
* _argo1
= 0;
4085 PyObject
* _obj3
= 0;
4087 PyObject
* _obj4
= 0;
4089 PyObject
* _obj5
= 0;
4090 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4110 _arg3
= wxString_in_helper(_obj3
);
4117 if (! wxPoint_helper(_obj4
, &_arg4
))
4123 if (! wxSize_helper(_obj5
, &_arg5
))
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) return NULL
;
4132 } _resultobj
= Py_BuildValue("i",_result
);
4140 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4143 src
= (wxStaticLine
*) ptr
;
4144 dest
= (wxControl
*) src
;
4145 return (void *) dest
;
4148 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4151 src
= (wxStaticLine
*) ptr
;
4152 dest
= (wxWindow
*) src
;
4153 return (void *) dest
;
4156 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4159 src
= (wxStaticLine
*) ptr
;
4160 dest
= (wxEvtHandler
*) src
;
4161 return (void *) dest
;
4164 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4167 src
= (wxStaticLine
*) ptr
;
4168 dest
= (wxObject
*) src
;
4169 return (void *) dest
;
4172 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4173 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
* _resultobj
;
4175 wxStaticLine
* _result
;
4178 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4179 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4180 long _arg4
= (long ) wxLI_HORIZONTAL
;
4181 char * _arg5
= (char *) "staticLine";
4182 PyObject
* _argo0
= 0;
4184 PyObject
* _obj2
= 0;
4186 PyObject
* _obj3
= 0;
4187 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4203 if (! wxPoint_helper(_obj2
, &_arg2
))
4209 if (! wxSize_helper(_obj3
, &_arg3
))
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) return NULL
;
4219 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4220 _resultobj
= Py_BuildValue("s",_ptemp
);
4223 _resultobj
= Py_None
;
4228 #define new_wxPreStaticLine() (new wxStaticLine())
4229 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4231 wxStaticLine
* _result
;
4232 char *_kwnames
[] = { NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) return NULL
;
4245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4246 _resultobj
= Py_BuildValue("s",_ptemp
);
4249 _resultobj
= Py_None
;
4254 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4255 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4258 wxStaticLine
* _arg0
;
4261 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4262 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4263 long _arg5
= (long ) wxLI_HORIZONTAL
;
4264 char * _arg6
= (char *) "staticLine";
4265 PyObject
* _argo0
= 0;
4266 PyObject
* _argo1
= 0;
4268 PyObject
* _obj3
= 0;
4270 PyObject
* _obj4
= 0;
4271 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4293 if (! wxPoint_helper(_obj3
, &_arg3
))
4299 if (! wxSize_helper(_obj4
, &_arg4
))
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) return NULL
;
4308 } _resultobj
= Py_BuildValue("i",_result
);
4312 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4315 src
= (wxStaticText
*) ptr
;
4316 dest
= (wxControl
*) src
;
4317 return (void *) dest
;
4320 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4323 src
= (wxStaticText
*) ptr
;
4324 dest
= (wxWindow
*) src
;
4325 return (void *) dest
;
4328 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4331 src
= (wxStaticText
*) ptr
;
4332 dest
= (wxEvtHandler
*) src
;
4333 return (void *) dest
;
4336 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4339 src
= (wxStaticText
*) ptr
;
4340 dest
= (wxObject
*) src
;
4341 return (void *) dest
;
4344 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4345 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4347 wxStaticText
* _result
;
4351 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4352 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4353 long _arg5
= (long ) 0;
4354 char * _arg6
= (char *) "staticText";
4355 PyObject
* _argo0
= 0;
4356 PyObject
* _obj2
= 0;
4358 PyObject
* _obj3
= 0;
4360 PyObject
* _obj4
= 0;
4361 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4375 _arg2
= wxString_in_helper(_obj2
);
4382 if (! wxPoint_helper(_obj3
, &_arg3
))
4388 if (! wxSize_helper(_obj4
, &_arg4
))
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) return NULL
;
4398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4399 _resultobj
= Py_BuildValue("s",_ptemp
);
4402 _resultobj
= Py_None
;
4411 #define new_wxPreStaticText() (new wxStaticText())
4412 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4414 wxStaticText
* _result
;
4415 char *_kwnames
[] = { NULL
};
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 _result
= (wxStaticText
*)new_wxPreStaticText();
4425 wxPyEndAllowThreads(__tstate
);
4426 if (PyErr_Occurred()) return NULL
;
4428 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4429 _resultobj
= Py_BuildValue("s",_ptemp
);
4432 _resultobj
= Py_None
;
4437 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4438 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4441 wxStaticText
* _arg0
;
4445 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4446 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4447 long _arg6
= (long ) 0;
4448 char * _arg7
= (char *) "staticText";
4449 PyObject
* _argo0
= 0;
4450 PyObject
* _argo1
= 0;
4451 PyObject
* _obj3
= 0;
4453 PyObject
* _obj4
= 0;
4455 PyObject
* _obj5
= 0;
4456 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4469 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4476 _arg3
= wxString_in_helper(_obj3
);
4483 if (! wxPoint_helper(_obj4
, &_arg4
))
4489 if (! wxSize_helper(_obj5
, &_arg5
))
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) return NULL
;
4498 } _resultobj
= Py_BuildValue("i",_result
);
4506 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4507 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4510 wxStaticText
* _arg0
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4532 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4534 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4543 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4544 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxStaticText
* _arg0
;
4548 PyObject
* _argo0
= 0;
4549 PyObject
* _obj1
= 0;
4550 char *_kwnames
[] = { "self","label", NULL
};
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4563 _arg1
= wxString_in_helper(_obj1
);
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 wxStaticText_SetLabel(_arg0
,*_arg1
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) return NULL
;
4573 } Py_INCREF(Py_None
);
4574 _resultobj
= Py_None
;
4582 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4584 wxControlWithItems
*dest
;
4585 src
= (wxListBox
*) ptr
;
4586 dest
= (wxControlWithItems
*) src
;
4587 return (void *) dest
;
4590 static void *SwigwxListBoxTowxControl(void *ptr
) {
4593 src
= (wxListBox
*) ptr
;
4594 dest
= (wxControl
*) src
;
4595 return (void *) dest
;
4598 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4601 src
= (wxListBox
*) ptr
;
4602 dest
= (wxWindow
*) src
;
4603 return (void *) dest
;
4606 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4609 src
= (wxListBox
*) ptr
;
4610 dest
= (wxEvtHandler
*) src
;
4611 return (void *) dest
;
4614 static void *SwigwxListBoxTowxObject(void *ptr
) {
4617 src
= (wxListBox
*) ptr
;
4618 dest
= (wxObject
*) src
;
4619 return (void *) dest
;
4622 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4623 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4625 wxListBox
* _result
;
4628 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4629 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4631 wxString
* _arg5
= (wxString
*) NULL
;
4632 long _arg6
= (long ) 0;
4633 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4634 char * _arg8
= (char *) "listBox";
4635 PyObject
* _argo0
= 0;
4637 PyObject
* _obj2
= 0;
4639 PyObject
* _obj3
= 0;
4640 PyObject
* _obj5
= 0;
4641 PyObject
* _argo7
= 0;
4642 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4658 if (! wxPoint_helper(_obj2
, &_arg2
))
4664 if (! wxSize_helper(_obj3
, &_arg3
))
4669 _arg5
= wxString_LIST_helper(_obj5
);
4670 if (_arg5
== NULL
) {
4675 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4683 _arg4
= PyList_Size(_obj5
);
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) return NULL
;
4696 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4697 _resultobj
= Py_BuildValue("s",_ptemp
);
4700 _resultobj
= Py_None
;
4708 #define new_wxPreListBox() (new wxListBox())
4709 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
* _resultobj
;
4711 wxListBox
* _result
;
4712 char *_kwnames
[] = { NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 _result
= (wxListBox
*)new_wxPreListBox();
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) return NULL
;
4725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4726 _resultobj
= Py_BuildValue("s",_ptemp
);
4729 _resultobj
= Py_None
;
4734 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4735 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
* _resultobj
;
4741 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4742 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4744 wxString
* _arg6
= (wxString
*) NULL
;
4745 long _arg7
= (long ) 0;
4746 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4747 char * _arg9
= (char *) "listBox";
4748 PyObject
* _argo0
= 0;
4749 PyObject
* _argo1
= 0;
4751 PyObject
* _obj3
= 0;
4753 PyObject
* _obj4
= 0;
4754 PyObject
* _obj6
= 0;
4755 PyObject
* _argo8
= 0;
4756 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4778 if (! wxPoint_helper(_obj3
, &_arg3
))
4784 if (! wxSize_helper(_obj4
, &_arg4
))
4789 _arg6
= wxString_LIST_helper(_obj6
);
4790 if (_arg6
== NULL
) {
4795 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4796 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4803 _arg5
= PyList_Size(_obj6
);
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) return NULL
;
4815 } _resultobj
= Py_BuildValue("i",_result
);
4822 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4823 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4826 PyObject
* _argo0
= 0;
4827 char *_kwnames
[] = { "self", NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 wxListBox_Clear(_arg0
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) return NULL
;
4845 } Py_INCREF(Py_None
);
4846 _resultobj
= Py_None
;
4850 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4851 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4855 PyObject
* _argo0
= 0;
4856 char *_kwnames
[] = { "self","n", NULL
};
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 wxListBox_Deselect(_arg0
,_arg1
);
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) return NULL
;
4874 } Py_INCREF(Py_None
);
4875 _resultobj
= Py_None
;
4879 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4881 self
->GetSelections(lst
);
4882 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4883 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4884 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4888 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
* _resultobj
;
4892 PyObject
* _argo0
= 0;
4893 char *_kwnames
[] = { "self", NULL
};
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) return NULL
;
4912 _resultobj
= _result
;
4917 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4918 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4924 PyObject
* _argo0
= 0;
4925 PyObject
* _obj2
= 0;
4926 char *_kwnames
[] = { "self","choices","pos", NULL
};
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4939 _arg2
= wxString_LIST_helper(_obj2
);
4940 if (_arg2
== NULL
) {
4946 _arg1
= PyList_Size(_obj2
);
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) return NULL
;
4958 } Py_INCREF(Py_None
);
4959 _resultobj
= Py_None
;
4966 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4967 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
* _resultobj
;
4972 PyObject
* _argo0
= 0;
4973 char *_kwnames
[] = { "self","n", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) return NULL
;
4991 } _resultobj
= Py_BuildValue("i",_result
);
4995 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4996 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
5001 PyObject
* _argo0
= 0;
5002 char *_kwnames
[] = { "self","n", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) return NULL
;
5020 } _resultobj
= Py_BuildValue("i",_result
);
5024 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5025 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
* _resultobj
;
5030 PyObject
* _argo0
= 0;
5031 PyObject
* _obj2
= 0;
5032 char *_kwnames
[] = { "self","choices", NULL
};
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5046 _arg2
= wxString_LIST_helper(_obj2
);
5047 if (_arg2
== NULL
) {
5053 _arg1
= PyList_Size(_obj2
);
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) return NULL
;
5065 } Py_INCREF(Py_None
);
5066 _resultobj
= Py_None
;
5073 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5074 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5078 PyObject
* _argo0
= 0;
5079 char *_kwnames
[] = { "self","n", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 wxListBox_SetFirstItem(_arg0
,_arg1
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) return NULL
;
5097 } Py_INCREF(Py_None
);
5098 _resultobj
= Py_None
;
5102 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5103 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5107 PyObject
* _argo0
= 0;
5108 PyObject
* _obj1
= 0;
5109 char *_kwnames
[] = { "self","string", NULL
};
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5122 _arg1
= wxString_in_helper(_obj1
);
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) return NULL
;
5132 } Py_INCREF(Py_None
);
5133 _resultobj
= Py_None
;
5141 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5142 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5146 bool _arg2
= (bool ) TRUE
;
5147 PyObject
* _argo0
= 0;
5148 int tempbool2
= (int) TRUE
;
5149 char *_kwnames
[] = { "self","n","select", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5161 _arg2
= (bool ) tempbool2
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) return NULL
;
5168 } Py_INCREF(Py_None
);
5169 _resultobj
= Py_None
;
5173 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5174 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
* _resultobj
;
5179 PyObject
* _argo0
= 0;
5180 PyObject
* _obj2
= 0;
5181 char *_kwnames
[] = { "self","n","string", NULL
};
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5194 _arg2
= wxString_in_helper(_obj2
);
5199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5202 wxPyEndAllowThreads(__tstate
);
5203 if (PyErr_Occurred()) return NULL
;
5204 } Py_INCREF(Py_None
);
5205 _resultobj
= Py_None
;
5213 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5214 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5218 bool _arg2
= (bool ) TRUE
;
5219 PyObject
* _argo0
= 0;
5220 PyObject
* _obj1
= 0;
5221 int tempbool2
= (int) TRUE
;
5222 char *_kwnames
[] = { "self","string","select", NULL
};
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5235 _arg1
= wxString_in_helper(_obj1
);
5239 _arg2
= (bool ) tempbool2
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) return NULL
;
5246 } Py_INCREF(Py_None
);
5247 _resultobj
= Py_None
;
5255 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5256 wxCheckListBox
*src
;
5258 src
= (wxCheckListBox
*) ptr
;
5259 dest
= (wxListBox
*) src
;
5260 return (void *) dest
;
5263 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5264 wxCheckListBox
*src
;
5265 wxControlWithItems
*dest
;
5266 src
= (wxCheckListBox
*) ptr
;
5267 dest
= (wxControlWithItems
*) src
;
5268 return (void *) dest
;
5271 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5272 wxCheckListBox
*src
;
5274 src
= (wxCheckListBox
*) ptr
;
5275 dest
= (wxControl
*) src
;
5276 return (void *) dest
;
5279 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5280 wxCheckListBox
*src
;
5282 src
= (wxCheckListBox
*) ptr
;
5283 dest
= (wxWindow
*) src
;
5284 return (void *) dest
;
5287 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5288 wxCheckListBox
*src
;
5290 src
= (wxCheckListBox
*) ptr
;
5291 dest
= (wxEvtHandler
*) src
;
5292 return (void *) dest
;
5295 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5296 wxCheckListBox
*src
;
5298 src
= (wxCheckListBox
*) ptr
;
5299 dest
= (wxObject
*) src
;
5300 return (void *) dest
;
5303 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5304 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
* _resultobj
;
5306 wxCheckListBox
* _result
;
5309 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5310 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5311 int _arg4
= (int ) 0;
5312 wxString
* _arg5
= (wxString
*) NULL
;
5313 long _arg6
= (long ) 0;
5314 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5315 char * _arg8
= (char *) "listBox";
5316 PyObject
* _argo0
= 0;
5318 PyObject
* _obj2
= 0;
5320 PyObject
* _obj3
= 0;
5321 PyObject
* _obj5
= 0;
5322 PyObject
* _argo7
= 0;
5323 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5339 if (! wxPoint_helper(_obj2
, &_arg2
))
5345 if (! wxSize_helper(_obj3
, &_arg3
))
5350 _arg5
= wxString_LIST_helper(_obj5
);
5351 if (_arg5
== NULL
) {
5356 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5364 _arg4
= PyList_Size(_obj5
);
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) return NULL
;
5377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5378 _resultobj
= Py_BuildValue("s",_ptemp
);
5381 _resultobj
= Py_None
;
5389 #define new_wxPreCheckListBox() (new wxCheckListBox())
5390 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5392 wxCheckListBox
* _result
;
5393 char *_kwnames
[] = { NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5403 wxPyEndAllowThreads(__tstate
);
5404 if (PyErr_Occurred()) return NULL
;
5406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5407 _resultobj
= Py_BuildValue("s",_ptemp
);
5410 _resultobj
= Py_None
;
5415 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5416 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
* _resultobj
;
5419 wxCheckListBox
* _arg0
;
5422 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5423 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5424 int _arg5
= (int ) 0;
5425 wxString
* _arg6
= (wxString
*) NULL
;
5426 long _arg7
= (long ) 0;
5427 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5428 char * _arg9
= (char *) "listBox";
5429 PyObject
* _argo0
= 0;
5430 PyObject
* _argo1
= 0;
5432 PyObject
* _obj3
= 0;
5434 PyObject
* _obj4
= 0;
5435 PyObject
* _obj6
= 0;
5436 PyObject
* _argo8
= 0;
5437 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5459 if (! wxPoint_helper(_obj3
, &_arg3
))
5465 if (! wxSize_helper(_obj4
, &_arg4
))
5470 _arg6
= wxString_LIST_helper(_obj6
);
5471 if (_arg6
== NULL
) {
5476 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5477 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5484 _arg5
= PyList_Size(_obj6
);
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) return NULL
;
5496 } _resultobj
= Py_BuildValue("i",_result
);
5503 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5504 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5507 wxCheckListBox
* _arg0
;
5509 PyObject
* _argo0
= 0;
5510 char *_kwnames
[] = { "self","uiIndex", NULL
};
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) return NULL
;
5528 } _resultobj
= Py_BuildValue("i",_result
);
5532 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5533 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5535 wxCheckListBox
* _arg0
;
5537 int _arg2
= (int ) TRUE
;
5538 PyObject
* _argo0
= 0;
5539 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) return NULL
;
5557 } Py_INCREF(Py_None
);
5558 _resultobj
= Py_None
;
5562 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5563 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5565 wxCheckListBox
* _arg0
;
5569 PyObject
* _argo0
= 0;
5570 PyObject
* _obj2
= 0;
5571 char *_kwnames
[] = { "self","choices","pos", NULL
};
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5584 _arg2
= wxString_LIST_helper(_obj2
);
5585 if (_arg2
== NULL
) {
5591 _arg1
= PyList_Size(_obj2
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5603 } Py_INCREF(Py_None
);
5604 _resultobj
= Py_None
;
5611 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5612 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
* _resultobj
;
5615 wxCheckListBox
* _arg0
;
5616 PyObject
* _argo0
= 0;
5617 char *_kwnames
[] = { "self", NULL
};
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5631 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5633 wxPyEndAllowThreads(__tstate
);
5634 if (PyErr_Occurred()) return NULL
;
5635 } _resultobj
= Py_BuildValue("i",_result
);
5639 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5640 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5642 wxTextAttr
* _result
;
5643 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5644 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5645 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5647 PyObject
* _obj0
= 0;
5649 PyObject
* _obj1
= 0;
5650 PyObject
* _argo2
= 0;
5651 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5660 if (! wxColour_helper(_obj0
, &_arg0
))
5666 if (! wxColour_helper(_obj1
, &_arg1
))
5670 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5671 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) return NULL
;
5683 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5684 _resultobj
= Py_BuildValue("s",_ptemp
);
5687 _resultobj
= Py_None
;
5692 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5693 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
* _resultobj
;
5696 PyObject
* _argo0
= 0;
5697 char *_kwnames
[] = { "self", NULL
};
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 delete_wxTextAttr(_arg0
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) return NULL
;
5715 } Py_INCREF(Py_None
);
5716 _resultobj
= Py_None
;
5720 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5721 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
* _resultobj
;
5725 PyObject
* _argo0
= 0;
5727 PyObject
* _obj1
= 0;
5728 char *_kwnames
[] = { "self","colText", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5742 if (! wxColour_helper(_obj1
, &_arg1
))
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) return NULL
;
5751 } Py_INCREF(Py_None
);
5752 _resultobj
= Py_None
;
5756 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5757 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5761 PyObject
* _argo0
= 0;
5763 PyObject
* _obj1
= 0;
5764 char *_kwnames
[] = { "self","colBack", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5778 if (! wxColour_helper(_obj1
, &_arg1
))
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) return NULL
;
5787 } Py_INCREF(Py_None
);
5788 _resultobj
= Py_None
;
5792 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5793 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
* _resultobj
;
5797 PyObject
* _argo0
= 0;
5798 PyObject
* _argo1
= 0;
5799 char *_kwnames
[] = { "self","font", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 wxTextAttr_SetFont(_arg0
,*_arg1
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) return NULL
;
5824 } Py_INCREF(Py_None
);
5825 _resultobj
= Py_None
;
5829 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5830 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) return NULL
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5858 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5862 PyObject
* _argo0
= 0;
5863 char *_kwnames
[] = { "self", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) return NULL
;
5881 } _resultobj
= Py_BuildValue("i",_result
);
5885 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5886 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
* _resultobj
;
5890 PyObject
* _argo0
= 0;
5891 char *_kwnames
[] = { "self", NULL
};
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) return NULL
;
5909 } _resultobj
= Py_BuildValue("i",_result
);
5913 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5914 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self", NULL
};
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) return NULL
;
5938 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5939 _resultobj
= Py_BuildValue("s",_ptemp
);
5943 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5944 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
* _resultobj
;
5948 PyObject
* _argo0
= 0;
5949 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) return NULL
;
5968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5969 _resultobj
= Py_BuildValue("s",_ptemp
);
5973 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5974 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
* _resultobj
;
5978 PyObject
* _argo0
= 0;
5979 char *_kwnames
[] = { "self", NULL
};
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) return NULL
;
5998 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5999 _resultobj
= Py_BuildValue("s",_ptemp
);
6003 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6004 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
* _resultobj
;
6008 PyObject
* _argo0
= 0;
6009 char *_kwnames
[] = { "self", NULL
};
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) return NULL
;
6027 } _resultobj
= Py_BuildValue("i",_result
);
6031 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
* _resultobj
;
6033 wxTextAttr
* _result
;
6037 PyObject
* _argo0
= 0;
6038 PyObject
* _argo1
= 0;
6039 PyObject
* _argo2
= 0;
6040 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6054 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6061 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) return NULL
;
6073 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6074 _resultobj
= Py_BuildValue("s",_ptemp
);
6078 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6081 src
= (wxTextCtrl
*) ptr
;
6082 dest
= (wxControl
*) src
;
6083 return (void *) dest
;
6086 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6089 src
= (wxTextCtrl
*) ptr
;
6090 dest
= (wxWindow
*) src
;
6091 return (void *) dest
;
6094 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6097 src
= (wxTextCtrl
*) ptr
;
6098 dest
= (wxEvtHandler
*) src
;
6099 return (void *) dest
;
6102 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6105 src
= (wxTextCtrl
*) ptr
;
6106 dest
= (wxObject
*) src
;
6107 return (void *) dest
;
6110 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6111 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6113 wxTextCtrl
* _result
;
6116 char * _arg2
= (char *) "";
6117 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6118 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6119 long _arg5
= (long ) 0;
6120 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6121 char * _arg7
= (char *) "text";
6122 PyObject
* _argo0
= 0;
6124 PyObject
* _obj3
= 0;
6126 PyObject
* _obj4
= 0;
6127 PyObject
* _argo6
= 0;
6128 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6144 if (! wxPoint_helper(_obj3
, &_arg3
))
6150 if (! wxSize_helper(_obj4
, &_arg4
))
6154 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) return NULL
;
6167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6168 _resultobj
= Py_BuildValue("s",_ptemp
);
6171 _resultobj
= Py_None
;
6176 #define new_wxPreTextCtrl() (new wxTextCtrl())
6177 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6179 wxTextCtrl
* _result
;
6180 char *_kwnames
[] = { NULL
};
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) return NULL
;
6193 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6194 _resultobj
= Py_BuildValue("s",_ptemp
);
6197 _resultobj
= Py_None
;
6202 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6203 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
* _resultobj
;
6209 char * _arg3
= (char *) "";
6210 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6211 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6212 long _arg6
= (long ) 0;
6213 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6214 char * _arg8
= (char *) "text";
6215 PyObject
* _argo0
= 0;
6216 PyObject
* _argo1
= 0;
6218 PyObject
* _obj4
= 0;
6220 PyObject
* _obj5
= 0;
6221 PyObject
* _argo7
= 0;
6222 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6235 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6236 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6244 if (! wxPoint_helper(_obj4
, &_arg4
))
6250 if (! wxSize_helper(_obj5
, &_arg5
))
6254 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) return NULL
;
6266 } _resultobj
= Py_BuildValue("i",_result
);
6270 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6271 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6272 PyObject
* _resultobj
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6296 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6298 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6307 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6308 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6312 PyObject
* _argo0
= 0;
6313 PyObject
* _obj1
= 0;
6314 char *_kwnames
[] = { "self","value", NULL
};
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6327 _arg1
= wxString_in_helper(_obj1
);
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) return NULL
;
6337 } Py_INCREF(Py_None
);
6338 _resultobj
= Py_None
;
6346 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6347 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6348 PyObject
* _resultobj
;
6353 PyObject
* _argo0
= 0;
6354 char *_kwnames
[] = { "self","from","to", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6374 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6376 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6385 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6386 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6391 PyObject
* _argo0
= 0;
6392 char *_kwnames
[] = { "self","lineNo", NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) return NULL
;
6410 } _resultobj
= Py_BuildValue("i",_result
);
6414 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6415 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6420 PyObject
* _argo0
= 0;
6421 char *_kwnames
[] = { "self","lineNo", NULL
};
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) return NULL
;
6441 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6443 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6452 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6453 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6454 PyObject
* _resultobj
;
6457 PyObject
* _argo0
= 0;
6458 char *_kwnames
[] = { "self", NULL
};
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) return NULL
;
6476 } _resultobj
= Py_BuildValue("i",_result
);
6480 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6481 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6485 PyObject
* _argo0
= 0;
6486 char *_kwnames
[] = { "self", NULL
};
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) return NULL
;
6504 } _resultobj
= Py_BuildValue("i",_result
);
6508 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6509 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
* _resultobj
;
6513 PyObject
* _argo0
= 0;
6514 char *_kwnames
[] = { "self", NULL
};
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) return NULL
;
6532 } _resultobj
= Py_BuildValue("i",_result
);
6536 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6537 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) return NULL
;
6569 } Py_INCREF(Py_None
);
6570 _resultobj
= Py_None
;
6573 o
= PyInt_FromLong((long) (*_arg1
));
6574 _resultobj
= t_output_helper(_resultobj
, o
);
6578 o
= PyInt_FromLong((long) (*_arg2
));
6579 _resultobj
= t_output_helper(_resultobj
, o
);
6584 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6585 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
* _resultobj
;
6589 PyObject
* _argo0
= 0;
6590 char *_kwnames
[] = { "self", NULL
};
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6604 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) return NULL
;
6610 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6612 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6621 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6622 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
* _resultobj
;
6625 PyObject
* _argo0
= 0;
6626 char *_kwnames
[] = { "self", NULL
};
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 wxTextCtrl_Clear(_arg0
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) return NULL
;
6644 } Py_INCREF(Py_None
);
6645 _resultobj
= Py_None
;
6649 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6650 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
* _resultobj
;
6656 PyObject
* _argo0
= 0;
6657 PyObject
* _obj3
= 0;
6658 char *_kwnames
[] = { "self","from","to","value", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
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_Replace. Expected _wxTextCtrl_p.");
6671 _arg3
= wxString_in_helper(_obj3
);
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) return NULL
;
6681 } Py_INCREF(Py_None
);
6682 _resultobj
= Py_None
;
6690 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6691 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self","from","to", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) return NULL
;
6715 } Py_INCREF(Py_None
);
6716 _resultobj
= Py_None
;
6720 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6721 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
* _resultobj
;
6726 PyObject
* _argo0
= 0;
6727 PyObject
* _obj1
= 0;
6728 char *_kwnames
[] = { "self","file", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6741 _arg1
= wxString_in_helper(_obj1
);
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } _resultobj
= Py_BuildValue("i",_result
);
6759 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6760 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
* _resultobj
;
6764 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6765 PyObject
* _argo0
= 0;
6766 PyObject
* _obj1
= 0;
6767 char *_kwnames
[] = { "self","file", NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6781 _arg1
= wxString_in_helper(_obj1
);
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) return NULL
;
6791 } _resultobj
= Py_BuildValue("i",_result
);
6799 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6800 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6803 PyObject
* _argo0
= 0;
6804 char *_kwnames
[] = { "self", NULL
};
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 wxTextCtrl_DiscardEdits(_arg0
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) return NULL
;
6822 } Py_INCREF(Py_None
);
6823 _resultobj
= Py_None
;
6827 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6828 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
* _resultobj
;
6831 unsigned long _arg1
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self","len", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) return NULL
;
6851 } Py_INCREF(Py_None
);
6852 _resultobj
= Py_None
;
6856 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6857 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
* _resultobj
;
6861 PyObject
* _argo0
= 0;
6862 PyObject
* _obj1
= 0;
6863 char *_kwnames
[] = { "self","text", NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6876 _arg1
= wxString_in_helper(_obj1
);
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) return NULL
;
6886 } Py_INCREF(Py_None
);
6887 _resultobj
= Py_None
;
6895 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6896 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6900 PyObject
* _argo0
= 0;
6901 PyObject
* _obj1
= 0;
6902 char *_kwnames
[] = { "self","text", NULL
};
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6915 _arg1
= wxString_in_helper(_obj1
);
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) return NULL
;
6925 } Py_INCREF(Py_None
);
6926 _resultobj
= Py_None
;
6934 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6935 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6942 PyObject
* _argo0
= 0;
6943 PyObject
* _argo3
= 0;
6944 char *_kwnames
[] = { "self","start","end","style", NULL
};
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6957 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6958 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6967 wxPyEndAllowThreads(__tstate
);
6968 if (PyErr_Occurred()) return NULL
;
6969 } _resultobj
= Py_BuildValue("i",_result
);
6973 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6974 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
* _resultobj
;
6979 PyObject
* _argo0
= 0;
6980 PyObject
* _argo1
= 0;
6981 char *_kwnames
[] = { "self","style", NULL
};
6984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6994 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) return NULL
;
7006 } _resultobj
= Py_BuildValue("i",_result
);
7010 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7011 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
* _resultobj
;
7013 wxTextAttr
* _result
;
7015 PyObject
* _argo0
= 0;
7016 char *_kwnames
[] = { "self", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7032 _result
= (wxTextAttr
*) &_result_ref
;
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) return NULL
;
7037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7038 _resultobj
= Py_BuildValue("s",_ptemp
);
7041 _resultobj
= Py_None
;
7046 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7047 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self","x","y", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) return NULL
;
7072 } _resultobj
= Py_BuildValue("l",_result
);
7076 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7077 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
* _resultobj
;
7085 PyObject
* _argo0
= 0;
7086 char *_kwnames
[] = { "self","pos", NULL
};
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) return NULL
;
7110 } Py_INCREF(Py_None
);
7111 _resultobj
= Py_None
;
7114 o
= PyInt_FromLong((long) (*_arg2
));
7115 _resultobj
= t_output_helper(_resultobj
, o
);
7119 o
= PyInt_FromLong((long) (*_arg3
));
7120 _resultobj
= t_output_helper(_resultobj
, o
);
7125 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7126 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
* _resultobj
;
7130 PyObject
* _argo0
= 0;
7131 char *_kwnames
[] = { "self","pos", NULL
};
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) return NULL
;
7149 } Py_INCREF(Py_None
);
7150 _resultobj
= Py_None
;
7154 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7155 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7158 PyObject
* _argo0
= 0;
7159 char *_kwnames
[] = { "self", NULL
};
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 wxTextCtrl_Copy(_arg0
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) return NULL
;
7177 } Py_INCREF(Py_None
);
7178 _resultobj
= Py_None
;
7182 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7183 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7201 wxTextCtrl_Cut(_arg0
);
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) return NULL
;
7205 } Py_INCREF(Py_None
);
7206 _resultobj
= Py_None
;
7210 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7211 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7212 PyObject
* _resultobj
;
7214 PyObject
* _argo0
= 0;
7215 char *_kwnames
[] = { "self", NULL
};
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 wxTextCtrl_Paste(_arg0
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) return NULL
;
7233 } Py_INCREF(Py_None
);
7234 _resultobj
= Py_None
;
7238 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7239 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
* _resultobj
;
7243 PyObject
* _argo0
= 0;
7244 char *_kwnames
[] = { "self", NULL
};
7247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7250 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7251 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) return NULL
;
7262 } _resultobj
= Py_BuildValue("i",_result
);
7266 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7267 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
* _resultobj
;
7271 PyObject
* _argo0
= 0;
7272 char *_kwnames
[] = { "self", NULL
};
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) return NULL
;
7290 } _resultobj
= Py_BuildValue("i",_result
);
7294 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7295 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
* _resultobj
;
7299 PyObject
* _argo0
= 0;
7300 char *_kwnames
[] = { "self", NULL
};
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) return NULL
;
7318 } _resultobj
= Py_BuildValue("i",_result
);
7322 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7323 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
* _resultobj
;
7326 PyObject
* _argo0
= 0;
7327 char *_kwnames
[] = { "self", NULL
};
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 wxTextCtrl_Undo(_arg0
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) return NULL
;
7345 } Py_INCREF(Py_None
);
7346 _resultobj
= Py_None
;
7350 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7351 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
* _resultobj
;
7354 PyObject
* _argo0
= 0;
7355 char *_kwnames
[] = { "self", NULL
};
7358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 wxTextCtrl_Redo(_arg0
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) return NULL
;
7373 } Py_INCREF(Py_None
);
7374 _resultobj
= Py_None
;
7378 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7379 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
* _resultobj
;
7383 PyObject
* _argo0
= 0;
7384 char *_kwnames
[] = { "self", NULL
};
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) return NULL
;
7402 } _resultobj
= Py_BuildValue("i",_result
);
7406 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7407 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
* _resultobj
;
7411 PyObject
* _argo0
= 0;
7412 char *_kwnames
[] = { "self", NULL
};
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 } _resultobj
= Py_BuildValue("i",_result
);
7434 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7435 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
* _resultobj
;
7439 PyObject
* _argo0
= 0;
7440 char *_kwnames
[] = { "self","pos", NULL
};
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) return NULL
;
7458 } Py_INCREF(Py_None
);
7459 _resultobj
= Py_None
;
7463 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7464 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
* _resultobj
;
7467 PyObject
* _argo0
= 0;
7468 char *_kwnames
[] = { "self", NULL
};
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) return NULL
;
7486 } Py_INCREF(Py_None
);
7487 _resultobj
= Py_None
;
7491 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7492 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
* _resultobj
;
7496 PyObject
* _argo0
= 0;
7497 char *_kwnames
[] = { "self", NULL
};
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) return NULL
;
7515 } _resultobj
= Py_BuildValue("l",_result
);
7519 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7520 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
* _resultobj
;
7524 PyObject
* _argo0
= 0;
7525 char *_kwnames
[] = { "self", NULL
};
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) return NULL
;
7543 } _resultobj
= Py_BuildValue("l",_result
);
7547 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7548 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
* _resultobj
;
7553 PyObject
* _argo0
= 0;
7554 char *_kwnames
[] = { "self","from","to", NULL
};
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) return NULL
;
7572 } Py_INCREF(Py_None
);
7573 _resultobj
= Py_None
;
7577 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7578 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
* _resultobj
;
7581 PyObject
* _argo0
= 0;
7582 char *_kwnames
[] = { "self", NULL
};
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 wxTextCtrl_SelectAll(_arg0
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) return NULL
;
7600 } Py_INCREF(Py_None
);
7601 _resultobj
= Py_None
;
7605 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7606 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
* _resultobj
;
7610 PyObject
* _argo0
= 0;
7612 char *_kwnames
[] = { "self","editable", NULL
};
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7624 _arg1
= (bool ) tempbool1
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) return NULL
;
7631 } Py_INCREF(Py_None
);
7632 _resultobj
= Py_None
;
7636 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7637 self
->AppendText(text
);
7639 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
* _resultobj
;
7643 PyObject
* _argo0
= 0;
7644 PyObject
* _obj1
= 0;
7645 char *_kwnames
[] = { "self","text", NULL
};
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7658 _arg1
= wxString_in_helper(_obj1
);
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 wxTextCtrl_write(_arg0
,*_arg1
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7668 } Py_INCREF(Py_None
);
7669 _resultobj
= Py_None
;
7677 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7678 return self
->GetValue().Mid(from
, to
-from
);
7680 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
* _resultobj
;
7686 PyObject
* _argo0
= 0;
7687 char *_kwnames
[] = { "self","from","to", NULL
};
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) return NULL
;
7707 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7709 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7718 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7721 src
= (wxScrollBar
*) ptr
;
7722 dest
= (wxControl
*) src
;
7723 return (void *) dest
;
7726 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7729 src
= (wxScrollBar
*) ptr
;
7730 dest
= (wxWindow
*) src
;
7731 return (void *) dest
;
7734 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7737 src
= (wxScrollBar
*) ptr
;
7738 dest
= (wxEvtHandler
*) src
;
7739 return (void *) dest
;
7742 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7745 src
= (wxScrollBar
*) ptr
;
7746 dest
= (wxObject
*) src
;
7747 return (void *) dest
;
7750 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7751 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
* _resultobj
;
7753 wxScrollBar
* _result
;
7755 wxWindowID _arg1
= (wxWindowID
) -1;
7756 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7757 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7758 long _arg4
= (long ) wxSB_HORIZONTAL
;
7759 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7760 char * _arg6
= (char *) "scrollBar";
7761 PyObject
* _argo0
= 0;
7763 PyObject
* _obj2
= 0;
7765 PyObject
* _obj3
= 0;
7766 PyObject
* _argo5
= 0;
7767 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7783 if (! wxPoint_helper(_obj2
, &_arg2
))
7789 if (! wxSize_helper(_obj3
, &_arg3
))
7793 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7794 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) return NULL
;
7806 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7807 _resultobj
= Py_BuildValue("s",_ptemp
);
7810 _resultobj
= Py_None
;
7815 #define new_wxPreScrollBar() (new wxScrollBar())
7816 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7818 wxScrollBar
* _result
;
7819 char *_kwnames
[] = { NULL
};
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) return NULL
;
7832 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7833 _resultobj
= Py_BuildValue("s",_ptemp
);
7836 _resultobj
= Py_None
;
7841 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7842 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7845 wxScrollBar
* _arg0
;
7847 wxWindowID _arg2
= (wxWindowID
) -1;
7848 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7849 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7850 long _arg5
= (long ) wxSB_HORIZONTAL
;
7851 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7852 char * _arg7
= (char *) "scrollBar";
7853 PyObject
* _argo0
= 0;
7854 PyObject
* _argo1
= 0;
7856 PyObject
* _obj3
= 0;
7858 PyObject
* _obj4
= 0;
7859 PyObject
* _argo6
= 0;
7860 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7882 if (! wxPoint_helper(_obj3
, &_arg3
))
7888 if (! wxSize_helper(_obj4
, &_arg4
))
7892 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7893 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) return NULL
;
7904 } _resultobj
= Py_BuildValue("i",_result
);
7908 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7909 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
* _resultobj
;
7912 wxScrollBar
* _arg0
;
7913 PyObject
* _argo0
= 0;
7914 char *_kwnames
[] = { "self", NULL
};
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 _result
= (int )wxScrollBar_GetRange(_arg0
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) return NULL
;
7932 } _resultobj
= Py_BuildValue("i",_result
);
7936 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7937 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
* _resultobj
;
7940 wxScrollBar
* _arg0
;
7941 PyObject
* _argo0
= 0;
7942 char *_kwnames
[] = { "self", NULL
};
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7958 wxPyEndAllowThreads(__tstate
);
7959 if (PyErr_Occurred()) return NULL
;
7960 } _resultobj
= Py_BuildValue("i",_result
);
7964 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7965 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7968 wxScrollBar
* _arg0
;
7969 PyObject
* _argo0
= 0;
7970 char *_kwnames
[] = { "self", NULL
};
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) return NULL
;
7988 } _resultobj
= Py_BuildValue("i",_result
);
7992 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7993 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7994 PyObject
* _resultobj
;
7996 wxScrollBar
* _arg0
;
7997 PyObject
* _argo0
= 0;
7998 char *_kwnames
[] = { "self", NULL
};
8001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) return NULL
;
8016 } _resultobj
= Py_BuildValue("i",_result
);
8020 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8021 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
* _resultobj
;
8024 wxScrollBar
* _arg0
;
8025 PyObject
* _argo0
= 0;
8026 char *_kwnames
[] = { "self", NULL
};
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) return NULL
;
8044 } _resultobj
= Py_BuildValue("i",_result
);
8048 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8049 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
* _resultobj
;
8051 wxScrollBar
* _arg0
;
8053 PyObject
* _argo0
= 0;
8054 char *_kwnames
[] = { "self","viewStart", NULL
};
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) return NULL
;
8072 } Py_INCREF(Py_None
);
8073 _resultobj
= Py_None
;
8077 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8078 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
* _resultobj
;
8080 wxScrollBar
* _arg0
;
8085 bool _arg5
= (bool ) TRUE
;
8086 PyObject
* _argo0
= 0;
8087 int tempbool5
= (int) TRUE
;
8088 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8100 _arg5
= (bool ) tempbool5
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) return NULL
;
8107 } Py_INCREF(Py_None
);
8108 _resultobj
= Py_None
;
8112 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8115 src
= (wxSpinButton
*) ptr
;
8116 dest
= (wxControl
*) src
;
8117 return (void *) dest
;
8120 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8123 src
= (wxSpinButton
*) ptr
;
8124 dest
= (wxWindow
*) src
;
8125 return (void *) dest
;
8128 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8131 src
= (wxSpinButton
*) ptr
;
8132 dest
= (wxEvtHandler
*) src
;
8133 return (void *) dest
;
8136 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8139 src
= (wxSpinButton
*) ptr
;
8140 dest
= (wxObject
*) src
;
8141 return (void *) dest
;
8144 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8145 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
* _resultobj
;
8147 wxSpinButton
* _result
;
8149 wxWindowID _arg1
= (wxWindowID
) -1;
8150 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8151 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8152 long _arg4
= (long ) wxSP_HORIZONTAL
;
8153 char * _arg5
= (char *) "spinButton";
8154 PyObject
* _argo0
= 0;
8156 PyObject
* _obj2
= 0;
8158 PyObject
* _obj3
= 0;
8159 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8175 if (! wxPoint_helper(_obj2
, &_arg2
))
8181 if (! wxSize_helper(_obj3
, &_arg3
))
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) return NULL
;
8191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8192 _resultobj
= Py_BuildValue("s",_ptemp
);
8195 _resultobj
= Py_None
;
8200 #define new_wxPreSpinButton() (new wxSpinButton())
8201 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
* _resultobj
;
8203 wxSpinButton
* _result
;
8204 char *_kwnames
[] = { NULL
};
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) return NULL
;
8217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8218 _resultobj
= Py_BuildValue("s",_ptemp
);
8221 _resultobj
= Py_None
;
8226 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8227 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
* _resultobj
;
8230 wxSpinButton
* _arg0
;
8232 wxWindowID _arg2
= (wxWindowID
) -1;
8233 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8234 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8235 long _arg5
= (long ) wxSP_HORIZONTAL
;
8236 char * _arg6
= (char *) "spinButton";
8237 PyObject
* _argo0
= 0;
8238 PyObject
* _argo1
= 0;
8240 PyObject
* _obj3
= 0;
8242 PyObject
* _obj4
= 0;
8243 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8256 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8265 if (! wxPoint_helper(_obj3
, &_arg3
))
8271 if (! wxSize_helper(_obj4
, &_arg4
))
8275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) return NULL
;
8280 } _resultobj
= Py_BuildValue("i",_result
);
8284 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8285 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
* _resultobj
;
8288 wxSpinButton
* _arg0
;
8289 PyObject
* _argo0
= 0;
8290 char *_kwnames
[] = { "self", NULL
};
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 _result
= (int )wxSpinButton_GetMax(_arg0
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) return NULL
;
8308 } _resultobj
= Py_BuildValue("i",_result
);
8312 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8313 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
* _resultobj
;
8316 wxSpinButton
* _arg0
;
8317 PyObject
* _argo0
= 0;
8318 char *_kwnames
[] = { "self", NULL
};
8321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 _result
= (int )wxSpinButton_GetMin(_arg0
);
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) return NULL
;
8336 } _resultobj
= Py_BuildValue("i",_result
);
8340 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8341 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
* _resultobj
;
8344 wxSpinButton
* _arg0
;
8345 PyObject
* _argo0
= 0;
8346 char *_kwnames
[] = { "self", NULL
};
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 _result
= (int )wxSpinButton_GetValue(_arg0
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) return NULL
;
8364 } _resultobj
= Py_BuildValue("i",_result
);
8368 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8369 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
* _resultobj
;
8371 wxSpinButton
* _arg0
;
8374 PyObject
* _argo0
= 0;
8375 char *_kwnames
[] = { "self","min","max", NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) return NULL
;
8393 } Py_INCREF(Py_None
);
8394 _resultobj
= Py_None
;
8398 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8399 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8401 wxSpinButton
* _arg0
;
8403 PyObject
* _argo0
= 0;
8404 char *_kwnames
[] = { "self","value", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 wxSpinButton_SetValue(_arg0
,_arg1
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) return NULL
;
8422 } Py_INCREF(Py_None
);
8423 _resultobj
= Py_None
;
8427 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8428 wxStaticBitmap
*src
;
8430 src
= (wxStaticBitmap
*) ptr
;
8431 dest
= (wxControl
*) src
;
8432 return (void *) dest
;
8435 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8436 wxStaticBitmap
*src
;
8438 src
= (wxStaticBitmap
*) ptr
;
8439 dest
= (wxWindow
*) src
;
8440 return (void *) dest
;
8443 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8444 wxStaticBitmap
*src
;
8446 src
= (wxStaticBitmap
*) ptr
;
8447 dest
= (wxEvtHandler
*) src
;
8448 return (void *) dest
;
8451 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8452 wxStaticBitmap
*src
;
8454 src
= (wxStaticBitmap
*) ptr
;
8455 dest
= (wxObject
*) src
;
8456 return (void *) dest
;
8459 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8460 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
* _resultobj
;
8462 wxStaticBitmap
* _result
;
8466 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8467 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8468 long _arg5
= (long ) 0;
8469 char * _arg6
= (char *) "staticBitmap";
8470 PyObject
* _argo0
= 0;
8471 PyObject
* _argo2
= 0;
8473 PyObject
* _obj3
= 0;
8475 PyObject
* _obj4
= 0;
8476 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8490 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8499 if (! wxPoint_helper(_obj3
, &_arg3
))
8505 if (! wxSize_helper(_obj4
, &_arg4
))
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) return NULL
;
8515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8516 _resultobj
= Py_BuildValue("s",_ptemp
);
8519 _resultobj
= Py_None
;
8524 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8525 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8526 PyObject
* _resultobj
;
8527 wxStaticBitmap
* _result
;
8528 char *_kwnames
[] = { NULL
};
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) return NULL
;
8541 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8542 _resultobj
= Py_BuildValue("s",_ptemp
);
8545 _resultobj
= Py_None
;
8550 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8551 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
* _resultobj
;
8554 wxStaticBitmap
* _arg0
;
8558 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8559 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8560 long _arg6
= (long ) 0;
8561 char * _arg7
= (char *) "staticBitmap";
8562 PyObject
* _argo0
= 0;
8563 PyObject
* _argo1
= 0;
8564 PyObject
* _argo3
= 0;
8566 PyObject
* _obj4
= 0;
8568 PyObject
* _obj5
= 0;
8569 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8589 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8590 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8598 if (! wxPoint_helper(_obj4
, &_arg4
))
8604 if (! wxSize_helper(_obj5
, &_arg5
))
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) return NULL
;
8613 } _resultobj
= Py_BuildValue("i",_result
);
8617 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8618 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
* _resultobj
;
8621 wxStaticBitmap
* _arg0
;
8622 PyObject
* _argo0
= 0;
8623 char *_kwnames
[] = { "self", NULL
};
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) return NULL
;
8642 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8643 _resultobj
= Py_BuildValue("s",_ptemp
);
8647 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8648 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
* _resultobj
;
8650 wxStaticBitmap
* _arg0
;
8652 PyObject
* _argo0
= 0;
8653 PyObject
* _argo1
= 0;
8654 char *_kwnames
[] = { "self","bitmap", NULL
};
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) return NULL
;
8679 } Py_INCREF(Py_None
);
8680 _resultobj
= Py_None
;
8684 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8685 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
* _resultobj
;
8687 wxStaticBitmap
* _arg0
;
8689 PyObject
* _argo0
= 0;
8690 PyObject
* _argo1
= 0;
8691 char *_kwnames
[] = { "self","icon", NULL
};
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8704 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8705 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) return NULL
;
8716 } Py_INCREF(Py_None
);
8717 _resultobj
= Py_None
;
8721 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8724 src
= (wxRadioBox
*) ptr
;
8725 dest
= (wxControl
*) src
;
8726 return (void *) dest
;
8729 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8732 src
= (wxRadioBox
*) ptr
;
8733 dest
= (wxWindow
*) src
;
8734 return (void *) dest
;
8737 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8740 src
= (wxRadioBox
*) ptr
;
8741 dest
= (wxEvtHandler
*) src
;
8742 return (void *) dest
;
8745 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8748 src
= (wxRadioBox
*) ptr
;
8749 dest
= (wxObject
*) src
;
8750 return (void *) dest
;
8753 #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))
8754 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
* _resultobj
;
8756 wxRadioBox
* _result
;
8760 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8761 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8762 int _arg5
= (int ) 0;
8763 wxString
* _arg6
= (wxString
*) NULL
;
8764 int _arg7
= (int ) 0;
8765 long _arg8
= (long ) wxRA_HORIZONTAL
;
8766 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8767 char * _arg10
= (char *) "radioBox";
8768 PyObject
* _argo0
= 0;
8769 PyObject
* _obj2
= 0;
8771 PyObject
* _obj3
= 0;
8773 PyObject
* _obj4
= 0;
8774 PyObject
* _obj6
= 0;
8775 PyObject
* _argo9
= 0;
8776 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8790 _arg2
= wxString_in_helper(_obj2
);
8797 if (! wxPoint_helper(_obj3
, &_arg3
))
8803 if (! wxSize_helper(_obj4
, &_arg4
))
8808 _arg6
= wxString_LIST_helper(_obj6
);
8809 if (_arg6
== NULL
) {
8814 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8815 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8822 _arg5
= PyList_Size(_obj6
);
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) return NULL
;
8835 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8836 _resultobj
= Py_BuildValue("s",_ptemp
);
8839 _resultobj
= Py_None
;
8851 #define new_wxPreRadioBox() (new wxRadioBox())
8852 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
* _resultobj
;
8854 wxRadioBox
* _result
;
8855 char *_kwnames
[] = { NULL
};
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) return NULL
;
8868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8869 _resultobj
= Py_BuildValue("s",_ptemp
);
8872 _resultobj
= Py_None
;
8877 #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))
8878 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
* _resultobj
;
8885 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8886 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8887 int _arg6
= (int ) 0;
8888 wxString
* _arg7
= (wxString
*) NULL
;
8889 int _arg8
= (int ) 0;
8890 long _arg9
= (long ) wxRA_HORIZONTAL
;
8891 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8892 char * _arg11
= (char *) "radioBox";
8893 PyObject
* _argo0
= 0;
8894 PyObject
* _argo1
= 0;
8895 PyObject
* _obj3
= 0;
8897 PyObject
* _obj4
= 0;
8899 PyObject
* _obj5
= 0;
8900 PyObject
* _obj7
= 0;
8901 PyObject
* _argo10
= 0;
8902 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8922 _arg3
= wxString_in_helper(_obj3
);
8929 if (! wxPoint_helper(_obj4
, &_arg4
))
8935 if (! wxSize_helper(_obj5
, &_arg5
))
8940 _arg7
= wxString_LIST_helper(_obj7
);
8941 if (_arg7
== NULL
) {
8946 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8947 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8954 _arg6
= PyList_Size(_obj7
);
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) return NULL
;
8966 } _resultobj
= Py_BuildValue("i",_result
);
8977 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8978 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
* _resultobj
;
8982 PyObject
* _argo0
= 0;
8984 char *_kwnames
[] = { "self","enable", NULL
};
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8996 _arg1
= (bool ) tempbool1
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 wxRadioBox_Enable(_arg0
,_arg1
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) return NULL
;
9003 } Py_INCREF(Py_None
);
9004 _resultobj
= Py_None
;
9008 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9009 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
* _resultobj
;
9014 PyObject
* _argo0
= 0;
9016 char *_kwnames
[] = { "self","n","enable", NULL
};
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9028 _arg2
= (bool ) tempbool2
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) return NULL
;
9035 } Py_INCREF(Py_None
);
9036 _resultobj
= Py_None
;
9040 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9041 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
* _resultobj
;
9046 PyObject
* _argo0
= 0;
9047 PyObject
* _obj1
= 0;
9048 char *_kwnames
[] = { "self","string", NULL
};
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9061 _arg1
= wxString_in_helper(_obj1
);
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) return NULL
;
9071 } _resultobj
= Py_BuildValue("i",_result
);
9079 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9080 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
* _resultobj
;
9085 PyObject
* _argo0
= 0;
9086 char *_kwnames
[] = { "self","n", NULL
};
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) return NULL
;
9106 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9108 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9117 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9118 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
* _resultobj
;
9123 PyObject
* _argo0
= 0;
9124 char *_kwnames
[] = { "self","item", NULL
};
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
9130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) return NULL
;
9144 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9146 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9155 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9156 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9157 PyObject
* _resultobj
;
9161 PyObject
* _argo0
= 0;
9162 PyObject
* _obj2
= 0;
9163 char *_kwnames
[] = { "self","item","label", NULL
};
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9176 _arg2
= wxString_in_helper(_obj2
);
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) return NULL
;
9186 } Py_INCREF(Py_None
);
9187 _resultobj
= Py_None
;
9195 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9196 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9200 PyObject
* _argo0
= 0;
9201 char *_kwnames
[] = { "self", NULL
};
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) return NULL
;
9219 } _resultobj
= Py_BuildValue("i",_result
);
9223 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9224 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
* _resultobj
;
9228 PyObject
* _argo0
= 0;
9229 char *_kwnames
[] = { "self", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) return NULL
;
9249 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9251 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9260 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9261 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
* _resultobj
;
9265 PyObject
* _argo0
= 0;
9266 char *_kwnames
[] = { "self", NULL
};
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 _result
= (int )wxRadioBox_GetCount(_arg0
);
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) return NULL
;
9284 } _resultobj
= Py_BuildValue("i",_result
);
9288 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9289 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
* _resultobj
;
9293 PyObject
* _argo0
= 0;
9294 char *_kwnames
[] = { "self","n", NULL
};
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 wxRadioBox_SetSelection(_arg0
,_arg1
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) return NULL
;
9312 } Py_INCREF(Py_None
);
9313 _resultobj
= Py_None
;
9317 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9318 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
* _resultobj
;
9322 PyObject
* _argo0
= 0;
9323 PyObject
* _obj1
= 0;
9324 char *_kwnames
[] = { "self","string", NULL
};
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9337 _arg1
= wxString_in_helper(_obj1
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) return NULL
;
9347 } Py_INCREF(Py_None
);
9348 _resultobj
= Py_None
;
9356 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9357 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
* _resultobj
;
9361 PyObject
* _argo0
= 0;
9363 char *_kwnames
[] = { "self","show", NULL
};
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9375 _arg1
= (bool ) tempbool1
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 wxRadioBox_Show(_arg0
,_arg1
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) return NULL
;
9382 } Py_INCREF(Py_None
);
9383 _resultobj
= Py_None
;
9387 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9388 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
* _resultobj
;
9393 PyObject
* _argo0
= 0;
9395 char *_kwnames
[] = { "self","item","show", NULL
};
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9407 _arg2
= (bool ) tempbool2
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) return NULL
;
9414 } Py_INCREF(Py_None
);
9415 _resultobj
= Py_None
;
9419 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9422 src
= (wxRadioButton
*) ptr
;
9423 dest
= (wxControl
*) src
;
9424 return (void *) dest
;
9427 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9430 src
= (wxRadioButton
*) ptr
;
9431 dest
= (wxWindow
*) src
;
9432 return (void *) dest
;
9435 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9438 src
= (wxRadioButton
*) ptr
;
9439 dest
= (wxEvtHandler
*) src
;
9440 return (void *) dest
;
9443 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9446 src
= (wxRadioButton
*) ptr
;
9447 dest
= (wxObject
*) src
;
9448 return (void *) dest
;
9451 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9452 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
* _resultobj
;
9454 wxRadioButton
* _result
;
9458 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9459 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9460 long _arg5
= (long ) 0;
9461 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9462 char * _arg7
= (char *) "radioButton";
9463 PyObject
* _argo0
= 0;
9464 PyObject
* _obj2
= 0;
9466 PyObject
* _obj3
= 0;
9468 PyObject
* _obj4
= 0;
9469 PyObject
* _argo6
= 0;
9470 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9484 _arg2
= wxString_in_helper(_obj2
);
9491 if (! wxPoint_helper(_obj3
, &_arg3
))
9497 if (! wxSize_helper(_obj4
, &_arg4
))
9501 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9502 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9509 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) return NULL
;
9514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9515 _resultobj
= Py_BuildValue("s",_ptemp
);
9518 _resultobj
= Py_None
;
9527 #define new_wxPreRadioButton() (new wxRadioButton())
9528 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9529 PyObject
* _resultobj
;
9530 wxRadioButton
* _result
;
9531 char *_kwnames
[] = { NULL
};
9535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) return NULL
;
9544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9545 _resultobj
= Py_BuildValue("s",_ptemp
);
9548 _resultobj
= Py_None
;
9553 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9554 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
* _resultobj
;
9557 wxRadioButton
* _arg0
;
9561 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9562 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9563 long _arg6
= (long ) 0;
9564 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9565 char * _arg8
= (char *) "radioButton";
9566 PyObject
* _argo0
= 0;
9567 PyObject
* _argo1
= 0;
9568 PyObject
* _obj3
= 0;
9570 PyObject
* _obj4
= 0;
9572 PyObject
* _obj5
= 0;
9573 PyObject
* _argo7
= 0;
9574 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9594 _arg3
= wxString_in_helper(_obj3
);
9601 if (! wxPoint_helper(_obj4
, &_arg4
))
9607 if (! wxSize_helper(_obj5
, &_arg5
))
9611 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9612 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) return NULL
;
9623 } _resultobj
= Py_BuildValue("i",_result
);
9631 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9632 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
* _resultobj
;
9635 wxRadioButton
* _arg0
;
9636 PyObject
* _argo0
= 0;
9637 char *_kwnames
[] = { "self", NULL
};
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) return NULL
;
9655 } _resultobj
= Py_BuildValue("i",_result
);
9659 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9660 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
* _resultobj
;
9662 wxRadioButton
* _arg0
;
9664 PyObject
* _argo0
= 0;
9666 char *_kwnames
[] = { "self","value", NULL
};
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9678 _arg1
= (bool ) tempbool1
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 wxRadioButton_SetValue(_arg0
,_arg1
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) return NULL
;
9685 } Py_INCREF(Py_None
);
9686 _resultobj
= Py_None
;
9690 static void *SwigwxSliderTowxControl(void *ptr
) {
9693 src
= (wxSlider
*) ptr
;
9694 dest
= (wxControl
*) src
;
9695 return (void *) dest
;
9698 static void *SwigwxSliderTowxWindow(void *ptr
) {
9701 src
= (wxSlider
*) ptr
;
9702 dest
= (wxWindow
*) src
;
9703 return (void *) dest
;
9706 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9709 src
= (wxSlider
*) ptr
;
9710 dest
= (wxEvtHandler
*) src
;
9711 return (void *) dest
;
9714 static void *SwigwxSliderTowxObject(void *ptr
) {
9717 src
= (wxSlider
*) ptr
;
9718 dest
= (wxObject
*) src
;
9719 return (void *) dest
;
9722 #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))
9723 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
* _resultobj
;
9731 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9732 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9733 long _arg7
= (long ) wxSL_HORIZONTAL
;
9734 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9735 char * _arg9
= (char *) "slider";
9736 PyObject
* _argo0
= 0;
9738 PyObject
* _obj5
= 0;
9740 PyObject
* _obj6
= 0;
9741 PyObject
* _argo8
= 0;
9742 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9758 if (! wxPoint_helper(_obj5
, &_arg5
))
9764 if (! wxSize_helper(_obj6
, &_arg6
))
9768 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9769 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) return NULL
;
9781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9782 _resultobj
= Py_BuildValue("s",_ptemp
);
9785 _resultobj
= Py_None
;
9790 #define new_wxPreSlider() (new wxSlider())
9791 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
* _resultobj
;
9794 char *_kwnames
[] = { NULL
};
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 _result
= (wxSlider
*)new_wxPreSlider();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) return NULL
;
9807 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9808 _resultobj
= Py_BuildValue("s",_ptemp
);
9811 _resultobj
= Py_None
;
9816 #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))
9817 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
* _resultobj
;
9826 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9827 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9828 long _arg8
= (long ) wxSL_HORIZONTAL
;
9829 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9830 char * _arg10
= (char *) "slider";
9831 PyObject
* _argo0
= 0;
9832 PyObject
* _argo1
= 0;
9834 PyObject
* _obj6
= 0;
9836 PyObject
* _obj7
= 0;
9837 PyObject
* _argo9
= 0;
9838 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9851 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9852 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9860 if (! wxPoint_helper(_obj6
, &_arg6
))
9866 if (! wxSize_helper(_obj7
, &_arg7
))
9870 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9871 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) return NULL
;
9882 } _resultobj
= Py_BuildValue("i",_result
);
9886 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9887 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
* _resultobj
;
9890 PyObject
* _argo0
= 0;
9891 char *_kwnames
[] = { "self", NULL
};
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 wxSlider_ClearSel(_arg0
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) return NULL
;
9909 } Py_INCREF(Py_None
);
9910 _resultobj
= Py_None
;
9914 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9915 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
* _resultobj
;
9918 PyObject
* _argo0
= 0;
9919 char *_kwnames
[] = { "self", NULL
};
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 wxSlider_ClearTicks(_arg0
);
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) return NULL
;
9937 } Py_INCREF(Py_None
);
9938 _resultobj
= Py_None
;
9942 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9943 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
* _resultobj
;
9947 PyObject
* _argo0
= 0;
9948 char *_kwnames
[] = { "self", NULL
};
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
9954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 _result
= (int )wxSlider_GetLineSize(_arg0
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) return NULL
;
9966 } _resultobj
= Py_BuildValue("i",_result
);
9970 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
9971 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
* _resultobj
;
9975 PyObject
* _argo0
= 0;
9976 char *_kwnames
[] = { "self", NULL
};
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
9982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 _result
= (int )wxSlider_GetMax(_arg0
);
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) return NULL
;
9994 } _resultobj
= Py_BuildValue("i",_result
);
9998 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
9999 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
* _resultobj
;
10003 PyObject
* _argo0
= 0;
10004 char *_kwnames
[] = { "self", NULL
};
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 _result
= (int )wxSlider_GetMin(_arg0
);
10020 wxPyEndAllowThreads(__tstate
);
10021 if (PyErr_Occurred()) return NULL
;
10022 } _resultobj
= Py_BuildValue("i",_result
);
10026 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10027 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
* _resultobj
;
10031 PyObject
* _argo0
= 0;
10032 char *_kwnames
[] = { "self", NULL
};
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 _result
= (int )wxSlider_GetPageSize(_arg0
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) return NULL
;
10050 } _resultobj
= Py_BuildValue("i",_result
);
10054 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10055 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
* _resultobj
;
10059 PyObject
* _argo0
= 0;
10060 char *_kwnames
[] = { "self", NULL
};
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10076 wxPyEndAllowThreads(__tstate
);
10077 if (PyErr_Occurred()) return NULL
;
10078 } _resultobj
= Py_BuildValue("i",_result
);
10082 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10083 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
* _resultobj
;
10087 PyObject
* _argo0
= 0;
10088 char *_kwnames
[] = { "self", NULL
};
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 _result
= (int )wxSlider_GetSelStart(_arg0
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) return NULL
;
10106 } _resultobj
= Py_BuildValue("i",_result
);
10110 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10111 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
* _resultobj
;
10115 PyObject
* _argo0
= 0;
10116 char *_kwnames
[] = { "self", NULL
};
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) return NULL
;
10134 } _resultobj
= Py_BuildValue("i",_result
);
10138 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10139 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
* _resultobj
;
10143 PyObject
* _argo0
= 0;
10144 char *_kwnames
[] = { "self", NULL
};
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10160 wxPyEndAllowThreads(__tstate
);
10161 if (PyErr_Occurred()) return NULL
;
10162 } _resultobj
= Py_BuildValue("i",_result
);
10166 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10167 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
* _resultobj
;
10171 PyObject
* _argo0
= 0;
10172 char *_kwnames
[] = { "self", NULL
};
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 _result
= (int )wxSlider_GetValue(_arg0
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) return NULL
;
10190 } _resultobj
= Py_BuildValue("i",_result
);
10194 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10195 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10196 PyObject
* _resultobj
;
10200 PyObject
* _argo0
= 0;
10201 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) return NULL
;
10219 } Py_INCREF(Py_None
);
10220 _resultobj
= Py_None
;
10224 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10225 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
* _resultobj
;
10230 PyObject
* _argo0
= 0;
10231 char *_kwnames
[] = { "self","n","pos", NULL
};
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) return NULL
;
10249 } Py_INCREF(Py_None
);
10250 _resultobj
= Py_None
;
10254 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10255 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
* _resultobj
;
10259 PyObject
* _argo0
= 0;
10260 char *_kwnames
[] = { "self","lineSize", NULL
};
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 wxSlider_SetLineSize(_arg0
,_arg1
);
10276 wxPyEndAllowThreads(__tstate
);
10277 if (PyErr_Occurred()) return NULL
;
10278 } Py_INCREF(Py_None
);
10279 _resultobj
= Py_None
;
10283 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10284 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
* _resultobj
;
10288 PyObject
* _argo0
= 0;
10289 char *_kwnames
[] = { "self","pageSize", NULL
};
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 wxSlider_SetPageSize(_arg0
,_arg1
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) return NULL
;
10307 } Py_INCREF(Py_None
);
10308 _resultobj
= Py_None
;
10312 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10313 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
* _resultobj
;
10318 PyObject
* _argo0
= 0;
10319 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10333 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) return NULL
;
10337 } Py_INCREF(Py_None
);
10338 _resultobj
= Py_None
;
10342 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10343 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
* _resultobj
;
10347 PyObject
* _argo0
= 0;
10348 char *_kwnames
[] = { "self","len", NULL
};
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 wxSlider_SetThumbLength(_arg0
,_arg1
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) return NULL
;
10366 } Py_INCREF(Py_None
);
10367 _resultobj
= Py_None
;
10371 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10372 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
* _resultobj
;
10376 PyObject
* _argo0
= 0;
10377 char *_kwnames
[] = { "self","tickPos", NULL
};
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 wxSlider_SetTick(_arg0
,_arg1
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) return NULL
;
10395 } Py_INCREF(Py_None
);
10396 _resultobj
= Py_None
;
10400 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10401 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
* _resultobj
;
10405 PyObject
* _argo0
= 0;
10406 char *_kwnames
[] = { "self","value", NULL
};
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 wxSlider_SetValue(_arg0
,_arg1
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) return NULL
;
10424 } Py_INCREF(Py_None
);
10425 _resultobj
= Py_None
;
10429 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10431 wxSpinButton
*dest
;
10432 src
= (wxSpinCtrl
*) ptr
;
10433 dest
= (wxSpinButton
*) src
;
10434 return (void *) dest
;
10437 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10440 src
= (wxSpinCtrl
*) ptr
;
10441 dest
= (wxControl
*) src
;
10442 return (void *) dest
;
10445 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10448 src
= (wxSpinCtrl
*) ptr
;
10449 dest
= (wxWindow
*) src
;
10450 return (void *) dest
;
10453 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10455 wxEvtHandler
*dest
;
10456 src
= (wxSpinCtrl
*) ptr
;
10457 dest
= (wxEvtHandler
*) src
;
10458 return (void *) dest
;
10461 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10464 src
= (wxSpinCtrl
*) ptr
;
10465 dest
= (wxObject
*) src
;
10466 return (void *) dest
;
10469 #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))
10470 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
* _resultobj
;
10472 wxSpinCtrl
* _result
;
10474 wxWindowID _arg1
= (wxWindowID
) -1;
10475 char * _arg2
= (char *) "";
10476 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10477 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10478 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10479 int _arg6
= (int ) 0;
10480 int _arg7
= (int ) 100;
10481 int _arg8
= (int ) 0;
10482 char * _arg9
= (char *) "wxSpinCtrl";
10483 PyObject
* _argo0
= 0;
10485 PyObject
* _obj3
= 0;
10487 PyObject
* _obj4
= 0;
10488 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10504 if (! wxPoint_helper(_obj3
, &_arg3
))
10510 if (! wxSize_helper(_obj4
, &_arg4
))
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) return NULL
;
10520 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10521 _resultobj
= Py_BuildValue("s",_ptemp
);
10523 Py_INCREF(Py_None
);
10524 _resultobj
= Py_None
;
10529 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10530 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
* _resultobj
;
10532 wxSpinCtrl
* _result
;
10533 char *_kwnames
[] = { NULL
};
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) return NULL
;
10546 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10547 _resultobj
= Py_BuildValue("s",_ptemp
);
10549 Py_INCREF(Py_None
);
10550 _resultobj
= Py_None
;
10555 #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))
10556 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
* _resultobj
;
10559 wxSpinCtrl
* _arg0
;
10561 wxWindowID _arg2
= (wxWindowID
) -1;
10562 char * _arg3
= (char *) "";
10563 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10564 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10565 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10566 int _arg7
= (int ) 0;
10567 int _arg8
= (int ) 100;
10568 int _arg9
= (int ) 0;
10569 char * _arg10
= (char *) "wxSpinCtrl";
10570 PyObject
* _argo0
= 0;
10571 PyObject
* _argo1
= 0;
10573 PyObject
* _obj4
= 0;
10575 PyObject
* _obj5
= 0;
10576 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10589 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10590 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10598 if (! wxPoint_helper(_obj4
, &_arg4
))
10604 if (! wxSize_helper(_obj5
, &_arg5
))
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) return NULL
;
10613 } _resultobj
= Py_BuildValue("i",_result
);
10617 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10618 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
* _resultobj
;
10621 wxSpinCtrl
* _arg0
;
10622 PyObject
* _argo0
= 0;
10623 char *_kwnames
[] = { "self", NULL
};
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) return NULL
;
10641 } _resultobj
= Py_BuildValue("i",_result
);
10645 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10646 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
* _resultobj
;
10649 wxSpinCtrl
* _arg0
;
10650 PyObject
* _argo0
= 0;
10651 char *_kwnames
[] = { "self", NULL
};
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) return NULL
;
10669 } _resultobj
= Py_BuildValue("i",_result
);
10673 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10674 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
* _resultobj
;
10677 wxSpinCtrl
* _arg0
;
10678 PyObject
* _argo0
= 0;
10679 char *_kwnames
[] = { "self", NULL
};
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) return NULL
;
10697 } _resultobj
= Py_BuildValue("i",_result
);
10701 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10702 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
* _resultobj
;
10704 wxSpinCtrl
* _arg0
;
10707 PyObject
* _argo0
= 0;
10708 char *_kwnames
[] = { "self","min","max", NULL
};
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) return NULL
;
10726 } Py_INCREF(Py_None
);
10727 _resultobj
= Py_None
;
10731 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10732 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
* _resultobj
;
10734 wxSpinCtrl
* _arg0
;
10736 PyObject
* _argo0
= 0;
10737 char *_kwnames
[] = { "self","value", NULL
};
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) return NULL
;
10755 } Py_INCREF(Py_None
);
10756 _resultobj
= Py_None
;
10760 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10761 wxToggleButton
*src
;
10763 src
= (wxToggleButton
*) ptr
;
10764 dest
= (wxControl
*) src
;
10765 return (void *) dest
;
10768 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10769 wxToggleButton
*src
;
10771 src
= (wxToggleButton
*) ptr
;
10772 dest
= (wxWindow
*) src
;
10773 return (void *) dest
;
10776 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10777 wxToggleButton
*src
;
10778 wxEvtHandler
*dest
;
10779 src
= (wxToggleButton
*) ptr
;
10780 dest
= (wxEvtHandler
*) src
;
10781 return (void *) dest
;
10784 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10785 wxToggleButton
*src
;
10787 src
= (wxToggleButton
*) ptr
;
10788 dest
= (wxObject
*) src
;
10789 return (void *) dest
;
10792 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10793 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
* _resultobj
;
10795 wxToggleButton
* _result
;
10799 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10800 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10801 long _arg5
= (long ) 0;
10802 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10803 char * _arg7
= (char *) "toggle";
10804 PyObject
* _argo0
= 0;
10805 PyObject
* _obj2
= 0;
10807 PyObject
* _obj3
= 0;
10809 PyObject
* _obj4
= 0;
10810 PyObject
* _argo6
= 0;
10811 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10825 _arg2
= wxString_in_helper(_obj2
);
10832 if (! wxPoint_helper(_obj3
, &_arg3
))
10838 if (! wxSize_helper(_obj4
, &_arg4
))
10842 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10843 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10850 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
10852 wxPyEndAllowThreads(__tstate
);
10853 if (PyErr_Occurred()) return NULL
;
10855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10856 _resultobj
= Py_BuildValue("s",_ptemp
);
10858 Py_INCREF(Py_None
);
10859 _resultobj
= Py_None
;
10868 #define new_wxPreToggleButton() (new wxToggleButton())
10869 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10871 wxToggleButton
* _result
;
10872 char *_kwnames
[] = { NULL
};
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 _result
= (wxToggleButton
*)new_wxPreToggleButton();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) return NULL
;
10885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10886 _resultobj
= Py_BuildValue("s",_ptemp
);
10888 Py_INCREF(Py_None
);
10889 _resultobj
= Py_None
;
10894 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10895 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
* _resultobj
;
10898 wxToggleButton
* _arg0
;
10902 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10903 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10904 long _arg6
= (long ) 0;
10905 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
10906 char * _arg8
= (char *) "toggle";
10907 PyObject
* _argo0
= 0;
10908 PyObject
* _argo1
= 0;
10909 PyObject
* _obj3
= 0;
10911 PyObject
* _obj4
= 0;
10913 PyObject
* _obj5
= 0;
10914 PyObject
* _argo7
= 0;
10915 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
10921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
10928 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10929 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
10935 _arg3
= wxString_in_helper(_obj3
);
10942 if (! wxPoint_helper(_obj4
, &_arg4
))
10948 if (! wxSize_helper(_obj5
, &_arg5
))
10952 if (_argo7
== Py_None
) { _arg7
= NULL
; }
10953 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
10954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) return NULL
;
10964 } _resultobj
= Py_BuildValue("i",_result
);
10972 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10973 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
* _resultobj
;
10975 wxToggleButton
* _arg0
;
10977 PyObject
* _argo0
= 0;
10979 char *_kwnames
[] = { "self","value", NULL
};
10982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
10991 _arg1
= (bool ) tempbool1
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 wxToggleButton_SetValue(_arg0
,_arg1
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) return NULL
;
10998 } Py_INCREF(Py_None
);
10999 _resultobj
= Py_None
;
11003 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11004 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
* _resultobj
;
11007 wxToggleButton
* _arg0
;
11008 PyObject
* _argo0
= 0;
11009 char *_kwnames
[] = { "self", NULL
};
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) return NULL
;
11027 } _resultobj
= Py_BuildValue("i",_result
);
11031 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11032 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
* _resultobj
;
11034 wxToggleButton
* _arg0
;
11036 PyObject
* _argo0
= 0;
11037 PyObject
* _obj1
= 0;
11038 char *_kwnames
[] = { "self","label", NULL
};
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11051 _arg1
= wxString_in_helper(_obj1
);
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) return NULL
;
11061 } Py_INCREF(Py_None
);
11062 _resultobj
= Py_None
;
11070 static PyMethodDef controlscMethods
[] = {
11071 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxControlWithItems_AppendItems", (PyCFunction
) _wrap_wxControlWithItems_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11343 * This table is used by the pointer type-checker
11345 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11346 { "_signed_long","_long",0},
11347 { "_wxPrintQuality","_wxCoord",0},
11348 { "_wxPrintQuality","_int",0},
11349 { "_wxPrintQuality","_signed_int",0},
11350 { "_wxPrintQuality","_unsigned_int",0},
11351 { "_wxPrintQuality","_wxWindowID",0},
11352 { "_wxPrintQuality","_uint",0},
11353 { "_wxPrintQuality","_EBool",0},
11354 { "_wxPrintQuality","_size_t",0},
11355 { "_wxPrintQuality","_time_t",0},
11356 { "_byte","_unsigned_char",0},
11357 { "_long","_unsigned_long",0},
11358 { "_long","_signed_long",0},
11359 { "_size_t","_wxCoord",0},
11360 { "_size_t","_wxPrintQuality",0},
11361 { "_size_t","_time_t",0},
11362 { "_size_t","_unsigned_int",0},
11363 { "_size_t","_int",0},
11364 { "_size_t","_wxWindowID",0},
11365 { "_size_t","_uint",0},
11366 { "_uint","_wxCoord",0},
11367 { "_uint","_wxPrintQuality",0},
11368 { "_uint","_time_t",0},
11369 { "_uint","_size_t",0},
11370 { "_uint","_unsigned_int",0},
11371 { "_uint","_int",0},
11372 { "_uint","_wxWindowID",0},
11373 { "_wxChar","_char",0},
11374 { "_char","_wxChar",0},
11375 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11376 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11377 { "_EBool","_wxCoord",0},
11378 { "_EBool","_wxPrintQuality",0},
11379 { "_EBool","_signed_int",0},
11380 { "_EBool","_int",0},
11381 { "_EBool","_wxWindowID",0},
11382 { "_unsigned_long","_long",0},
11383 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11384 { "_signed_int","_wxCoord",0},
11385 { "_signed_int","_wxPrintQuality",0},
11386 { "_signed_int","_EBool",0},
11387 { "_signed_int","_wxWindowID",0},
11388 { "_signed_int","_int",0},
11389 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11390 { "_WXTYPE","_short",0},
11391 { "_WXTYPE","_signed_short",0},
11392 { "_WXTYPE","_unsigned_short",0},
11393 { "_unsigned_short","_WXTYPE",0},
11394 { "_unsigned_short","_short",0},
11395 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11396 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11397 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11398 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11399 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11400 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11401 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11402 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11403 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11404 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11405 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11406 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11407 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11408 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11409 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11410 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11411 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11412 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11413 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11414 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11415 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11416 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11417 { "_signed_short","_WXTYPE",0},
11418 { "_signed_short","_short",0},
11419 { "_unsigned_char","_byte",0},
11420 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11421 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11422 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11423 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11424 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11425 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11426 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11427 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11428 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11429 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11430 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11431 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11432 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11433 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11434 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11435 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11436 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11437 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11438 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11439 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11440 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11441 { "_unsigned_int","_wxCoord",0},
11442 { "_unsigned_int","_wxPrintQuality",0},
11443 { "_unsigned_int","_time_t",0},
11444 { "_unsigned_int","_size_t",0},
11445 { "_unsigned_int","_uint",0},
11446 { "_unsigned_int","_wxWindowID",0},
11447 { "_unsigned_int","_int",0},
11448 { "_short","_WXTYPE",0},
11449 { "_short","_unsigned_short",0},
11450 { "_short","_signed_short",0},
11451 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11452 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11453 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11454 { "_wxWindowID","_wxCoord",0},
11455 { "_wxWindowID","_wxPrintQuality",0},
11456 { "_wxWindowID","_time_t",0},
11457 { "_wxWindowID","_size_t",0},
11458 { "_wxWindowID","_EBool",0},
11459 { "_wxWindowID","_uint",0},
11460 { "_wxWindowID","_int",0},
11461 { "_wxWindowID","_signed_int",0},
11462 { "_wxWindowID","_unsigned_int",0},
11463 { "_int","_wxCoord",0},
11464 { "_int","_wxPrintQuality",0},
11465 { "_int","_time_t",0},
11466 { "_int","_size_t",0},
11467 { "_int","_EBool",0},
11468 { "_int","_uint",0},
11469 { "_int","_wxWindowID",0},
11470 { "_int","_unsigned_int",0},
11471 { "_int","_signed_int",0},
11472 { "_time_t","_wxCoord",0},
11473 { "_time_t","_wxPrintQuality",0},
11474 { "_time_t","_unsigned_int",0},
11475 { "_time_t","_int",0},
11476 { "_time_t","_wxWindowID",0},
11477 { "_time_t","_uint",0},
11478 { "_time_t","_size_t",0},
11479 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11480 { "_wxCoord","_int",0},
11481 { "_wxCoord","_signed_int",0},
11482 { "_wxCoord","_unsigned_int",0},
11483 { "_wxCoord","_wxWindowID",0},
11484 { "_wxCoord","_uint",0},
11485 { "_wxCoord","_EBool",0},
11486 { "_wxCoord","_size_t",0},
11487 { "_wxCoord","_time_t",0},
11488 { "_wxCoord","_wxPrintQuality",0},
11489 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11490 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11491 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11492 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11493 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11494 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11495 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11496 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11497 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11498 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11499 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11500 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11501 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11502 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11503 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11504 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11505 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11506 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11507 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11508 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11509 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11510 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11511 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11512 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11513 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11514 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11515 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11516 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11517 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11518 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11519 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11520 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11521 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11522 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11523 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11524 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11525 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11526 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11527 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11528 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11529 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11530 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11531 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11532 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11535 static PyObject
*SWIG_globals
;
11539 SWIGEXPORT(void) initcontrolsc() {
11541 SWIG_globals
= SWIG_newvarlink();
11542 m
= Py_InitModule("controlsc", controlscMethods
);
11543 d
= PyModule_GetDict(m
);
11544 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11545 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11546 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11549 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11550 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);