2 * FILE : contrib/gizmos/gizmos.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 initgizmosc
56 #define SWIG_name "gizmosc"
59 #include <wx/gizmos/dynamicsash.h>
60 #include <wx/gizmos/editlbox.h>
61 #include <wx/gizmos/splittree.h>
62 #include <wx/gizmos/ledctrl.h>
65 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyTuple_Check(target
)) {
77 target
= PyTuple_New(1);
78 PyTuple_SetItem(target
, 0, o2
);
81 PyTuple_SetItem(o3
, 0, o
);
84 target
= PySequence_Concat(o2
, o3
);
91 #if PYTHON_API_VERSION >= 1009
92 static char* wxStringErrorMsg
= "String or Unicode type required";
94 static char* wxStringErrorMsg
= "String type required";
97 typedef wxTreeCtrl wxPyTreeCtrl
;
99 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
102 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
103 const wxPoint
& pos
= wxDefaultPosition
,
104 const wxSize
& size
= wxDefaultSize
,
106 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
109 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
111 wxPyBeginBlockThreads();
112 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
113 PyObject
* dcobj
= wxPyMake_wxObject(&dc
);
114 PyObject
* idobj
= wxPyConstructObject((void*)&id
, "wxTreeItemId", FALSE
);
115 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, "wxRect", FALSE
);
116 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
121 wxPyEndBlockThreads();
123 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
131 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr
) {
132 wxDynamicSashSplitEvent
*src
;
133 wxCommandEvent
*dest
;
134 src
= (wxDynamicSashSplitEvent
*) ptr
;
135 dest
= (wxCommandEvent
*) src
;
136 return (void *) dest
;
139 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr
) {
140 wxDynamicSashSplitEvent
*src
;
142 src
= (wxDynamicSashSplitEvent
*) ptr
;
143 dest
= (wxEvent
*) src
;
144 return (void *) dest
;
147 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr
) {
148 wxDynamicSashSplitEvent
*src
;
150 src
= (wxDynamicSashSplitEvent
*) ptr
;
151 dest
= (wxObject
*) src
;
152 return (void *) dest
;
155 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
156 static PyObject
*_wrap_new_wxDynamicSashSplitEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
158 wxDynamicSashSplitEvent
* _result
;
160 PyObject
* _argo0
= 0;
161 char *_kwnames
[] = { "target", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashSplitEvent",_kwnames
,&_argo0
))
168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
176 _result
= (wxDynamicSashSplitEvent
*)new_wxDynamicSashSplitEvent(_arg0
);
178 wxPyEndAllowThreads(__tstate
);
179 if (PyErr_Occurred()) return NULL
;
181 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashSplitEvent_p");
182 _resultobj
= Py_BuildValue("s",_ptemp
);
185 _resultobj
= Py_None
;
190 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr
) {
191 wxDynamicSashUnifyEvent
*src
;
192 wxCommandEvent
*dest
;
193 src
= (wxDynamicSashUnifyEvent
*) ptr
;
194 dest
= (wxCommandEvent
*) src
;
195 return (void *) dest
;
198 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr
) {
199 wxDynamicSashUnifyEvent
*src
;
201 src
= (wxDynamicSashUnifyEvent
*) ptr
;
202 dest
= (wxEvent
*) src
;
203 return (void *) dest
;
206 static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr
) {
207 wxDynamicSashUnifyEvent
*src
;
209 src
= (wxDynamicSashUnifyEvent
*) ptr
;
210 dest
= (wxObject
*) src
;
211 return (void *) dest
;
214 #define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
215 static PyObject
*_wrap_new_wxDynamicSashUnifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
217 wxDynamicSashUnifyEvent
* _result
;
219 PyObject
* _argo0
= 0;
220 char *_kwnames
[] = { "target", NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashUnifyEvent",_kwnames
,&_argo0
))
227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
235 _result
= (wxDynamicSashUnifyEvent
*)new_wxDynamicSashUnifyEvent(_arg0
);
237 wxPyEndAllowThreads(__tstate
);
238 if (PyErr_Occurred()) return NULL
;
240 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashUnifyEvent_p");
241 _resultobj
= Py_BuildValue("s",_ptemp
);
244 _resultobj
= Py_None
;
249 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr
) {
250 wxDynamicSashWindow
*src
;
252 src
= (wxDynamicSashWindow
*) ptr
;
253 dest
= (wxWindow
*) src
;
254 return (void *) dest
;
257 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr
) {
258 wxDynamicSashWindow
*src
;
260 src
= (wxDynamicSashWindow
*) ptr
;
261 dest
= (wxEvtHandler
*) src
;
262 return (void *) dest
;
265 static void *SwigwxDynamicSashWindowTowxObject(void *ptr
) {
266 wxDynamicSashWindow
*src
;
268 src
= (wxDynamicSashWindow
*) ptr
;
269 dest
= (wxObject
*) src
;
270 return (void *) dest
;
273 #define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
274 static PyObject
*_wrap_new_wxDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
275 PyObject
* _resultobj
;
276 wxDynamicSashWindow
* _result
;
279 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
280 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
281 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
282 char * _arg5
= (char *) "dynamicSashWindow";
283 PyObject
* _argo0
= 0;
285 PyObject
* _obj2
= 0;
287 PyObject
* _obj3
= 0;
288 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxDynamicSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
304 if (! wxPoint_helper(_obj2
, &_arg2
))
310 if (! wxSize_helper(_obj3
, &_arg3
))
314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
315 _result
= (wxDynamicSashWindow
*)new_wxDynamicSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
317 wxPyEndAllowThreads(__tstate
);
318 if (PyErr_Occurred()) return NULL
;
320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
321 _resultobj
= Py_BuildValue("s",_ptemp
);
324 _resultobj
= Py_None
;
329 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
330 static PyObject
*_wrap_new_wxPreDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
331 PyObject
* _resultobj
;
332 wxDynamicSashWindow
* _result
;
333 char *_kwnames
[] = { NULL
};
337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDynamicSashWindow",_kwnames
))
340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
341 _result
= (wxDynamicSashWindow
*)new_wxPreDynamicSashWindow();
343 wxPyEndAllowThreads(__tstate
);
344 if (PyErr_Occurred()) return NULL
;
346 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
347 _resultobj
= Py_BuildValue("s",_ptemp
);
350 _resultobj
= Py_None
;
355 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
356 static PyObject
*_wrap_wxDynamicSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
357 PyObject
* _resultobj
;
359 wxDynamicSashWindow
* _arg0
;
362 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
363 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
364 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
365 char * _arg6
= (char *) "dynamicSashWindow";
366 PyObject
* _argo0
= 0;
367 PyObject
* _argo1
= 0;
369 PyObject
* _obj3
= 0;
371 PyObject
* _obj4
= 0;
372 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxDynamicSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
394 if (! wxPoint_helper(_obj3
, &_arg3
))
400 if (! wxSize_helper(_obj4
, &_arg4
))
404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
405 _result
= (bool )wxDynamicSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
407 wxPyEndAllowThreads(__tstate
);
408 if (PyErr_Occurred()) return NULL
;
409 } _resultobj
= Py_BuildValue("i",_result
);
413 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
414 static PyObject
*_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
416 wxScrollBar
* _result
;
417 wxDynamicSashWindow
* _arg0
;
419 PyObject
* _argo0
= 0;
420 PyObject
* _argo1
= 0;
421 char *_kwnames
[] = { "self","child", NULL
};
425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames
,&_argo0
,&_argo1
))
428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
443 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetHScrollBar(_arg0
,_arg1
);
445 wxPyEndAllowThreads(__tstate
);
446 if (PyErr_Occurred()) return NULL
;
448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
449 _resultobj
= Py_BuildValue("s",_ptemp
);
452 _resultobj
= Py_None
;
457 #define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
458 static PyObject
*_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
459 PyObject
* _resultobj
;
460 wxScrollBar
* _result
;
461 wxDynamicSashWindow
* _arg0
;
463 PyObject
* _argo0
= 0;
464 PyObject
* _argo1
= 0;
465 char *_kwnames
[] = { "self","child", NULL
};
469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames
,&_argo0
,&_argo1
))
472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
479 if (_argo1
== Py_None
) { _arg1
= NULL
; }
480 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
487 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetVScrollBar(_arg0
,_arg1
);
489 wxPyEndAllowThreads(__tstate
);
490 if (PyErr_Occurred()) return NULL
;
492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
493 _resultobj
= Py_BuildValue("s",_ptemp
);
496 _resultobj
= Py_None
;
501 static void *SwigwxEditableListBoxTowxPanel(void *ptr
) {
502 wxEditableListBox
*src
;
504 src
= (wxEditableListBox
*) ptr
;
505 dest
= (wxPanel
*) src
;
506 return (void *) dest
;
509 static void *SwigwxEditableListBoxTowxWindow(void *ptr
) {
510 wxEditableListBox
*src
;
512 src
= (wxEditableListBox
*) ptr
;
513 dest
= (wxWindow
*) src
;
514 return (void *) dest
;
517 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr
) {
518 wxEditableListBox
*src
;
520 src
= (wxEditableListBox
*) ptr
;
521 dest
= (wxEvtHandler
*) src
;
522 return (void *) dest
;
525 static void *SwigwxEditableListBoxTowxObject(void *ptr
) {
526 wxEditableListBox
*src
;
528 src
= (wxEditableListBox
*) ptr
;
529 dest
= (wxObject
*) src
;
530 return (void *) dest
;
533 #define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
534 static PyObject
*_wrap_new_wxEditableListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
536 wxEditableListBox
* _result
;
540 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
541 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
542 char * _arg5
= (char *) "editableListBox";
543 PyObject
* _argo0
= 0;
544 PyObject
* _obj2
= 0;
546 PyObject
* _obj3
= 0;
548 PyObject
* _obj4
= 0;
549 char *_kwnames
[] = { "parent","id","label","pos","size","name", NULL
};
553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOs:new_wxEditableListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
))
556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
563 #if PYTHON_API_VERSION >= 1009
564 char* tmpPtr
; int tmpSize
;
565 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
569 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
571 _arg2
= new wxString(tmpPtr
, tmpSize
);
573 if (!PyString_Check(_obj2
)) {
574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
577 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
583 if (! wxPoint_helper(_obj3
, &_arg3
))
589 if (! wxSize_helper(_obj4
, &_arg4
))
593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
594 _result
= (wxEditableListBox
*)new_wxEditableListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
);
596 wxPyEndAllowThreads(__tstate
);
597 if (PyErr_Occurred()) return NULL
;
599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEditableListBox_p");
600 _resultobj
= Py_BuildValue("s",_ptemp
);
603 _resultobj
= Py_None
;
612 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
613 static PyObject
*_wrap_wxEditableListBox_SetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
614 PyObject
* _resultobj
;
615 wxEditableListBox
* _arg0
;
616 wxArrayString
* _arg1
;
617 PyObject
* _argo0
= 0;
618 PyObject
* _obj1
= 0;
619 char *_kwnames
[] = { "self","strings", NULL
};
622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEditableListBox_SetStrings",_kwnames
,&_argo0
,&_obj1
))
625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
632 if (! PySequence_Check(_obj1
)) {
633 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
636 _arg1
= new wxArrayString
;
637 int i
, len
=PySequence_Length(_obj1
);
638 for (i
=0; i
<len
; i
++) {
639 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
640 PyObject
* str
= PyObject_Str(item
);
641 _arg1
->Add(PyString_AsString(item
));
647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
648 wxEditableListBox_SetStrings(_arg0
,*_arg1
);
650 wxPyEndAllowThreads(__tstate
);
651 if (PyErr_Occurred()) return NULL
;
652 } Py_INCREF(Py_None
);
653 _resultobj
= Py_None
;
661 static PyObject
* wxEditableListBox_GetStrings(wxEditableListBox
*self
) {
662 wxArrayString strings
;
663 self
->GetStrings(strings
);
664 return wxArrayString2PyList_helper(strings
);
666 static PyObject
*_wrap_wxEditableListBox_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
667 PyObject
* _resultobj
;
669 wxEditableListBox
* _arg0
;
670 PyObject
* _argo0
= 0;
671 char *_kwnames
[] = { "self", NULL
};
674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetStrings",_kwnames
,&_argo0
))
677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
685 _result
= (PyObject
*)wxEditableListBox_GetStrings(_arg0
);
687 wxPyEndAllowThreads(__tstate
);
688 if (PyErr_Occurred()) return NULL
;
690 _resultobj
= _result
;
695 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
696 wxRemotelyScrolledTreeCtrl
*src
;
698 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
699 dest
= (wxPyTreeCtrl
*) src
;
700 return (void *) dest
;
703 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
704 wxRemotelyScrolledTreeCtrl
*src
;
706 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
707 dest
= (wxControl
*) src
;
708 return (void *) dest
;
711 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
712 wxRemotelyScrolledTreeCtrl
*src
;
714 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
715 dest
= (wxWindow
*) src
;
716 return (void *) dest
;
719 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
720 wxRemotelyScrolledTreeCtrl
*src
;
722 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
723 dest
= (wxEvtHandler
*) src
;
724 return (void *) dest
;
727 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
728 wxRemotelyScrolledTreeCtrl
*src
;
730 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
731 dest
= (wxObject
*) src
;
732 return (void *) dest
;
735 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
736 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 PyObject
* _resultobj
;
738 wxRemotelyScrolledTreeCtrl
* _result
;
741 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
742 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
743 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
744 PyObject
* _argo0
= 0;
746 PyObject
* _obj2
= 0;
748 PyObject
* _obj3
= 0;
749 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
765 if (! wxPoint_helper(_obj2
, &_arg2
))
771 if (! wxSize_helper(_obj3
, &_arg3
))
775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
776 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
778 wxPyEndAllowThreads(__tstate
);
779 if (PyErr_Occurred()) return NULL
;
781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
782 _resultobj
= Py_BuildValue("s",_ptemp
);
785 _resultobj
= Py_None
;
790 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
791 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
792 PyObject
* _resultobj
;
793 wxRemotelyScrolledTreeCtrl
* _arg0
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
809 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
811 wxPyEndAllowThreads(__tstate
);
812 if (PyErr_Occurred()) return NULL
;
813 } Py_INCREF(Py_None
);
814 _resultobj
= Py_None
;
818 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
819 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
820 PyObject
* _resultobj
;
821 wxRemotelyScrolledTreeCtrl
* _arg0
;
822 PyObject
* _argo0
= 0;
823 char *_kwnames
[] = { "self", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
837 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
839 wxPyEndAllowThreads(__tstate
);
840 if (PyErr_Occurred()) return NULL
;
841 } Py_INCREF(Py_None
);
842 _resultobj
= Py_None
;
846 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
847 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
848 PyObject
* _resultobj
;
849 wxScrolledWindow
* _result
;
850 wxRemotelyScrolledTreeCtrl
* _arg0
;
851 PyObject
* _argo0
= 0;
852 char *_kwnames
[] = { "self", NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames
,&_argo0
))
859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
867 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
869 wxPyEndAllowThreads(__tstate
);
870 if (PyErr_Occurred()) return NULL
;
872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
873 _resultobj
= Py_BuildValue("s",_ptemp
);
876 _resultobj
= Py_None
;
881 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
882 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
883 PyObject
* _resultobj
;
884 wxRemotelyScrolledTreeCtrl
* _arg0
;
887 PyObject
* _argo0
= 0;
888 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
902 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
904 wxPyEndAllowThreads(__tstate
);
905 if (PyErr_Occurred()) return NULL
;
906 } Py_INCREF(Py_None
);
907 _resultobj
= Py_None
;
911 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
912 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
913 PyObject
* _resultobj
;
914 wxRemotelyScrolledTreeCtrl
* _arg0
;
916 PyObject
* _argo0
= 0;
917 PyObject
* _argo1
= 0;
918 char *_kwnames
[] = { "self","companion", NULL
};
921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
931 if (_argo1
== Py_None
) { _arg1
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) return NULL
;
943 } Py_INCREF(Py_None
);
944 _resultobj
= Py_None
;
948 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
949 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
952 wxRemotelyScrolledTreeCtrl
* _arg0
;
953 PyObject
* _argo0
= 0;
954 char *_kwnames
[] = { "self", NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
968 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
970 wxPyEndAllowThreads(__tstate
);
971 if (PyErr_Occurred()) return NULL
;
972 }{ _resultobj
= wxPyMake_wxObject(_result
); }
976 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
977 wxPyTreeCompanionWindow
*src
;
979 src
= (wxPyTreeCompanionWindow
*) ptr
;
980 dest
= (wxWindow
*) src
;
981 return (void *) dest
;
984 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
985 wxPyTreeCompanionWindow
*src
;
987 src
= (wxPyTreeCompanionWindow
*) ptr
;
988 dest
= (wxEvtHandler
*) src
;
989 return (void *) dest
;
992 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
993 wxPyTreeCompanionWindow
*src
;
995 src
= (wxPyTreeCompanionWindow
*) ptr
;
996 dest
= (wxObject
*) src
;
997 return (void *) dest
;
1000 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1001 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1002 PyObject
* _resultobj
;
1003 wxPyTreeCompanionWindow
* _result
;
1005 wxWindowID _arg1
= (wxWindowID
) -1;
1006 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1007 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1008 long _arg4
= (long ) 0;
1009 PyObject
* _argo0
= 0;
1011 PyObject
* _obj2
= 0;
1013 PyObject
* _obj3
= 0;
1014 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1030 if (! wxPoint_helper(_obj2
, &_arg2
))
1036 if (! wxSize_helper(_obj3
, &_arg3
))
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) return NULL
;
1046 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1050 _resultobj
= Py_None
;
1055 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1056 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1057 PyObject
* _resultobj
;
1058 wxPyTreeCompanionWindow
* _arg0
;
1061 PyObject
* _argo0
= 0;
1062 PyObject
* _obj1
= 0;
1063 PyObject
* _obj2
= 0;
1064 char *_kwnames
[] = { "self","self","_class", NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1086 wxPyEndAllowThreads(__tstate
);
1087 if (PyErr_Occurred()) return NULL
;
1088 } Py_INCREF(Py_None
);
1089 _resultobj
= Py_None
;
1093 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1094 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1095 PyObject
* _resultobj
;
1096 wxRemotelyScrolledTreeCtrl
* _result
;
1097 wxPyTreeCompanionWindow
* _arg0
;
1098 PyObject
* _argo0
= 0;
1099 char *_kwnames
[] = { "self", NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) return NULL
;
1119 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1120 _resultobj
= Py_BuildValue("s",_ptemp
);
1123 _resultobj
= Py_None
;
1128 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1129 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1131 wxPyTreeCompanionWindow
* _arg0
;
1132 wxRemotelyScrolledTreeCtrl
* _arg1
;
1133 PyObject
* _argo0
= 0;
1134 PyObject
* _argo1
= 0;
1135 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) return NULL
;
1160 } Py_INCREF(Py_None
);
1161 _resultobj
= Py_None
;
1165 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1166 wxThinSplitterWindow
*src
;
1167 wxSplitterWindow
*dest
;
1168 src
= (wxThinSplitterWindow
*) ptr
;
1169 dest
= (wxSplitterWindow
*) src
;
1170 return (void *) dest
;
1173 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1174 wxThinSplitterWindow
*src
;
1176 src
= (wxThinSplitterWindow
*) ptr
;
1177 dest
= (wxWindow
*) src
;
1178 return (void *) dest
;
1181 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1182 wxThinSplitterWindow
*src
;
1184 src
= (wxThinSplitterWindow
*) ptr
;
1185 dest
= (wxEvtHandler
*) src
;
1186 return (void *) dest
;
1189 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1190 wxThinSplitterWindow
*src
;
1192 src
= (wxThinSplitterWindow
*) ptr
;
1193 dest
= (wxObject
*) src
;
1194 return (void *) dest
;
1197 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1198 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1200 wxThinSplitterWindow
* _result
;
1202 wxWindowID _arg1
= (wxWindowID
) -1;
1203 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1204 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1205 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1206 PyObject
* _argo0
= 0;
1208 PyObject
* _obj2
= 0;
1210 PyObject
* _obj3
= 0;
1211 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1227 if (! wxPoint_helper(_obj2
, &_arg2
))
1233 if (! wxSize_helper(_obj3
, &_arg3
))
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) return NULL
;
1243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1244 _resultobj
= Py_BuildValue("s",_ptemp
);
1247 _resultobj
= Py_None
;
1252 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1253 wxSplitterScrolledWindow
*src
;
1254 wxScrolledWindow
*dest
;
1255 src
= (wxSplitterScrolledWindow
*) ptr
;
1256 dest
= (wxScrolledWindow
*) src
;
1257 return (void *) dest
;
1260 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1261 wxSplitterScrolledWindow
*src
;
1263 src
= (wxSplitterScrolledWindow
*) ptr
;
1264 dest
= (wxPanel
*) src
;
1265 return (void *) dest
;
1268 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1269 wxSplitterScrolledWindow
*src
;
1271 src
= (wxSplitterScrolledWindow
*) ptr
;
1272 dest
= (wxWindow
*) src
;
1273 return (void *) dest
;
1276 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1277 wxSplitterScrolledWindow
*src
;
1279 src
= (wxSplitterScrolledWindow
*) ptr
;
1280 dest
= (wxEvtHandler
*) src
;
1281 return (void *) dest
;
1284 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1285 wxSplitterScrolledWindow
*src
;
1287 src
= (wxSplitterScrolledWindow
*) ptr
;
1288 dest
= (wxObject
*) src
;
1289 return (void *) dest
;
1292 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1293 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1294 PyObject
* _resultobj
;
1295 wxSplitterScrolledWindow
* _result
;
1297 wxWindowID _arg1
= (wxWindowID
) -1;
1298 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1299 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1300 long _arg4
= (long ) 0;
1301 PyObject
* _argo0
= 0;
1303 PyObject
* _obj2
= 0;
1305 PyObject
* _obj3
= 0;
1306 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1322 if (! wxPoint_helper(_obj2
, &_arg2
))
1328 if (! wxSize_helper(_obj3
, &_arg3
))
1332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1333 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1335 wxPyEndAllowThreads(__tstate
);
1336 if (PyErr_Occurred()) return NULL
;
1338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1339 _resultobj
= Py_BuildValue("s",_ptemp
);
1342 _resultobj
= Py_None
;
1347 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1348 wxLEDNumberCtrl
*src
;
1350 src
= (wxLEDNumberCtrl
*) ptr
;
1351 dest
= (wxControl
*) src
;
1352 return (void *) dest
;
1355 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1356 wxLEDNumberCtrl
*src
;
1358 src
= (wxLEDNumberCtrl
*) ptr
;
1359 dest
= (wxWindow
*) src
;
1360 return (void *) dest
;
1363 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1364 wxLEDNumberCtrl
*src
;
1366 src
= (wxLEDNumberCtrl
*) ptr
;
1367 dest
= (wxEvtHandler
*) src
;
1368 return (void *) dest
;
1371 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1372 wxLEDNumberCtrl
*src
;
1374 src
= (wxLEDNumberCtrl
*) ptr
;
1375 dest
= (wxObject
*) src
;
1376 return (void *) dest
;
1379 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1380 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1381 PyObject
* _resultobj
;
1382 wxLEDNumberCtrl
* _result
;
1384 wxWindowID _arg1
= (wxWindowID
) -1;
1385 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1386 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1387 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1388 PyObject
* _argo0
= 0;
1390 PyObject
* _obj2
= 0;
1392 PyObject
* _obj3
= 0;
1393 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1409 if (! wxPoint_helper(_obj2
, &_arg2
))
1415 if (! wxSize_helper(_obj3
, &_arg3
))
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) return NULL
;
1425 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1426 _resultobj
= Py_BuildValue("s",_ptemp
);
1429 _resultobj
= Py_None
;
1434 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1435 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1436 PyObject
* _resultobj
;
1437 wxLEDNumberCtrl
* _result
;
1438 char *_kwnames
[] = { NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1446 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1448 wxPyEndAllowThreads(__tstate
);
1449 if (PyErr_Occurred()) return NULL
;
1451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1452 _resultobj
= Py_BuildValue("s",_ptemp
);
1455 _resultobj
= Py_None
;
1460 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1461 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1462 PyObject
* _resultobj
;
1464 wxLEDNumberCtrl
* _arg0
;
1466 wxWindowID _arg2
= (wxWindowID
) -1;
1467 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1468 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1469 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1470 PyObject
* _argo0
= 0;
1471 PyObject
* _argo1
= 0;
1473 PyObject
* _obj3
= 0;
1475 PyObject
* _obj4
= 0;
1476 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1498 if (! wxPoint_helper(_obj3
, &_arg3
))
1504 if (! wxSize_helper(_obj4
, &_arg4
))
1508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1511 wxPyEndAllowThreads(__tstate
);
1512 if (PyErr_Occurred()) return NULL
;
1513 } _resultobj
= Py_BuildValue("i",_result
);
1517 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1518 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
* _resultobj
;
1520 wxLEDValueAlign _result
;
1521 wxLEDNumberCtrl
* _arg0
;
1522 PyObject
* _argo0
= 0;
1523 char *_kwnames
[] = { "self", NULL
};
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 } _resultobj
= Py_BuildValue("i",_result
);
1545 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1546 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1549 wxLEDNumberCtrl
* _arg0
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1567 wxPyEndAllowThreads(__tstate
);
1568 if (PyErr_Occurred()) return NULL
;
1569 } _resultobj
= Py_BuildValue("i",_result
);
1573 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1574 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1575 PyObject
* _resultobj
;
1577 wxLEDNumberCtrl
* _arg0
;
1578 PyObject
* _argo0
= 0;
1579 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1594 _result
= (wxString
*) &_result_ref
;
1596 wxPyEndAllowThreads(__tstate
);
1597 if (PyErr_Occurred()) return NULL
;
1599 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1604 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1605 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1607 wxLEDNumberCtrl
* _arg0
;
1608 wxLEDValueAlign _arg1
;
1609 bool _arg2
= (bool ) true;
1610 PyObject
* _argo0
= 0;
1611 int tempbool2
= (int) true;
1612 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1624 _arg2
= (bool ) tempbool2
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) return NULL
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1636 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1637 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
* _resultobj
;
1639 wxLEDNumberCtrl
* _arg0
;
1641 bool _arg2
= (bool ) true;
1642 PyObject
* _argo0
= 0;
1644 int tempbool2
= (int) true;
1645 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1657 _arg1
= (bool ) tempbool1
;
1658 _arg2
= (bool ) tempbool2
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) return NULL
;
1665 } Py_INCREF(Py_None
);
1666 _resultobj
= Py_None
;
1670 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1671 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1673 wxLEDNumberCtrl
* _arg0
;
1675 bool _arg2
= (bool ) true;
1676 PyObject
* _argo0
= 0;
1677 PyObject
* _obj1
= 0;
1678 int tempbool2
= (int) true;
1679 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1692 #if PYTHON_API_VERSION >= 1009
1693 char* tmpPtr
; int tmpSize
;
1694 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1695 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1698 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1700 _arg1
= new wxString(tmpPtr
, tmpSize
);
1702 if (!PyString_Check(_obj1
)) {
1703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1706 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1709 _arg2
= (bool ) tempbool2
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) return NULL
;
1716 } Py_INCREF(Py_None
);
1717 _resultobj
= Py_None
;
1725 static PyMethodDef gizmoscMethods
[] = {
1726 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
1727 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1728 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1729 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
1730 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1731 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1732 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1733 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1734 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1735 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1736 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1737 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1738 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1739 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1740 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1741 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1742 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1743 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
1744 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1745 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
1746 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
1747 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1748 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1749 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1750 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
1751 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1752 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1753 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1754 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1755 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1756 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
1757 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
1764 * This table is used by the pointer type-checker
1766 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1767 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
1768 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
1769 { "_signed_long","_long",0},
1770 { "_wxPrintQuality","_wxCoord",0},
1771 { "_wxPrintQuality","_int",0},
1772 { "_wxPrintQuality","_signed_int",0},
1773 { "_wxPrintQuality","_unsigned_int",0},
1774 { "_wxPrintQuality","_wxWindowID",0},
1775 { "_wxPrintQuality","_uint",0},
1776 { "_wxPrintQuality","_EBool",0},
1777 { "_wxPrintQuality","_size_t",0},
1778 { "_wxPrintQuality","_time_t",0},
1779 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
1780 { "_byte","_unsigned_char",0},
1781 { "_long","_unsigned_long",0},
1782 { "_long","_signed_long",0},
1783 { "_size_t","_wxCoord",0},
1784 { "_size_t","_wxPrintQuality",0},
1785 { "_size_t","_time_t",0},
1786 { "_size_t","_unsigned_int",0},
1787 { "_size_t","_int",0},
1788 { "_size_t","_wxWindowID",0},
1789 { "_size_t","_uint",0},
1790 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
1791 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
1792 { "_uint","_wxCoord",0},
1793 { "_uint","_wxPrintQuality",0},
1794 { "_uint","_time_t",0},
1795 { "_uint","_size_t",0},
1796 { "_uint","_unsigned_int",0},
1797 { "_uint","_int",0},
1798 { "_uint","_wxWindowID",0},
1799 { "_wxChar","_char",0},
1800 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
1801 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
1802 { "_char","_wxChar",0},
1803 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1804 { "_EBool","_wxCoord",0},
1805 { "_EBool","_wxPrintQuality",0},
1806 { "_EBool","_signed_int",0},
1807 { "_EBool","_int",0},
1808 { "_EBool","_wxWindowID",0},
1809 { "_unsigned_long","_long",0},
1810 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1811 { "_signed_int","_wxCoord",0},
1812 { "_signed_int","_wxPrintQuality",0},
1813 { "_signed_int","_EBool",0},
1814 { "_signed_int","_wxWindowID",0},
1815 { "_signed_int","_int",0},
1816 { "_WXTYPE","_wxDateTime_t",0},
1817 { "_WXTYPE","_short",0},
1818 { "_WXTYPE","_signed_short",0},
1819 { "_WXTYPE","_unsigned_short",0},
1820 { "_unsigned_short","_wxDateTime_t",0},
1821 { "_unsigned_short","_WXTYPE",0},
1822 { "_unsigned_short","_short",0},
1823 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
1824 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
1825 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
1826 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
1827 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
1828 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
1829 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
1830 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
1831 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
1832 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
1833 { "_signed_short","_WXTYPE",0},
1834 { "_signed_short","_short",0},
1835 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
1836 { "_unsigned_char","_byte",0},
1837 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
1838 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
1839 { "_unsigned_int","_wxCoord",0},
1840 { "_unsigned_int","_wxPrintQuality",0},
1841 { "_unsigned_int","_time_t",0},
1842 { "_unsigned_int","_size_t",0},
1843 { "_unsigned_int","_uint",0},
1844 { "_unsigned_int","_wxWindowID",0},
1845 { "_unsigned_int","_int",0},
1846 { "_short","_wxDateTime_t",0},
1847 { "_short","_WXTYPE",0},
1848 { "_short","_unsigned_short",0},
1849 { "_short","_signed_short",0},
1850 { "_wxWindowID","_wxCoord",0},
1851 { "_wxWindowID","_wxPrintQuality",0},
1852 { "_wxWindowID","_time_t",0},
1853 { "_wxWindowID","_size_t",0},
1854 { "_wxWindowID","_EBool",0},
1855 { "_wxWindowID","_uint",0},
1856 { "_wxWindowID","_int",0},
1857 { "_wxWindowID","_signed_int",0},
1858 { "_wxWindowID","_unsigned_int",0},
1859 { "_int","_wxCoord",0},
1860 { "_int","_wxPrintQuality",0},
1861 { "_int","_time_t",0},
1862 { "_int","_size_t",0},
1863 { "_int","_EBool",0},
1864 { "_int","_uint",0},
1865 { "_int","_wxWindowID",0},
1866 { "_int","_unsigned_int",0},
1867 { "_int","_signed_int",0},
1868 { "_wxDateTime_t","_unsigned_short",0},
1869 { "_wxDateTime_t","_short",0},
1870 { "_wxDateTime_t","_WXTYPE",0},
1871 { "_time_t","_wxCoord",0},
1872 { "_time_t","_wxPrintQuality",0},
1873 { "_time_t","_unsigned_int",0},
1874 { "_time_t","_int",0},
1875 { "_time_t","_wxWindowID",0},
1876 { "_time_t","_uint",0},
1877 { "_time_t","_size_t",0},
1878 { "_wxCoord","_int",0},
1879 { "_wxCoord","_signed_int",0},
1880 { "_wxCoord","_unsigned_int",0},
1881 { "_wxCoord","_wxWindowID",0},
1882 { "_wxCoord","_uint",0},
1883 { "_wxCoord","_EBool",0},
1884 { "_wxCoord","_size_t",0},
1885 { "_wxCoord","_time_t",0},
1886 { "_wxCoord","_wxPrintQuality",0},
1887 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
1888 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
1889 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
1890 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
1891 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
1892 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
1893 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
1894 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
1895 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
1896 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
1897 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
1898 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
1899 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
1900 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
1903 static PyObject
*SWIG_globals
;
1907 SWIGEXPORT(void) initgizmosc() {
1909 SWIG_globals
= SWIG_newvarlink();
1910 m
= Py_InitModule("gizmosc", gizmoscMethods
);
1911 d
= PyModule_GetDict(m
);
1912 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
1913 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
1914 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
1915 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
1916 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
1917 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
1918 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
1919 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
1920 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
1923 wxClassInfo::CleanUpClasses();
1924 wxClassInfo::InitializeClasses();
1926 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
1929 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1930 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);