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 #define wxEditableListBox_GetListCtrl(_swigobj) (_swigobj->GetListCtrl())
720 static PyObject
*_wrap_wxEditableListBox_GetListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
721 PyObject
* _resultobj
;
722 wxListCtrl
* _result
;
723 wxEditableListBox
* _arg0
;
724 PyObject
* _argo0
= 0;
725 char *_kwnames
[] = { "self", NULL
};
729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetListCtrl",_kwnames
,&_argo0
))
732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetListCtrl. Expected _wxEditableListBox_p.");
739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
740 _result
= (wxListCtrl
*)wxEditableListBox_GetListCtrl(_arg0
);
742 wxPyEndAllowThreads(__tstate
);
743 if (PyErr_Occurred()) return NULL
;
745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListCtrl_p");
746 _resultobj
= Py_BuildValue("s",_ptemp
);
749 _resultobj
= Py_None
;
754 #define wxEditableListBox_GetDelButton(_swigobj) (_swigobj->GetDelButton())
755 static PyObject
*_wrap_wxEditableListBox_GetDelButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
757 wxBitmapButton
* _result
;
758 wxEditableListBox
* _arg0
;
759 PyObject
* _argo0
= 0;
760 char *_kwnames
[] = { "self", NULL
};
764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDelButton",_kwnames
,&_argo0
))
767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDelButton. Expected _wxEditableListBox_p.");
774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
775 _result
= (wxBitmapButton
*)wxEditableListBox_GetDelButton(_arg0
);
777 wxPyEndAllowThreads(__tstate
);
778 if (PyErr_Occurred()) return NULL
;
780 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
781 _resultobj
= Py_BuildValue("s",_ptemp
);
784 _resultobj
= Py_None
;
789 #define wxEditableListBox_GetNewButton(_swigobj) (_swigobj->GetNewButton())
790 static PyObject
*_wrap_wxEditableListBox_GetNewButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
791 PyObject
* _resultobj
;
792 wxBitmapButton
* _result
;
793 wxEditableListBox
* _arg0
;
794 PyObject
* _argo0
= 0;
795 char *_kwnames
[] = { "self", NULL
};
799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetNewButton",_kwnames
,&_argo0
))
802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetNewButton. Expected _wxEditableListBox_p.");
809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
810 _result
= (wxBitmapButton
*)wxEditableListBox_GetNewButton(_arg0
);
812 wxPyEndAllowThreads(__tstate
);
813 if (PyErr_Occurred()) return NULL
;
815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
816 _resultobj
= Py_BuildValue("s",_ptemp
);
819 _resultobj
= Py_None
;
824 #define wxEditableListBox_GetUpButton(_swigobj) (_swigobj->GetUpButton())
825 static PyObject
*_wrap_wxEditableListBox_GetUpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
827 wxBitmapButton
* _result
;
828 wxEditableListBox
* _arg0
;
829 PyObject
* _argo0
= 0;
830 char *_kwnames
[] = { "self", NULL
};
834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetUpButton",_kwnames
,&_argo0
))
837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetUpButton. Expected _wxEditableListBox_p.");
844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
845 _result
= (wxBitmapButton
*)wxEditableListBox_GetUpButton(_arg0
);
847 wxPyEndAllowThreads(__tstate
);
848 if (PyErr_Occurred()) return NULL
;
850 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
851 _resultobj
= Py_BuildValue("s",_ptemp
);
854 _resultobj
= Py_None
;
859 #define wxEditableListBox_GetDownButton(_swigobj) (_swigobj->GetDownButton())
860 static PyObject
*_wrap_wxEditableListBox_GetDownButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
861 PyObject
* _resultobj
;
862 wxBitmapButton
* _result
;
863 wxEditableListBox
* _arg0
;
864 PyObject
* _argo0
= 0;
865 char *_kwnames
[] = { "self", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDownButton",_kwnames
,&_argo0
))
872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDownButton. Expected _wxEditableListBox_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 _result
= (wxBitmapButton
*)wxEditableListBox_GetDownButton(_arg0
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
886 _resultobj
= Py_BuildValue("s",_ptemp
);
889 _resultobj
= Py_None
;
894 #define wxEditableListBox_GetEditButton(_swigobj) (_swigobj->GetEditButton())
895 static PyObject
*_wrap_wxEditableListBox_GetEditButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
896 PyObject
* _resultobj
;
897 wxBitmapButton
* _result
;
898 wxEditableListBox
* _arg0
;
899 PyObject
* _argo0
= 0;
900 char *_kwnames
[] = { "self", NULL
};
904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetEditButton",_kwnames
,&_argo0
))
907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetEditButton. Expected _wxEditableListBox_p.");
914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
915 _result
= (wxBitmapButton
*)wxEditableListBox_GetEditButton(_arg0
);
917 wxPyEndAllowThreads(__tstate
);
918 if (PyErr_Occurred()) return NULL
;
920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
921 _resultobj
= Py_BuildValue("s",_ptemp
);
924 _resultobj
= Py_None
;
929 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
930 wxRemotelyScrolledTreeCtrl
*src
;
932 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
933 dest
= (wxPyTreeCtrl
*) src
;
934 return (void *) dest
;
937 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
938 wxRemotelyScrolledTreeCtrl
*src
;
940 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
941 dest
= (wxControl
*) src
;
942 return (void *) dest
;
945 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
946 wxRemotelyScrolledTreeCtrl
*src
;
948 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
949 dest
= (wxWindow
*) src
;
950 return (void *) dest
;
953 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
954 wxRemotelyScrolledTreeCtrl
*src
;
956 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
957 dest
= (wxEvtHandler
*) src
;
958 return (void *) dest
;
961 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
962 wxRemotelyScrolledTreeCtrl
*src
;
964 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
965 dest
= (wxObject
*) src
;
966 return (void *) dest
;
969 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
970 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
972 wxRemotelyScrolledTreeCtrl
* _result
;
975 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
976 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
977 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
978 PyObject
* _argo0
= 0;
980 PyObject
* _obj2
= 0;
982 PyObject
* _obj3
= 0;
983 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
999 if (! wxPoint_helper(_obj2
, &_arg2
))
1005 if (! wxSize_helper(_obj3
, &_arg3
))
1009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1010 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1012 wxPyEndAllowThreads(__tstate
);
1013 if (PyErr_Occurred()) return NULL
;
1015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1016 _resultobj
= Py_BuildValue("s",_ptemp
);
1019 _resultobj
= Py_None
;
1024 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
1025 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1027 wxRemotelyScrolledTreeCtrl
* _arg0
;
1028 PyObject
* _argo0
= 0;
1029 char *_kwnames
[] = { "self", NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
1035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
1042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1043 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
1045 wxPyEndAllowThreads(__tstate
);
1046 if (PyErr_Occurred()) return NULL
;
1047 } Py_INCREF(Py_None
);
1048 _resultobj
= Py_None
;
1052 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
1053 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
* _resultobj
;
1055 wxRemotelyScrolledTreeCtrl
* _arg0
;
1056 PyObject
* _argo0
= 0;
1057 char *_kwnames
[] = { "self", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1075 } Py_INCREF(Py_None
);
1076 _resultobj
= Py_None
;
1080 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
1081 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxScrolledWindow
* _result
;
1084 wxRemotelyScrolledTreeCtrl
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames
,&_argo0
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
1107 _resultobj
= Py_BuildValue("s",_ptemp
);
1110 _resultobj
= Py_None
;
1115 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
1116 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1118 wxRemotelyScrolledTreeCtrl
* _arg0
;
1121 PyObject
* _argo0
= 0;
1122 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
1125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
1135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1136 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
1138 wxPyEndAllowThreads(__tstate
);
1139 if (PyErr_Occurred()) return NULL
;
1140 } Py_INCREF(Py_None
);
1141 _resultobj
= Py_None
;
1145 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
1146 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
* _resultobj
;
1148 wxRemotelyScrolledTreeCtrl
* _arg0
;
1150 PyObject
* _argo0
= 0;
1151 PyObject
* _argo1
= 0;
1152 char *_kwnames
[] = { "self","companion", NULL
};
1155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
1158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1165 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) return NULL
;
1177 } Py_INCREF(Py_None
);
1178 _resultobj
= Py_None
;
1182 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
1183 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1186 wxRemotelyScrolledTreeCtrl
* _arg0
;
1187 PyObject
* _argo0
= 0;
1188 char *_kwnames
[] = { "self", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
1194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) return NULL
;
1206 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1210 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
1211 wxPyTreeCompanionWindow
*src
;
1213 src
= (wxPyTreeCompanionWindow
*) ptr
;
1214 dest
= (wxWindow
*) src
;
1215 return (void *) dest
;
1218 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
1219 wxPyTreeCompanionWindow
*src
;
1221 src
= (wxPyTreeCompanionWindow
*) ptr
;
1222 dest
= (wxEvtHandler
*) src
;
1223 return (void *) dest
;
1226 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
1227 wxPyTreeCompanionWindow
*src
;
1229 src
= (wxPyTreeCompanionWindow
*) ptr
;
1230 dest
= (wxObject
*) src
;
1231 return (void *) dest
;
1234 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1235 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1236 PyObject
* _resultobj
;
1237 wxPyTreeCompanionWindow
* _result
;
1239 wxWindowID _arg1
= (wxWindowID
) -1;
1240 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1241 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1242 long _arg4
= (long ) 0;
1243 PyObject
* _argo0
= 0;
1245 PyObject
* _obj2
= 0;
1247 PyObject
* _obj3
= 0;
1248 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1264 if (! wxPoint_helper(_obj2
, &_arg2
))
1270 if (! wxSize_helper(_obj3
, &_arg3
))
1274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1275 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1277 wxPyEndAllowThreads(__tstate
);
1278 if (PyErr_Occurred()) return NULL
;
1280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1281 _resultobj
= Py_BuildValue("s",_ptemp
);
1284 _resultobj
= Py_None
;
1289 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1290 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
* _resultobj
;
1292 wxPyTreeCompanionWindow
* _arg0
;
1295 PyObject
* _argo0
= 0;
1296 PyObject
* _obj1
= 0;
1297 PyObject
* _obj2
= 0;
1298 char *_kwnames
[] = { "self","self","_class", NULL
};
1301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1318 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1320 wxPyEndAllowThreads(__tstate
);
1321 if (PyErr_Occurred()) return NULL
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1328 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
* _resultobj
;
1330 wxRemotelyScrolledTreeCtrl
* _result
;
1331 wxPyTreeCompanionWindow
* _arg0
;
1332 PyObject
* _argo0
= 0;
1333 char *_kwnames
[] = { "self", NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1350 wxPyEndAllowThreads(__tstate
);
1351 if (PyErr_Occurred()) return NULL
;
1353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1354 _resultobj
= Py_BuildValue("s",_ptemp
);
1357 _resultobj
= Py_None
;
1362 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1363 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxPyTreeCompanionWindow
* _arg0
;
1366 wxRemotelyScrolledTreeCtrl
* _arg1
;
1367 PyObject
* _argo0
= 0;
1368 PyObject
* _argo1
= 0;
1369 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1390 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1392 wxPyEndAllowThreads(__tstate
);
1393 if (PyErr_Occurred()) return NULL
;
1394 } Py_INCREF(Py_None
);
1395 _resultobj
= Py_None
;
1399 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1400 wxThinSplitterWindow
*src
;
1401 wxSplitterWindow
*dest
;
1402 src
= (wxThinSplitterWindow
*) ptr
;
1403 dest
= (wxSplitterWindow
*) src
;
1404 return (void *) dest
;
1407 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1408 wxThinSplitterWindow
*src
;
1410 src
= (wxThinSplitterWindow
*) ptr
;
1411 dest
= (wxWindow
*) src
;
1412 return (void *) dest
;
1415 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1416 wxThinSplitterWindow
*src
;
1418 src
= (wxThinSplitterWindow
*) ptr
;
1419 dest
= (wxEvtHandler
*) src
;
1420 return (void *) dest
;
1423 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1424 wxThinSplitterWindow
*src
;
1426 src
= (wxThinSplitterWindow
*) ptr
;
1427 dest
= (wxObject
*) src
;
1428 return (void *) dest
;
1431 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1432 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
* _resultobj
;
1434 wxThinSplitterWindow
* _result
;
1436 wxWindowID _arg1
= (wxWindowID
) -1;
1437 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1438 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1439 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1440 PyObject
* _argo0
= 0;
1442 PyObject
* _obj2
= 0;
1444 PyObject
* _obj3
= 0;
1445 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1461 if (! wxPoint_helper(_obj2
, &_arg2
))
1467 if (! wxSize_helper(_obj3
, &_arg3
))
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1477 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1478 _resultobj
= Py_BuildValue("s",_ptemp
);
1481 _resultobj
= Py_None
;
1486 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1487 wxSplitterScrolledWindow
*src
;
1488 wxScrolledWindow
*dest
;
1489 src
= (wxSplitterScrolledWindow
*) ptr
;
1490 dest
= (wxScrolledWindow
*) src
;
1491 return (void *) dest
;
1494 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1495 wxSplitterScrolledWindow
*src
;
1497 src
= (wxSplitterScrolledWindow
*) ptr
;
1498 dest
= (wxPanel
*) src
;
1499 return (void *) dest
;
1502 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1503 wxSplitterScrolledWindow
*src
;
1505 src
= (wxSplitterScrolledWindow
*) ptr
;
1506 dest
= (wxWindow
*) src
;
1507 return (void *) dest
;
1510 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1511 wxSplitterScrolledWindow
*src
;
1513 src
= (wxSplitterScrolledWindow
*) ptr
;
1514 dest
= (wxEvtHandler
*) src
;
1515 return (void *) dest
;
1518 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1519 wxSplitterScrolledWindow
*src
;
1521 src
= (wxSplitterScrolledWindow
*) ptr
;
1522 dest
= (wxObject
*) src
;
1523 return (void *) dest
;
1526 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1527 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1528 PyObject
* _resultobj
;
1529 wxSplitterScrolledWindow
* _result
;
1531 wxWindowID _arg1
= (wxWindowID
) -1;
1532 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1533 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1534 long _arg4
= (long ) 0;
1535 PyObject
* _argo0
= 0;
1537 PyObject
* _obj2
= 0;
1539 PyObject
* _obj3
= 0;
1540 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1556 if (! wxPoint_helper(_obj2
, &_arg2
))
1562 if (! wxSize_helper(_obj3
, &_arg3
))
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) return NULL
;
1572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1573 _resultobj
= Py_BuildValue("s",_ptemp
);
1576 _resultobj
= Py_None
;
1581 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1582 wxLEDNumberCtrl
*src
;
1584 src
= (wxLEDNumberCtrl
*) ptr
;
1585 dest
= (wxControl
*) src
;
1586 return (void *) dest
;
1589 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1590 wxLEDNumberCtrl
*src
;
1592 src
= (wxLEDNumberCtrl
*) ptr
;
1593 dest
= (wxWindow
*) src
;
1594 return (void *) dest
;
1597 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1598 wxLEDNumberCtrl
*src
;
1600 src
= (wxLEDNumberCtrl
*) ptr
;
1601 dest
= (wxEvtHandler
*) src
;
1602 return (void *) dest
;
1605 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1606 wxLEDNumberCtrl
*src
;
1608 src
= (wxLEDNumberCtrl
*) ptr
;
1609 dest
= (wxObject
*) src
;
1610 return (void *) dest
;
1613 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1614 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
* _resultobj
;
1616 wxLEDNumberCtrl
* _result
;
1618 wxWindowID _arg1
= (wxWindowID
) -1;
1619 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1620 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1621 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1622 PyObject
* _argo0
= 0;
1624 PyObject
* _obj2
= 0;
1626 PyObject
* _obj3
= 0;
1627 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1643 if (! wxPoint_helper(_obj2
, &_arg2
))
1649 if (! wxSize_helper(_obj3
, &_arg3
))
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1659 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1660 _resultobj
= Py_BuildValue("s",_ptemp
);
1663 _resultobj
= Py_None
;
1668 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1669 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1671 wxLEDNumberCtrl
* _result
;
1672 char *_kwnames
[] = { NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) return NULL
;
1685 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1686 _resultobj
= Py_BuildValue("s",_ptemp
);
1689 _resultobj
= Py_None
;
1694 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1695 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1698 wxLEDNumberCtrl
* _arg0
;
1700 wxWindowID _arg2
= (wxWindowID
) -1;
1701 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1702 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1703 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1704 PyObject
* _argo0
= 0;
1705 PyObject
* _argo1
= 0;
1707 PyObject
* _obj3
= 0;
1709 PyObject
* _obj4
= 0;
1710 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1723 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1724 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1732 if (! wxPoint_helper(_obj3
, &_arg3
))
1738 if (! wxSize_helper(_obj4
, &_arg4
))
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) return NULL
;
1747 } _resultobj
= Py_BuildValue("i",_result
);
1751 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1752 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1754 wxLEDValueAlign _result
;
1755 wxLEDNumberCtrl
* _arg0
;
1756 PyObject
* _argo0
= 0;
1757 char *_kwnames
[] = { "self", NULL
};
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1773 wxPyEndAllowThreads(__tstate
);
1774 if (PyErr_Occurred()) return NULL
;
1775 } _resultobj
= Py_BuildValue("i",_result
);
1779 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1780 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
* _resultobj
;
1783 wxLEDNumberCtrl
* _arg0
;
1784 PyObject
* _argo0
= 0;
1785 char *_kwnames
[] = { "self", NULL
};
1788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) return NULL
;
1803 } _resultobj
= Py_BuildValue("i",_result
);
1807 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1808 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
* _resultobj
;
1811 wxLEDNumberCtrl
* _arg0
;
1812 PyObject
* _argo0
= 0;
1813 char *_kwnames
[] = { "self", NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1828 _result
= (wxString
*) &_result_ref
;
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) return NULL
;
1834 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1836 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1842 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1843 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1844 PyObject
* _resultobj
;
1845 wxLEDNumberCtrl
* _arg0
;
1846 wxLEDValueAlign _arg1
;
1847 bool _arg2
= (bool ) true;
1848 PyObject
* _argo0
= 0;
1849 int tempbool2
= (int) true;
1850 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1862 _arg2
= (bool ) tempbool2
;
1864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1867 wxPyEndAllowThreads(__tstate
);
1868 if (PyErr_Occurred()) return NULL
;
1869 } Py_INCREF(Py_None
);
1870 _resultobj
= Py_None
;
1874 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1875 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1877 wxLEDNumberCtrl
* _arg0
;
1879 bool _arg2
= (bool ) true;
1880 PyObject
* _argo0
= 0;
1882 int tempbool2
= (int) true;
1883 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1895 _arg1
= (bool ) tempbool1
;
1896 _arg2
= (bool ) tempbool2
;
1898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1899 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1901 wxPyEndAllowThreads(__tstate
);
1902 if (PyErr_Occurred()) return NULL
;
1903 } Py_INCREF(Py_None
);
1904 _resultobj
= Py_None
;
1908 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1909 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
* _resultobj
;
1911 wxLEDNumberCtrl
* _arg0
;
1913 bool _arg2
= (bool ) true;
1914 PyObject
* _argo0
= 0;
1915 PyObject
* _obj1
= 0;
1916 int tempbool2
= (int) true;
1917 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1930 _arg1
= wxString_in_helper(_obj1
);
1934 _arg2
= (bool ) tempbool2
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) return NULL
;
1941 } Py_INCREF(Py_None
);
1942 _resultobj
= Py_None
;
1950 static PyMethodDef gizmoscMethods
[] = {
1951 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
1952 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1953 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1954 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
1955 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1956 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1957 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1958 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1959 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1960 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1961 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1962 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1963 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1964 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1965 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1966 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1967 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1968 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
1969 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1970 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
1971 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
1972 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1973 { "wxEditableListBox_GetEditButton", (PyCFunction
) _wrap_wxEditableListBox_GetEditButton
, METH_VARARGS
| METH_KEYWORDS
},
1974 { "wxEditableListBox_GetDownButton", (PyCFunction
) _wrap_wxEditableListBox_GetDownButton
, METH_VARARGS
| METH_KEYWORDS
},
1975 { "wxEditableListBox_GetUpButton", (PyCFunction
) _wrap_wxEditableListBox_GetUpButton
, METH_VARARGS
| METH_KEYWORDS
},
1976 { "wxEditableListBox_GetNewButton", (PyCFunction
) _wrap_wxEditableListBox_GetNewButton
, METH_VARARGS
| METH_KEYWORDS
},
1977 { "wxEditableListBox_GetDelButton", (PyCFunction
) _wrap_wxEditableListBox_GetDelButton
, METH_VARARGS
| METH_KEYWORDS
},
1978 { "wxEditableListBox_GetListCtrl", (PyCFunction
) _wrap_wxEditableListBox_GetListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1979 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1980 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1981 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
1982 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1983 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1984 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1985 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1986 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1987 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
1988 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
1995 * This table is used by the pointer type-checker
1997 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1998 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
1999 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
2000 { "_signed_long","_long",0},
2001 { "_wxPrintQuality","_wxCoord",0},
2002 { "_wxPrintQuality","_int",0},
2003 { "_wxPrintQuality","_signed_int",0},
2004 { "_wxPrintQuality","_unsigned_int",0},
2005 { "_wxPrintQuality","_wxWindowID",0},
2006 { "_wxPrintQuality","_uint",0},
2007 { "_wxPrintQuality","_EBool",0},
2008 { "_wxPrintQuality","_size_t",0},
2009 { "_wxPrintQuality","_time_t",0},
2010 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
2011 { "_byte","_unsigned_char",0},
2012 { "_long","_unsigned_long",0},
2013 { "_long","_signed_long",0},
2014 { "_size_t","_wxCoord",0},
2015 { "_size_t","_wxPrintQuality",0},
2016 { "_size_t","_time_t",0},
2017 { "_size_t","_unsigned_int",0},
2018 { "_size_t","_int",0},
2019 { "_size_t","_wxWindowID",0},
2020 { "_size_t","_uint",0},
2021 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
2022 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
2023 { "_uint","_wxCoord",0},
2024 { "_uint","_wxPrintQuality",0},
2025 { "_uint","_time_t",0},
2026 { "_uint","_size_t",0},
2027 { "_uint","_unsigned_int",0},
2028 { "_uint","_int",0},
2029 { "_uint","_wxWindowID",0},
2030 { "_wxChar","_char",0},
2031 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
2032 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
2033 { "_char","_wxChar",0},
2034 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2035 { "_EBool","_wxCoord",0},
2036 { "_EBool","_wxPrintQuality",0},
2037 { "_EBool","_signed_int",0},
2038 { "_EBool","_int",0},
2039 { "_EBool","_wxWindowID",0},
2040 { "_unsigned_long","_long",0},
2041 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2042 { "_signed_int","_wxCoord",0},
2043 { "_signed_int","_wxPrintQuality",0},
2044 { "_signed_int","_EBool",0},
2045 { "_signed_int","_wxWindowID",0},
2046 { "_signed_int","_int",0},
2047 { "_WXTYPE","_wxDateTime_t",0},
2048 { "_WXTYPE","_short",0},
2049 { "_WXTYPE","_signed_short",0},
2050 { "_WXTYPE","_unsigned_short",0},
2051 { "_unsigned_short","_wxDateTime_t",0},
2052 { "_unsigned_short","_WXTYPE",0},
2053 { "_unsigned_short","_short",0},
2054 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
2055 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
2056 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
2057 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
2058 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
2059 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
2060 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
2061 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
2062 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
2063 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
2064 { "_signed_short","_WXTYPE",0},
2065 { "_signed_short","_short",0},
2066 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
2067 { "_unsigned_char","_byte",0},
2068 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
2069 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
2070 { "_unsigned_int","_wxCoord",0},
2071 { "_unsigned_int","_wxPrintQuality",0},
2072 { "_unsigned_int","_time_t",0},
2073 { "_unsigned_int","_size_t",0},
2074 { "_unsigned_int","_uint",0},
2075 { "_unsigned_int","_wxWindowID",0},
2076 { "_unsigned_int","_int",0},
2077 { "_short","_wxDateTime_t",0},
2078 { "_short","_WXTYPE",0},
2079 { "_short","_unsigned_short",0},
2080 { "_short","_signed_short",0},
2081 { "_wxWindowID","_wxCoord",0},
2082 { "_wxWindowID","_wxPrintQuality",0},
2083 { "_wxWindowID","_time_t",0},
2084 { "_wxWindowID","_size_t",0},
2085 { "_wxWindowID","_EBool",0},
2086 { "_wxWindowID","_uint",0},
2087 { "_wxWindowID","_int",0},
2088 { "_wxWindowID","_signed_int",0},
2089 { "_wxWindowID","_unsigned_int",0},
2090 { "_int","_wxCoord",0},
2091 { "_int","_wxPrintQuality",0},
2092 { "_int","_time_t",0},
2093 { "_int","_size_t",0},
2094 { "_int","_EBool",0},
2095 { "_int","_uint",0},
2096 { "_int","_wxWindowID",0},
2097 { "_int","_unsigned_int",0},
2098 { "_int","_signed_int",0},
2099 { "_wxDateTime_t","_unsigned_short",0},
2100 { "_wxDateTime_t","_short",0},
2101 { "_wxDateTime_t","_WXTYPE",0},
2102 { "_time_t","_wxCoord",0},
2103 { "_time_t","_wxPrintQuality",0},
2104 { "_time_t","_unsigned_int",0},
2105 { "_time_t","_int",0},
2106 { "_time_t","_wxWindowID",0},
2107 { "_time_t","_uint",0},
2108 { "_time_t","_size_t",0},
2109 { "_wxCoord","_int",0},
2110 { "_wxCoord","_signed_int",0},
2111 { "_wxCoord","_unsigned_int",0},
2112 { "_wxCoord","_wxWindowID",0},
2113 { "_wxCoord","_uint",0},
2114 { "_wxCoord","_EBool",0},
2115 { "_wxCoord","_size_t",0},
2116 { "_wxCoord","_time_t",0},
2117 { "_wxCoord","_wxPrintQuality",0},
2118 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
2119 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
2120 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
2121 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
2122 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
2123 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
2124 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
2125 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
2126 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
2127 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
2128 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
2129 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
2130 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
2131 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
2134 static PyObject
*SWIG_globals
;
2138 SWIGEXPORT(void) initgizmosc() {
2140 SWIG_globals
= SWIG_newvarlink();
2141 m
= Py_InitModule("gizmosc", gizmoscMethods
);
2142 d
= PyModule_GetDict(m
);
2143 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
2144 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
2145 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
2146 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
2147 PyDict_SetItemString(d
,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW
));
2148 PyDict_SetItemString(d
,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT
));
2149 PyDict_SetItemString(d
,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE
));
2150 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
2151 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
2152 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
2153 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
2154 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
2157 wxClassInfo::CleanUpClasses();
2158 wxClassInfo::InitializeClasses();
2160 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
2163 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2164 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);