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 typedef wxTreeCtrl wxPyTreeCtrl
;
93 class wxPyTreeCompanionWindow
: public wxTreeCompanionWindow
96 wxPyTreeCompanionWindow(wxWindow
* parent
, wxWindowID id
= -1,
97 const wxPoint
& pos
= wxDefaultPosition
,
98 const wxSize
& size
= wxDefaultSize
,
100 : wxTreeCompanionWindow(parent
, id
, pos
, size
, style
) {}
103 virtual void DrawItem(wxDC
& dc
, wxTreeItemId id
, const wxRect
& rect
) {
105 wxPyBeginBlockThreads();
106 if ((found
= wxPyCBH_findCallback(m_myInst
, "DrawItem"))) {
107 PyObject
* dcobj
= wxPyMake_wxObject(&dc
);
108 PyObject
* idobj
= wxPyConstructObject((void*)&id
, "wxTreeItemId", FALSE
);
109 PyObject
* recobj
= wxPyConstructObject((void*)&rect
, "wxRect", FALSE
);
110 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OOO)", dcobj
, idobj
, recobj
));
115 wxPyEndBlockThreads();
117 wxTreeCompanionWindow::DrawItem(dc
, id
, rect
);
125 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr
) {
126 wxDynamicSashSplitEvent
*src
;
127 wxCommandEvent
*dest
;
128 src
= (wxDynamicSashSplitEvent
*) ptr
;
129 dest
= (wxCommandEvent
*) src
;
130 return (void *) dest
;
133 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr
) {
134 wxDynamicSashSplitEvent
*src
;
136 src
= (wxDynamicSashSplitEvent
*) ptr
;
137 dest
= (wxEvent
*) src
;
138 return (void *) dest
;
141 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr
) {
142 wxDynamicSashSplitEvent
*src
;
144 src
= (wxDynamicSashSplitEvent
*) ptr
;
145 dest
= (wxObject
*) src
;
146 return (void *) dest
;
149 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
150 static PyObject
*_wrap_new_wxDynamicSashSplitEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
151 PyObject
* _resultobj
;
152 wxDynamicSashSplitEvent
* _result
;
154 PyObject
* _argo0
= 0;
155 char *_kwnames
[] = { "target", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashSplitEvent",_kwnames
,&_argo0
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
170 _result
= (wxDynamicSashSplitEvent
*)new_wxDynamicSashSplitEvent(_arg0
);
172 wxPyEndAllowThreads(__tstate
);
173 if (PyErr_Occurred()) return NULL
;
175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashSplitEvent_p");
176 _resultobj
= Py_BuildValue("s",_ptemp
);
179 _resultobj
= Py_None
;
184 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr
) {
185 wxDynamicSashUnifyEvent
*src
;
186 wxCommandEvent
*dest
;
187 src
= (wxDynamicSashUnifyEvent
*) ptr
;
188 dest
= (wxCommandEvent
*) src
;
189 return (void *) dest
;
192 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr
) {
193 wxDynamicSashUnifyEvent
*src
;
195 src
= (wxDynamicSashUnifyEvent
*) ptr
;
196 dest
= (wxEvent
*) src
;
197 return (void *) dest
;
200 static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr
) {
201 wxDynamicSashUnifyEvent
*src
;
203 src
= (wxDynamicSashUnifyEvent
*) ptr
;
204 dest
= (wxObject
*) src
;
205 return (void *) dest
;
208 #define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
209 static PyObject
*_wrap_new_wxDynamicSashUnifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
210 PyObject
* _resultobj
;
211 wxDynamicSashUnifyEvent
* _result
;
213 PyObject
* _argo0
= 0;
214 char *_kwnames
[] = { "target", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxDynamicSashUnifyEvent",_kwnames
,&_argo0
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxObject_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
229 _result
= (wxDynamicSashUnifyEvent
*)new_wxDynamicSashUnifyEvent(_arg0
);
231 wxPyEndAllowThreads(__tstate
);
232 if (PyErr_Occurred()) return NULL
;
234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashUnifyEvent_p");
235 _resultobj
= Py_BuildValue("s",_ptemp
);
238 _resultobj
= Py_None
;
243 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr
) {
244 wxDynamicSashWindow
*src
;
246 src
= (wxDynamicSashWindow
*) ptr
;
247 dest
= (wxWindow
*) src
;
248 return (void *) dest
;
251 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr
) {
252 wxDynamicSashWindow
*src
;
254 src
= (wxDynamicSashWindow
*) ptr
;
255 dest
= (wxEvtHandler
*) src
;
256 return (void *) dest
;
259 static void *SwigwxDynamicSashWindowTowxObject(void *ptr
) {
260 wxDynamicSashWindow
*src
;
262 src
= (wxDynamicSashWindow
*) ptr
;
263 dest
= (wxObject
*) src
;
264 return (void *) dest
;
267 #define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
268 static PyObject
*_wrap_new_wxDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
269 PyObject
* _resultobj
;
270 wxDynamicSashWindow
* _result
;
273 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
274 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
275 long _arg4
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
276 char * _arg5
= (char *) "dynamicSashWindow";
277 PyObject
* _argo0
= 0;
279 PyObject
* _obj2
= 0;
281 PyObject
* _obj3
= 0;
282 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxDynamicSashWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
298 if (! wxPoint_helper(_obj2
, &_arg2
))
304 if (! wxSize_helper(_obj3
, &_arg3
))
308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
309 _result
= (wxDynamicSashWindow
*)new_wxDynamicSashWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
311 wxPyEndAllowThreads(__tstate
);
312 if (PyErr_Occurred()) return NULL
;
314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
315 _resultobj
= Py_BuildValue("s",_ptemp
);
318 _resultobj
= Py_None
;
323 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
324 static PyObject
*_wrap_new_wxPreDynamicSashWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
326 wxDynamicSashWindow
* _result
;
327 char *_kwnames
[] = { NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreDynamicSashWindow",_kwnames
))
334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
335 _result
= (wxDynamicSashWindow
*)new_wxPreDynamicSashWindow();
337 wxPyEndAllowThreads(__tstate
);
338 if (PyErr_Occurred()) return NULL
;
340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDynamicSashWindow_p");
341 _resultobj
= Py_BuildValue("s",_ptemp
);
344 _resultobj
= Py_None
;
349 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
350 static PyObject
*_wrap_wxDynamicSashWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
353 wxDynamicSashWindow
* _arg0
;
356 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
357 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
358 long _arg5
= (long ) wxCLIP_CHILDREN
|(wxDS_MANAGE_SCROLLBARS
)|(wxDS_DRAG_CORNER
);
359 char * _arg6
= (char *) "dynamicSashWindow";
360 PyObject
* _argo0
= 0;
361 PyObject
* _argo1
= 0;
363 PyObject
* _obj3
= 0;
365 PyObject
* _obj4
= 0;
366 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxDynamicSashWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
379 if (_argo1
== Py_None
) { _arg1
= NULL
; }
380 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
388 if (! wxPoint_helper(_obj3
, &_arg3
))
394 if (! wxSize_helper(_obj4
, &_arg4
))
398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
399 _result
= (bool )wxDynamicSashWindow_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
401 wxPyEndAllowThreads(__tstate
);
402 if (PyErr_Occurred()) return NULL
;
403 } _resultobj
= Py_BuildValue("i",_result
);
407 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
408 static PyObject
*_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
410 wxScrollBar
* _result
;
411 wxDynamicSashWindow
* _arg0
;
413 PyObject
* _argo0
= 0;
414 PyObject
* _argo1
= 0;
415 char *_kwnames
[] = { "self","child", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames
,&_argo0
,&_argo1
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxDynamicSashWindow_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
437 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetHScrollBar(_arg0
,_arg1
);
439 wxPyEndAllowThreads(__tstate
);
440 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
481 _result
= (wxScrollBar
*)wxDynamicSashWindow_GetVScrollBar(_arg0
,_arg1
);
483 wxPyEndAllowThreads(__tstate
);
484 if (PyErr_Occurred()) return NULL
;
486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
487 _resultobj
= Py_BuildValue("s",_ptemp
);
490 _resultobj
= Py_None
;
495 static void *SwigwxEditableListBoxTowxPanel(void *ptr
) {
496 wxEditableListBox
*src
;
498 src
= (wxEditableListBox
*) ptr
;
499 dest
= (wxPanel
*) src
;
500 return (void *) dest
;
503 static void *SwigwxEditableListBoxTowxWindow(void *ptr
) {
504 wxEditableListBox
*src
;
506 src
= (wxEditableListBox
*) ptr
;
507 dest
= (wxWindow
*) src
;
508 return (void *) dest
;
511 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr
) {
512 wxEditableListBox
*src
;
514 src
= (wxEditableListBox
*) ptr
;
515 dest
= (wxEvtHandler
*) src
;
516 return (void *) dest
;
519 static void *SwigwxEditableListBoxTowxObject(void *ptr
) {
520 wxEditableListBox
*src
;
522 src
= (wxEditableListBox
*) ptr
;
523 dest
= (wxObject
*) src
;
524 return (void *) dest
;
527 #define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
528 static PyObject
*_wrap_new_wxEditableListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
529 PyObject
* _resultobj
;
530 wxEditableListBox
* _result
;
534 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
535 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
536 long _arg5
= (long ) (wxEL_ALLOW_NEW
)|(wxEL_ALLOW_EDIT
)|(wxEL_ALLOW_DELETE
);
537 char * _arg6
= (char *) "editableListBox";
538 PyObject
* _argo0
= 0;
539 PyObject
* _obj2
= 0;
541 PyObject
* _obj3
= 0;
543 PyObject
* _obj4
= 0;
544 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxEditableListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
558 _arg2
= wxString_in_helper(_obj2
);
565 if (! wxPoint_helper(_obj3
, &_arg3
))
571 if (! wxSize_helper(_obj4
, &_arg4
))
575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
576 _result
= (wxEditableListBox
*)new_wxEditableListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
578 wxPyEndAllowThreads(__tstate
);
579 if (PyErr_Occurred()) return NULL
;
581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxEditableListBox_p");
582 _resultobj
= Py_BuildValue("s",_ptemp
);
585 _resultobj
= Py_None
;
594 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
595 static PyObject
*_wrap_wxEditableListBox_SetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
596 PyObject
* _resultobj
;
597 wxEditableListBox
* _arg0
;
598 wxArrayString
* _arg1
;
599 PyObject
* _argo0
= 0;
600 PyObject
* _obj1
= 0;
601 char *_kwnames
[] = { "self","strings", NULL
};
604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxEditableListBox_SetStrings",_kwnames
,&_argo0
,&_obj1
))
607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
614 if (! PySequence_Check(_obj1
)) {
615 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
618 _arg1
= new wxArrayString
;
619 int i
, len
=PySequence_Length(_obj1
);
620 for (i
=0; i
<len
; i
++) {
621 PyObject
* item
= PySequence_GetItem(_obj1
, i
);
623 PyObject
* str
= PyObject_Unicode(item
);
624 _arg1
->Add(PyUnicode_AsUnicode(str
));
626 PyObject
* str
= PyObject_Str(item
);
627 _arg1
->Add(PyString_AsString(str
));
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 wxEditableListBox_SetStrings(_arg0
,*_arg1
);
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
639 } Py_INCREF(Py_None
);
640 _resultobj
= Py_None
;
648 static PyObject
* wxEditableListBox_GetStrings(wxEditableListBox
*self
) {
649 wxArrayString strings
;
650 self
->GetStrings(strings
);
651 return wxArrayString2PyList_helper(strings
);
653 static PyObject
*_wrap_wxEditableListBox_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
654 PyObject
* _resultobj
;
656 wxEditableListBox
* _arg0
;
657 PyObject
* _argo0
= 0;
658 char *_kwnames
[] = { "self", NULL
};
661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxEditableListBox_GetStrings",_kwnames
,&_argo0
))
664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEditableListBox_p")) {
666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
672 _result
= (PyObject
*)wxEditableListBox_GetStrings(_arg0
);
674 wxPyEndAllowThreads(__tstate
);
675 if (PyErr_Occurred()) return NULL
;
677 _resultobj
= _result
;
682 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr
) {
683 wxRemotelyScrolledTreeCtrl
*src
;
685 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
686 dest
= (wxPyTreeCtrl
*) src
;
687 return (void *) dest
;
690 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr
) {
691 wxRemotelyScrolledTreeCtrl
*src
;
693 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
694 dest
= (wxControl
*) src
;
695 return (void *) dest
;
698 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr
) {
699 wxRemotelyScrolledTreeCtrl
*src
;
701 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
702 dest
= (wxWindow
*) src
;
703 return (void *) dest
;
706 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr
) {
707 wxRemotelyScrolledTreeCtrl
*src
;
709 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
710 dest
= (wxEvtHandler
*) src
;
711 return (void *) dest
;
714 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr
) {
715 wxRemotelyScrolledTreeCtrl
*src
;
717 src
= (wxRemotelyScrolledTreeCtrl
*) ptr
;
718 dest
= (wxObject
*) src
;
719 return (void *) dest
;
722 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
723 static PyObject
*_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
724 PyObject
* _resultobj
;
725 wxRemotelyScrolledTreeCtrl
* _result
;
728 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
729 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
730 long _arg4
= (long ) wxTR_HAS_BUTTONS
;
731 PyObject
* _argo0
= 0;
733 PyObject
* _obj2
= 0;
735 PyObject
* _obj3
= 0;
736 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
752 if (! wxPoint_helper(_obj2
, &_arg2
))
758 if (! wxSize_helper(_obj3
, &_arg3
))
762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
763 _result
= (wxRemotelyScrolledTreeCtrl
*)new_wxRemotelyScrolledTreeCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
765 wxPyEndAllowThreads(__tstate
);
766 if (PyErr_Occurred()) return NULL
;
768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
769 _resultobj
= Py_BuildValue("s",_ptemp
);
772 _resultobj
= Py_None
;
777 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
778 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
780 wxRemotelyScrolledTreeCtrl
* _arg0
;
781 PyObject
* _argo0
= 0;
782 char *_kwnames
[] = { "self", NULL
};
785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames
,&_argo0
))
788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
796 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0
);
798 wxPyEndAllowThreads(__tstate
);
799 if (PyErr_Occurred()) return NULL
;
800 } Py_INCREF(Py_None
);
801 _resultobj
= Py_None
;
805 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
806 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
808 wxRemotelyScrolledTreeCtrl
* _arg0
;
809 PyObject
* _argo0
= 0;
810 char *_kwnames
[] = { "self", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames
,&_argo0
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
824 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0
);
826 wxPyEndAllowThreads(__tstate
);
827 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
854 _result
= (wxScrolledWindow
*)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0
);
856 wxPyEndAllowThreads(__tstate
);
857 if (PyErr_Occurred()) return NULL
;
859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrolledWindow_p");
860 _resultobj
= Py_BuildValue("s",_ptemp
);
863 _resultobj
= Py_None
;
868 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
869 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
870 PyObject
* _resultobj
;
871 wxRemotelyScrolledTreeCtrl
* _arg0
;
874 PyObject
* _argo0
= 0;
875 char *_kwnames
[] = { "self","posHoriz","posVert", NULL
};
878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
889 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0
,_arg1
,_arg2
);
891 wxPyEndAllowThreads(__tstate
);
892 if (PyErr_Occurred()) return NULL
;
893 } Py_INCREF(Py_None
);
894 _resultobj
= Py_None
;
898 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
899 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
900 PyObject
* _resultobj
;
901 wxRemotelyScrolledTreeCtrl
* _arg0
;
903 PyObject
* _argo0
= 0;
904 PyObject
* _argo1
= 0;
905 char *_kwnames
[] = { "self","companion", NULL
};
908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames
,&_argo0
,&_argo1
))
911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
918 if (_argo1
== Py_None
) { _arg1
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
926 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0
,_arg1
);
928 wxPyEndAllowThreads(__tstate
);
929 if (PyErr_Occurred()) return NULL
;
930 } Py_INCREF(Py_None
);
931 _resultobj
= Py_None
;
935 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
936 static PyObject
*_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
939 wxRemotelyScrolledTreeCtrl
* _arg0
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames
,&_argo0
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRemotelyScrolledTreeCtrl_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
955 _result
= (wxWindow
*)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0
);
957 wxPyEndAllowThreads(__tstate
);
958 if (PyErr_Occurred()) return NULL
;
959 }{ _resultobj
= wxPyMake_wxObject(_result
); }
963 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr
) {
964 wxPyTreeCompanionWindow
*src
;
966 src
= (wxPyTreeCompanionWindow
*) ptr
;
967 dest
= (wxWindow
*) src
;
968 return (void *) dest
;
971 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr
) {
972 wxPyTreeCompanionWindow
*src
;
974 src
= (wxPyTreeCompanionWindow
*) ptr
;
975 dest
= (wxEvtHandler
*) src
;
976 return (void *) dest
;
979 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr
) {
980 wxPyTreeCompanionWindow
*src
;
982 src
= (wxPyTreeCompanionWindow
*) ptr
;
983 dest
= (wxObject
*) src
;
984 return (void *) dest
;
987 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
988 static PyObject
*_wrap_new_wxTreeCompanionWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
990 wxPyTreeCompanionWindow
* _result
;
992 wxWindowID _arg1
= (wxWindowID
) -1;
993 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
994 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
995 long _arg4
= (long ) 0;
996 PyObject
* _argo0
= 0;
998 PyObject
* _obj2
= 0;
1000 PyObject
* _obj3
= 0;
1001 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxTreeCompanionWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1017 if (! wxPoint_helper(_obj2
, &_arg2
))
1023 if (! wxSize_helper(_obj3
, &_arg3
))
1027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1028 _result
= (wxPyTreeCompanionWindow
*)new_wxTreeCompanionWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1030 wxPyEndAllowThreads(__tstate
);
1031 if (PyErr_Occurred()) return NULL
;
1033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTreeCompanionWindow_p");
1034 _resultobj
= Py_BuildValue("s",_ptemp
);
1037 _resultobj
= Py_None
;
1042 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1043 static PyObject
*_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
* _resultobj
;
1045 wxPyTreeCompanionWindow
* _arg0
;
1048 PyObject
* _argo0
= 0;
1049 PyObject
* _obj1
= 0;
1050 PyObject
* _obj2
= 0;
1051 char *_kwnames
[] = { "self","self","_class", NULL
};
1054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
1057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1071 wxTreeCompanionWindow__setCallbackInfo(_arg0
,_arg1
,_arg2
);
1073 wxPyEndAllowThreads(__tstate
);
1074 if (PyErr_Occurred()) return NULL
;
1075 } Py_INCREF(Py_None
);
1076 _resultobj
= Py_None
;
1080 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1081 static PyObject
*_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1082 PyObject
* _resultobj
;
1083 wxRemotelyScrolledTreeCtrl
* _result
;
1084 wxPyTreeCompanionWindow
* _arg0
;
1085 PyObject
* _argo0
= 0;
1086 char *_kwnames
[] = { "self", NULL
};
1090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames
,&_argo0
))
1093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1101 _result
= (wxRemotelyScrolledTreeCtrl
*)wxTreeCompanionWindow_GetTreeCtrl(_arg0
);
1103 wxPyEndAllowThreads(__tstate
);
1104 if (PyErr_Occurred()) return NULL
;
1106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRemotelyScrolledTreeCtrl_p");
1107 _resultobj
= Py_BuildValue("s",_ptemp
);
1110 _resultobj
= Py_None
;
1115 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1116 static PyObject
*_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1118 wxPyTreeCompanionWindow
* _arg0
;
1119 wxRemotelyScrolledTreeCtrl
* _arg1
;
1120 PyObject
* _argo0
= 0;
1121 PyObject
* _argo1
= 0;
1122 char *_kwnames
[] = { "self","treeCtrl", NULL
};
1125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames
,&_argo0
,&_argo1
))
1128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTreeCompanionWindow_p")) {
1130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1135 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1136 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxRemotelyScrolledTreeCtrl_p")) {
1137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1143 wxTreeCompanionWindow_SetTreeCtrl(_arg0
,_arg1
);
1145 wxPyEndAllowThreads(__tstate
);
1146 if (PyErr_Occurred()) return NULL
;
1147 } Py_INCREF(Py_None
);
1148 _resultobj
= Py_None
;
1152 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr
) {
1153 wxThinSplitterWindow
*src
;
1154 wxSplitterWindow
*dest
;
1155 src
= (wxThinSplitterWindow
*) ptr
;
1156 dest
= (wxSplitterWindow
*) src
;
1157 return (void *) dest
;
1160 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr
) {
1161 wxThinSplitterWindow
*src
;
1163 src
= (wxThinSplitterWindow
*) ptr
;
1164 dest
= (wxWindow
*) src
;
1165 return (void *) dest
;
1168 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr
) {
1169 wxThinSplitterWindow
*src
;
1171 src
= (wxThinSplitterWindow
*) ptr
;
1172 dest
= (wxEvtHandler
*) src
;
1173 return (void *) dest
;
1176 static void *SwigwxThinSplitterWindowTowxObject(void *ptr
) {
1177 wxThinSplitterWindow
*src
;
1179 src
= (wxThinSplitterWindow
*) ptr
;
1180 dest
= (wxObject
*) src
;
1181 return (void *) dest
;
1184 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1185 static PyObject
*_wrap_new_wxThinSplitterWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1186 PyObject
* _resultobj
;
1187 wxThinSplitterWindow
* _result
;
1189 wxWindowID _arg1
= (wxWindowID
) -1;
1190 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1191 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1192 long _arg4
= (long ) wxSP_3D
|wxCLIP_CHILDREN
;
1193 PyObject
* _argo0
= 0;
1195 PyObject
* _obj2
= 0;
1197 PyObject
* _obj3
= 0;
1198 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxThinSplitterWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1214 if (! wxPoint_helper(_obj2
, &_arg2
))
1220 if (! wxSize_helper(_obj3
, &_arg3
))
1224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1225 _result
= (wxThinSplitterWindow
*)new_wxThinSplitterWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1227 wxPyEndAllowThreads(__tstate
);
1228 if (PyErr_Occurred()) return NULL
;
1230 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxThinSplitterWindow_p");
1231 _resultobj
= Py_BuildValue("s",_ptemp
);
1234 _resultobj
= Py_None
;
1239 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr
) {
1240 wxSplitterScrolledWindow
*src
;
1241 wxScrolledWindow
*dest
;
1242 src
= (wxSplitterScrolledWindow
*) ptr
;
1243 dest
= (wxScrolledWindow
*) src
;
1244 return (void *) dest
;
1247 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr
) {
1248 wxSplitterScrolledWindow
*src
;
1250 src
= (wxSplitterScrolledWindow
*) ptr
;
1251 dest
= (wxPanel
*) src
;
1252 return (void *) dest
;
1255 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr
) {
1256 wxSplitterScrolledWindow
*src
;
1258 src
= (wxSplitterScrolledWindow
*) ptr
;
1259 dest
= (wxWindow
*) src
;
1260 return (void *) dest
;
1263 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr
) {
1264 wxSplitterScrolledWindow
*src
;
1266 src
= (wxSplitterScrolledWindow
*) ptr
;
1267 dest
= (wxEvtHandler
*) src
;
1268 return (void *) dest
;
1271 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr
) {
1272 wxSplitterScrolledWindow
*src
;
1274 src
= (wxSplitterScrolledWindow
*) ptr
;
1275 dest
= (wxObject
*) src
;
1276 return (void *) dest
;
1279 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1280 static PyObject
*_wrap_new_wxSplitterScrolledWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
* _resultobj
;
1282 wxSplitterScrolledWindow
* _result
;
1284 wxWindowID _arg1
= (wxWindowID
) -1;
1285 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1286 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1287 long _arg4
= (long ) 0;
1288 PyObject
* _argo0
= 0;
1290 PyObject
* _obj2
= 0;
1292 PyObject
* _obj3
= 0;
1293 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1309 if (! wxPoint_helper(_obj2
, &_arg2
))
1315 if (! wxSize_helper(_obj3
, &_arg3
))
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1320 _result
= (wxSplitterScrolledWindow
*)new_wxSplitterScrolledWindow(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) return NULL
;
1325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSplitterScrolledWindow_p");
1326 _resultobj
= Py_BuildValue("s",_ptemp
);
1329 _resultobj
= Py_None
;
1334 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr
) {
1335 wxLEDNumberCtrl
*src
;
1337 src
= (wxLEDNumberCtrl
*) ptr
;
1338 dest
= (wxControl
*) src
;
1339 return (void *) dest
;
1342 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr
) {
1343 wxLEDNumberCtrl
*src
;
1345 src
= (wxLEDNumberCtrl
*) ptr
;
1346 dest
= (wxWindow
*) src
;
1347 return (void *) dest
;
1350 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr
) {
1351 wxLEDNumberCtrl
*src
;
1353 src
= (wxLEDNumberCtrl
*) ptr
;
1354 dest
= (wxEvtHandler
*) src
;
1355 return (void *) dest
;
1358 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr
) {
1359 wxLEDNumberCtrl
*src
;
1361 src
= (wxLEDNumberCtrl
*) ptr
;
1362 dest
= (wxObject
*) src
;
1363 return (void *) dest
;
1366 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1367 static PyObject
*_wrap_new_wxLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
* _resultobj
;
1369 wxLEDNumberCtrl
* _result
;
1371 wxWindowID _arg1
= (wxWindowID
) -1;
1372 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
1373 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
1374 long _arg4
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1375 PyObject
* _argo0
= 0;
1377 PyObject
* _obj2
= 0;
1379 PyObject
* _obj3
= 0;
1380 char *_kwnames
[] = { "parent","id","pos","size","style", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOl:new_wxLEDNumberCtrl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
))
1387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1396 if (! wxPoint_helper(_obj2
, &_arg2
))
1402 if (! wxSize_helper(_obj3
, &_arg3
))
1406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1407 _result
= (wxLEDNumberCtrl
*)new_wxLEDNumberCtrl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
);
1409 wxPyEndAllowThreads(__tstate
);
1410 if (PyErr_Occurred()) return NULL
;
1412 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1413 _resultobj
= Py_BuildValue("s",_ptemp
);
1416 _resultobj
= Py_None
;
1421 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1422 static PyObject
*_wrap_new_wxPreLEDNumberCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 wxLEDNumberCtrl
* _result
;
1425 char *_kwnames
[] = { NULL
};
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreLEDNumberCtrl",_kwnames
))
1432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1433 _result
= (wxLEDNumberCtrl
*)new_wxPreLEDNumberCtrl();
1435 wxPyEndAllowThreads(__tstate
);
1436 if (PyErr_Occurred()) return NULL
;
1438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLEDNumberCtrl_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1442 _resultobj
= Py_None
;
1447 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1448 static PyObject
*_wrap_wxLEDNumberCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1451 wxLEDNumberCtrl
* _arg0
;
1453 wxWindowID _arg2
= (wxWindowID
) -1;
1454 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1455 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1456 long _arg5
= (long ) (wxLED_ALIGN_LEFT
)|(wxLED_DRAW_FADED
);
1457 PyObject
* _argo0
= 0;
1458 PyObject
* _argo1
= 0;
1460 PyObject
* _obj3
= 0;
1462 PyObject
* _obj4
= 0;
1463 char *_kwnames
[] = { "self","parent","id","pos","size","style", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
))
1469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1476 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1485 if (! wxPoint_helper(_obj3
, &_arg3
))
1491 if (! wxSize_helper(_obj4
, &_arg4
))
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= (bool )wxLEDNumberCtrl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
);
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } _resultobj
= Py_BuildValue("i",_result
);
1504 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1505 static PyObject
*_wrap_wxLEDNumberCtrl_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1507 wxLEDValueAlign _result
;
1508 wxLEDNumberCtrl
* _arg0
;
1509 PyObject
* _argo0
= 0;
1510 char *_kwnames
[] = { "self", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetAlignment",_kwnames
,&_argo0
))
1516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 _result
= (wxLEDValueAlign
)wxLEDNumberCtrl_GetAlignment(_arg0
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) return NULL
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1532 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1533 static PyObject
*_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1536 wxLEDNumberCtrl
* _arg0
;
1537 PyObject
* _argo0
= 0;
1538 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 _result
= (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0
);
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) return NULL
;
1556 } _resultobj
= Py_BuildValue("i",_result
);
1560 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1561 static PyObject
*_wrap_wxLEDNumberCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1564 wxLEDNumberCtrl
* _arg0
;
1565 PyObject
* _argo0
= 0;
1566 char *_kwnames
[] = { "self", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLEDNumberCtrl_GetValue",_kwnames
,&_argo0
))
1572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 const wxString
& _result_ref
= wxLEDNumberCtrl_GetValue(_arg0
);
1581 _result
= (wxString
*) &_result_ref
;
1583 wxPyEndAllowThreads(__tstate
);
1584 if (PyErr_Occurred()) return NULL
;
1587 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1589 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1595 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1596 static PyObject
*_wrap_wxLEDNumberCtrl_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 wxLEDNumberCtrl
* _arg0
;
1599 wxLEDValueAlign _arg1
;
1600 bool _arg2
= (bool ) true;
1601 PyObject
* _argo0
= 0;
1602 int tempbool2
= (int) true;
1603 char *_kwnames
[] = { "self","Alignment","Redraw", NULL
};
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
1609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1615 _arg2
= (bool ) tempbool2
;
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 wxLEDNumberCtrl_SetAlignment(_arg0
,_arg1
,_arg2
);
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) return NULL
;
1622 } Py_INCREF(Py_None
);
1623 _resultobj
= Py_None
;
1627 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1628 static PyObject
*_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1630 wxLEDNumberCtrl
* _arg0
;
1632 bool _arg2
= (bool ) true;
1633 PyObject
* _argo0
= 0;
1635 int tempbool2
= (int) true;
1636 char *_kwnames
[] = { "self","DrawFaded","Redraw", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
1642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1648 _arg1
= (bool ) tempbool1
;
1649 _arg2
= (bool ) tempbool2
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 wxLEDNumberCtrl_SetDrawFaded(_arg0
,_arg1
,_arg2
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1656 } Py_INCREF(Py_None
);
1657 _resultobj
= Py_None
;
1661 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1662 static PyObject
*_wrap_wxLEDNumberCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1664 wxLEDNumberCtrl
* _arg0
;
1666 bool _arg2
= (bool ) true;
1667 PyObject
* _argo0
= 0;
1668 PyObject
* _obj1
= 0;
1669 int tempbool2
= (int) true;
1670 char *_kwnames
[] = { "self","Value","Redraw", NULL
};
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
1676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLEDNumberCtrl_p")) {
1678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1683 _arg1
= wxString_in_helper(_obj1
);
1687 _arg2
= (bool ) tempbool2
;
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 wxLEDNumberCtrl_SetValue(_arg0
,*_arg1
,_arg2
);
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) return NULL
;
1694 } Py_INCREF(Py_None
);
1695 _resultobj
= Py_None
;
1703 static PyMethodDef gizmoscMethods
[] = {
1704 { "wxLEDNumberCtrl_SetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
1705 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1706 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1707 { "wxLEDNumberCtrl_GetValue", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
1708 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetDrawFaded
, METH_VARARGS
| METH_KEYWORDS
},
1709 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction
) _wrap_wxLEDNumberCtrl_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
1710 { "wxLEDNumberCtrl_Create", (PyCFunction
) _wrap_wxLEDNumberCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
1711 { "new_wxPreLEDNumberCtrl", (PyCFunction
) _wrap_new_wxPreLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1712 { "new_wxLEDNumberCtrl", (PyCFunction
) _wrap_new_wxLEDNumberCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1713 { "new_wxSplitterScrolledWindow", (PyCFunction
) _wrap_new_wxSplitterScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1714 { "new_wxThinSplitterWindow", (PyCFunction
) _wrap_new_wxThinSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
},
1715 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_SetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1716 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction
) _wrap_wxTreeCompanionWindow_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1717 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction
) _wrap_wxTreeCompanionWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
1718 { "new_wxTreeCompanionWindow", (PyCFunction
) _wrap_new_wxTreeCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1719 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1720 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow
, METH_VARARGS
| METH_KEYWORDS
},
1721 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
1722 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
},
1723 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars
, METH_VARARGS
| METH_KEYWORDS
},
1724 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction
) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
1725 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction
) _wrap_new_wxRemotelyScrolledTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
1726 { "wxEditableListBox_GetStrings", (PyCFunction
) _wrap_wxEditableListBox_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1727 { "wxEditableListBox_SetStrings", (PyCFunction
) _wrap_wxEditableListBox_SetStrings
, METH_VARARGS
| METH_KEYWORDS
},
1728 { "new_wxEditableListBox", (PyCFunction
) _wrap_new_wxEditableListBox
, METH_VARARGS
| METH_KEYWORDS
},
1729 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1730 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction
) _wrap_wxDynamicSashWindow_GetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
1731 { "wxDynamicSashWindow_Create", (PyCFunction
) _wrap_wxDynamicSashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1732 { "new_wxPreDynamicSashWindow", (PyCFunction
) _wrap_new_wxPreDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1733 { "new_wxDynamicSashWindow", (PyCFunction
) _wrap_new_wxDynamicSashWindow
, METH_VARARGS
| METH_KEYWORDS
},
1734 { "new_wxDynamicSashUnifyEvent", (PyCFunction
) _wrap_new_wxDynamicSashUnifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
1735 { "new_wxDynamicSashSplitEvent", (PyCFunction
) _wrap_new_wxDynamicSashSplitEvent
, METH_VARARGS
| METH_KEYWORDS
},
1742 * This table is used by the pointer type-checker
1744 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1745 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent
},
1746 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent
},
1747 { "_signed_long","_long",0},
1748 { "_wxPrintQuality","_wxCoord",0},
1749 { "_wxPrintQuality","_int",0},
1750 { "_wxPrintQuality","_signed_int",0},
1751 { "_wxPrintQuality","_unsigned_int",0},
1752 { "_wxPrintQuality","_wxWindowID",0},
1753 { "_wxPrintQuality","_uint",0},
1754 { "_wxPrintQuality","_EBool",0},
1755 { "_wxPrintQuality","_size_t",0},
1756 { "_wxPrintQuality","_time_t",0},
1757 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl
},
1758 { "_byte","_unsigned_char",0},
1759 { "_long","_unsigned_long",0},
1760 { "_long","_signed_long",0},
1761 { "_size_t","_wxCoord",0},
1762 { "_size_t","_wxPrintQuality",0},
1763 { "_size_t","_time_t",0},
1764 { "_size_t","_unsigned_int",0},
1765 { "_size_t","_int",0},
1766 { "_size_t","_wxWindowID",0},
1767 { "_size_t","_uint",0},
1768 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel
},
1769 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel
},
1770 { "_uint","_wxCoord",0},
1771 { "_uint","_wxPrintQuality",0},
1772 { "_uint","_time_t",0},
1773 { "_uint","_size_t",0},
1774 { "_uint","_unsigned_int",0},
1775 { "_uint","_int",0},
1776 { "_uint","_wxWindowID",0},
1777 { "_wxChar","_char",0},
1778 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent
},
1779 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent
},
1780 { "_char","_wxChar",0},
1781 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1782 { "_EBool","_wxCoord",0},
1783 { "_EBool","_wxPrintQuality",0},
1784 { "_EBool","_signed_int",0},
1785 { "_EBool","_int",0},
1786 { "_EBool","_wxWindowID",0},
1787 { "_unsigned_long","_long",0},
1788 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1789 { "_signed_int","_wxCoord",0},
1790 { "_signed_int","_wxPrintQuality",0},
1791 { "_signed_int","_EBool",0},
1792 { "_signed_int","_wxWindowID",0},
1793 { "_signed_int","_int",0},
1794 { "_WXTYPE","_wxDateTime_t",0},
1795 { "_WXTYPE","_short",0},
1796 { "_WXTYPE","_signed_short",0},
1797 { "_WXTYPE","_unsigned_short",0},
1798 { "_unsigned_short","_wxDateTime_t",0},
1799 { "_unsigned_short","_WXTYPE",0},
1800 { "_unsigned_short","_short",0},
1801 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow
},
1802 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject
},
1803 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject
},
1804 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject
},
1805 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject
},
1806 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject
},
1807 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject
},
1808 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject
},
1809 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject
},
1810 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject
},
1811 { "_signed_short","_WXTYPE",0},
1812 { "_signed_short","_short",0},
1813 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow
},
1814 { "_unsigned_char","_byte",0},
1815 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl
},
1816 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl
},
1817 { "_unsigned_int","_wxCoord",0},
1818 { "_unsigned_int","_wxPrintQuality",0},
1819 { "_unsigned_int","_time_t",0},
1820 { "_unsigned_int","_size_t",0},
1821 { "_unsigned_int","_uint",0},
1822 { "_unsigned_int","_wxWindowID",0},
1823 { "_unsigned_int","_int",0},
1824 { "_short","_wxDateTime_t",0},
1825 { "_short","_WXTYPE",0},
1826 { "_short","_unsigned_short",0},
1827 { "_short","_signed_short",0},
1828 { "_wxWindowID","_wxCoord",0},
1829 { "_wxWindowID","_wxPrintQuality",0},
1830 { "_wxWindowID","_time_t",0},
1831 { "_wxWindowID","_size_t",0},
1832 { "_wxWindowID","_EBool",0},
1833 { "_wxWindowID","_uint",0},
1834 { "_wxWindowID","_int",0},
1835 { "_wxWindowID","_signed_int",0},
1836 { "_wxWindowID","_unsigned_int",0},
1837 { "_int","_wxCoord",0},
1838 { "_int","_wxPrintQuality",0},
1839 { "_int","_time_t",0},
1840 { "_int","_size_t",0},
1841 { "_int","_EBool",0},
1842 { "_int","_uint",0},
1843 { "_int","_wxWindowID",0},
1844 { "_int","_unsigned_int",0},
1845 { "_int","_signed_int",0},
1846 { "_wxDateTime_t","_unsigned_short",0},
1847 { "_wxDateTime_t","_short",0},
1848 { "_wxDateTime_t","_WXTYPE",0},
1849 { "_time_t","_wxCoord",0},
1850 { "_time_t","_wxPrintQuality",0},
1851 { "_time_t","_unsigned_int",0},
1852 { "_time_t","_int",0},
1853 { "_time_t","_wxWindowID",0},
1854 { "_time_t","_uint",0},
1855 { "_time_t","_size_t",0},
1856 { "_wxCoord","_int",0},
1857 { "_wxCoord","_signed_int",0},
1858 { "_wxCoord","_unsigned_int",0},
1859 { "_wxCoord","_wxWindowID",0},
1860 { "_wxCoord","_uint",0},
1861 { "_wxCoord","_EBool",0},
1862 { "_wxCoord","_size_t",0},
1863 { "_wxCoord","_time_t",0},
1864 { "_wxCoord","_wxPrintQuality",0},
1865 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler
},
1866 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler
},
1867 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler
},
1868 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler
},
1869 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler
},
1870 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler
},
1871 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler
},
1872 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow
},
1873 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow
},
1874 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow
},
1875 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow
},
1876 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow
},
1877 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow
},
1878 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow
},
1881 static PyObject
*SWIG_globals
;
1885 SWIGEXPORT(void) initgizmosc() {
1887 SWIG_globals
= SWIG_newvarlink();
1888 m
= Py_InitModule("gizmosc", gizmoscMethods
);
1889 d
= PyModule_GetDict(m
);
1890 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT
));
1891 PyDict_SetItemString(d
,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY
));
1892 PyDict_SetItemString(d
,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS
));
1893 PyDict_SetItemString(d
,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER
));
1894 PyDict_SetItemString(d
,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW
));
1895 PyDict_SetItemString(d
,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT
));
1896 PyDict_SetItemString(d
,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE
));
1897 PyDict_SetItemString(d
,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT
));
1898 PyDict_SetItemString(d
,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT
));
1899 PyDict_SetItemString(d
,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER
));
1900 PyDict_SetItemString(d
,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK
));
1901 PyDict_SetItemString(d
,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED
));
1904 wxClassInfo::CleanUpClasses();
1905 wxClassInfo::InitializeClasses();
1907 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
1910 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1911 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);