2 * FILE : contrib/gizmos/gizmos.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initgizmosc
56 #define SWIG_name "gizmosc"
59 #include <wx/gizmos/dynamicsash.h>
60 #include <wx/gizmos/editlbox.h>
61 #include <wx/gizmos/splittree.h>
62 #include <wx/gizmos/ledctrl.h>
65 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyTuple_Check(target
)) {
77 target
= PyTuple_New(1);
78 PyTuple_SetItem(target
, 0, o2
);
81 PyTuple_SetItem(o3
, 0, o
);
84 target
= PySequence_Concat(o2
, o3
);
91 #if PYTHON_API_VERSION >= 1009
92 static char* wxStringErrorMsg
= "String or Unicode type required";
94 static char* wxStringErrorMsg
= "String type required";
97 typedef wxTreeCtrl wxPyTreeCtrl
;
99 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
102 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
103 const wxPoint
& pos
= wxDefaultPosition
,
104 const wxSize
& size
= wxDefaultSize
,
106 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
109 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
111 wxPyTState
* state
= wxPyBeginBlockThreads();
112 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
113 PyObject
* dcobj
= wxPyMake_wxObject(&dc
);
114 PyObject
* idobj
= wxPyConstructObject((void*)&id
, "wxTreeItemId", FALSE
);
115 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, "wxRect", FALSE
);
116 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
121 wxPyEndBlockThreads(state
);
123 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
131 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr
) {
132 wxDynamicSashSplitEvent
*src
;
133 wxCommandEvent
*dest
;
134 src
= (wxDynamicSashSplitEvent
*) ptr
;
135 dest
= (wxCommandEvent
*) src
;
136 return (void *) dest
;
139 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr
) {
140 wxDynamicSashSplitEvent
*src
;
142 src
= (wxDynamicSashSplitEvent
*) ptr
;
143 dest
= (wxEvent
*) src
;
144 return (void *) dest
;
147 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr
) {
148 wxDynamicSashSplitEvent
*src
;
150 src
= (wxDynamicSashSplitEvent
*) ptr
;
151 dest
= (wxObject
*) src
;
152 return (void *) dest
;
155 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
156 static PyObject
*_wrap_new_wxDynamicSashSplitEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
158 wxDynamicSashSplitEvent
* _result
;
160 PyObject
* _argo0
= 0;
161 char *_kwnames
[] = { "target", NULL
};
165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashSplitEvent",_kwnames
,&_argo0
))
168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
175 wxPy_BEGIN_ALLOW_THREADS
;
176 _result
= (wxDynamicSashSplitEvent
*)new_wxDynamicSashSplitEvent(_arg0
);
178 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
234 _result
= (wxDynamicSashUnifyEvent
*)new_wxDynamicSashUnifyEvent(_arg0
);
236 wxPy_END_ALLOW_THREADS
;
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 char * _arg5
= (char *) "dynamicSashWindow";
281 PyObject
* _argo0
= 0;
283 PyObject
* _obj2
= 0;
285 PyObject
* _obj3
= 0;
286 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxDynamicSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
302 if (! wxPoint_helper(_obj2
, &_arg2
))
308 if (! wxSize_helper(_obj3
, &_arg3
))
312 wxPy_BEGIN_ALLOW_THREADS
;
313 _result
= (wxDynamicSashWindow
*)new_wxDynamicSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
315 wxPy_END_ALLOW_THREADS
;
317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
318 _resultobj
= Py_BuildValue("s",_ptemp
);
321 _resultobj
= Py_None
;
326 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
327 static PyObject
*_wrap_new_wxPreDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
328 PyObject
* _resultobj
;
329 wxDynamicSashWindow
* _result
;
330 char *_kwnames
[] = { NULL
};
334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDynamicSashWindow",_kwnames
))
337 wxPy_BEGIN_ALLOW_THREADS
;
338 _result
= (wxDynamicSashWindow
*)new_wxPreDynamicSashWindow();
340 wxPy_END_ALLOW_THREADS
;
342 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
343 _resultobj
= Py_BuildValue("s",_ptemp
);
346 _resultobj
= Py_None
;
351 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
352 static PyObject
*_wrap_wxDynamicSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
355 wxDynamicSashWindow
* _arg0
;
358 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
359 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
360 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
361 char * _arg6
= (char *) "dynamicSashWindow";
362 PyObject
* _argo0
= 0;
363 PyObject
* _argo1
= 0;
365 PyObject
* _obj3
= 0;
367 PyObject
* _obj4
= 0;
368 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxDynamicSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
390 if (! wxPoint_helper(_obj3
, &_arg3
))
396 if (! wxSize_helper(_obj4
, &_arg4
))
400 wxPy_BEGIN_ALLOW_THREADS
;
401 _result
= (bool )wxDynamicSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
403 wxPy_END_ALLOW_THREADS
;
404 } _resultobj
= Py_BuildValue("i",_result
);
408 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
409 static PyObject
*_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
410 PyObject
* _resultobj
;
411 wxScrollBar
* _result
;
412 wxDynamicSashWindow
* _arg0
;
414 PyObject
* _argo0
= 0;
415 PyObject
* _argo1
= 0;
416 char *_kwnames
[] = { "self","child", NULL
};
420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames
,&_argo0
,&_argo1
))
423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
430 if (_argo1
== Py_None
) { _arg1
= NULL
; }
431 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
437 wxPy_BEGIN_ALLOW_THREADS
;
438 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetHScrollBar(_arg0
,_arg1
);
440 wxPy_END_ALLOW_THREADS
;
442 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
443 _resultobj
= Py_BuildValue("s",_ptemp
);
446 _resultobj
= Py_None
;
451 #define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
452 static PyObject
*_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
454 wxScrollBar
* _result
;
455 wxDynamicSashWindow
* _arg0
;
457 PyObject
* _argo0
= 0;
458 PyObject
* _argo1
= 0;
459 char *_kwnames
[] = { "self","child", NULL
};
463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames
,&_argo0
,&_argo1
))
466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
480 wxPy_BEGIN_ALLOW_THREADS
;
481 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetVScrollBar(_arg0
,_arg1
);
483 wxPy_END_ALLOW_THREADS
;
485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
486 _resultobj
= Py_BuildValue("s",_ptemp
);
489 _resultobj
= Py_None
;
494 static void *SwigwxEditableListBoxTowxPanel(void *ptr
) {
495 wxEditableListBox
*src
;
497 src
= (wxEditableListBox
*) ptr
;
498 dest
= (wxPanel
*) src
;
499 return (void *) dest
;
502 static void *SwigwxEditableListBoxTowxWindow(void *ptr
) {
503 wxEditableListBox
*src
;
505 src
= (wxEditableListBox
*) ptr
;
506 dest
= (wxWindow
*) src
;
507 return (void *) dest
;
510 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr
) {
511 wxEditableListBox
*src
;
513 src
= (wxEditableListBox
*) ptr
;
514 dest
= (wxEvtHandler
*) src
;
515 return (void *) dest
;
518 static void *SwigwxEditableListBoxTowxObject(void *ptr
) {
519 wxEditableListBox
*src
;
521 src
= (wxEditableListBox
*) ptr
;
522 dest
= (wxObject
*) src
;
523 return (void *) dest
;
526 #define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
527 static PyObject
*_wrap_new_wxEditableListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
528 PyObject
* _resultobj
;
529 wxEditableListBox
* _result
;
533 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
534 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
535 char * _arg5
= (char *) "editableListBox";
536 PyObject
* _argo0
= 0;
537 PyObject
* _obj2
= 0;
539 PyObject
* _obj3
= 0;
541 PyObject
* _obj4
= 0;
542 char *_kwnames
[] = { "parent","id","label","pos","size","name", NULL
};
546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOs:new_wxEditableListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
))
549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
556 #if PYTHON_API_VERSION >= 1009
557 char* tmpPtr
; int tmpSize
;
558 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
562 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
564 _arg2
= new wxString(tmpPtr
, tmpSize
);
566 if (!PyString_Check(_obj2
)) {
567 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
570 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
576 if (! wxPoint_helper(_obj3
, &_arg3
))
582 if (! wxSize_helper(_obj4
, &_arg4
))
586 wxPy_BEGIN_ALLOW_THREADS
;
587 _result
= (wxEditableListBox
*)new_wxEditableListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
);
589 wxPy_END_ALLOW_THREADS
;
591 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEditableListBox_p");
592 _resultobj
= Py_BuildValue("s",_ptemp
);
595 _resultobj
= Py_None
;
604 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
605 static PyObject
*_wrap_wxEditableListBox_SetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
606 PyObject
* _resultobj
;
607 wxEditableListBox
* _arg0
;
608 wxArrayString
* _arg1
;
609 PyObject
* _argo0
= 0;
610 PyObject
* _obj1
= 0;
611 char *_kwnames
[] = { "self","strings", NULL
};
614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEditableListBox_SetStrings",_kwnames
,&_argo0
,&_obj1
))
617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
624 if (! PySequence_Check(_obj1
)) {
625 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
628 _arg1
= new wxArrayString
;
629 int i
, len
=PySequence_Length(_obj1
);
630 for (i
=0; i
<len
; i
++) {
631 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
632 PyObject
* str
= PyObject_Str(item
);
633 _arg1
->Add(PyString_AsString(item
));
639 wxPy_BEGIN_ALLOW_THREADS
;
640 wxEditableListBox_SetStrings(_arg0
,*_arg1
);
642 wxPy_END_ALLOW_THREADS
;
643 } Py_INCREF(Py_None
);
644 _resultobj
= Py_None
;
652 static PyObject
* wxEditableListBox_GetStrings(wxEditableListBox
*self
) {
653 wxArrayString strings
;
654 self
->GetStrings(strings
);
655 return wxArrayString2PyList_helper(strings
);
657 static PyObject
*_wrap_wxEditableListBox_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
658 PyObject
* _resultobj
;
660 wxEditableListBox
* _arg0
;
661 PyObject
* _argo0
= 0;
662 char *_kwnames
[] = { "self", NULL
};
665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetStrings",_kwnames
,&_argo0
))
668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
675 wxPy_BEGIN_ALLOW_THREADS
;
676 _result
= (PyObject
*)wxEditableListBox_GetStrings(_arg0
);
678 wxPy_END_ALLOW_THREADS
;
680 _resultobj
= _result
;
685 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
686 wxRemotelyScrolledTreeCtrl
*src
;
688 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
689 dest
= (wxPyTreeCtrl
*) src
;
690 return (void *) dest
;
693 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
694 wxRemotelyScrolledTreeCtrl
*src
;
696 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
697 dest
= (wxControl
*) src
;
698 return (void *) dest
;
701 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
702 wxRemotelyScrolledTreeCtrl
*src
;
704 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
705 dest
= (wxWindow
*) src
;
706 return (void *) dest
;
709 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
710 wxRemotelyScrolledTreeCtrl
*src
;
712 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
713 dest
= (wxEvtHandler
*) src
;
714 return (void *) dest
;
717 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
718 wxRemotelyScrolledTreeCtrl
*src
;
720 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
721 dest
= (wxObject
*) src
;
722 return (void *) dest
;
725 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
726 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 PyObject
* _resultobj
;
728 wxRemotelyScrolledTreeCtrl
* _result
;
731 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
732 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
733 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
734 PyObject
* _argo0
= 0;
736 PyObject
* _obj2
= 0;
738 PyObject
* _obj3
= 0;
739 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
755 if (! wxPoint_helper(_obj2
, &_arg2
))
761 if (! wxSize_helper(_obj3
, &_arg3
))
765 wxPy_BEGIN_ALLOW_THREADS
;
766 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
768 wxPy_END_ALLOW_THREADS
;
770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
771 _resultobj
= Py_BuildValue("s",_ptemp
);
774 _resultobj
= Py_None
;
779 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
780 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
782 wxRemotelyScrolledTreeCtrl
* _arg0
;
783 PyObject
* _argo0
= 0;
784 char *_kwnames
[] = { "self", NULL
};
787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
797 wxPy_BEGIN_ALLOW_THREADS
;
798 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
800 wxPy_END_ALLOW_THREADS
;
801 } Py_INCREF(Py_None
);
802 _resultobj
= Py_None
;
806 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
807 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
809 wxRemotelyScrolledTreeCtrl
* _arg0
;
810 PyObject
* _argo0
= 0;
811 char *_kwnames
[] = { "self", NULL
};
814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
824 wxPy_BEGIN_ALLOW_THREADS
;
825 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
827 wxPy_END_ALLOW_THREADS
;
828 } Py_INCREF(Py_None
);
829 _resultobj
= Py_None
;
833 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
834 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
836 wxScrolledWindow
* _result
;
837 wxRemotelyScrolledTreeCtrl
* _arg0
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames
,&_argo0
))
846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
853 wxPy_BEGIN_ALLOW_THREADS
;
854 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
856 wxPy_END_ALLOW_THREADS
;
858 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
859 _resultobj
= Py_BuildValue("s",_ptemp
);
862 _resultobj
= Py_None
;
867 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
868 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
870 wxRemotelyScrolledTreeCtrl
* _arg0
;
873 PyObject
* _argo0
= 0;
874 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
887 wxPy_BEGIN_ALLOW_THREADS
;
888 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
890 wxPy_END_ALLOW_THREADS
;
891 } Py_INCREF(Py_None
);
892 _resultobj
= Py_None
;
896 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
897 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 PyObject
* _resultobj
;
899 wxRemotelyScrolledTreeCtrl
* _arg0
;
901 PyObject
* _argo0
= 0;
902 PyObject
* _argo1
= 0;
903 char *_kwnames
[] = { "self","companion", NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
916 if (_argo1
== Py_None
) { _arg1
= NULL
; }
917 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
923 wxPy_BEGIN_ALLOW_THREADS
;
924 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
926 wxPy_END_ALLOW_THREADS
;
927 } Py_INCREF(Py_None
);
928 _resultobj
= Py_None
;
932 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
933 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
936 wxRemotelyScrolledTreeCtrl
* _arg0
;
937 PyObject
* _argo0
= 0;
938 char *_kwnames
[] = { "self", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
951 wxPy_BEGIN_ALLOW_THREADS
;
952 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
954 wxPy_END_ALLOW_THREADS
;
955 }{ _resultobj
= wxPyMake_wxObject(_result
); }
959 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
960 wxPyTreeCompanionWindow
*src
;
962 src
= (wxPyTreeCompanionWindow
*) ptr
;
963 dest
= (wxWindow
*) src
;
964 return (void *) dest
;
967 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
968 wxPyTreeCompanionWindow
*src
;
970 src
= (wxPyTreeCompanionWindow
*) ptr
;
971 dest
= (wxEvtHandler
*) src
;
972 return (void *) dest
;
975 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
976 wxPyTreeCompanionWindow
*src
;
978 src
= (wxPyTreeCompanionWindow
*) ptr
;
979 dest
= (wxObject
*) src
;
980 return (void *) dest
;
983 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
984 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
985 PyObject
* _resultobj
;
986 wxPyTreeCompanionWindow
* _result
;
988 wxWindowID _arg1
= (wxWindowID
) -1;
989 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
990 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
991 long _arg4
= (long ) 0;
992 PyObject
* _argo0
= 0;
994 PyObject
* _obj2
= 0;
996 PyObject
* _obj3
= 0;
997 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1013 if (! wxPoint_helper(_obj2
, &_arg2
))
1019 if (! wxSize_helper(_obj3
, &_arg3
))
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1026 wxPy_END_ALLOW_THREADS
;
1028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1029 _resultobj
= Py_BuildValue("s",_ptemp
);
1032 _resultobj
= Py_None
;
1037 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1038 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1040 wxPyTreeCompanionWindow
* _arg0
;
1043 PyObject
* _argo0
= 0;
1044 PyObject
* _obj1
= 0;
1045 PyObject
* _obj2
= 0;
1046 char *_kwnames
[] = { "self","self","_class", NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1065 wxPy_BEGIN_ALLOW_THREADS
;
1066 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1068 wxPy_END_ALLOW_THREADS
;
1069 } Py_INCREF(Py_None
);
1070 _resultobj
= Py_None
;
1074 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1075 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1076 PyObject
* _resultobj
;
1077 wxRemotelyScrolledTreeCtrl
* _result
;
1078 wxPyTreeCompanionWindow
* _arg0
;
1079 PyObject
* _argo0
= 0;
1080 char *_kwnames
[] = { "self", NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1097 wxPy_END_ALLOW_THREADS
;
1099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1100 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 _resultobj
= Py_None
;
1108 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1109 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1110 PyObject
* _resultobj
;
1111 wxPyTreeCompanionWindow
* _arg0
;
1112 wxRemotelyScrolledTreeCtrl
* _arg1
;
1113 PyObject
* _argo0
= 0;
1114 PyObject
* _argo1
= 0;
1115 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1128 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1135 wxPy_BEGIN_ALLOW_THREADS
;
1136 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1138 wxPy_END_ALLOW_THREADS
;
1139 } Py_INCREF(Py_None
);
1140 _resultobj
= Py_None
;
1144 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1145 wxThinSplitterWindow
*src
;
1146 wxSplitterWindow
*dest
;
1147 src
= (wxThinSplitterWindow
*) ptr
;
1148 dest
= (wxSplitterWindow
*) src
;
1149 return (void *) dest
;
1152 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1153 wxThinSplitterWindow
*src
;
1155 src
= (wxThinSplitterWindow
*) ptr
;
1156 dest
= (wxWindow
*) src
;
1157 return (void *) dest
;
1160 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1161 wxThinSplitterWindow
*src
;
1163 src
= (wxThinSplitterWindow
*) ptr
;
1164 dest
= (wxEvtHandler
*) src
;
1165 return (void *) dest
;
1168 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1169 wxThinSplitterWindow
*src
;
1171 src
= (wxThinSplitterWindow
*) ptr
;
1172 dest
= (wxObject
*) src
;
1173 return (void *) dest
;
1176 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1177 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1178 PyObject
* _resultobj
;
1179 wxThinSplitterWindow
* _result
;
1181 wxWindowID _arg1
= (wxWindowID
) -1;
1182 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1183 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1184 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1185 PyObject
* _argo0
= 0;
1187 PyObject
* _obj2
= 0;
1189 PyObject
* _obj3
= 0;
1190 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1206 if (! wxPoint_helper(_obj2
, &_arg2
))
1212 if (! wxSize_helper(_obj3
, &_arg3
))
1216 wxPy_BEGIN_ALLOW_THREADS
;
1217 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1219 wxPy_END_ALLOW_THREADS
;
1221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1222 _resultobj
= Py_BuildValue("s",_ptemp
);
1225 _resultobj
= Py_None
;
1230 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1231 wxSplitterScrolledWindow
*src
;
1232 wxScrolledWindow
*dest
;
1233 src
= (wxSplitterScrolledWindow
*) ptr
;
1234 dest
= (wxScrolledWindow
*) src
;
1235 return (void *) dest
;
1238 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1239 wxSplitterScrolledWindow
*src
;
1241 src
= (wxSplitterScrolledWindow
*) ptr
;
1242 dest
= (wxPanel
*) src
;
1243 return (void *) dest
;
1246 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1247 wxSplitterScrolledWindow
*src
;
1249 src
= (wxSplitterScrolledWindow
*) ptr
;
1250 dest
= (wxWindow
*) src
;
1251 return (void *) dest
;
1254 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1255 wxSplitterScrolledWindow
*src
;
1257 src
= (wxSplitterScrolledWindow
*) ptr
;
1258 dest
= (wxEvtHandler
*) src
;
1259 return (void *) dest
;
1262 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1263 wxSplitterScrolledWindow
*src
;
1265 src
= (wxSplitterScrolledWindow
*) ptr
;
1266 dest
= (wxObject
*) src
;
1267 return (void *) dest
;
1270 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1271 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1273 wxSplitterScrolledWindow
* _result
;
1275 wxWindowID _arg1
= (wxWindowID
) -1;
1276 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1277 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1278 long _arg4
= (long ) 0;
1279 PyObject
* _argo0
= 0;
1281 PyObject
* _obj2
= 0;
1283 PyObject
* _obj3
= 0;
1284 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1300 if (! wxPoint_helper(_obj2
, &_arg2
))
1306 if (! wxSize_helper(_obj3
, &_arg3
))
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1313 wxPy_END_ALLOW_THREADS
;
1315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1316 _resultobj
= Py_BuildValue("s",_ptemp
);
1319 _resultobj
= Py_None
;
1324 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1325 wxLEDNumberCtrl
*src
;
1327 src
= (wxLEDNumberCtrl
*) ptr
;
1328 dest
= (wxControl
*) src
;
1329 return (void *) dest
;
1332 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1333 wxLEDNumberCtrl
*src
;
1335 src
= (wxLEDNumberCtrl
*) ptr
;
1336 dest
= (wxWindow
*) src
;
1337 return (void *) dest
;
1340 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1341 wxLEDNumberCtrl
*src
;
1343 src
= (wxLEDNumberCtrl
*) ptr
;
1344 dest
= (wxEvtHandler
*) src
;
1345 return (void *) dest
;
1348 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1349 wxLEDNumberCtrl
*src
;
1351 src
= (wxLEDNumberCtrl
*) ptr
;
1352 dest
= (wxObject
*) src
;
1353 return (void *) dest
;
1356 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1357 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
* _resultobj
;
1359 wxLEDNumberCtrl
* _result
;
1361 wxWindowID _arg1
= (wxWindowID
) -1;
1362 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1363 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1364 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1365 PyObject
* _argo0
= 0;
1367 PyObject
* _obj2
= 0;
1369 PyObject
* _obj3
= 0;
1370 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1386 if (! wxPoint_helper(_obj2
, &_arg2
))
1392 if (! wxSize_helper(_obj3
, &_arg3
))
1396 wxPy_BEGIN_ALLOW_THREADS
;
1397 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1399 wxPy_END_ALLOW_THREADS
;
1401 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1402 _resultobj
= Py_BuildValue("s",_ptemp
);
1405 _resultobj
= Py_None
;
1410 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1411 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1413 wxLEDNumberCtrl
* _result
;
1414 char *_kwnames
[] = { NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1424 wxPy_END_ALLOW_THREADS
;
1426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1427 _resultobj
= Py_BuildValue("s",_ptemp
);
1430 _resultobj
= Py_None
;
1435 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1436 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1439 wxLEDNumberCtrl
* _arg0
;
1441 wxWindowID _arg2
= (wxWindowID
) -1;
1442 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1443 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1444 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1445 PyObject
* _argo0
= 0;
1446 PyObject
* _argo1
= 0;
1448 PyObject
* _obj3
= 0;
1450 PyObject
* _obj4
= 0;
1451 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1473 if (! wxPoint_helper(_obj3
, &_arg3
))
1479 if (! wxSize_helper(_obj4
, &_arg4
))
1483 wxPy_BEGIN_ALLOW_THREADS
;
1484 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1486 wxPy_END_ALLOW_THREADS
;
1487 } _resultobj
= Py_BuildValue("i",_result
);
1491 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1492 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
* _resultobj
;
1494 wxLEDValueAlign _result
;
1495 wxLEDNumberCtrl
* _arg0
;
1496 PyObject
* _argo0
= 0;
1497 char *_kwnames
[] = { "self", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1510 wxPy_BEGIN_ALLOW_THREADS
;
1511 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1513 wxPy_END_ALLOW_THREADS
;
1514 } _resultobj
= Py_BuildValue("i",_result
);
1518 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1519 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 wxLEDNumberCtrl
* _arg0
;
1523 PyObject
* _argo0
= 0;
1524 char *_kwnames
[] = { "self", NULL
};
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1537 wxPy_BEGIN_ALLOW_THREADS
;
1538 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1540 wxPy_END_ALLOW_THREADS
;
1541 } _resultobj
= Py_BuildValue("i",_result
);
1545 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1546 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
* _resultobj
;
1549 wxLEDNumberCtrl
* _arg0
;
1550 PyObject
* _argo0
= 0;
1551 char *_kwnames
[] = { "self", NULL
};
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1566 _result
= (wxString
*) &_result_ref
;
1568 wxPy_END_ALLOW_THREADS
;
1570 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1575 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1576 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1578 wxLEDNumberCtrl
* _arg0
;
1579 wxLEDValueAlign _arg1
;
1580 bool _arg2
= (bool ) true;
1581 PyObject
* _argo0
= 0;
1582 int tempbool2
= (int) true;
1583 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1595 _arg2
= (bool ) tempbool2
;
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1600 wxPy_END_ALLOW_THREADS
;
1601 } Py_INCREF(Py_None
);
1602 _resultobj
= Py_None
;
1606 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1607 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1609 wxLEDNumberCtrl
* _arg0
;
1611 bool _arg2
= (bool ) true;
1612 PyObject
* _argo0
= 0;
1614 int tempbool2
= (int) true;
1615 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1627 _arg1
= (bool ) tempbool1
;
1628 _arg2
= (bool ) tempbool2
;
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1633 wxPy_END_ALLOW_THREADS
;
1634 } Py_INCREF(Py_None
);
1635 _resultobj
= Py_None
;
1639 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1640 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1642 wxLEDNumberCtrl
* _arg0
;
1644 bool _arg2
= (bool ) true;
1645 PyObject
* _argo0
= 0;
1646 PyObject
* _obj1
= 0;
1647 int tempbool2
= (int) true;
1648 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1661 #if PYTHON_API_VERSION >= 1009
1662 char* tmpPtr
; int tmpSize
;
1663 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
1664 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1667 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
1669 _arg1
= new wxString(tmpPtr
, tmpSize
);
1671 if (!PyString_Check(_obj1
)) {
1672 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1675 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
1678 _arg2
= (bool ) tempbool2
;
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } Py_INCREF(Py_None
);
1685 _resultobj
= Py_None
;
1693 static PyMethodDef gizmoscMethods
[] = {
1694 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
1695 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1696 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1697 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
1698 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1699 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1700 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1701 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1702 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1703 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1704 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1705 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1706 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1707 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1708 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1709 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1710 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1711 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
1712 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1713 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
1714 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
1715 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1716 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1717 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1718 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
1719 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1720 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1721 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1722 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1723 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1724 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
1725 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
1732 * This table is used by the pointer type-checker
1734 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1735 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
1736 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
1737 { "_signed_long","_long",0},
1738 { "_wxPrintQuality","_wxCoord",0},
1739 { "_wxPrintQuality","_int",0},
1740 { "_wxPrintQuality","_signed_int",0},
1741 { "_wxPrintQuality","_unsigned_int",0},
1742 { "_wxPrintQuality","_wxWindowID",0},
1743 { "_wxPrintQuality","_uint",0},
1744 { "_wxPrintQuality","_EBool",0},
1745 { "_wxPrintQuality","_size_t",0},
1746 { "_wxPrintQuality","_time_t",0},
1747 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
1748 { "_byte","_unsigned_char",0},
1749 { "_long","_unsigned_long",0},
1750 { "_long","_signed_long",0},
1751 { "_size_t","_wxCoord",0},
1752 { "_size_t","_wxPrintQuality",0},
1753 { "_size_t","_time_t",0},
1754 { "_size_t","_unsigned_int",0},
1755 { "_size_t","_int",0},
1756 { "_size_t","_wxWindowID",0},
1757 { "_size_t","_uint",0},
1758 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
1759 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
1760 { "_uint","_wxCoord",0},
1761 { "_uint","_wxPrintQuality",0},
1762 { "_uint","_time_t",0},
1763 { "_uint","_size_t",0},
1764 { "_uint","_unsigned_int",0},
1765 { "_uint","_int",0},
1766 { "_uint","_wxWindowID",0},
1767 { "_wxChar","_char",0},
1768 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
1769 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
1770 { "_char","_wxChar",0},
1771 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1772 { "_EBool","_wxCoord",0},
1773 { "_EBool","_wxPrintQuality",0},
1774 { "_EBool","_signed_int",0},
1775 { "_EBool","_int",0},
1776 { "_EBool","_wxWindowID",0},
1777 { "_unsigned_long","_long",0},
1778 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1779 { "_signed_int","_wxCoord",0},
1780 { "_signed_int","_wxPrintQuality",0},
1781 { "_signed_int","_EBool",0},
1782 { "_signed_int","_wxWindowID",0},
1783 { "_signed_int","_int",0},
1784 { "_WXTYPE","_wxDateTime_t",0},
1785 { "_WXTYPE","_short",0},
1786 { "_WXTYPE","_signed_short",0},
1787 { "_WXTYPE","_unsigned_short",0},
1788 { "_unsigned_short","_wxDateTime_t",0},
1789 { "_unsigned_short","_WXTYPE",0},
1790 { "_unsigned_short","_short",0},
1791 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
1792 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
1793 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
1794 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
1795 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
1796 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
1797 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
1798 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
1799 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
1800 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
1801 { "_signed_short","_WXTYPE",0},
1802 { "_signed_short","_short",0},
1803 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
1804 { "_unsigned_char","_byte",0},
1805 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
1806 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
1807 { "_unsigned_int","_wxCoord",0},
1808 { "_unsigned_int","_wxPrintQuality",0},
1809 { "_unsigned_int","_time_t",0},
1810 { "_unsigned_int","_size_t",0},
1811 { "_unsigned_int","_uint",0},
1812 { "_unsigned_int","_wxWindowID",0},
1813 { "_unsigned_int","_int",0},
1814 { "_short","_wxDateTime_t",0},
1815 { "_short","_WXTYPE",0},
1816 { "_short","_unsigned_short",0},
1817 { "_short","_signed_short",0},
1818 { "_wxWindowID","_wxCoord",0},
1819 { "_wxWindowID","_wxPrintQuality",0},
1820 { "_wxWindowID","_time_t",0},
1821 { "_wxWindowID","_size_t",0},
1822 { "_wxWindowID","_EBool",0},
1823 { "_wxWindowID","_uint",0},
1824 { "_wxWindowID","_int",0},
1825 { "_wxWindowID","_signed_int",0},
1826 { "_wxWindowID","_unsigned_int",0},
1827 { "_int","_wxCoord",0},
1828 { "_int","_wxPrintQuality",0},
1829 { "_int","_time_t",0},
1830 { "_int","_size_t",0},
1831 { "_int","_EBool",0},
1832 { "_int","_uint",0},
1833 { "_int","_wxWindowID",0},
1834 { "_int","_unsigned_int",0},
1835 { "_int","_signed_int",0},
1836 { "_wxDateTime_t","_unsigned_short",0},
1837 { "_wxDateTime_t","_short",0},
1838 { "_wxDateTime_t","_WXTYPE",0},
1839 { "_time_t","_wxCoord",0},
1840 { "_time_t","_wxPrintQuality",0},
1841 { "_time_t","_unsigned_int",0},
1842 { "_time_t","_int",0},
1843 { "_time_t","_wxWindowID",0},
1844 { "_time_t","_uint",0},
1845 { "_time_t","_size_t",0},
1846 { "_wxCoord","_int",0},
1847 { "_wxCoord","_signed_int",0},
1848 { "_wxCoord","_unsigned_int",0},
1849 { "_wxCoord","_wxWindowID",0},
1850 { "_wxCoord","_uint",0},
1851 { "_wxCoord","_EBool",0},
1852 { "_wxCoord","_size_t",0},
1853 { "_wxCoord","_time_t",0},
1854 { "_wxCoord","_wxPrintQuality",0},
1855 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
1856 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
1857 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
1858 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
1859 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
1860 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
1861 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
1862 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
1863 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
1864 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
1865 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
1866 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
1867 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
1868 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
1871 static PyObject
*SWIG_globals
;
1875 SWIGEXPORT(void) initgizmosc() {
1877 SWIG_globals
= SWIG_newvarlink();
1878 m
= Py_InitModule("gizmosc", gizmoscMethods
);
1879 d
= PyModule_GetDict(m
);
1880 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
1881 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
1882 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
1883 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
1884 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
1885 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
1886 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
1887 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
1888 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
1891 wxClassInfo::CleanUpClasses();
1892 wxClassInfo::InitializeClasses();
1894 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
1897 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1898 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);