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 */
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
34 # define SWIGEXPORT(a) a
38 # define SWIGEXPORT(a) a
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
48 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
49 extern PyObject
*SWIG_newvarlink(void);
53 #define SWIG_init initgizmosc
55 #define SWIG_name "gizmosc"
58 #include <wx/gizmos/dynamicsash.h>
59 #include <wx/gizmos/editlbox.h>
60 #include <wx/gizmos/splittree.h>
61 #include <wx/gizmos/ledctrl.h>
62 #include <wx/listctrl.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
, wxT("wxTreeItemId"), FALSE
);
113 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, wxT("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
);
662 PyObject
* str
= PyObject_Str(item
);
664 _arg1
->Add(Py2wxString(str
));
670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
671 wxEditableListBox_SetStrings(_arg0
,*_arg1
);
673 wxPyEndAllowThreads(__tstate
);
674 if (PyErr_Occurred()) return NULL
;
675 } Py_INCREF(Py_None
);
676 _resultobj
= Py_None
;
684 static PyObject
* wxEditableListBox_GetStrings(wxEditableListBox
*self
) {
685 wxArrayString strings
;
686 self
->GetStrings(strings
);
687 return wxArrayString2PyList_helper(strings
);
689 static PyObject
*_wrap_wxEditableListBox_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxEditableListBox
* _arg0
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetStrings",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 _result
= (PyObject
*)wxEditableListBox_GetStrings(_arg0
);
710 wxPyEndAllowThreads(__tstate
);
711 if (PyErr_Occurred()) return NULL
;
713 _resultobj
= _result
;
718 #define wxEditableListBox_GetListCtrl(_swigobj) (_swigobj->GetListCtrl())
719 static PyObject
*_wrap_wxEditableListBox_GetListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
720 PyObject
* _resultobj
;
721 wxListCtrl
* _result
;
722 wxEditableListBox
* _arg0
;
723 PyObject
* _argo0
= 0;
724 char *_kwnames
[] = { "self", NULL
};
727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetListCtrl",_kwnames
,&_argo0
))
730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetListCtrl. Expected _wxEditableListBox_p.");
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 _result
= (wxListCtrl
*)wxEditableListBox_GetListCtrl(_arg0
);
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) return NULL
;
742 }{ _resultobj
= wxPyMake_wxObject(_result
); }
746 #define wxEditableListBox_GetDelButton(_swigobj) (_swigobj->GetDelButton())
747 static PyObject
*_wrap_wxEditableListBox_GetDelButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
748 PyObject
* _resultobj
;
749 wxBitmapButton
* _result
;
750 wxEditableListBox
* _arg0
;
751 PyObject
* _argo0
= 0;
752 char *_kwnames
[] = { "self", NULL
};
755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDelButton",_kwnames
,&_argo0
))
758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDelButton. Expected _wxEditableListBox_p.");
765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
766 _result
= (wxBitmapButton
*)wxEditableListBox_GetDelButton(_arg0
);
768 wxPyEndAllowThreads(__tstate
);
769 if (PyErr_Occurred()) return NULL
;
770 }{ _resultobj
= wxPyMake_wxObject(_result
); }
774 #define wxEditableListBox_GetNewButton(_swigobj) (_swigobj->GetNewButton())
775 static PyObject
*_wrap_wxEditableListBox_GetNewButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
776 PyObject
* _resultobj
;
777 wxBitmapButton
* _result
;
778 wxEditableListBox
* _arg0
;
779 PyObject
* _argo0
= 0;
780 char *_kwnames
[] = { "self", NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetNewButton",_kwnames
,&_argo0
))
786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetNewButton. Expected _wxEditableListBox_p.");
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 _result
= (wxBitmapButton
*)wxEditableListBox_GetNewButton(_arg0
);
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) return NULL
;
798 }{ _resultobj
= wxPyMake_wxObject(_result
); }
802 #define wxEditableListBox_GetUpButton(_swigobj) (_swigobj->GetUpButton())
803 static PyObject
*_wrap_wxEditableListBox_GetUpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
804 PyObject
* _resultobj
;
805 wxBitmapButton
* _result
;
806 wxEditableListBox
* _arg0
;
807 PyObject
* _argo0
= 0;
808 char *_kwnames
[] = { "self", NULL
};
811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetUpButton",_kwnames
,&_argo0
))
814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetUpButton. Expected _wxEditableListBox_p.");
821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
822 _result
= (wxBitmapButton
*)wxEditableListBox_GetUpButton(_arg0
);
824 wxPyEndAllowThreads(__tstate
);
825 if (PyErr_Occurred()) return NULL
;
826 }{ _resultobj
= wxPyMake_wxObject(_result
); }
830 #define wxEditableListBox_GetDownButton(_swigobj) (_swigobj->GetDownButton())
831 static PyObject
*_wrap_wxEditableListBox_GetDownButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
832 PyObject
* _resultobj
;
833 wxBitmapButton
* _result
;
834 wxEditableListBox
* _arg0
;
835 PyObject
* _argo0
= 0;
836 char *_kwnames
[] = { "self", NULL
};
839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDownButton",_kwnames
,&_argo0
))
842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDownButton. Expected _wxEditableListBox_p.");
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 _result
= (wxBitmapButton
*)wxEditableListBox_GetDownButton(_arg0
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) return NULL
;
854 }{ _resultobj
= wxPyMake_wxObject(_result
); }
858 #define wxEditableListBox_GetEditButton(_swigobj) (_swigobj->GetEditButton())
859 static PyObject
*_wrap_wxEditableListBox_GetEditButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
860 PyObject
* _resultobj
;
861 wxBitmapButton
* _result
;
862 wxEditableListBox
* _arg0
;
863 PyObject
* _argo0
= 0;
864 char *_kwnames
[] = { "self", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetEditButton",_kwnames
,&_argo0
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetEditButton. Expected _wxEditableListBox_p.");
877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
878 _result
= (wxBitmapButton
*)wxEditableListBox_GetEditButton(_arg0
);
880 wxPyEndAllowThreads(__tstate
);
881 if (PyErr_Occurred()) return NULL
;
882 }{ _resultobj
= wxPyMake_wxObject(_result
); }
886 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
887 wxRemotelyScrolledTreeCtrl
*src
;
889 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
890 dest
= (wxPyTreeCtrl
*) src
;
891 return (void *) dest
;
894 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
895 wxRemotelyScrolledTreeCtrl
*src
;
897 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
898 dest
= (wxControl
*) src
;
899 return (void *) dest
;
902 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
903 wxRemotelyScrolledTreeCtrl
*src
;
905 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
906 dest
= (wxWindow
*) src
;
907 return (void *) dest
;
910 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
911 wxRemotelyScrolledTreeCtrl
*src
;
913 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
914 dest
= (wxEvtHandler
*) src
;
915 return (void *) dest
;
918 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
919 wxRemotelyScrolledTreeCtrl
*src
;
921 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
922 dest
= (wxObject
*) src
;
923 return (void *) dest
;
926 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
927 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
929 wxRemotelyScrolledTreeCtrl
* _result
;
932 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
933 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
934 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
935 PyObject
* _argo0
= 0;
937 PyObject
* _obj2
= 0;
939 PyObject
* _obj3
= 0;
940 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
956 if (! wxPoint_helper(_obj2
, &_arg2
))
962 if (! wxSize_helper(_obj3
, &_arg3
))
966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
967 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
969 wxPyEndAllowThreads(__tstate
);
970 if (PyErr_Occurred()) return NULL
;
972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
973 _resultobj
= Py_BuildValue("s",_ptemp
);
976 _resultobj
= Py_None
;
981 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
982 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
983 PyObject
* _resultobj
;
984 wxRemotelyScrolledTreeCtrl
* _arg0
;
985 PyObject
* _argo0
= 0;
986 char *_kwnames
[] = { "self", NULL
};
989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1000 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
1002 wxPyEndAllowThreads(__tstate
);
1003 if (PyErr_Occurred()) return NULL
;
1004 } Py_INCREF(Py_None
);
1005 _resultobj
= Py_None
;
1009 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
1010 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
* _resultobj
;
1012 wxRemotelyScrolledTreeCtrl
* _arg0
;
1013 PyObject
* _argo0
= 0;
1014 char *_kwnames
[] = { "self", NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
1020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
1027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1028 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
1030 wxPyEndAllowThreads(__tstate
);
1031 if (PyErr_Occurred()) return NULL
;
1032 } Py_INCREF(Py_None
);
1033 _resultobj
= Py_None
;
1037 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
1038 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1040 wxScrolledWindow
* _result
;
1041 wxRemotelyScrolledTreeCtrl
* _arg0
;
1042 PyObject
* _argo0
= 0;
1043 char *_kwnames
[] = { "self", NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames
,&_argo0
))
1050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1058 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
1060 wxPyEndAllowThreads(__tstate
);
1061 if (PyErr_Occurred()) return NULL
;
1063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
1064 _resultobj
= Py_BuildValue("s",_ptemp
);
1067 _resultobj
= Py_None
;
1072 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
1073 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1074 PyObject
* _resultobj
;
1075 wxRemotelyScrolledTreeCtrl
* _arg0
;
1078 PyObject
* _argo0
= 0;
1079 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
1082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
1092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1093 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
1095 wxPyEndAllowThreads(__tstate
);
1096 if (PyErr_Occurred()) return NULL
;
1097 } Py_INCREF(Py_None
);
1098 _resultobj
= Py_None
;
1102 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
1103 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1105 wxRemotelyScrolledTreeCtrl
* _arg0
;
1107 PyObject
* _argo0
= 0;
1108 PyObject
* _argo1
= 0;
1109 char *_kwnames
[] = { "self","companion", NULL
};
1112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
1115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
1129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1130 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
1132 wxPyEndAllowThreads(__tstate
);
1133 if (PyErr_Occurred()) return NULL
;
1134 } Py_INCREF(Py_None
);
1135 _resultobj
= Py_None
;
1139 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
1140 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
* _resultobj
;
1143 wxRemotelyScrolledTreeCtrl
* _arg0
;
1144 PyObject
* _argo0
= 0;
1145 char *_kwnames
[] = { "self", NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
1151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) return NULL
;
1163 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1167 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
1168 wxPyTreeCompanionWindow
*src
;
1170 src
= (wxPyTreeCompanionWindow
*) ptr
;
1171 dest
= (wxWindow
*) src
;
1172 return (void *) dest
;
1175 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
1176 wxPyTreeCompanionWindow
*src
;
1178 src
= (wxPyTreeCompanionWindow
*) ptr
;
1179 dest
= (wxEvtHandler
*) src
;
1180 return (void *) dest
;
1183 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
1184 wxPyTreeCompanionWindow
*src
;
1186 src
= (wxPyTreeCompanionWindow
*) ptr
;
1187 dest
= (wxObject
*) src
;
1188 return (void *) dest
;
1191 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1192 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1194 wxPyTreeCompanionWindow
* _result
;
1196 wxWindowID _arg1
= (wxWindowID
) -1;
1197 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1198 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1199 long _arg4
= (long ) 0;
1200 PyObject
* _argo0
= 0;
1202 PyObject
* _obj2
= 0;
1204 PyObject
* _obj3
= 0;
1205 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1221 if (! wxPoint_helper(_obj2
, &_arg2
))
1227 if (! wxSize_helper(_obj3
, &_arg3
))
1231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1232 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1234 wxPyEndAllowThreads(__tstate
);
1235 if (PyErr_Occurred()) return NULL
;
1237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1238 _resultobj
= Py_BuildValue("s",_ptemp
);
1241 _resultobj
= Py_None
;
1246 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1247 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1248 PyObject
* _resultobj
;
1249 wxPyTreeCompanionWindow
* _arg0
;
1252 PyObject
* _argo0
= 0;
1253 PyObject
* _obj1
= 0;
1254 PyObject
* _obj2
= 0;
1255 char *_kwnames
[] = { "self","self","_class", NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) return NULL
;
1279 } Py_INCREF(Py_None
);
1280 _resultobj
= Py_None
;
1284 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1285 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
* _resultobj
;
1287 wxRemotelyScrolledTreeCtrl
* _result
;
1288 wxPyTreeCompanionWindow
* _arg0
;
1289 PyObject
* _argo0
= 0;
1290 char *_kwnames
[] = { "self", NULL
};
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) return NULL
;
1310 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1311 _resultobj
= Py_BuildValue("s",_ptemp
);
1314 _resultobj
= Py_None
;
1319 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1320 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1322 wxPyTreeCompanionWindow
* _arg0
;
1323 wxRemotelyScrolledTreeCtrl
* _arg1
;
1324 PyObject
* _argo0
= 0;
1325 PyObject
* _argo1
= 0;
1326 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1339 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1347 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1349 wxPyEndAllowThreads(__tstate
);
1350 if (PyErr_Occurred()) return NULL
;
1351 } Py_INCREF(Py_None
);
1352 _resultobj
= Py_None
;
1356 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1357 wxThinSplitterWindow
*src
;
1358 wxSplitterWindow
*dest
;
1359 src
= (wxThinSplitterWindow
*) ptr
;
1360 dest
= (wxSplitterWindow
*) src
;
1361 return (void *) dest
;
1364 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1365 wxThinSplitterWindow
*src
;
1367 src
= (wxThinSplitterWindow
*) ptr
;
1368 dest
= (wxWindow
*) src
;
1369 return (void *) dest
;
1372 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1373 wxThinSplitterWindow
*src
;
1375 src
= (wxThinSplitterWindow
*) ptr
;
1376 dest
= (wxEvtHandler
*) src
;
1377 return (void *) dest
;
1380 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1381 wxThinSplitterWindow
*src
;
1383 src
= (wxThinSplitterWindow
*) ptr
;
1384 dest
= (wxObject
*) src
;
1385 return (void *) dest
;
1388 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1389 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1391 wxThinSplitterWindow
* _result
;
1393 wxWindowID _arg1
= (wxWindowID
) -1;
1394 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1395 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1396 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1397 PyObject
* _argo0
= 0;
1399 PyObject
* _obj2
= 0;
1401 PyObject
* _obj3
= 0;
1402 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1418 if (! wxPoint_helper(_obj2
, &_arg2
))
1424 if (! wxSize_helper(_obj3
, &_arg3
))
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) return NULL
;
1434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1435 _resultobj
= Py_BuildValue("s",_ptemp
);
1438 _resultobj
= Py_None
;
1443 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1444 wxSplitterScrolledWindow
*src
;
1445 wxScrolledWindow
*dest
;
1446 src
= (wxSplitterScrolledWindow
*) ptr
;
1447 dest
= (wxScrolledWindow
*) src
;
1448 return (void *) dest
;
1451 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1452 wxSplitterScrolledWindow
*src
;
1454 src
= (wxSplitterScrolledWindow
*) ptr
;
1455 dest
= (wxPanel
*) src
;
1456 return (void *) dest
;
1459 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1460 wxSplitterScrolledWindow
*src
;
1462 src
= (wxSplitterScrolledWindow
*) ptr
;
1463 dest
= (wxWindow
*) src
;
1464 return (void *) dest
;
1467 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1468 wxSplitterScrolledWindow
*src
;
1470 src
= (wxSplitterScrolledWindow
*) ptr
;
1471 dest
= (wxEvtHandler
*) src
;
1472 return (void *) dest
;
1475 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1476 wxSplitterScrolledWindow
*src
;
1478 src
= (wxSplitterScrolledWindow
*) ptr
;
1479 dest
= (wxObject
*) src
;
1480 return (void *) dest
;
1483 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1484 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1486 wxSplitterScrolledWindow
* _result
;
1488 wxWindowID _arg1
= (wxWindowID
) -1;
1489 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1490 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1491 long _arg4
= (long ) 0;
1492 PyObject
* _argo0
= 0;
1494 PyObject
* _obj2
= 0;
1496 PyObject
* _obj3
= 0;
1497 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1513 if (! wxPoint_helper(_obj2
, &_arg2
))
1519 if (! wxSize_helper(_obj3
, &_arg3
))
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1530 _resultobj
= Py_BuildValue("s",_ptemp
);
1533 _resultobj
= Py_None
;
1538 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1539 wxLEDNumberCtrl
*src
;
1541 src
= (wxLEDNumberCtrl
*) ptr
;
1542 dest
= (wxControl
*) src
;
1543 return (void *) dest
;
1546 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1547 wxLEDNumberCtrl
*src
;
1549 src
= (wxLEDNumberCtrl
*) ptr
;
1550 dest
= (wxWindow
*) src
;
1551 return (void *) dest
;
1554 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1555 wxLEDNumberCtrl
*src
;
1557 src
= (wxLEDNumberCtrl
*) ptr
;
1558 dest
= (wxEvtHandler
*) src
;
1559 return (void *) dest
;
1562 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1563 wxLEDNumberCtrl
*src
;
1565 src
= (wxLEDNumberCtrl
*) ptr
;
1566 dest
= (wxObject
*) src
;
1567 return (void *) dest
;
1570 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1571 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
* _resultobj
;
1573 wxLEDNumberCtrl
* _result
;
1575 wxWindowID _arg1
= (wxWindowID
) -1;
1576 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1577 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1578 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1579 PyObject
* _argo0
= 0;
1581 PyObject
* _obj2
= 0;
1583 PyObject
* _obj3
= 0;
1584 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1600 if (! wxPoint_helper(_obj2
, &_arg2
))
1606 if (! wxSize_helper(_obj3
, &_arg3
))
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1617 _resultobj
= Py_BuildValue("s",_ptemp
);
1620 _resultobj
= Py_None
;
1625 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1626 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1628 wxLEDNumberCtrl
* _result
;
1629 char *_kwnames
[] = { NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) return NULL
;
1642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1643 _resultobj
= Py_BuildValue("s",_ptemp
);
1646 _resultobj
= Py_None
;
1651 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1652 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1655 wxLEDNumberCtrl
* _arg0
;
1657 wxWindowID _arg2
= (wxWindowID
) -1;
1658 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1659 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1660 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1661 PyObject
* _argo0
= 0;
1662 PyObject
* _argo1
= 0;
1664 PyObject
* _obj3
= 0;
1666 PyObject
* _obj4
= 0;
1667 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1680 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1681 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1689 if (! wxPoint_helper(_obj3
, &_arg3
))
1695 if (! wxSize_helper(_obj4
, &_arg4
))
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) return NULL
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1708 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1709 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
* _resultobj
;
1711 wxLEDValueAlign _result
;
1712 wxLEDNumberCtrl
* _arg0
;
1713 PyObject
* _argo0
= 0;
1714 char *_kwnames
[] = { "self", NULL
};
1717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1737 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1740 wxLEDNumberCtrl
* _arg0
;
1741 PyObject
* _argo0
= 0;
1742 char *_kwnames
[] = { "self", NULL
};
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) return NULL
;
1760 } _resultobj
= Py_BuildValue("i",_result
);
1764 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1765 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1768 wxLEDNumberCtrl
* _arg0
;
1769 PyObject
* _argo0
= 0;
1770 char *_kwnames
[] = { "self", NULL
};
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1785 _result
= (wxString
*) &_result_ref
;
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) return NULL
;
1791 _resultobj
= PyUnicode_FromWideChar(_result
->c_str(), _result
->Len());
1793 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1799 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1800 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 wxLEDNumberCtrl
* _arg0
;
1803 wxLEDValueAlign _arg1
;
1804 bool _arg2
= (bool ) true;
1805 PyObject
* _argo0
= 0;
1806 int tempbool2
= (int) true;
1807 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1819 _arg2
= (bool ) tempbool2
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) return NULL
;
1826 } Py_INCREF(Py_None
);
1827 _resultobj
= Py_None
;
1831 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1832 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxLEDNumberCtrl
* _arg0
;
1836 bool _arg2
= (bool ) true;
1837 PyObject
* _argo0
= 0;
1839 int tempbool2
= (int) true;
1840 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1852 _arg1
= (bool ) tempbool1
;
1853 _arg2
= (bool ) tempbool2
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) return NULL
;
1860 } Py_INCREF(Py_None
);
1861 _resultobj
= Py_None
;
1865 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1866 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1867 PyObject
* _resultobj
;
1868 wxLEDNumberCtrl
* _arg0
;
1870 bool _arg2
= (bool ) true;
1871 PyObject
* _argo0
= 0;
1872 PyObject
* _obj1
= 0;
1873 int tempbool2
= (int) true;
1874 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1887 _arg1
= wxString_in_helper(_obj1
);
1891 _arg2
= (bool ) tempbool2
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) return NULL
;
1898 } Py_INCREF(Py_None
);
1899 _resultobj
= Py_None
;
1907 static PyMethodDef gizmoscMethods
[] = {
1908 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
1909 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1910 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1911 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
1912 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1913 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1914 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1915 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1916 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1917 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1918 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1919 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1920 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1921 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1922 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1923 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1924 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1925 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
1926 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1927 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
1928 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
1929 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1930 { "wxEditableListBox_GetEditButton", (PyCFunction
) _wrap_wxEditableListBox_GetEditButton
, METH_VARARGS
| METH_KEYWORDS
},
1931 { "wxEditableListBox_GetDownButton", (PyCFunction
) _wrap_wxEditableListBox_GetDownButton
, METH_VARARGS
| METH_KEYWORDS
},
1932 { "wxEditableListBox_GetUpButton", (PyCFunction
) _wrap_wxEditableListBox_GetUpButton
, METH_VARARGS
| METH_KEYWORDS
},
1933 { "wxEditableListBox_GetNewButton", (PyCFunction
) _wrap_wxEditableListBox_GetNewButton
, METH_VARARGS
| METH_KEYWORDS
},
1934 { "wxEditableListBox_GetDelButton", (PyCFunction
) _wrap_wxEditableListBox_GetDelButton
, METH_VARARGS
| METH_KEYWORDS
},
1935 { "wxEditableListBox_GetListCtrl", (PyCFunction
) _wrap_wxEditableListBox_GetListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1936 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1937 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1938 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
1939 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1940 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1941 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1942 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
1952 * This table is used by the pointer type-checker
1954 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1955 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
1956 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
1957 { "_signed_long","_long",0},
1958 { "_wxPrintQuality","_wxCoord",0},
1959 { "_wxPrintQuality","_int",0},
1960 { "_wxPrintQuality","_signed_int",0},
1961 { "_wxPrintQuality","_unsigned_int",0},
1962 { "_wxPrintQuality","_wxWindowID",0},
1963 { "_wxPrintQuality","_uint",0},
1964 { "_wxPrintQuality","_EBool",0},
1965 { "_wxPrintQuality","_size_t",0},
1966 { "_wxPrintQuality","_time_t",0},
1967 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
1968 { "_byte","_unsigned_char",0},
1969 { "_long","_unsigned_long",0},
1970 { "_long","_signed_long",0},
1971 { "_size_t","_wxCoord",0},
1972 { "_size_t","_wxPrintQuality",0},
1973 { "_size_t","_time_t",0},
1974 { "_size_t","_unsigned_int",0},
1975 { "_size_t","_int",0},
1976 { "_size_t","_wxWindowID",0},
1977 { "_size_t","_uint",0},
1978 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
1979 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
1980 { "_uint","_wxCoord",0},
1981 { "_uint","_wxPrintQuality",0},
1982 { "_uint","_time_t",0},
1983 { "_uint","_size_t",0},
1984 { "_uint","_unsigned_int",0},
1985 { "_uint","_int",0},
1986 { "_uint","_wxWindowID",0},
1987 { "_wxChar","_char",0},
1988 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
1989 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
1990 { "_char","_wxChar",0},
1991 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1992 { "_EBool","_wxCoord",0},
1993 { "_EBool","_wxPrintQuality",0},
1994 { "_EBool","_signed_int",0},
1995 { "_EBool","_int",0},
1996 { "_EBool","_wxWindowID",0},
1997 { "_unsigned_long","_long",0},
1998 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1999 { "_signed_int","_wxCoord",0},
2000 { "_signed_int","_wxPrintQuality",0},
2001 { "_signed_int","_EBool",0},
2002 { "_signed_int","_wxWindowID",0},
2003 { "_signed_int","_int",0},
2004 { "_WXTYPE","_wxDateTime_t",0},
2005 { "_WXTYPE","_short",0},
2006 { "_WXTYPE","_signed_short",0},
2007 { "_WXTYPE","_unsigned_short",0},
2008 { "_unsigned_short","_wxDateTime_t",0},
2009 { "_unsigned_short","_WXTYPE",0},
2010 { "_unsigned_short","_short",0},
2011 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
2012 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
2013 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
2014 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
2015 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
2016 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
2017 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
2018 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
2019 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
2020 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
2021 { "_signed_short","_WXTYPE",0},
2022 { "_signed_short","_short",0},
2023 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
2024 { "_unsigned_char","_byte",0},
2025 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
2026 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
2027 { "_unsigned_int","_wxCoord",0},
2028 { "_unsigned_int","_wxPrintQuality",0},
2029 { "_unsigned_int","_time_t",0},
2030 { "_unsigned_int","_size_t",0},
2031 { "_unsigned_int","_uint",0},
2032 { "_unsigned_int","_wxWindowID",0},
2033 { "_unsigned_int","_int",0},
2034 { "_short","_wxDateTime_t",0},
2035 { "_short","_WXTYPE",0},
2036 { "_short","_unsigned_short",0},
2037 { "_short","_signed_short",0},
2038 { "_wxWindowID","_wxCoord",0},
2039 { "_wxWindowID","_wxPrintQuality",0},
2040 { "_wxWindowID","_time_t",0},
2041 { "_wxWindowID","_size_t",0},
2042 { "_wxWindowID","_EBool",0},
2043 { "_wxWindowID","_uint",0},
2044 { "_wxWindowID","_int",0},
2045 { "_wxWindowID","_signed_int",0},
2046 { "_wxWindowID","_unsigned_int",0},
2047 { "_int","_wxCoord",0},
2048 { "_int","_wxPrintQuality",0},
2049 { "_int","_time_t",0},
2050 { "_int","_size_t",0},
2051 { "_int","_EBool",0},
2052 { "_int","_uint",0},
2053 { "_int","_wxWindowID",0},
2054 { "_int","_unsigned_int",0},
2055 { "_int","_signed_int",0},
2056 { "_wxDateTime_t","_unsigned_short",0},
2057 { "_wxDateTime_t","_short",0},
2058 { "_wxDateTime_t","_WXTYPE",0},
2059 { "_time_t","_wxCoord",0},
2060 { "_time_t","_wxPrintQuality",0},
2061 { "_time_t","_unsigned_int",0},
2062 { "_time_t","_int",0},
2063 { "_time_t","_wxWindowID",0},
2064 { "_time_t","_uint",0},
2065 { "_time_t","_size_t",0},
2066 { "_wxCoord","_int",0},
2067 { "_wxCoord","_signed_int",0},
2068 { "_wxCoord","_unsigned_int",0},
2069 { "_wxCoord","_wxWindowID",0},
2070 { "_wxCoord","_uint",0},
2071 { "_wxCoord","_EBool",0},
2072 { "_wxCoord","_size_t",0},
2073 { "_wxCoord","_time_t",0},
2074 { "_wxCoord","_wxPrintQuality",0},
2075 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
2076 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
2077 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
2078 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
2079 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
2080 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
2081 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
2082 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
2083 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
2084 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
2085 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
2086 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
2087 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
2088 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
2091 static PyObject
*SWIG_globals
;
2095 SWIGEXPORT(void) initgizmosc() {
2097 SWIG_globals
= SWIG_newvarlink();
2098 m
= Py_InitModule("gizmosc", gizmoscMethods
);
2099 d
= PyModule_GetDict(m
);
2100 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
2101 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
2102 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
2103 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
2104 PyDict_SetItemString(d
,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW
));
2105 PyDict_SetItemString(d
,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT
));
2106 PyDict_SetItemString(d
,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE
));
2107 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
2108 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
2109 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
2110 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
2111 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
2114 wxClassInfo::CleanUpClasses();
2115 wxClassInfo::InitializeClasses();
2117 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
2120 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2121 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);