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>
63 #include <wx/listctrl.h>
66 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
72 } else if (target
== Py_None
) {
76 if (!PyTuple_Check(target
)) {
78 target
= PyTuple_New(1);
79 PyTuple_SetItem(target
, 0, o2
);
82 PyTuple_SetItem(o3
, 0, o
);
85 target
= PySequence_Concat(o2
, o3
);
92 // Put some wx default wxChar* values into wxStrings.
93 static const wxString
wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
94 static const wxString
wxPyEditableListBoxNameStr(wxT("editableListBox"));
96 typedef wxTreeCtrl wxPyTreeCtrl
;
98 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
101 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
102 const wxPoint
& pos
= wxDefaultPosition
,
103 const wxSize
& size
= wxDefaultSize
,
105 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
108 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
110 wxPyBeginBlockThreads();
111 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
112 PyObject
* dcobj
= wxPyMake_wxObject(&dc
);
113 PyObject
* idobj
= wxPyConstructObject((void*)&id
, "wxTreeItemId", FALSE
);
114 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, "wxRect", FALSE
);
115 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
120 wxPyEndBlockThreads();
122 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
130 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr
) {
131 wxDynamicSashSplitEvent
*src
;
132 wxCommandEvent
*dest
;
133 src
= (wxDynamicSashSplitEvent
*) ptr
;
134 dest
= (wxCommandEvent
*) src
;
135 return (void *) dest
;
138 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr
) {
139 wxDynamicSashSplitEvent
*src
;
141 src
= (wxDynamicSashSplitEvent
*) ptr
;
142 dest
= (wxEvent
*) src
;
143 return (void *) dest
;
146 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr
) {
147 wxDynamicSashSplitEvent
*src
;
149 src
= (wxDynamicSashSplitEvent
*) ptr
;
150 dest
= (wxObject
*) src
;
151 return (void *) dest
;
154 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
155 static PyObject
*_wrap_new_wxDynamicSashSplitEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
156 PyObject
* _resultobj
;
157 wxDynamicSashSplitEvent
* _result
;
159 PyObject
* _argo0
= 0;
160 char *_kwnames
[] = { "target", NULL
};
164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashSplitEvent",_kwnames
,&_argo0
))
167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
175 _result
= (wxDynamicSashSplitEvent
*)new_wxDynamicSashSplitEvent(_arg0
);
177 wxPyEndAllowThreads(__tstate
);
178 if (PyErr_Occurred()) return NULL
;
180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashSplitEvent_p");
181 _resultobj
= Py_BuildValue("s",_ptemp
);
184 _resultobj
= Py_None
;
189 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr
) {
190 wxDynamicSashUnifyEvent
*src
;
191 wxCommandEvent
*dest
;
192 src
= (wxDynamicSashUnifyEvent
*) ptr
;
193 dest
= (wxCommandEvent
*) src
;
194 return (void *) dest
;
197 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr
) {
198 wxDynamicSashUnifyEvent
*src
;
200 src
= (wxDynamicSashUnifyEvent
*) ptr
;
201 dest
= (wxEvent
*) src
;
202 return (void *) dest
;
205 static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr
) {
206 wxDynamicSashUnifyEvent
*src
;
208 src
= (wxDynamicSashUnifyEvent
*) ptr
;
209 dest
= (wxObject
*) src
;
210 return (void *) dest
;
213 #define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
214 static PyObject
*_wrap_new_wxDynamicSashUnifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
215 PyObject
* _resultobj
;
216 wxDynamicSashUnifyEvent
* _result
;
218 PyObject
* _argo0
= 0;
219 char *_kwnames
[] = { "target", NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashUnifyEvent",_kwnames
,&_argo0
))
226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
234 _result
= (wxDynamicSashUnifyEvent
*)new_wxDynamicSashUnifyEvent(_arg0
);
236 wxPyEndAllowThreads(__tstate
);
237 if (PyErr_Occurred()) return NULL
;
239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashUnifyEvent_p");
240 _resultobj
= Py_BuildValue("s",_ptemp
);
243 _resultobj
= Py_None
;
248 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr
) {
249 wxDynamicSashWindow
*src
;
251 src
= (wxDynamicSashWindow
*) ptr
;
252 dest
= (wxWindow
*) src
;
253 return (void *) dest
;
256 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr
) {
257 wxDynamicSashWindow
*src
;
259 src
= (wxDynamicSashWindow
*) ptr
;
260 dest
= (wxEvtHandler
*) src
;
261 return (void *) dest
;
264 static void *SwigwxDynamicSashWindowTowxObject(void *ptr
) {
265 wxDynamicSashWindow
*src
;
267 src
= (wxDynamicSashWindow
*) ptr
;
268 dest
= (wxObject
*) src
;
269 return (void *) dest
;
272 #define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
273 static PyObject
*_wrap_new_wxDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
274 PyObject
* _resultobj
;
275 wxDynamicSashWindow
* _result
;
278 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
279 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
280 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
281 wxString
* _arg5
= (wxString
*) &wxPyDynamicSashNameStr
;
282 PyObject
* _argo0
= 0;
284 PyObject
* _obj2
= 0;
286 PyObject
* _obj3
= 0;
287 PyObject
* _obj5
= 0;
288 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlO:new_wxDynamicSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_obj5
))
295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
304 if (! wxPoint_helper(_obj2
, &_arg2
))
310 if (! wxSize_helper(_obj3
, &_arg3
))
315 _arg5
= wxString_in_helper(_obj5
);
320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
321 _result
= (wxDynamicSashWindow
*)new_wxDynamicSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
);
323 wxPyEndAllowThreads(__tstate
);
324 if (PyErr_Occurred()) return NULL
;
326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
327 _resultobj
= Py_BuildValue("s",_ptemp
);
330 _resultobj
= Py_None
;
339 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
340 static PyObject
*_wrap_new_wxPreDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
341 PyObject
* _resultobj
;
342 wxDynamicSashWindow
* _result
;
343 char *_kwnames
[] = { NULL
};
347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDynamicSashWindow",_kwnames
))
350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
351 _result
= (wxDynamicSashWindow
*)new_wxPreDynamicSashWindow();
353 wxPyEndAllowThreads(__tstate
);
354 if (PyErr_Occurred()) return NULL
;
356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
357 _resultobj
= Py_BuildValue("s",_ptemp
);
360 _resultobj
= Py_None
;
365 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
366 static PyObject
*_wrap_wxDynamicSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
367 PyObject
* _resultobj
;
369 wxDynamicSashWindow
* _arg0
;
372 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
373 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
374 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
375 wxString
* _arg6
= (wxString
*) &wxPyDynamicSashNameStr
;
376 PyObject
* _argo0
= 0;
377 PyObject
* _argo1
= 0;
379 PyObject
* _obj3
= 0;
381 PyObject
* _obj4
= 0;
382 PyObject
* _obj6
= 0;
383 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlO:wxDynamicSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
396 if (_argo1
== Py_None
) { _arg1
= NULL
; }
397 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
405 if (! wxPoint_helper(_obj3
, &_arg3
))
411 if (! wxSize_helper(_obj4
, &_arg4
))
416 _arg6
= wxString_in_helper(_obj6
);
421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
422 _result
= (bool )wxDynamicSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
424 wxPyEndAllowThreads(__tstate
);
425 if (PyErr_Occurred()) return NULL
;
426 } _resultobj
= Py_BuildValue("i",_result
);
434 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
435 static PyObject
*_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
436 PyObject
* _resultobj
;
437 wxScrollBar
* _result
;
438 wxDynamicSashWindow
* _arg0
;
440 PyObject
* _argo0
= 0;
441 PyObject
* _argo1
= 0;
442 char *_kwnames
[] = { "self","child", NULL
};
446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames
,&_argo0
,&_argo1
))
449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
456 if (_argo1
== Py_None
) { _arg1
= NULL
; }
457 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
464 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetHScrollBar(_arg0
,_arg1
);
466 wxPyEndAllowThreads(__tstate
);
467 if (PyErr_Occurred()) return NULL
;
469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
470 _resultobj
= Py_BuildValue("s",_ptemp
);
473 _resultobj
= Py_None
;
478 #define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
479 static PyObject
*_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
481 wxScrollBar
* _result
;
482 wxDynamicSashWindow
* _arg0
;
484 PyObject
* _argo0
= 0;
485 PyObject
* _argo1
= 0;
486 char *_kwnames
[] = { "self","child", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames
,&_argo0
,&_argo1
))
493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
500 if (_argo1
== Py_None
) { _arg1
= NULL
; }
501 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
508 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetVScrollBar(_arg0
,_arg1
);
510 wxPyEndAllowThreads(__tstate
);
511 if (PyErr_Occurred()) return NULL
;
513 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
514 _resultobj
= Py_BuildValue("s",_ptemp
);
517 _resultobj
= Py_None
;
522 static void *SwigwxEditableListBoxTowxPanel(void *ptr
) {
523 wxEditableListBox
*src
;
525 src
= (wxEditableListBox
*) ptr
;
526 dest
= (wxPanel
*) src
;
527 return (void *) dest
;
530 static void *SwigwxEditableListBoxTowxWindow(void *ptr
) {
531 wxEditableListBox
*src
;
533 src
= (wxEditableListBox
*) ptr
;
534 dest
= (wxWindow
*) src
;
535 return (void *) dest
;
538 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr
) {
539 wxEditableListBox
*src
;
541 src
= (wxEditableListBox
*) ptr
;
542 dest
= (wxEvtHandler
*) src
;
543 return (void *) dest
;
546 static void *SwigwxEditableListBoxTowxObject(void *ptr
) {
547 wxEditableListBox
*src
;
549 src
= (wxEditableListBox
*) ptr
;
550 dest
= (wxObject
*) src
;
551 return (void *) dest
;
554 #define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
555 static PyObject
*_wrap_new_wxEditableListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
557 wxEditableListBox
* _result
;
561 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
562 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
563 long _arg5
= (long ) (wxEL_ALLOW_NEW
)|(wxEL_ALLOW_EDIT
)|(wxEL_ALLOW_DELETE
);
564 wxString
* _arg6
= (wxString
*) &wxPyEditableListBoxNameStr
;
565 PyObject
* _argo0
= 0;
566 PyObject
* _obj2
= 0;
568 PyObject
* _obj3
= 0;
570 PyObject
* _obj4
= 0;
571 PyObject
* _obj6
= 0;
572 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlO:new_wxEditableListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_obj6
))
579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
586 _arg2
= wxString_in_helper(_obj2
);
593 if (! wxPoint_helper(_obj3
, &_arg3
))
599 if (! wxSize_helper(_obj4
, &_arg4
))
604 _arg6
= wxString_in_helper(_obj6
);
609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
610 _result
= (wxEditableListBox
*)new_wxEditableListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
);
612 wxPyEndAllowThreads(__tstate
);
613 if (PyErr_Occurred()) return NULL
;
615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEditableListBox_p");
616 _resultobj
= Py_BuildValue("s",_ptemp
);
619 _resultobj
= Py_None
;
632 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
633 static PyObject
*_wrap_wxEditableListBox_SetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
634 PyObject
* _resultobj
;
635 wxEditableListBox
* _arg0
;
636 wxArrayString
* _arg1
;
637 PyObject
* _argo0
= 0;
638 PyObject
* _obj1
= 0;
639 char *_kwnames
[] = { "self","strings", NULL
};
642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEditableListBox_SetStrings",_kwnames
,&_argo0
,&_obj1
))
645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
652 if (! PySequence_Check(_obj1
)) {
653 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
656 _arg1
= new wxArrayString
;
657 int i
, len
=PySequence_Length(_obj1
);
658 for (i
=0; i
<len
; i
++) {
659 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
661 PyObject
* str
= PyObject_Unicode(item
);
662 _arg1
->Add(PyUnicode_AsUnicode(str
));
664 PyObject
* str
= PyObject_Str(item
);
665 _arg1
->Add(PyString_AsString(str
));
672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
673 wxEditableListBox_SetStrings(_arg0
,*_arg1
);
675 wxPyEndAllowThreads(__tstate
);
676 if (PyErr_Occurred()) return NULL
;
677 } Py_INCREF(Py_None
);
678 _resultobj
= Py_None
;
686 static PyObject
* wxEditableListBox_GetStrings(wxEditableListBox
*self
) {
687 wxArrayString strings
;
688 self
->GetStrings(strings
);
689 return wxArrayString2PyList_helper(strings
);
691 static PyObject
*_wrap_wxEditableListBox_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 PyObject
* _resultobj
;
694 wxEditableListBox
* _arg0
;
695 PyObject
* _argo0
= 0;
696 char *_kwnames
[] = { "self", NULL
};
699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetStrings",_kwnames
,&_argo0
))
702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
710 _result
= (PyObject
*)wxEditableListBox_GetStrings(_arg0
);
712 wxPyEndAllowThreads(__tstate
);
713 if (PyErr_Occurred()) return NULL
;
715 _resultobj
= _result
;
720 #define wxEditableListBox_GetListCtrl(_swigobj) (_swigobj->GetListCtrl())
721 static PyObject
*_wrap_wxEditableListBox_GetListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
723 wxListCtrl
* _result
;
724 wxEditableListBox
* _arg0
;
725 PyObject
* _argo0
= 0;
726 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
;
744 }{ _resultobj
= wxPyMake_wxObject(_result
); }
748 #define wxEditableListBox_GetDelButton(_swigobj) (_swigobj->GetDelButton())
749 static PyObject
*_wrap_wxEditableListBox_GetDelButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
750 PyObject
* _resultobj
;
751 wxBitmapButton
* _result
;
752 wxEditableListBox
* _arg0
;
753 PyObject
* _argo0
= 0;
754 char *_kwnames
[] = { "self", NULL
};
757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDelButton",_kwnames
,&_argo0
))
760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDelButton. Expected _wxEditableListBox_p.");
767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
768 _result
= (wxBitmapButton
*)wxEditableListBox_GetDelButton(_arg0
);
770 wxPyEndAllowThreads(__tstate
);
771 if (PyErr_Occurred()) return NULL
;
772 }{ _resultobj
= wxPyMake_wxObject(_result
); }
776 #define wxEditableListBox_GetNewButton(_swigobj) (_swigobj->GetNewButton())
777 static PyObject
*_wrap_wxEditableListBox_GetNewButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
778 PyObject
* _resultobj
;
779 wxBitmapButton
* _result
;
780 wxEditableListBox
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetNewButton",_kwnames
,&_argo0
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetNewButton. Expected _wxEditableListBox_p.");
795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
796 _result
= (wxBitmapButton
*)wxEditableListBox_GetNewButton(_arg0
);
798 wxPyEndAllowThreads(__tstate
);
799 if (PyErr_Occurred()) return NULL
;
800 }{ _resultobj
= wxPyMake_wxObject(_result
); }
804 #define wxEditableListBox_GetUpButton(_swigobj) (_swigobj->GetUpButton())
805 static PyObject
*_wrap_wxEditableListBox_GetUpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
806 PyObject
* _resultobj
;
807 wxBitmapButton
* _result
;
808 wxEditableListBox
* _arg0
;
809 PyObject
* _argo0
= 0;
810 char *_kwnames
[] = { "self", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetUpButton",_kwnames
,&_argo0
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetUpButton. Expected _wxEditableListBox_p.");
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 _result
= (wxBitmapButton
*)wxEditableListBox_GetUpButton(_arg0
);
826 wxPyEndAllowThreads(__tstate
);
827 if (PyErr_Occurred()) return NULL
;
828 }{ _resultobj
= wxPyMake_wxObject(_result
); }
832 #define wxEditableListBox_GetDownButton(_swigobj) (_swigobj->GetDownButton())
833 static PyObject
*_wrap_wxEditableListBox_GetDownButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
834 PyObject
* _resultobj
;
835 wxBitmapButton
* _result
;
836 wxEditableListBox
* _arg0
;
837 PyObject
* _argo0
= 0;
838 char *_kwnames
[] = { "self", NULL
};
841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetDownButton",_kwnames
,&_argo0
))
844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetDownButton. Expected _wxEditableListBox_p.");
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 _result
= (wxBitmapButton
*)wxEditableListBox_GetDownButton(_arg0
);
854 wxPyEndAllowThreads(__tstate
);
855 if (PyErr_Occurred()) return NULL
;
856 }{ _resultobj
= wxPyMake_wxObject(_result
); }
860 #define wxEditableListBox_GetEditButton(_swigobj) (_swigobj->GetEditButton())
861 static PyObject
*_wrap_wxEditableListBox_GetEditButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
862 PyObject
* _resultobj
;
863 wxBitmapButton
* _result
;
864 wxEditableListBox
* _arg0
;
865 PyObject
* _argo0
= 0;
866 char *_kwnames
[] = { "self", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetEditButton",_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_GetEditButton. Expected _wxEditableListBox_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 _result
= (wxBitmapButton
*)wxEditableListBox_GetEditButton(_arg0
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
884 }{ _resultobj
= wxPyMake_wxObject(_result
); }
888 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
889 wxRemotelyScrolledTreeCtrl
*src
;
891 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
892 dest
= (wxPyTreeCtrl
*) src
;
893 return (void *) dest
;
896 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
897 wxRemotelyScrolledTreeCtrl
*src
;
899 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
900 dest
= (wxControl
*) src
;
901 return (void *) dest
;
904 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
905 wxRemotelyScrolledTreeCtrl
*src
;
907 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
908 dest
= (wxWindow
*) src
;
909 return (void *) dest
;
912 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
913 wxRemotelyScrolledTreeCtrl
*src
;
915 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
916 dest
= (wxEvtHandler
*) src
;
917 return (void *) dest
;
920 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
921 wxRemotelyScrolledTreeCtrl
*src
;
923 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
924 dest
= (wxObject
*) src
;
925 return (void *) dest
;
928 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
929 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
930 PyObject
* _resultobj
;
931 wxRemotelyScrolledTreeCtrl
* _result
;
934 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
935 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
936 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
937 PyObject
* _argo0
= 0;
939 PyObject
* _obj2
= 0;
941 PyObject
* _obj3
= 0;
942 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
958 if (! wxPoint_helper(_obj2
, &_arg2
))
964 if (! wxSize_helper(_obj3
, &_arg3
))
968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
969 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
971 wxPyEndAllowThreads(__tstate
);
972 if (PyErr_Occurred()) return NULL
;
974 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
975 _resultobj
= Py_BuildValue("s",_ptemp
);
978 _resultobj
= Py_None
;
983 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
984 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
986 wxRemotelyScrolledTreeCtrl
* _arg0
;
987 PyObject
* _argo0
= 0;
988 char *_kwnames
[] = { "self", NULL
};
991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
1001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1002 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
1004 wxPyEndAllowThreads(__tstate
);
1005 if (PyErr_Occurred()) return NULL
;
1006 } Py_INCREF(Py_None
);
1007 _resultobj
= Py_None
;
1011 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
1012 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1014 wxRemotelyScrolledTreeCtrl
* _arg0
;
1015 PyObject
* _argo0
= 0;
1016 char *_kwnames
[] = { "self", NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
1022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
1029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1030 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
1032 wxPyEndAllowThreads(__tstate
);
1033 if (PyErr_Occurred()) return NULL
;
1034 } Py_INCREF(Py_None
);
1035 _resultobj
= Py_None
;
1039 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
1040 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
* _resultobj
;
1042 wxScrolledWindow
* _result
;
1043 wxRemotelyScrolledTreeCtrl
* _arg0
;
1044 PyObject
* _argo0
= 0;
1045 char *_kwnames
[] = { "self", NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames
,&_argo0
))
1052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1060 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
1062 wxPyEndAllowThreads(__tstate
);
1063 if (PyErr_Occurred()) return NULL
;
1065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
1066 _resultobj
= Py_BuildValue("s",_ptemp
);
1069 _resultobj
= Py_None
;
1074 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
1075 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1077 wxRemotelyScrolledTreeCtrl
* _arg0
;
1080 PyObject
* _argo0
= 0;
1081 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
1094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1095 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
1097 wxPyEndAllowThreads(__tstate
);
1098 if (PyErr_Occurred()) return NULL
;
1099 } Py_INCREF(Py_None
);
1100 _resultobj
= Py_None
;
1104 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
1105 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1106 PyObject
* _resultobj
;
1107 wxRemotelyScrolledTreeCtrl
* _arg0
;
1109 PyObject
* _argo0
= 0;
1110 PyObject
* _argo1
= 0;
1111 char *_kwnames
[] = { "self","companion", NULL
};
1114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
1117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1124 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1125 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
1131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1132 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
1134 wxPyEndAllowThreads(__tstate
);
1135 if (PyErr_Occurred()) return NULL
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
1142 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
* _resultobj
;
1145 wxRemotelyScrolledTreeCtrl
* _arg0
;
1146 PyObject
* _argo0
= 0;
1147 char *_kwnames
[] = { "self", NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
1153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
1155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1161 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
1163 wxPyEndAllowThreads(__tstate
);
1164 if (PyErr_Occurred()) return NULL
;
1165 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1169 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
1170 wxPyTreeCompanionWindow
*src
;
1172 src
= (wxPyTreeCompanionWindow
*) ptr
;
1173 dest
= (wxWindow
*) src
;
1174 return (void *) dest
;
1177 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
1178 wxPyTreeCompanionWindow
*src
;
1180 src
= (wxPyTreeCompanionWindow
*) ptr
;
1181 dest
= (wxEvtHandler
*) src
;
1182 return (void *) dest
;
1185 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
1186 wxPyTreeCompanionWindow
*src
;
1188 src
= (wxPyTreeCompanionWindow
*) ptr
;
1189 dest
= (wxObject
*) src
;
1190 return (void *) dest
;
1193 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1194 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
* _resultobj
;
1196 wxPyTreeCompanionWindow
* _result
;
1198 wxWindowID _arg1
= (wxWindowID
) -1;
1199 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1200 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1201 long _arg4
= (long ) 0;
1202 PyObject
* _argo0
= 0;
1204 PyObject
* _obj2
= 0;
1206 PyObject
* _obj3
= 0;
1207 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1223 if (! wxPoint_helper(_obj2
, &_arg2
))
1229 if (! wxSize_helper(_obj3
, &_arg3
))
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) return NULL
;
1239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1240 _resultobj
= Py_BuildValue("s",_ptemp
);
1243 _resultobj
= Py_None
;
1248 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1249 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
* _resultobj
;
1251 wxPyTreeCompanionWindow
* _arg0
;
1254 PyObject
* _argo0
= 0;
1255 PyObject
* _obj1
= 0;
1256 PyObject
* _obj2
= 0;
1257 char *_kwnames
[] = { "self","self","_class", NULL
};
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1277 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1279 wxPyEndAllowThreads(__tstate
);
1280 if (PyErr_Occurred()) return NULL
;
1281 } Py_INCREF(Py_None
);
1282 _resultobj
= Py_None
;
1286 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1287 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1289 wxRemotelyScrolledTreeCtrl
* _result
;
1290 wxPyTreeCompanionWindow
* _arg0
;
1291 PyObject
* _argo0
= 0;
1292 char *_kwnames
[] = { "self", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1307 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1309 wxPyEndAllowThreads(__tstate
);
1310 if (PyErr_Occurred()) return NULL
;
1312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1313 _resultobj
= Py_BuildValue("s",_ptemp
);
1316 _resultobj
= Py_None
;
1321 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1322 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
* _resultobj
;
1324 wxPyTreeCompanionWindow
* _arg0
;
1325 wxRemotelyScrolledTreeCtrl
* _arg1
;
1326 PyObject
* _argo0
= 0;
1327 PyObject
* _argo1
= 0;
1328 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1341 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1342 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1349 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1351 wxPyEndAllowThreads(__tstate
);
1352 if (PyErr_Occurred()) return NULL
;
1353 } Py_INCREF(Py_None
);
1354 _resultobj
= Py_None
;
1358 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1359 wxThinSplitterWindow
*src
;
1360 wxSplitterWindow
*dest
;
1361 src
= (wxThinSplitterWindow
*) ptr
;
1362 dest
= (wxSplitterWindow
*) src
;
1363 return (void *) dest
;
1366 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1367 wxThinSplitterWindow
*src
;
1369 src
= (wxThinSplitterWindow
*) ptr
;
1370 dest
= (wxWindow
*) src
;
1371 return (void *) dest
;
1374 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1375 wxThinSplitterWindow
*src
;
1377 src
= (wxThinSplitterWindow
*) ptr
;
1378 dest
= (wxEvtHandler
*) src
;
1379 return (void *) dest
;
1382 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1383 wxThinSplitterWindow
*src
;
1385 src
= (wxThinSplitterWindow
*) ptr
;
1386 dest
= (wxObject
*) src
;
1387 return (void *) dest
;
1390 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1391 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
* _resultobj
;
1393 wxThinSplitterWindow
* _result
;
1395 wxWindowID _arg1
= (wxWindowID
) -1;
1396 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1397 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1398 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1399 PyObject
* _argo0
= 0;
1401 PyObject
* _obj2
= 0;
1403 PyObject
* _obj3
= 0;
1404 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1420 if (! wxPoint_helper(_obj2
, &_arg2
))
1426 if (! wxSize_helper(_obj3
, &_arg3
))
1430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1431 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1433 wxPyEndAllowThreads(__tstate
);
1434 if (PyErr_Occurred()) return NULL
;
1436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1437 _resultobj
= Py_BuildValue("s",_ptemp
);
1440 _resultobj
= Py_None
;
1445 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1446 wxSplitterScrolledWindow
*src
;
1447 wxScrolledWindow
*dest
;
1448 src
= (wxSplitterScrolledWindow
*) ptr
;
1449 dest
= (wxScrolledWindow
*) src
;
1450 return (void *) dest
;
1453 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1454 wxSplitterScrolledWindow
*src
;
1456 src
= (wxSplitterScrolledWindow
*) ptr
;
1457 dest
= (wxPanel
*) src
;
1458 return (void *) dest
;
1461 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1462 wxSplitterScrolledWindow
*src
;
1464 src
= (wxSplitterScrolledWindow
*) ptr
;
1465 dest
= (wxWindow
*) src
;
1466 return (void *) dest
;
1469 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1470 wxSplitterScrolledWindow
*src
;
1472 src
= (wxSplitterScrolledWindow
*) ptr
;
1473 dest
= (wxEvtHandler
*) src
;
1474 return (void *) dest
;
1477 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1478 wxSplitterScrolledWindow
*src
;
1480 src
= (wxSplitterScrolledWindow
*) ptr
;
1481 dest
= (wxObject
*) src
;
1482 return (void *) dest
;
1485 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1486 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
* _resultobj
;
1488 wxSplitterScrolledWindow
* _result
;
1490 wxWindowID _arg1
= (wxWindowID
) -1;
1491 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1492 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1493 long _arg4
= (long ) 0;
1494 PyObject
* _argo0
= 0;
1496 PyObject
* _obj2
= 0;
1498 PyObject
* _obj3
= 0;
1499 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1515 if (! wxPoint_helper(_obj2
, &_arg2
))
1521 if (! wxSize_helper(_obj3
, &_arg3
))
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) return NULL
;
1531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1532 _resultobj
= Py_BuildValue("s",_ptemp
);
1535 _resultobj
= Py_None
;
1540 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1541 wxLEDNumberCtrl
*src
;
1543 src
= (wxLEDNumberCtrl
*) ptr
;
1544 dest
= (wxControl
*) src
;
1545 return (void *) dest
;
1548 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1549 wxLEDNumberCtrl
*src
;
1551 src
= (wxLEDNumberCtrl
*) ptr
;
1552 dest
= (wxWindow
*) src
;
1553 return (void *) dest
;
1556 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1557 wxLEDNumberCtrl
*src
;
1559 src
= (wxLEDNumberCtrl
*) ptr
;
1560 dest
= (wxEvtHandler
*) src
;
1561 return (void *) dest
;
1564 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1565 wxLEDNumberCtrl
*src
;
1567 src
= (wxLEDNumberCtrl
*) ptr
;
1568 dest
= (wxObject
*) src
;
1569 return (void *) dest
;
1572 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1573 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1575 wxLEDNumberCtrl
* _result
;
1577 wxWindowID _arg1
= (wxWindowID
) -1;
1578 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1579 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1580 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1581 PyObject
* _argo0
= 0;
1583 PyObject
* _obj2
= 0;
1585 PyObject
* _obj3
= 0;
1586 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1602 if (! wxPoint_helper(_obj2
, &_arg2
))
1608 if (! wxSize_helper(_obj3
, &_arg3
))
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1618 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1619 _resultobj
= Py_BuildValue("s",_ptemp
);
1622 _resultobj
= Py_None
;
1627 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1628 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1630 wxLEDNumberCtrl
* _result
;
1631 char *_kwnames
[] = { NULL
};
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) return NULL
;
1644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1645 _resultobj
= Py_BuildValue("s",_ptemp
);
1648 _resultobj
= Py_None
;
1653 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1654 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1657 wxLEDNumberCtrl
* _arg0
;
1659 wxWindowID _arg2
= (wxWindowID
) -1;
1660 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1661 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1662 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _argo1
= 0;
1666 PyObject
* _obj3
= 0;
1668 PyObject
* _obj4
= 0;
1669 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1682 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1683 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1691 if (! wxPoint_helper(_obj3
, &_arg3
))
1697 if (! wxSize_helper(_obj4
, &_arg4
))
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) return NULL
;
1706 } _resultobj
= Py_BuildValue("i",_result
);
1710 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1711 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
* _resultobj
;
1713 wxLEDValueAlign _result
;
1714 wxLEDNumberCtrl
* _arg0
;
1715 PyObject
* _argo0
= 0;
1716 char *_kwnames
[] = { "self", NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1734 } _resultobj
= Py_BuildValue("i",_result
);
1738 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1739 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1742 wxLEDNumberCtrl
* _arg0
;
1743 PyObject
* _argo0
= 0;
1744 char *_kwnames
[] = { "self", NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) return NULL
;
1762 } _resultobj
= Py_BuildValue("i",_result
);
1766 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1767 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1770 wxLEDNumberCtrl
* _arg0
;
1771 PyObject
* _argo0
= 0;
1772 char *_kwnames
[] = { "self", NULL
};
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1787 _result
= (wxString
*) &_result_ref
;
1789 wxPyEndAllowThreads(__tstate
);
1790 if (PyErr_Occurred()) return NULL
;
1793 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1795 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1801 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1802 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 wxLEDNumberCtrl
* _arg0
;
1805 wxLEDValueAlign _arg1
;
1806 bool _arg2
= (bool ) true;
1807 PyObject
* _argo0
= 0;
1808 int tempbool2
= (int) true;
1809 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1821 _arg2
= (bool ) tempbool2
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) return NULL
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1833 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1834 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
* _resultobj
;
1836 wxLEDNumberCtrl
* _arg0
;
1838 bool _arg2
= (bool ) true;
1839 PyObject
* _argo0
= 0;
1841 int tempbool2
= (int) true;
1842 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1854 _arg1
= (bool ) tempbool1
;
1855 _arg2
= (bool ) tempbool2
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) return NULL
;
1862 } Py_INCREF(Py_None
);
1863 _resultobj
= Py_None
;
1867 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1868 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
* _resultobj
;
1870 wxLEDNumberCtrl
* _arg0
;
1872 bool _arg2
= (bool ) true;
1873 PyObject
* _argo0
= 0;
1874 PyObject
* _obj1
= 0;
1875 int tempbool2
= (int) true;
1876 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1889 _arg1
= wxString_in_helper(_obj1
);
1893 _arg2
= (bool ) tempbool2
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1900 } Py_INCREF(Py_None
);
1901 _resultobj
= Py_None
;
1909 static PyMethodDef gizmoscMethods
[] = {
1910 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
1911 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1912 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1913 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
1914 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1915 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1916 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1917 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1918 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1919 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1920 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1921 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1922 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1923 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1924 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1925 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1926 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1927 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
1928 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1929 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
1930 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
1931 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1932 { "wxEditableListBox_GetEditButton", (PyCFunction
) _wrap_wxEditableListBox_GetEditButton
, METH_VARARGS
| METH_KEYWORDS
},
1933 { "wxEditableListBox_GetDownButton", (PyCFunction
) _wrap_wxEditableListBox_GetDownButton
, METH_VARARGS
| METH_KEYWORDS
},
1934 { "wxEditableListBox_GetUpButton", (PyCFunction
) _wrap_wxEditableListBox_GetUpButton
, METH_VARARGS
| METH_KEYWORDS
},
1935 { "wxEditableListBox_GetNewButton", (PyCFunction
) _wrap_wxEditableListBox_GetNewButton
, METH_VARARGS
| METH_KEYWORDS
},
1936 { "wxEditableListBox_GetDelButton", (PyCFunction
) _wrap_wxEditableListBox_GetDelButton
, METH_VARARGS
| METH_KEYWORDS
},
1937 { "wxEditableListBox_GetListCtrl", (PyCFunction
) _wrap_wxEditableListBox_GetListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1938 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1939 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1940 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
1941 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1942 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1943 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1944 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1945 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1946 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
1947 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
1954 * This table is used by the pointer type-checker
1956 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1957 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
1958 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
1959 { "_signed_long","_long",0},
1960 { "_wxPrintQuality","_wxCoord",0},
1961 { "_wxPrintQuality","_int",0},
1962 { "_wxPrintQuality","_signed_int",0},
1963 { "_wxPrintQuality","_unsigned_int",0},
1964 { "_wxPrintQuality","_wxWindowID",0},
1965 { "_wxPrintQuality","_uint",0},
1966 { "_wxPrintQuality","_EBool",0},
1967 { "_wxPrintQuality","_size_t",0},
1968 { "_wxPrintQuality","_time_t",0},
1969 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
1970 { "_byte","_unsigned_char",0},
1971 { "_long","_unsigned_long",0},
1972 { "_long","_signed_long",0},
1973 { "_size_t","_wxCoord",0},
1974 { "_size_t","_wxPrintQuality",0},
1975 { "_size_t","_time_t",0},
1976 { "_size_t","_unsigned_int",0},
1977 { "_size_t","_int",0},
1978 { "_size_t","_wxWindowID",0},
1979 { "_size_t","_uint",0},
1980 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
1981 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
1982 { "_uint","_wxCoord",0},
1983 { "_uint","_wxPrintQuality",0},
1984 { "_uint","_time_t",0},
1985 { "_uint","_size_t",0},
1986 { "_uint","_unsigned_int",0},
1987 { "_uint","_int",0},
1988 { "_uint","_wxWindowID",0},
1989 { "_wxChar","_char",0},
1990 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
1991 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
1992 { "_char","_wxChar",0},
1993 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1994 { "_EBool","_wxCoord",0},
1995 { "_EBool","_wxPrintQuality",0},
1996 { "_EBool","_signed_int",0},
1997 { "_EBool","_int",0},
1998 { "_EBool","_wxWindowID",0},
1999 { "_unsigned_long","_long",0},
2000 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2001 { "_signed_int","_wxCoord",0},
2002 { "_signed_int","_wxPrintQuality",0},
2003 { "_signed_int","_EBool",0},
2004 { "_signed_int","_wxWindowID",0},
2005 { "_signed_int","_int",0},
2006 { "_WXTYPE","_wxDateTime_t",0},
2007 { "_WXTYPE","_short",0},
2008 { "_WXTYPE","_signed_short",0},
2009 { "_WXTYPE","_unsigned_short",0},
2010 { "_unsigned_short","_wxDateTime_t",0},
2011 { "_unsigned_short","_WXTYPE",0},
2012 { "_unsigned_short","_short",0},
2013 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
2014 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
2015 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
2016 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
2017 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
2018 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
2019 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
2020 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
2021 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
2022 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
2023 { "_signed_short","_WXTYPE",0},
2024 { "_signed_short","_short",0},
2025 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
2026 { "_unsigned_char","_byte",0},
2027 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
2028 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
2029 { "_unsigned_int","_wxCoord",0},
2030 { "_unsigned_int","_wxPrintQuality",0},
2031 { "_unsigned_int","_time_t",0},
2032 { "_unsigned_int","_size_t",0},
2033 { "_unsigned_int","_uint",0},
2034 { "_unsigned_int","_wxWindowID",0},
2035 { "_unsigned_int","_int",0},
2036 { "_short","_wxDateTime_t",0},
2037 { "_short","_WXTYPE",0},
2038 { "_short","_unsigned_short",0},
2039 { "_short","_signed_short",0},
2040 { "_wxWindowID","_wxCoord",0},
2041 { "_wxWindowID","_wxPrintQuality",0},
2042 { "_wxWindowID","_time_t",0},
2043 { "_wxWindowID","_size_t",0},
2044 { "_wxWindowID","_EBool",0},
2045 { "_wxWindowID","_uint",0},
2046 { "_wxWindowID","_int",0},
2047 { "_wxWindowID","_signed_int",0},
2048 { "_wxWindowID","_unsigned_int",0},
2049 { "_int","_wxCoord",0},
2050 { "_int","_wxPrintQuality",0},
2051 { "_int","_time_t",0},
2052 { "_int","_size_t",0},
2053 { "_int","_EBool",0},
2054 { "_int","_uint",0},
2055 { "_int","_wxWindowID",0},
2056 { "_int","_unsigned_int",0},
2057 { "_int","_signed_int",0},
2058 { "_wxDateTime_t","_unsigned_short",0},
2059 { "_wxDateTime_t","_short",0},
2060 { "_wxDateTime_t","_WXTYPE",0},
2061 { "_time_t","_wxCoord",0},
2062 { "_time_t","_wxPrintQuality",0},
2063 { "_time_t","_unsigned_int",0},
2064 { "_time_t","_int",0},
2065 { "_time_t","_wxWindowID",0},
2066 { "_time_t","_uint",0},
2067 { "_time_t","_size_t",0},
2068 { "_wxCoord","_int",0},
2069 { "_wxCoord","_signed_int",0},
2070 { "_wxCoord","_unsigned_int",0},
2071 { "_wxCoord","_wxWindowID",0},
2072 { "_wxCoord","_uint",0},
2073 { "_wxCoord","_EBool",0},
2074 { "_wxCoord","_size_t",0},
2075 { "_wxCoord","_time_t",0},
2076 { "_wxCoord","_wxPrintQuality",0},
2077 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
2078 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
2079 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
2080 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
2081 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
2082 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
2083 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
2084 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
2085 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
2086 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
2087 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
2088 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
2089 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
2090 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
2093 static PyObject
*SWIG_globals
;
2097 SWIGEXPORT(void) initgizmosc() {
2099 SWIG_globals
= SWIG_newvarlink();
2100 m
= Py_InitModule("gizmosc", gizmoscMethods
);
2101 d
= PyModule_GetDict(m
);
2102 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
2103 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
2104 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
2105 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
2106 PyDict_SetItemString(d
,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW
));
2107 PyDict_SetItemString(d
,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT
));
2108 PyDict_SetItemString(d
,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE
));
2109 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
2110 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
2111 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
2112 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
2113 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
2116 wxClassInfo::CleanUpClasses();
2117 wxClassInfo::InitializeClasses();
2119 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
2122 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
2123 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);