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 // Put some wx default wxChar* values into wxStrings.
92 static const wxString
wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
93 static const wxString
wxPyEditableListBoxNameStr(wxT("editableListBox"));
95 typedef wxTreeCtrl wxPyTreeCtrl
;
97 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
100 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
101 const wxPoint
& pos
= wxDefaultPosition
,
102 const wxSize
& size
= wxDefaultSize
,
104 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
107 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
109 wxPyBeginBlockThreads();
110 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
111 PyObject
* dcobj
= wxPyMake_wxObject(&dc
);
112 PyObject
* idobj
= wxPyConstructObject((void*)&id
, "wxTreeItemId", FALSE
);
113 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, "wxRect", FALSE
);
114 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
119 wxPyEndBlockThreads();
121 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
129 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr
) {
130 wxDynamicSashSplitEvent
*src
;
131 wxCommandEvent
*dest
;
132 src
= (wxDynamicSashSplitEvent
*) ptr
;
133 dest
= (wxCommandEvent
*) src
;
134 return (void *) dest
;
137 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr
) {
138 wxDynamicSashSplitEvent
*src
;
140 src
= (wxDynamicSashSplitEvent
*) ptr
;
141 dest
= (wxEvent
*) src
;
142 return (void *) dest
;
145 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr
) {
146 wxDynamicSashSplitEvent
*src
;
148 src
= (wxDynamicSashSplitEvent
*) ptr
;
149 dest
= (wxObject
*) src
;
150 return (void *) dest
;
153 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
154 static PyObject
*_wrap_new_wxDynamicSashSplitEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
155 PyObject
* _resultobj
;
156 wxDynamicSashSplitEvent
* _result
;
158 PyObject
* _argo0
= 0;
159 char *_kwnames
[] = { "target", NULL
};
163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashSplitEvent",_kwnames
,&_argo0
))
166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
174 _result
= (wxDynamicSashSplitEvent
*)new_wxDynamicSashSplitEvent(_arg0
);
176 wxPyEndAllowThreads(__tstate
);
177 if (PyErr_Occurred()) return NULL
;
179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashSplitEvent_p");
180 _resultobj
= Py_BuildValue("s",_ptemp
);
183 _resultobj
= Py_None
;
188 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr
) {
189 wxDynamicSashUnifyEvent
*src
;
190 wxCommandEvent
*dest
;
191 src
= (wxDynamicSashUnifyEvent
*) ptr
;
192 dest
= (wxCommandEvent
*) src
;
193 return (void *) dest
;
196 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr
) {
197 wxDynamicSashUnifyEvent
*src
;
199 src
= (wxDynamicSashUnifyEvent
*) ptr
;
200 dest
= (wxEvent
*) src
;
201 return (void *) dest
;
204 static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr
) {
205 wxDynamicSashUnifyEvent
*src
;
207 src
= (wxDynamicSashUnifyEvent
*) ptr
;
208 dest
= (wxObject
*) src
;
209 return (void *) dest
;
212 #define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
213 static PyObject
*_wrap_new_wxDynamicSashUnifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
214 PyObject
* _resultobj
;
215 wxDynamicSashUnifyEvent
* _result
;
217 PyObject
* _argo0
= 0;
218 char *_kwnames
[] = { "target", NULL
};
222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashUnifyEvent",_kwnames
,&_argo0
))
225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
233 _result
= (wxDynamicSashUnifyEvent
*)new_wxDynamicSashUnifyEvent(_arg0
);
235 wxPyEndAllowThreads(__tstate
);
236 if (PyErr_Occurred()) return NULL
;
238 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashUnifyEvent_p");
239 _resultobj
= Py_BuildValue("s",_ptemp
);
242 _resultobj
= Py_None
;
247 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr
) {
248 wxDynamicSashWindow
*src
;
250 src
= (wxDynamicSashWindow
*) ptr
;
251 dest
= (wxWindow
*) src
;
252 return (void *) dest
;
255 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr
) {
256 wxDynamicSashWindow
*src
;
258 src
= (wxDynamicSashWindow
*) ptr
;
259 dest
= (wxEvtHandler
*) src
;
260 return (void *) dest
;
263 static void *SwigwxDynamicSashWindowTowxObject(void *ptr
) {
264 wxDynamicSashWindow
*src
;
266 src
= (wxDynamicSashWindow
*) ptr
;
267 dest
= (wxObject
*) src
;
268 return (void *) dest
;
271 #define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
272 static PyObject
*_wrap_new_wxDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
274 wxDynamicSashWindow
* _result
;
277 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
278 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
279 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
280 wxString
* _arg5
= (wxString
*) &wxPyDynamicSashNameStr
;
281 PyObject
* _argo0
= 0;
283 PyObject
* _obj2
= 0;
285 PyObject
* _obj3
= 0;
286 PyObject
* _obj5
= 0;
287 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxDynamicSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
303 if (! wxPoint_helper(_obj2
, &_arg2
))
309 if (! wxSize_helper(_obj3
, &_arg3
))
314 _arg5
= wxString_in_helper(_obj5
);
319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
320 _result
= (wxDynamicSashWindow
*)new_wxDynamicSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
322 wxPyEndAllowThreads(__tstate
);
323 if (PyErr_Occurred()) return NULL
;
325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
326 _resultobj
= Py_BuildValue("s",_ptemp
);
329 _resultobj
= Py_None
;
338 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
339 static PyObject
*_wrap_new_wxPreDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
340 PyObject
* _resultobj
;
341 wxDynamicSashWindow
* _result
;
342 char *_kwnames
[] = { NULL
};
346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDynamicSashWindow",_kwnames
))
349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
350 _result
= (wxDynamicSashWindow
*)new_wxPreDynamicSashWindow();
352 wxPyEndAllowThreads(__tstate
);
353 if (PyErr_Occurred()) return NULL
;
355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
356 _resultobj
= Py_BuildValue("s",_ptemp
);
359 _resultobj
= Py_None
;
364 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
365 static PyObject
*_wrap_wxDynamicSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
366 PyObject
* _resultobj
;
368 wxDynamicSashWindow
* _arg0
;
371 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
372 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
373 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
374 wxString
* _arg6
= (wxString
*) &wxPyDynamicSashNameStr
;
375 PyObject
* _argo0
= 0;
376 PyObject
* _argo1
= 0;
378 PyObject
* _obj3
= 0;
380 PyObject
* _obj4
= 0;
381 PyObject
* _obj6
= 0;
382 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxDynamicSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
404 if (! wxPoint_helper(_obj3
, &_arg3
))
410 if (! wxSize_helper(_obj4
, &_arg4
))
415 _arg6
= wxString_in_helper(_obj6
);
420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
421 _result
= (bool )wxDynamicSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
423 wxPyEndAllowThreads(__tstate
);
424 if (PyErr_Occurred()) return NULL
;
425 } _resultobj
= Py_BuildValue("i",_result
);
433 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
434 static PyObject
*_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
436 wxScrollBar
* _result
;
437 wxDynamicSashWindow
* _arg0
;
439 PyObject
* _argo0
= 0;
440 PyObject
* _argo1
= 0;
441 char *_kwnames
[] = { "self","child", NULL
};
445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames
,&_argo0
,&_argo1
))
448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
455 if (_argo1
== Py_None
) { _arg1
= NULL
; }
456 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
463 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetHScrollBar(_arg0
,_arg1
);
465 wxPyEndAllowThreads(__tstate
);
466 if (PyErr_Occurred()) return NULL
;
468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
469 _resultobj
= Py_BuildValue("s",_ptemp
);
472 _resultobj
= Py_None
;
477 #define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
478 static PyObject
*_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
479 PyObject
* _resultobj
;
480 wxScrollBar
* _result
;
481 wxDynamicSashWindow
* _arg0
;
483 PyObject
* _argo0
= 0;
484 PyObject
* _argo1
= 0;
485 char *_kwnames
[] = { "self","child", NULL
};
489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames
,&_argo0
,&_argo1
))
492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetVScrollBar(_arg0
,_arg1
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
513 _resultobj
= Py_BuildValue("s",_ptemp
);
516 _resultobj
= Py_None
;
521 static void *SwigwxEditableListBoxTowxPanel(void *ptr
) {
522 wxEditableListBox
*src
;
524 src
= (wxEditableListBox
*) ptr
;
525 dest
= (wxPanel
*) src
;
526 return (void *) dest
;
529 static void *SwigwxEditableListBoxTowxWindow(void *ptr
) {
530 wxEditableListBox
*src
;
532 src
= (wxEditableListBox
*) ptr
;
533 dest
= (wxWindow
*) src
;
534 return (void *) dest
;
537 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr
) {
538 wxEditableListBox
*src
;
540 src
= (wxEditableListBox
*) ptr
;
541 dest
= (wxEvtHandler
*) src
;
542 return (void *) dest
;
545 static void *SwigwxEditableListBoxTowxObject(void *ptr
) {
546 wxEditableListBox
*src
;
548 src
= (wxEditableListBox
*) ptr
;
549 dest
= (wxObject
*) src
;
550 return (void *) dest
;
553 #define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
554 static PyObject
*_wrap_new_wxEditableListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxEditableListBox
* _result
;
560 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
561 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
562 long _arg5
= (long ) (wxEL_ALLOW_NEW
)|(wxEL_ALLOW_EDIT
)|(wxEL_ALLOW_DELETE
);
563 wxString
* _arg6
= (wxString
*) &wxPyEditableListBoxNameStr
;
564 PyObject
* _argo0
= 0;
565 PyObject
* _obj2
= 0;
567 PyObject
* _obj3
= 0;
569 PyObject
* _obj4
= 0;
570 PyObject
* _obj6
= 0;
571 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxEditableListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
585 _arg2
= wxString_in_helper(_obj2
);
592 if (! wxPoint_helper(_obj3
, &_arg3
))
598 if (! wxSize_helper(_obj4
, &_arg4
))
603 _arg6
= wxString_in_helper(_obj6
);
608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
609 _result
= (wxEditableListBox
*)new_wxEditableListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
611 wxPyEndAllowThreads(__tstate
);
612 if (PyErr_Occurred()) return NULL
;
614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEditableListBox_p");
615 _resultobj
= Py_BuildValue("s",_ptemp
);
618 _resultobj
= Py_None
;
631 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
632 static PyObject
*_wrap_wxEditableListBox_SetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 PyObject
* _resultobj
;
634 wxEditableListBox
* _arg0
;
635 wxArrayString
* _arg1
;
636 PyObject
* _argo0
= 0;
637 PyObject
* _obj1
= 0;
638 char *_kwnames
[] = { "self","strings", NULL
};
641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEditableListBox_SetStrings",_kwnames
,&_argo0
,&_obj1
))
644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
651 if (! PySequence_Check(_obj1
)) {
652 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
655 _arg1
= new wxArrayString
;
656 int i
, len
=PySequence_Length(_obj1
);
657 for (i
=0; i
<len
; i
++) {
658 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
660 PyObject
* str
= PyObject_Unicode(item
);
661 _arg1
->Add(PyUnicode_AsUnicode(str
));
663 PyObject
* str
= PyObject_Str(item
);
664 _arg1
->Add(PyString_AsString(str
));
671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
672 wxEditableListBox_SetStrings(_arg0
,*_arg1
);
674 wxPyEndAllowThreads(__tstate
);
675 if (PyErr_Occurred()) return NULL
;
676 } Py_INCREF(Py_None
);
677 _resultobj
= Py_None
;
685 static PyObject
* wxEditableListBox_GetStrings(wxEditableListBox
*self
) {
686 wxArrayString strings
;
687 self
->GetStrings(strings
);
688 return wxArrayString2PyList_helper(strings
);
690 static PyObject
*_wrap_wxEditableListBox_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
693 wxEditableListBox
* _arg0
;
694 PyObject
* _argo0
= 0;
695 char *_kwnames
[] = { "self", NULL
};
698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetStrings",_kwnames
,&_argo0
))
701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
709 _result
= (PyObject
*)wxEditableListBox_GetStrings(_arg0
);
711 wxPyEndAllowThreads(__tstate
);
712 if (PyErr_Occurred()) return NULL
;
714 _resultobj
= _result
;
719 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
720 wxRemotelyScrolledTreeCtrl
*src
;
722 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
723 dest
= (wxPyTreeCtrl
*) src
;
724 return (void *) dest
;
727 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
728 wxRemotelyScrolledTreeCtrl
*src
;
730 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
731 dest
= (wxControl
*) src
;
732 return (void *) dest
;
735 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
736 wxRemotelyScrolledTreeCtrl
*src
;
738 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
739 dest
= (wxWindow
*) src
;
740 return (void *) dest
;
743 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
744 wxRemotelyScrolledTreeCtrl
*src
;
746 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
747 dest
= (wxEvtHandler
*) src
;
748 return (void *) dest
;
751 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
752 wxRemotelyScrolledTreeCtrl
*src
;
754 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
755 dest
= (wxObject
*) src
;
756 return (void *) dest
;
759 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
760 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
762 wxRemotelyScrolledTreeCtrl
* _result
;
765 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
766 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
767 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
768 PyObject
* _argo0
= 0;
770 PyObject
* _obj2
= 0;
772 PyObject
* _obj3
= 0;
773 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
789 if (! wxPoint_helper(_obj2
, &_arg2
))
795 if (! wxSize_helper(_obj3
, &_arg3
))
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) return NULL
;
805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
806 _resultobj
= Py_BuildValue("s",_ptemp
);
809 _resultobj
= Py_None
;
814 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
815 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
816 PyObject
* _resultobj
;
817 wxRemotelyScrolledTreeCtrl
* _arg0
;
818 PyObject
* _argo0
= 0;
819 char *_kwnames
[] = { "self", NULL
};
822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
833 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
835 wxPyEndAllowThreads(__tstate
);
836 if (PyErr_Occurred()) return NULL
;
837 } Py_INCREF(Py_None
);
838 _resultobj
= Py_None
;
842 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
843 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
844 PyObject
* _resultobj
;
845 wxRemotelyScrolledTreeCtrl
* _arg0
;
846 PyObject
* _argo0
= 0;
847 char *_kwnames
[] = { "self", NULL
};
850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
861 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
863 wxPyEndAllowThreads(__tstate
);
864 if (PyErr_Occurred()) return NULL
;
865 } Py_INCREF(Py_None
);
866 _resultobj
= Py_None
;
870 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
871 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
872 PyObject
* _resultobj
;
873 wxScrolledWindow
* _result
;
874 wxRemotelyScrolledTreeCtrl
* _arg0
;
875 PyObject
* _argo0
= 0;
876 char *_kwnames
[] = { "self", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames
,&_argo0
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) return NULL
;
896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
897 _resultobj
= Py_BuildValue("s",_ptemp
);
900 _resultobj
= Py_None
;
905 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
906 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxRemotelyScrolledTreeCtrl
* _arg0
;
911 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
935 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
936 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
938 wxRemotelyScrolledTreeCtrl
* _arg0
;
940 PyObject
* _argo0
= 0;
941 PyObject
* _argo1
= 0;
942 char *_kwnames
[] = { "self","companion", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) return NULL
;
967 } Py_INCREF(Py_None
);
968 _resultobj
= Py_None
;
972 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
973 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
976 wxRemotelyScrolledTreeCtrl
* _arg0
;
977 PyObject
* _argo0
= 0;
978 char *_kwnames
[] = { "self", NULL
};
981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
996 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1000 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
1001 wxPyTreeCompanionWindow
*src
;
1003 src
= (wxPyTreeCompanionWindow
*) ptr
;
1004 dest
= (wxWindow
*) src
;
1005 return (void *) dest
;
1008 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
1009 wxPyTreeCompanionWindow
*src
;
1011 src
= (wxPyTreeCompanionWindow
*) ptr
;
1012 dest
= (wxEvtHandler
*) src
;
1013 return (void *) dest
;
1016 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
1017 wxPyTreeCompanionWindow
*src
;
1019 src
= (wxPyTreeCompanionWindow
*) ptr
;
1020 dest
= (wxObject
*) src
;
1021 return (void *) dest
;
1024 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1025 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1027 wxPyTreeCompanionWindow
* _result
;
1029 wxWindowID _arg1
= (wxWindowID
) -1;
1030 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1031 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1032 long _arg4
= (long ) 0;
1033 PyObject
* _argo0
= 0;
1035 PyObject
* _obj2
= 0;
1037 PyObject
* _obj3
= 0;
1038 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1054 if (! wxPoint_helper(_obj2
, &_arg2
))
1060 if (! wxSize_helper(_obj3
, &_arg3
))
1064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1065 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1067 wxPyEndAllowThreads(__tstate
);
1068 if (PyErr_Occurred()) return NULL
;
1070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1071 _resultobj
= Py_BuildValue("s",_ptemp
);
1074 _resultobj
= Py_None
;
1079 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1080 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1082 wxPyTreeCompanionWindow
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 PyObject
* _obj1
= 0;
1087 PyObject
* _obj2
= 0;
1088 char *_kwnames
[] = { "self","self","_class", NULL
};
1091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1108 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1110 wxPyEndAllowThreads(__tstate
);
1111 if (PyErr_Occurred()) return NULL
;
1112 } Py_INCREF(Py_None
);
1113 _resultobj
= Py_None
;
1117 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1118 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1119 PyObject
* _resultobj
;
1120 wxRemotelyScrolledTreeCtrl
* _result
;
1121 wxPyTreeCompanionWindow
* _arg0
;
1122 PyObject
* _argo0
= 0;
1123 char *_kwnames
[] = { "self", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1138 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1140 wxPyEndAllowThreads(__tstate
);
1141 if (PyErr_Occurred()) return NULL
;
1143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1144 _resultobj
= Py_BuildValue("s",_ptemp
);
1147 _resultobj
= Py_None
;
1152 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1153 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1154 PyObject
* _resultobj
;
1155 wxPyTreeCompanionWindow
* _arg0
;
1156 wxRemotelyScrolledTreeCtrl
* _arg1
;
1157 PyObject
* _argo0
= 0;
1158 PyObject
* _argo1
= 0;
1159 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1180 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1182 wxPyEndAllowThreads(__tstate
);
1183 if (PyErr_Occurred()) return NULL
;
1184 } Py_INCREF(Py_None
);
1185 _resultobj
= Py_None
;
1189 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1190 wxThinSplitterWindow
*src
;
1191 wxSplitterWindow
*dest
;
1192 src
= (wxThinSplitterWindow
*) ptr
;
1193 dest
= (wxSplitterWindow
*) src
;
1194 return (void *) dest
;
1197 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1198 wxThinSplitterWindow
*src
;
1200 src
= (wxThinSplitterWindow
*) ptr
;
1201 dest
= (wxWindow
*) src
;
1202 return (void *) dest
;
1205 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1206 wxThinSplitterWindow
*src
;
1208 src
= (wxThinSplitterWindow
*) ptr
;
1209 dest
= (wxEvtHandler
*) src
;
1210 return (void *) dest
;
1213 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1214 wxThinSplitterWindow
*src
;
1216 src
= (wxThinSplitterWindow
*) ptr
;
1217 dest
= (wxObject
*) src
;
1218 return (void *) dest
;
1221 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1222 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
* _resultobj
;
1224 wxThinSplitterWindow
* _result
;
1226 wxWindowID _arg1
= (wxWindowID
) -1;
1227 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1228 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1229 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1230 PyObject
* _argo0
= 0;
1232 PyObject
* _obj2
= 0;
1234 PyObject
* _obj3
= 0;
1235 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1251 if (! wxPoint_helper(_obj2
, &_arg2
))
1257 if (! wxSize_helper(_obj3
, &_arg3
))
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1268 _resultobj
= Py_BuildValue("s",_ptemp
);
1271 _resultobj
= Py_None
;
1276 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1277 wxSplitterScrolledWindow
*src
;
1278 wxScrolledWindow
*dest
;
1279 src
= (wxSplitterScrolledWindow
*) ptr
;
1280 dest
= (wxScrolledWindow
*) src
;
1281 return (void *) dest
;
1284 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1285 wxSplitterScrolledWindow
*src
;
1287 src
= (wxSplitterScrolledWindow
*) ptr
;
1288 dest
= (wxPanel
*) src
;
1289 return (void *) dest
;
1292 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1293 wxSplitterScrolledWindow
*src
;
1295 src
= (wxSplitterScrolledWindow
*) ptr
;
1296 dest
= (wxWindow
*) src
;
1297 return (void *) dest
;
1300 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1301 wxSplitterScrolledWindow
*src
;
1303 src
= (wxSplitterScrolledWindow
*) ptr
;
1304 dest
= (wxEvtHandler
*) src
;
1305 return (void *) dest
;
1308 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1309 wxSplitterScrolledWindow
*src
;
1311 src
= (wxSplitterScrolledWindow
*) ptr
;
1312 dest
= (wxObject
*) src
;
1313 return (void *) dest
;
1316 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1317 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
* _resultobj
;
1319 wxSplitterScrolledWindow
* _result
;
1321 wxWindowID _arg1
= (wxWindowID
) -1;
1322 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1323 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1324 long _arg4
= (long ) 0;
1325 PyObject
* _argo0
= 0;
1327 PyObject
* _obj2
= 0;
1329 PyObject
* _obj3
= 0;
1330 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1346 if (! wxPoint_helper(_obj2
, &_arg2
))
1352 if (! wxSize_helper(_obj3
, &_arg3
))
1356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1357 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1359 wxPyEndAllowThreads(__tstate
);
1360 if (PyErr_Occurred()) return NULL
;
1362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1363 _resultobj
= Py_BuildValue("s",_ptemp
);
1366 _resultobj
= Py_None
;
1371 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1372 wxLEDNumberCtrl
*src
;
1374 src
= (wxLEDNumberCtrl
*) ptr
;
1375 dest
= (wxControl
*) src
;
1376 return (void *) dest
;
1379 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1380 wxLEDNumberCtrl
*src
;
1382 src
= (wxLEDNumberCtrl
*) ptr
;
1383 dest
= (wxWindow
*) src
;
1384 return (void *) dest
;
1387 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1388 wxLEDNumberCtrl
*src
;
1390 src
= (wxLEDNumberCtrl
*) ptr
;
1391 dest
= (wxEvtHandler
*) src
;
1392 return (void *) dest
;
1395 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1396 wxLEDNumberCtrl
*src
;
1398 src
= (wxLEDNumberCtrl
*) ptr
;
1399 dest
= (wxObject
*) src
;
1400 return (void *) dest
;
1403 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1404 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
* _resultobj
;
1406 wxLEDNumberCtrl
* _result
;
1408 wxWindowID _arg1
= (wxWindowID
) -1;
1409 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1410 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1411 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1412 PyObject
* _argo0
= 0;
1414 PyObject
* _obj2
= 0;
1416 PyObject
* _obj3
= 0;
1417 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1433 if (! wxPoint_helper(_obj2
, &_arg2
))
1439 if (! wxSize_helper(_obj3
, &_arg3
))
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) return NULL
;
1449 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1450 _resultobj
= Py_BuildValue("s",_ptemp
);
1453 _resultobj
= Py_None
;
1458 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1459 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1461 wxLEDNumberCtrl
* _result
;
1462 char *_kwnames
[] = { NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) return NULL
;
1475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1476 _resultobj
= Py_BuildValue("s",_ptemp
);
1479 _resultobj
= Py_None
;
1484 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1485 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1486 PyObject
* _resultobj
;
1488 wxLEDNumberCtrl
* _arg0
;
1490 wxWindowID _arg2
= (wxWindowID
) -1;
1491 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1492 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1493 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1494 PyObject
* _argo0
= 0;
1495 PyObject
* _argo1
= 0;
1497 PyObject
* _obj3
= 0;
1499 PyObject
* _obj4
= 0;
1500 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1522 if (! wxPoint_helper(_obj3
, &_arg3
))
1528 if (! wxSize_helper(_obj4
, &_arg4
))
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) return NULL
;
1537 } _resultobj
= Py_BuildValue("i",_result
);
1541 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1542 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1544 wxLEDValueAlign _result
;
1545 wxLEDNumberCtrl
* _arg0
;
1546 PyObject
* _argo0
= 0;
1547 char *_kwnames
[] = { "self", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) return NULL
;
1565 } _resultobj
= Py_BuildValue("i",_result
);
1569 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1570 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
* _resultobj
;
1573 wxLEDNumberCtrl
* _arg0
;
1574 PyObject
* _argo0
= 0;
1575 char *_kwnames
[] = { "self", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) return NULL
;
1593 } _resultobj
= Py_BuildValue("i",_result
);
1597 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1598 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
* _resultobj
;
1601 wxLEDNumberCtrl
* _arg0
;
1602 PyObject
* _argo0
= 0;
1603 char *_kwnames
[] = { "self", NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1618 _result
= (wxString
*) &_result_ref
;
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1624 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1626 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1632 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1633 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1635 wxLEDNumberCtrl
* _arg0
;
1636 wxLEDValueAlign _arg1
;
1637 bool _arg2
= (bool ) true;
1638 PyObject
* _argo0
= 0;
1639 int tempbool2
= (int) true;
1640 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1652 _arg2
= (bool ) tempbool2
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) return NULL
;
1659 } Py_INCREF(Py_None
);
1660 _resultobj
= Py_None
;
1664 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1665 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1666 PyObject
* _resultobj
;
1667 wxLEDNumberCtrl
* _arg0
;
1669 bool _arg2
= (bool ) true;
1670 PyObject
* _argo0
= 0;
1672 int tempbool2
= (int) true;
1673 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1685 _arg1
= (bool ) tempbool1
;
1686 _arg2
= (bool ) tempbool2
;
1688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1689 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1691 wxPyEndAllowThreads(__tstate
);
1692 if (PyErr_Occurred()) return NULL
;
1693 } Py_INCREF(Py_None
);
1694 _resultobj
= Py_None
;
1698 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1699 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
* _resultobj
;
1701 wxLEDNumberCtrl
* _arg0
;
1703 bool _arg2
= (bool ) true;
1704 PyObject
* _argo0
= 0;
1705 PyObject
* _obj1
= 0;
1706 int tempbool2
= (int) true;
1707 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1720 _arg1
= wxString_in_helper(_obj1
);
1724 _arg2
= (bool ) tempbool2
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) return NULL
;
1731 } Py_INCREF(Py_None
);
1732 _resultobj
= Py_None
;
1740 static PyMethodDef gizmoscMethods
[] = {
1741 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
1742 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1743 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1744 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
1745 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1746 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1747 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1748 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1749 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1750 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1751 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1752 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1753 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1754 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1755 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1756 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1757 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1758 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
1759 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1760 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
1761 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
1762 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1763 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1764 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1765 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
1766 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1767 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1768 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1769 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1770 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1771 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
1772 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
1779 * This table is used by the pointer type-checker
1781 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1782 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
1783 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
1784 { "_signed_long","_long",0},
1785 { "_wxPrintQuality","_wxCoord",0},
1786 { "_wxPrintQuality","_int",0},
1787 { "_wxPrintQuality","_signed_int",0},
1788 { "_wxPrintQuality","_unsigned_int",0},
1789 { "_wxPrintQuality","_wxWindowID",0},
1790 { "_wxPrintQuality","_uint",0},
1791 { "_wxPrintQuality","_EBool",0},
1792 { "_wxPrintQuality","_size_t",0},
1793 { "_wxPrintQuality","_time_t",0},
1794 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
1795 { "_byte","_unsigned_char",0},
1796 { "_long","_unsigned_long",0},
1797 { "_long","_signed_long",0},
1798 { "_size_t","_wxCoord",0},
1799 { "_size_t","_wxPrintQuality",0},
1800 { "_size_t","_time_t",0},
1801 { "_size_t","_unsigned_int",0},
1802 { "_size_t","_int",0},
1803 { "_size_t","_wxWindowID",0},
1804 { "_size_t","_uint",0},
1805 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
1806 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
1807 { "_uint","_wxCoord",0},
1808 { "_uint","_wxPrintQuality",0},
1809 { "_uint","_time_t",0},
1810 { "_uint","_size_t",0},
1811 { "_uint","_unsigned_int",0},
1812 { "_uint","_int",0},
1813 { "_uint","_wxWindowID",0},
1814 { "_wxChar","_char",0},
1815 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
1816 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
1817 { "_char","_wxChar",0},
1818 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1819 { "_EBool","_wxCoord",0},
1820 { "_EBool","_wxPrintQuality",0},
1821 { "_EBool","_signed_int",0},
1822 { "_EBool","_int",0},
1823 { "_EBool","_wxWindowID",0},
1824 { "_unsigned_long","_long",0},
1825 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1826 { "_signed_int","_wxCoord",0},
1827 { "_signed_int","_wxPrintQuality",0},
1828 { "_signed_int","_EBool",0},
1829 { "_signed_int","_wxWindowID",0},
1830 { "_signed_int","_int",0},
1831 { "_WXTYPE","_wxDateTime_t",0},
1832 { "_WXTYPE","_short",0},
1833 { "_WXTYPE","_signed_short",0},
1834 { "_WXTYPE","_unsigned_short",0},
1835 { "_unsigned_short","_wxDateTime_t",0},
1836 { "_unsigned_short","_WXTYPE",0},
1837 { "_unsigned_short","_short",0},
1838 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
1839 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
1840 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
1841 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
1842 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
1843 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
1844 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
1845 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
1846 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
1847 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
1848 { "_signed_short","_WXTYPE",0},
1849 { "_signed_short","_short",0},
1850 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
1851 { "_unsigned_char","_byte",0},
1852 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
1853 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
1854 { "_unsigned_int","_wxCoord",0},
1855 { "_unsigned_int","_wxPrintQuality",0},
1856 { "_unsigned_int","_time_t",0},
1857 { "_unsigned_int","_size_t",0},
1858 { "_unsigned_int","_uint",0},
1859 { "_unsigned_int","_wxWindowID",0},
1860 { "_unsigned_int","_int",0},
1861 { "_short","_wxDateTime_t",0},
1862 { "_short","_WXTYPE",0},
1863 { "_short","_unsigned_short",0},
1864 { "_short","_signed_short",0},
1865 { "_wxWindowID","_wxCoord",0},
1866 { "_wxWindowID","_wxPrintQuality",0},
1867 { "_wxWindowID","_time_t",0},
1868 { "_wxWindowID","_size_t",0},
1869 { "_wxWindowID","_EBool",0},
1870 { "_wxWindowID","_uint",0},
1871 { "_wxWindowID","_int",0},
1872 { "_wxWindowID","_signed_int",0},
1873 { "_wxWindowID","_unsigned_int",0},
1874 { "_int","_wxCoord",0},
1875 { "_int","_wxPrintQuality",0},
1876 { "_int","_time_t",0},
1877 { "_int","_size_t",0},
1878 { "_int","_EBool",0},
1879 { "_int","_uint",0},
1880 { "_int","_wxWindowID",0},
1881 { "_int","_unsigned_int",0},
1882 { "_int","_signed_int",0},
1883 { "_wxDateTime_t","_unsigned_short",0},
1884 { "_wxDateTime_t","_short",0},
1885 { "_wxDateTime_t","_WXTYPE",0},
1886 { "_time_t","_wxCoord",0},
1887 { "_time_t","_wxPrintQuality",0},
1888 { "_time_t","_unsigned_int",0},
1889 { "_time_t","_int",0},
1890 { "_time_t","_wxWindowID",0},
1891 { "_time_t","_uint",0},
1892 { "_time_t","_size_t",0},
1893 { "_wxCoord","_int",0},
1894 { "_wxCoord","_signed_int",0},
1895 { "_wxCoord","_unsigned_int",0},
1896 { "_wxCoord","_wxWindowID",0},
1897 { "_wxCoord","_uint",0},
1898 { "_wxCoord","_EBool",0},
1899 { "_wxCoord","_size_t",0},
1900 { "_wxCoord","_time_t",0},
1901 { "_wxCoord","_wxPrintQuality",0},
1902 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
1903 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
1904 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
1905 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
1906 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
1907 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
1908 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
1909 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
1910 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
1911 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
1912 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
1913 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
1914 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
1915 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
1918 static PyObject
*SWIG_globals
;
1922 SWIGEXPORT(void) initgizmosc() {
1924 SWIG_globals
= SWIG_newvarlink();
1925 m
= Py_InitModule("gizmosc", gizmoscMethods
);
1926 d
= PyModule_GetDict(m
);
1927 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
1928 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
1929 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
1930 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
1931 PyDict_SetItemString(d
,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW
));
1932 PyDict_SetItemString(d
,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT
));
1933 PyDict_SetItemString(d
,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE
));
1934 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
1935 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
1936 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
1937 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
1938 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
1941 wxClassInfo::CleanUpClasses();
1942 wxClassInfo::InitializeClasses();
1944 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
1947 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1948 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);