]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gizmos.cpp
Added component control accessors to wxEditableListBox
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.cpp
1 /*
2 * FILE : contrib/gizmos/gizmos.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
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);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initgizmosc
55
56 #define SWIG_name "gizmosc"
57
58 #include "wxPython.h"
59 #include <wx/gizmos/dynamicsash.h>
60 #include <wx/gizmos/editlbox.h>
61 #include <wx/gizmos/splittree.h>
62 #include <wx/gizmos/ledctrl.h>
63
64
65 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
66 PyObject* o2;
67 PyObject* o3;
68
69 if (!target) {
70 target = o;
71 } else if (target == Py_None) {
72 Py_DECREF(Py_None);
73 target = o;
74 } else {
75 if (!PyTuple_Check(target)) {
76 o2 = target;
77 target = PyTuple_New(1);
78 PyTuple_SetItem(target, 0, o2);
79 }
80 o3 = PyTuple_New(1);
81 PyTuple_SetItem(o3, 0, o);
82
83 o2 = target;
84 target = PySequence_Concat(o2, o3);
85 Py_DECREF(o2);
86 Py_DECREF(o3);
87 }
88 return target;
89 }
90
91 // Put some wx default wxChar* values into wxStrings.
92 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
93 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
94
95 typedef wxTreeCtrl wxPyTreeCtrl;
96
97 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
98 {
99 public:
100 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
101 const wxPoint& pos = wxDefaultPosition,
102 const wxSize& size = wxDefaultSize,
103 long style = 0)
104 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
105
106
107 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
108 bool found;
109 wxPyBeginBlockThreads();
110 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
111 PyObject* dcobj = wxPyMake_wxObject(&dc);
112 PyObject* idobj = wxPyConstructObject((void*)&id, "wxTreeItemId", FALSE);
113 PyObject* recobj= wxPyConstructObject((void*)&rect, "wxRect", FALSE);
114 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
115 Py_DECREF(dcobj);
116 Py_DECREF(idobj);
117 Py_DECREF(recobj);
118 }
119 wxPyEndBlockThreads();
120 if (! found)
121 wxTreeCompanionWindow::DrawItem(dc, id, rect);
122 }
123
124 PYPRIVATE;
125 };
126 #ifdef __cplusplus
127 extern "C" {
128 #endif
129 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr) {
130 wxDynamicSashSplitEvent *src;
131 wxCommandEvent *dest;
132 src = (wxDynamicSashSplitEvent *) ptr;
133 dest = (wxCommandEvent *) src;
134 return (void *) dest;
135 }
136
137 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr) {
138 wxDynamicSashSplitEvent *src;
139 wxEvent *dest;
140 src = (wxDynamicSashSplitEvent *) ptr;
141 dest = (wxEvent *) src;
142 return (void *) dest;
143 }
144
145 static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr) {
146 wxDynamicSashSplitEvent *src;
147 wxObject *dest;
148 src = (wxDynamicSashSplitEvent *) ptr;
149 dest = (wxObject *) src;
150 return (void *) dest;
151 }
152
153 #define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
154 static PyObject *_wrap_new_wxDynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
155 PyObject * _resultobj;
156 wxDynamicSashSplitEvent * _result;
157 wxObject * _arg0;
158 PyObject * _argo0 = 0;
159 char *_kwnames[] = { "target", NULL };
160 char _ptemp[128];
161
162 self = self;
163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashSplitEvent",_kwnames,&_argo0))
164 return NULL;
165 if (_argo0) {
166 if (_argo0 == Py_None) { _arg0 = NULL; }
167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
169 return NULL;
170 }
171 }
172 {
173 PyThreadState* __tstate = wxPyBeginAllowThreads();
174 _result = (wxDynamicSashSplitEvent *)new_wxDynamicSashSplitEvent(_arg0);
175
176 wxPyEndAllowThreads(__tstate);
177 if (PyErr_Occurred()) return NULL;
178 } if (_result) {
179 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashSplitEvent_p");
180 _resultobj = Py_BuildValue("s",_ptemp);
181 } else {
182 Py_INCREF(Py_None);
183 _resultobj = Py_None;
184 }
185 return _resultobj;
186 }
187
188 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr) {
189 wxDynamicSashUnifyEvent *src;
190 wxCommandEvent *dest;
191 src = (wxDynamicSashUnifyEvent *) ptr;
192 dest = (wxCommandEvent *) src;
193 return (void *) dest;
194 }
195
196 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr) {
197 wxDynamicSashUnifyEvent *src;
198 wxEvent *dest;
199 src = (wxDynamicSashUnifyEvent *) ptr;
200 dest = (wxEvent *) src;
201 return (void *) dest;
202 }
203
204 static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr) {
205 wxDynamicSashUnifyEvent *src;
206 wxObject *dest;
207 src = (wxDynamicSashUnifyEvent *) ptr;
208 dest = (wxObject *) src;
209 return (void *) dest;
210 }
211
212 #define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
213 static PyObject *_wrap_new_wxDynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
214 PyObject * _resultobj;
215 wxDynamicSashUnifyEvent * _result;
216 wxObject * _arg0;
217 PyObject * _argo0 = 0;
218 char *_kwnames[] = { "target", NULL };
219 char _ptemp[128];
220
221 self = self;
222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashUnifyEvent",_kwnames,&_argo0))
223 return NULL;
224 if (_argo0) {
225 if (_argo0 == Py_None) { _arg0 = NULL; }
226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
228 return NULL;
229 }
230 }
231 {
232 PyThreadState* __tstate = wxPyBeginAllowThreads();
233 _result = (wxDynamicSashUnifyEvent *)new_wxDynamicSashUnifyEvent(_arg0);
234
235 wxPyEndAllowThreads(__tstate);
236 if (PyErr_Occurred()) return NULL;
237 } if (_result) {
238 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashUnifyEvent_p");
239 _resultobj = Py_BuildValue("s",_ptemp);
240 } else {
241 Py_INCREF(Py_None);
242 _resultobj = Py_None;
243 }
244 return _resultobj;
245 }
246
247 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr) {
248 wxDynamicSashWindow *src;
249 wxWindow *dest;
250 src = (wxDynamicSashWindow *) ptr;
251 dest = (wxWindow *) src;
252 return (void *) dest;
253 }
254
255 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr) {
256 wxDynamicSashWindow *src;
257 wxEvtHandler *dest;
258 src = (wxDynamicSashWindow *) ptr;
259 dest = (wxEvtHandler *) src;
260 return (void *) dest;
261 }
262
263 static void *SwigwxDynamicSashWindowTowxObject(void *ptr) {
264 wxDynamicSashWindow *src;
265 wxObject *dest;
266 src = (wxDynamicSashWindow *) ptr;
267 dest = (wxObject *) src;
268 return (void *) dest;
269 }
270
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;
275 wxWindow * _arg0;
276 wxWindowID _arg1;
277 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
278 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
279 long _arg4 = (long ) wxCLIP_CHILDREN|(wxDS_MANAGE_SCROLLBARS)|(wxDS_DRAG_CORNER);
280 wxString * _arg5 = (wxString *) &wxPyDynamicSashNameStr;
281 PyObject * _argo0 = 0;
282 wxPoint temp;
283 PyObject * _obj2 = 0;
284 wxSize temp0;
285 PyObject * _obj3 = 0;
286 PyObject * _obj5 = 0;
287 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
288 char _ptemp[128];
289
290 self = self;
291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxDynamicSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
292 return NULL;
293 if (_argo0) {
294 if (_argo0 == Py_None) { _arg0 = NULL; }
295 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
296 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
297 return NULL;
298 }
299 }
300 if (_obj2)
301 {
302 _arg2 = &temp;
303 if (! wxPoint_helper(_obj2, &_arg2))
304 return NULL;
305 }
306 if (_obj3)
307 {
308 _arg3 = &temp0;
309 if (! wxSize_helper(_obj3, &_arg3))
310 return NULL;
311 }
312 if (_obj5)
313 {
314 _arg5 = wxString_in_helper(_obj5);
315 if (_arg5 == NULL)
316 return NULL;
317 }
318 {
319 PyThreadState* __tstate = wxPyBeginAllowThreads();
320 _result = (wxDynamicSashWindow *)new_wxDynamicSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
321
322 wxPyEndAllowThreads(__tstate);
323 if (PyErr_Occurred()) return NULL;
324 } if (_result) {
325 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
326 _resultobj = Py_BuildValue("s",_ptemp);
327 } else {
328 Py_INCREF(Py_None);
329 _resultobj = Py_None;
330 }
331 {
332 if (_obj5)
333 delete _arg5;
334 }
335 return _resultobj;
336 }
337
338 #define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
339 static PyObject *_wrap_new_wxPreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
340 PyObject * _resultobj;
341 wxDynamicSashWindow * _result;
342 char *_kwnames[] = { NULL };
343 char _ptemp[128];
344
345 self = self;
346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDynamicSashWindow",_kwnames))
347 return NULL;
348 {
349 PyThreadState* __tstate = wxPyBeginAllowThreads();
350 _result = (wxDynamicSashWindow *)new_wxPreDynamicSashWindow();
351
352 wxPyEndAllowThreads(__tstate);
353 if (PyErr_Occurred()) return NULL;
354 } if (_result) {
355 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
356 _resultobj = Py_BuildValue("s",_ptemp);
357 } else {
358 Py_INCREF(Py_None);
359 _resultobj = Py_None;
360 }
361 return _resultobj;
362 }
363
364 #define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
365 static PyObject *_wrap_wxDynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
366 PyObject * _resultobj;
367 bool _result;
368 wxDynamicSashWindow * _arg0;
369 wxWindow * _arg1;
370 wxWindowID _arg2;
371 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
372 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
373 long _arg5 = (long ) wxCLIP_CHILDREN|(wxDS_MANAGE_SCROLLBARS)|(wxDS_DRAG_CORNER);
374 wxString * _arg6 = (wxString *) &wxPyDynamicSashNameStr;
375 PyObject * _argo0 = 0;
376 PyObject * _argo1 = 0;
377 wxPoint temp;
378 PyObject * _obj3 = 0;
379 wxSize temp0;
380 PyObject * _obj4 = 0;
381 PyObject * _obj6 = 0;
382 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
383
384 self = self;
385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxDynamicSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
386 return NULL;
387 if (_argo0) {
388 if (_argo0 == Py_None) { _arg0 = NULL; }
389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
391 return NULL;
392 }
393 }
394 if (_argo1) {
395 if (_argo1 == Py_None) { _arg1 = NULL; }
396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
398 return NULL;
399 }
400 }
401 if (_obj3)
402 {
403 _arg3 = &temp;
404 if (! wxPoint_helper(_obj3, &_arg3))
405 return NULL;
406 }
407 if (_obj4)
408 {
409 _arg4 = &temp0;
410 if (! wxSize_helper(_obj4, &_arg4))
411 return NULL;
412 }
413 if (_obj6)
414 {
415 _arg6 = wxString_in_helper(_obj6);
416 if (_arg6 == NULL)
417 return NULL;
418 }
419 {
420 PyThreadState* __tstate = wxPyBeginAllowThreads();
421 _result = (bool )wxDynamicSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
422
423 wxPyEndAllowThreads(__tstate);
424 if (PyErr_Occurred()) return NULL;
425 } _resultobj = Py_BuildValue("i",_result);
426 {
427 if (_obj6)
428 delete _arg6;
429 }
430 return _resultobj;
431 }
432
433 #define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
434 static PyObject *_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
435 PyObject * _resultobj;
436 wxScrollBar * _result;
437 wxDynamicSashWindow * _arg0;
438 wxWindow * _arg1;
439 PyObject * _argo0 = 0;
440 PyObject * _argo1 = 0;
441 char *_kwnames[] = { "self","child", NULL };
442 char _ptemp[128];
443
444 self = self;
445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames,&_argo0,&_argo1))
446 return NULL;
447 if (_argo0) {
448 if (_argo0 == Py_None) { _arg0 = NULL; }
449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
451 return NULL;
452 }
453 }
454 if (_argo1) {
455 if (_argo1 == Py_None) { _arg1 = NULL; }
456 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
457 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
458 return NULL;
459 }
460 }
461 {
462 PyThreadState* __tstate = wxPyBeginAllowThreads();
463 _result = (wxScrollBar *)wxDynamicSashWindow_GetHScrollBar(_arg0,_arg1);
464
465 wxPyEndAllowThreads(__tstate);
466 if (PyErr_Occurred()) return NULL;
467 } if (_result) {
468 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
469 _resultobj = Py_BuildValue("s",_ptemp);
470 } else {
471 Py_INCREF(Py_None);
472 _resultobj = Py_None;
473 }
474 return _resultobj;
475 }
476
477 #define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
478 static PyObject *_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
479 PyObject * _resultobj;
480 wxScrollBar * _result;
481 wxDynamicSashWindow * _arg0;
482 wxWindow * _arg1;
483 PyObject * _argo0 = 0;
484 PyObject * _argo1 = 0;
485 char *_kwnames[] = { "self","child", NULL };
486 char _ptemp[128];
487
488 self = self;
489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames,&_argo0,&_argo1))
490 return NULL;
491 if (_argo0) {
492 if (_argo0 == Py_None) { _arg0 = NULL; }
493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
495 return NULL;
496 }
497 }
498 if (_argo1) {
499 if (_argo1 == Py_None) { _arg1 = NULL; }
500 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
501 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
502 return NULL;
503 }
504 }
505 {
506 PyThreadState* __tstate = wxPyBeginAllowThreads();
507 _result = (wxScrollBar *)wxDynamicSashWindow_GetVScrollBar(_arg0,_arg1);
508
509 wxPyEndAllowThreads(__tstate);
510 if (PyErr_Occurred()) return NULL;
511 } if (_result) {
512 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
513 _resultobj = Py_BuildValue("s",_ptemp);
514 } else {
515 Py_INCREF(Py_None);
516 _resultobj = Py_None;
517 }
518 return _resultobj;
519 }
520
521 static void *SwigwxEditableListBoxTowxPanel(void *ptr) {
522 wxEditableListBox *src;
523 wxPanel *dest;
524 src = (wxEditableListBox *) ptr;
525 dest = (wxPanel *) src;
526 return (void *) dest;
527 }
528
529 static void *SwigwxEditableListBoxTowxWindow(void *ptr) {
530 wxEditableListBox *src;
531 wxWindow *dest;
532 src = (wxEditableListBox *) ptr;
533 dest = (wxWindow *) src;
534 return (void *) dest;
535 }
536
537 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr) {
538 wxEditableListBox *src;
539 wxEvtHandler *dest;
540 src = (wxEditableListBox *) ptr;
541 dest = (wxEvtHandler *) src;
542 return (void *) dest;
543 }
544
545 static void *SwigwxEditableListBoxTowxObject(void *ptr) {
546 wxEditableListBox *src;
547 wxObject *dest;
548 src = (wxEditableListBox *) ptr;
549 dest = (wxObject *) src;
550 return (void *) dest;
551 }
552
553 #define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
554 static PyObject *_wrap_new_wxEditableListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
555 PyObject * _resultobj;
556 wxEditableListBox * _result;
557 wxWindow * _arg0;
558 wxWindowID _arg1;
559 wxString * _arg2;
560 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
561 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
562 long _arg5 = (long ) (wxEL_ALLOW_NEW)|(wxEL_ALLOW_EDIT)|(wxEL_ALLOW_DELETE);
563 wxString * _arg6 = (wxString *) &wxPyEditableListBoxNameStr;
564 PyObject * _argo0 = 0;
565 PyObject * _obj2 = 0;
566 wxPoint temp;
567 PyObject * _obj3 = 0;
568 wxSize temp0;
569 PyObject * _obj4 = 0;
570 PyObject * _obj6 = 0;
571 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
572 char _ptemp[128];
573
574 self = self;
575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxEditableListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
576 return NULL;
577 if (_argo0) {
578 if (_argo0 == Py_None) { _arg0 = NULL; }
579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
581 return NULL;
582 }
583 }
584 {
585 _arg2 = wxString_in_helper(_obj2);
586 if (_arg2 == NULL)
587 return NULL;
588 }
589 if (_obj3)
590 {
591 _arg3 = &temp;
592 if (! wxPoint_helper(_obj3, &_arg3))
593 return NULL;
594 }
595 if (_obj4)
596 {
597 _arg4 = &temp0;
598 if (! wxSize_helper(_obj4, &_arg4))
599 return NULL;
600 }
601 if (_obj6)
602 {
603 _arg6 = wxString_in_helper(_obj6);
604 if (_arg6 == NULL)
605 return NULL;
606 }
607 {
608 PyThreadState* __tstate = wxPyBeginAllowThreads();
609 _result = (wxEditableListBox *)new_wxEditableListBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
610
611 wxPyEndAllowThreads(__tstate);
612 if (PyErr_Occurred()) return NULL;
613 } if (_result) {
614 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEditableListBox_p");
615 _resultobj = Py_BuildValue("s",_ptemp);
616 } else {
617 Py_INCREF(Py_None);
618 _resultobj = Py_None;
619 }
620 {
621 if (_obj2)
622 delete _arg2;
623 }
624 {
625 if (_obj6)
626 delete _arg6;
627 }
628 return _resultobj;
629 }
630
631 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
632 static PyObject *_wrap_wxEditableListBox_SetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
633 PyObject * _resultobj;
634 wxEditableListBox * _arg0;
635 wxArrayString * _arg1;
636 PyObject * _argo0 = 0;
637 PyObject * _obj1 = 0;
638 char *_kwnames[] = { "self","strings", NULL };
639
640 self = self;
641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEditableListBox_SetStrings",_kwnames,&_argo0,&_obj1))
642 return NULL;
643 if (_argo0) {
644 if (_argo0 == Py_None) { _arg0 = NULL; }
645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
647 return NULL;
648 }
649 }
650 {
651 if (! PySequence_Check(_obj1)) {
652 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
653 return NULL;
654 }
655 _arg1 = new wxArrayString;
656 int i, len=PySequence_Length(_obj1);
657 for (i=0; i<len; i++) {
658 PyObject* item = PySequence_GetItem(_obj1, i);
659 #if wxUSE_UNICODE
660 PyObject* str = PyObject_Unicode(item);
661 _arg1->Add(PyUnicode_AsUnicode(str));
662 #else
663 PyObject* str = PyObject_Str(item);
664 _arg1->Add(PyString_AsString(str));
665 #endif
666 Py_DECREF(item);
667 Py_DECREF(str);
668 }
669 }
670 {
671 PyThreadState* __tstate = wxPyBeginAllowThreads();
672 wxEditableListBox_SetStrings(_arg0,*_arg1);
673
674 wxPyEndAllowThreads(__tstate);
675 if (PyErr_Occurred()) return NULL;
676 } Py_INCREF(Py_None);
677 _resultobj = Py_None;
678 {
679 if (_obj1)
680 delete _arg1;
681 }
682 return _resultobj;
683 }
684
685 static PyObject * wxEditableListBox_GetStrings(wxEditableListBox *self) {
686 wxArrayString strings;
687 self->GetStrings(strings);
688 return wxArrayString2PyList_helper(strings);
689 }
690 static PyObject *_wrap_wxEditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
691 PyObject * _resultobj;
692 PyObject * _result;
693 wxEditableListBox * _arg0;
694 PyObject * _argo0 = 0;
695 char *_kwnames[] = { "self", NULL };
696
697 self = self;
698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetStrings",_kwnames,&_argo0))
699 return NULL;
700 if (_argo0) {
701 if (_argo0 == Py_None) { _arg0 = NULL; }
702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
704 return NULL;
705 }
706 }
707 {
708 PyThreadState* __tstate = wxPyBeginAllowThreads();
709 _result = (PyObject *)wxEditableListBox_GetStrings(_arg0);
710
711 wxPyEndAllowThreads(__tstate);
712 if (PyErr_Occurred()) return NULL;
713 }{
714 _resultobj = _result;
715 }
716 return _resultobj;
717 }
718
719 #define wxEditableListBox_GetListCtrl(_swigobj) (_swigobj->GetListCtrl())
720 static PyObject *_wrap_wxEditableListBox_GetListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
721 PyObject * _resultobj;
722 wxListCtrl * _result;
723 wxEditableListBox * _arg0;
724 PyObject * _argo0 = 0;
725 char *_kwnames[] = { "self", NULL };
726 char _ptemp[128];
727
728 self = self;
729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetListCtrl",_kwnames,&_argo0))
730 return NULL;
731 if (_argo0) {
732 if (_argo0 == Py_None) { _arg0 = NULL; }
733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetListCtrl. Expected _wxEditableListBox_p.");
735 return NULL;
736 }
737 }
738 {
739 PyThreadState* __tstate = wxPyBeginAllowThreads();
740 _result = (wxListCtrl *)wxEditableListBox_GetListCtrl(_arg0);
741
742 wxPyEndAllowThreads(__tstate);
743 if (PyErr_Occurred()) return NULL;
744 } if (_result) {
745 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p");
746 _resultobj = Py_BuildValue("s",_ptemp);
747 } else {
748 Py_INCREF(Py_None);
749 _resultobj = Py_None;
750 }
751 return _resultobj;
752 }
753
754 #define wxEditableListBox_GetDelButton(_swigobj) (_swigobj->GetDelButton())
755 static PyObject *_wrap_wxEditableListBox_GetDelButton(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject * _resultobj;
757 wxBitmapButton * _result;
758 wxEditableListBox * _arg0;
759 PyObject * _argo0 = 0;
760 char *_kwnames[] = { "self", NULL };
761 char _ptemp[128];
762
763 self = self;
764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDelButton",_kwnames,&_argo0))
765 return NULL;
766 if (_argo0) {
767 if (_argo0 == Py_None) { _arg0 = NULL; }
768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetDelButton. Expected _wxEditableListBox_p.");
770 return NULL;
771 }
772 }
773 {
774 PyThreadState* __tstate = wxPyBeginAllowThreads();
775 _result = (wxBitmapButton *)wxEditableListBox_GetDelButton(_arg0);
776
777 wxPyEndAllowThreads(__tstate);
778 if (PyErr_Occurred()) return NULL;
779 } if (_result) {
780 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
781 _resultobj = Py_BuildValue("s",_ptemp);
782 } else {
783 Py_INCREF(Py_None);
784 _resultobj = Py_None;
785 }
786 return _resultobj;
787 }
788
789 #define wxEditableListBox_GetNewButton(_swigobj) (_swigobj->GetNewButton())
790 static PyObject *_wrap_wxEditableListBox_GetNewButton(PyObject *self, PyObject *args, PyObject *kwargs) {
791 PyObject * _resultobj;
792 wxBitmapButton * _result;
793 wxEditableListBox * _arg0;
794 PyObject * _argo0 = 0;
795 char *_kwnames[] = { "self", NULL };
796 char _ptemp[128];
797
798 self = self;
799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetNewButton",_kwnames,&_argo0))
800 return NULL;
801 if (_argo0) {
802 if (_argo0 == Py_None) { _arg0 = NULL; }
803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetNewButton. Expected _wxEditableListBox_p.");
805 return NULL;
806 }
807 }
808 {
809 PyThreadState* __tstate = wxPyBeginAllowThreads();
810 _result = (wxBitmapButton *)wxEditableListBox_GetNewButton(_arg0);
811
812 wxPyEndAllowThreads(__tstate);
813 if (PyErr_Occurred()) return NULL;
814 } if (_result) {
815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
816 _resultobj = Py_BuildValue("s",_ptemp);
817 } else {
818 Py_INCREF(Py_None);
819 _resultobj = Py_None;
820 }
821 return _resultobj;
822 }
823
824 #define wxEditableListBox_GetUpButton(_swigobj) (_swigobj->GetUpButton())
825 static PyObject *_wrap_wxEditableListBox_GetUpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
826 PyObject * _resultobj;
827 wxBitmapButton * _result;
828 wxEditableListBox * _arg0;
829 PyObject * _argo0 = 0;
830 char *_kwnames[] = { "self", NULL };
831 char _ptemp[128];
832
833 self = self;
834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetUpButton",_kwnames,&_argo0))
835 return NULL;
836 if (_argo0) {
837 if (_argo0 == Py_None) { _arg0 = NULL; }
838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetUpButton. Expected _wxEditableListBox_p.");
840 return NULL;
841 }
842 }
843 {
844 PyThreadState* __tstate = wxPyBeginAllowThreads();
845 _result = (wxBitmapButton *)wxEditableListBox_GetUpButton(_arg0);
846
847 wxPyEndAllowThreads(__tstate);
848 if (PyErr_Occurred()) return NULL;
849 } if (_result) {
850 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
851 _resultobj = Py_BuildValue("s",_ptemp);
852 } else {
853 Py_INCREF(Py_None);
854 _resultobj = Py_None;
855 }
856 return _resultobj;
857 }
858
859 #define wxEditableListBox_GetDownButton(_swigobj) (_swigobj->GetDownButton())
860 static PyObject *_wrap_wxEditableListBox_GetDownButton(PyObject *self, PyObject *args, PyObject *kwargs) {
861 PyObject * _resultobj;
862 wxBitmapButton * _result;
863 wxEditableListBox * _arg0;
864 PyObject * _argo0 = 0;
865 char *_kwnames[] = { "self", NULL };
866 char _ptemp[128];
867
868 self = self;
869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetDownButton",_kwnames,&_argo0))
870 return NULL;
871 if (_argo0) {
872 if (_argo0 == Py_None) { _arg0 = NULL; }
873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetDownButton. Expected _wxEditableListBox_p.");
875 return NULL;
876 }
877 }
878 {
879 PyThreadState* __tstate = wxPyBeginAllowThreads();
880 _result = (wxBitmapButton *)wxEditableListBox_GetDownButton(_arg0);
881
882 wxPyEndAllowThreads(__tstate);
883 if (PyErr_Occurred()) return NULL;
884 } if (_result) {
885 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
886 _resultobj = Py_BuildValue("s",_ptemp);
887 } else {
888 Py_INCREF(Py_None);
889 _resultobj = Py_None;
890 }
891 return _resultobj;
892 }
893
894 #define wxEditableListBox_GetEditButton(_swigobj) (_swigobj->GetEditButton())
895 static PyObject *_wrap_wxEditableListBox_GetEditButton(PyObject *self, PyObject *args, PyObject *kwargs) {
896 PyObject * _resultobj;
897 wxBitmapButton * _result;
898 wxEditableListBox * _arg0;
899 PyObject * _argo0 = 0;
900 char *_kwnames[] = { "self", NULL };
901 char _ptemp[128];
902
903 self = self;
904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetEditButton",_kwnames,&_argo0))
905 return NULL;
906 if (_argo0) {
907 if (_argo0 == Py_None) { _arg0 = NULL; }
908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetEditButton. Expected _wxEditableListBox_p.");
910 return NULL;
911 }
912 }
913 {
914 PyThreadState* __tstate = wxPyBeginAllowThreads();
915 _result = (wxBitmapButton *)wxEditableListBox_GetEditButton(_arg0);
916
917 wxPyEndAllowThreads(__tstate);
918 if (PyErr_Occurred()) return NULL;
919 } if (_result) {
920 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
921 _resultobj = Py_BuildValue("s",_ptemp);
922 } else {
923 Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 }
926 return _resultobj;
927 }
928
929 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr) {
930 wxRemotelyScrolledTreeCtrl *src;
931 wxPyTreeCtrl *dest;
932 src = (wxRemotelyScrolledTreeCtrl *) ptr;
933 dest = (wxPyTreeCtrl *) src;
934 return (void *) dest;
935 }
936
937 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr) {
938 wxRemotelyScrolledTreeCtrl *src;
939 wxControl *dest;
940 src = (wxRemotelyScrolledTreeCtrl *) ptr;
941 dest = (wxControl *) src;
942 return (void *) dest;
943 }
944
945 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr) {
946 wxRemotelyScrolledTreeCtrl *src;
947 wxWindow *dest;
948 src = (wxRemotelyScrolledTreeCtrl *) ptr;
949 dest = (wxWindow *) src;
950 return (void *) dest;
951 }
952
953 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr) {
954 wxRemotelyScrolledTreeCtrl *src;
955 wxEvtHandler *dest;
956 src = (wxRemotelyScrolledTreeCtrl *) ptr;
957 dest = (wxEvtHandler *) src;
958 return (void *) dest;
959 }
960
961 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr) {
962 wxRemotelyScrolledTreeCtrl *src;
963 wxObject *dest;
964 src = (wxRemotelyScrolledTreeCtrl *) ptr;
965 dest = (wxObject *) src;
966 return (void *) dest;
967 }
968
969 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
970 static PyObject *_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject * _resultobj;
972 wxRemotelyScrolledTreeCtrl * _result;
973 wxWindow * _arg0;
974 wxWindowID _arg1;
975 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
976 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
977 long _arg4 = (long ) wxTR_HAS_BUTTONS;
978 PyObject * _argo0 = 0;
979 wxPoint temp;
980 PyObject * _obj2 = 0;
981 wxSize temp0;
982 PyObject * _obj3 = 0;
983 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
984 char _ptemp[128];
985
986 self = self;
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
988 return NULL;
989 if (_argo0) {
990 if (_argo0 == Py_None) { _arg0 = NULL; }
991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
993 return NULL;
994 }
995 }
996 if (_obj2)
997 {
998 _arg2 = &temp;
999 if (! wxPoint_helper(_obj2, &_arg2))
1000 return NULL;
1001 }
1002 if (_obj3)
1003 {
1004 _arg3 = &temp0;
1005 if (! wxSize_helper(_obj3, &_arg3))
1006 return NULL;
1007 }
1008 {
1009 PyThreadState* __tstate = wxPyBeginAllowThreads();
1010 _result = (wxRemotelyScrolledTreeCtrl *)new_wxRemotelyScrolledTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1011
1012 wxPyEndAllowThreads(__tstate);
1013 if (PyErr_Occurred()) return NULL;
1014 } if (_result) {
1015 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
1016 _resultobj = Py_BuildValue("s",_ptemp);
1017 } else {
1018 Py_INCREF(Py_None);
1019 _resultobj = Py_None;
1020 }
1021 return _resultobj;
1022 }
1023
1024 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
1025 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
1026 PyObject * _resultobj;
1027 wxRemotelyScrolledTreeCtrl * _arg0;
1028 PyObject * _argo0 = 0;
1029 char *_kwnames[] = { "self", NULL };
1030
1031 self = self;
1032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames,&_argo0))
1033 return NULL;
1034 if (_argo0) {
1035 if (_argo0 == Py_None) { _arg0 = NULL; }
1036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
1037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
1038 return NULL;
1039 }
1040 }
1041 {
1042 PyThreadState* __tstate = wxPyBeginAllowThreads();
1043 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0);
1044
1045 wxPyEndAllowThreads(__tstate);
1046 if (PyErr_Occurred()) return NULL;
1047 } Py_INCREF(Py_None);
1048 _resultobj = Py_None;
1049 return _resultobj;
1050 }
1051
1052 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
1053 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1054 PyObject * _resultobj;
1055 wxRemotelyScrolledTreeCtrl * _arg0;
1056 PyObject * _argo0 = 0;
1057 char *_kwnames[] = { "self", NULL };
1058
1059 self = self;
1060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames,&_argo0))
1061 return NULL;
1062 if (_argo0) {
1063 if (_argo0 == Py_None) { _arg0 = NULL; }
1064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
1065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
1066 return NULL;
1067 }
1068 }
1069 {
1070 PyThreadState* __tstate = wxPyBeginAllowThreads();
1071 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0);
1072
1073 wxPyEndAllowThreads(__tstate);
1074 if (PyErr_Occurred()) return NULL;
1075 } Py_INCREF(Py_None);
1076 _resultobj = Py_None;
1077 return _resultobj;
1078 }
1079
1080 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
1081 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1082 PyObject * _resultobj;
1083 wxScrolledWindow * _result;
1084 wxRemotelyScrolledTreeCtrl * _arg0;
1085 PyObject * _argo0 = 0;
1086 char *_kwnames[] = { "self", NULL };
1087 char _ptemp[128];
1088
1089 self = self;
1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames,&_argo0))
1091 return NULL;
1092 if (_argo0) {
1093 if (_argo0 == Py_None) { _arg0 = NULL; }
1094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
1095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1096 return NULL;
1097 }
1098 }
1099 {
1100 PyThreadState* __tstate = wxPyBeginAllowThreads();
1101 _result = (wxScrolledWindow *)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0);
1102
1103 wxPyEndAllowThreads(__tstate);
1104 if (PyErr_Occurred()) return NULL;
1105 } if (_result) {
1106 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
1107 _resultobj = Py_BuildValue("s",_ptemp);
1108 } else {
1109 Py_INCREF(Py_None);
1110 _resultobj = Py_None;
1111 }
1112 return _resultobj;
1113 }
1114
1115 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
1116 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1117 PyObject * _resultobj;
1118 wxRemotelyScrolledTreeCtrl * _arg0;
1119 int _arg1;
1120 int _arg2;
1121 PyObject * _argo0 = 0;
1122 char *_kwnames[] = { "self","posHoriz","posVert", NULL };
1123
1124 self = self;
1125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1,&_arg2))
1126 return NULL;
1127 if (_argo0) {
1128 if (_argo0 == Py_None) { _arg0 = NULL; }
1129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
1130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
1131 return NULL;
1132 }
1133 }
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0,_arg1,_arg2);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) return NULL;
1140 } Py_INCREF(Py_None);
1141 _resultobj = Py_None;
1142 return _resultobj;
1143 }
1144
1145 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
1146 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1147 PyObject * _resultobj;
1148 wxRemotelyScrolledTreeCtrl * _arg0;
1149 wxWindow * _arg1;
1150 PyObject * _argo0 = 0;
1151 PyObject * _argo1 = 0;
1152 char *_kwnames[] = { "self","companion", NULL };
1153
1154 self = self;
1155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames,&_argo0,&_argo1))
1156 return NULL;
1157 if (_argo0) {
1158 if (_argo0 == Py_None) { _arg0 = NULL; }
1159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
1160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1161 return NULL;
1162 }
1163 }
1164 if (_argo1) {
1165 if (_argo1 == Py_None) { _arg1 = NULL; }
1166 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1167 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
1168 return NULL;
1169 }
1170 }
1171 {
1172 PyThreadState* __tstate = wxPyBeginAllowThreads();
1173 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0,_arg1);
1174
1175 wxPyEndAllowThreads(__tstate);
1176 if (PyErr_Occurred()) return NULL;
1177 } Py_INCREF(Py_None);
1178 _resultobj = Py_None;
1179 return _resultobj;
1180 }
1181
1182 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
1183 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject * _resultobj;
1185 wxWindow * _result;
1186 wxRemotelyScrolledTreeCtrl * _arg0;
1187 PyObject * _argo0 = 0;
1188 char *_kwnames[] = { "self", NULL };
1189
1190 self = self;
1191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames,&_argo0))
1192 return NULL;
1193 if (_argo0) {
1194 if (_argo0 == Py_None) { _arg0 = NULL; }
1195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
1196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
1197 return NULL;
1198 }
1199 }
1200 {
1201 PyThreadState* __tstate = wxPyBeginAllowThreads();
1202 _result = (wxWindow *)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0);
1203
1204 wxPyEndAllowThreads(__tstate);
1205 if (PyErr_Occurred()) return NULL;
1206 }{ _resultobj = wxPyMake_wxObject(_result); }
1207 return _resultobj;
1208 }
1209
1210 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr) {
1211 wxPyTreeCompanionWindow *src;
1212 wxWindow *dest;
1213 src = (wxPyTreeCompanionWindow *) ptr;
1214 dest = (wxWindow *) src;
1215 return (void *) dest;
1216 }
1217
1218 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr) {
1219 wxPyTreeCompanionWindow *src;
1220 wxEvtHandler *dest;
1221 src = (wxPyTreeCompanionWindow *) ptr;
1222 dest = (wxEvtHandler *) src;
1223 return (void *) dest;
1224 }
1225
1226 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr) {
1227 wxPyTreeCompanionWindow *src;
1228 wxObject *dest;
1229 src = (wxPyTreeCompanionWindow *) ptr;
1230 dest = (wxObject *) src;
1231 return (void *) dest;
1232 }
1233
1234 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1235 static PyObject *_wrap_new_wxTreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1236 PyObject * _resultobj;
1237 wxPyTreeCompanionWindow * _result;
1238 wxWindow * _arg0;
1239 wxWindowID _arg1 = (wxWindowID ) -1;
1240 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1241 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1242 long _arg4 = (long ) 0;
1243 PyObject * _argo0 = 0;
1244 wxPoint temp;
1245 PyObject * _obj2 = 0;
1246 wxSize temp0;
1247 PyObject * _obj3 = 0;
1248 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1249 char _ptemp[128];
1250
1251 self = self;
1252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxTreeCompanionWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1253 return NULL;
1254 if (_argo0) {
1255 if (_argo0 == Py_None) { _arg0 = NULL; }
1256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1258 return NULL;
1259 }
1260 }
1261 if (_obj2)
1262 {
1263 _arg2 = &temp;
1264 if (! wxPoint_helper(_obj2, &_arg2))
1265 return NULL;
1266 }
1267 if (_obj3)
1268 {
1269 _arg3 = &temp0;
1270 if (! wxSize_helper(_obj3, &_arg3))
1271 return NULL;
1272 }
1273 {
1274 PyThreadState* __tstate = wxPyBeginAllowThreads();
1275 _result = (wxPyTreeCompanionWindow *)new_wxTreeCompanionWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1276
1277 wxPyEndAllowThreads(__tstate);
1278 if (PyErr_Occurred()) return NULL;
1279 } if (_result) {
1280 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCompanionWindow_p");
1281 _resultobj = Py_BuildValue("s",_ptemp);
1282 } else {
1283 Py_INCREF(Py_None);
1284 _resultobj = Py_None;
1285 }
1286 return _resultobj;
1287 }
1288
1289 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1290 static PyObject *_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject * _resultobj;
1292 wxPyTreeCompanionWindow * _arg0;
1293 PyObject * _arg1;
1294 PyObject * _arg2;
1295 PyObject * _argo0 = 0;
1296 PyObject * _obj1 = 0;
1297 PyObject * _obj2 = 0;
1298 char *_kwnames[] = { "self","self","_class", NULL };
1299
1300 self = self;
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1302 return NULL;
1303 if (_argo0) {
1304 if (_argo0 == Py_None) { _arg0 = NULL; }
1305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1307 return NULL;
1308 }
1309 }
1310 {
1311 _arg1 = _obj1;
1312 }
1313 {
1314 _arg2 = _obj2;
1315 }
1316 {
1317 PyThreadState* __tstate = wxPyBeginAllowThreads();
1318 wxTreeCompanionWindow__setCallbackInfo(_arg0,_arg1,_arg2);
1319
1320 wxPyEndAllowThreads(__tstate);
1321 if (PyErr_Occurred()) return NULL;
1322 } Py_INCREF(Py_None);
1323 _resultobj = Py_None;
1324 return _resultobj;
1325 }
1326
1327 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1328 static PyObject *_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject * _resultobj;
1330 wxRemotelyScrolledTreeCtrl * _result;
1331 wxPyTreeCompanionWindow * _arg0;
1332 PyObject * _argo0 = 0;
1333 char *_kwnames[] = { "self", NULL };
1334 char _ptemp[128];
1335
1336 self = self;
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames,&_argo0))
1338 return NULL;
1339 if (_argo0) {
1340 if (_argo0 == Py_None) { _arg0 = NULL; }
1341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1343 return NULL;
1344 }
1345 }
1346 {
1347 PyThreadState* __tstate = wxPyBeginAllowThreads();
1348 _result = (wxRemotelyScrolledTreeCtrl *)wxTreeCompanionWindow_GetTreeCtrl(_arg0);
1349
1350 wxPyEndAllowThreads(__tstate);
1351 if (PyErr_Occurred()) return NULL;
1352 } if (_result) {
1353 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
1354 _resultobj = Py_BuildValue("s",_ptemp);
1355 } else {
1356 Py_INCREF(Py_None);
1357 _resultobj = Py_None;
1358 }
1359 return _resultobj;
1360 }
1361
1362 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1363 static PyObject *_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1364 PyObject * _resultobj;
1365 wxPyTreeCompanionWindow * _arg0;
1366 wxRemotelyScrolledTreeCtrl * _arg1;
1367 PyObject * _argo0 = 0;
1368 PyObject * _argo1 = 0;
1369 char *_kwnames[] = { "self","treeCtrl", NULL };
1370
1371 self = self;
1372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames,&_argo0,&_argo1))
1373 return NULL;
1374 if (_argo0) {
1375 if (_argo0 == Py_None) { _arg0 = NULL; }
1376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1378 return NULL;
1379 }
1380 }
1381 if (_argo1) {
1382 if (_argo1 == Py_None) { _arg1 = NULL; }
1383 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRemotelyScrolledTreeCtrl_p")) {
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1385 return NULL;
1386 }
1387 }
1388 {
1389 PyThreadState* __tstate = wxPyBeginAllowThreads();
1390 wxTreeCompanionWindow_SetTreeCtrl(_arg0,_arg1);
1391
1392 wxPyEndAllowThreads(__tstate);
1393 if (PyErr_Occurred()) return NULL;
1394 } Py_INCREF(Py_None);
1395 _resultobj = Py_None;
1396 return _resultobj;
1397 }
1398
1399 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr) {
1400 wxThinSplitterWindow *src;
1401 wxSplitterWindow *dest;
1402 src = (wxThinSplitterWindow *) ptr;
1403 dest = (wxSplitterWindow *) src;
1404 return (void *) dest;
1405 }
1406
1407 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr) {
1408 wxThinSplitterWindow *src;
1409 wxWindow *dest;
1410 src = (wxThinSplitterWindow *) ptr;
1411 dest = (wxWindow *) src;
1412 return (void *) dest;
1413 }
1414
1415 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr) {
1416 wxThinSplitterWindow *src;
1417 wxEvtHandler *dest;
1418 src = (wxThinSplitterWindow *) ptr;
1419 dest = (wxEvtHandler *) src;
1420 return (void *) dest;
1421 }
1422
1423 static void *SwigwxThinSplitterWindowTowxObject(void *ptr) {
1424 wxThinSplitterWindow *src;
1425 wxObject *dest;
1426 src = (wxThinSplitterWindow *) ptr;
1427 dest = (wxObject *) src;
1428 return (void *) dest;
1429 }
1430
1431 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1432 static PyObject *_wrap_new_wxThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject * _resultobj;
1434 wxThinSplitterWindow * _result;
1435 wxWindow * _arg0;
1436 wxWindowID _arg1 = (wxWindowID ) -1;
1437 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1438 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1439 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1440 PyObject * _argo0 = 0;
1441 wxPoint temp;
1442 PyObject * _obj2 = 0;
1443 wxSize temp0;
1444 PyObject * _obj3 = 0;
1445 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1446 char _ptemp[128];
1447
1448 self = self;
1449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxThinSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1450 return NULL;
1451 if (_argo0) {
1452 if (_argo0 == Py_None) { _arg0 = NULL; }
1453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1455 return NULL;
1456 }
1457 }
1458 if (_obj2)
1459 {
1460 _arg2 = &temp;
1461 if (! wxPoint_helper(_obj2, &_arg2))
1462 return NULL;
1463 }
1464 if (_obj3)
1465 {
1466 _arg3 = &temp0;
1467 if (! wxSize_helper(_obj3, &_arg3))
1468 return NULL;
1469 }
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 _result = (wxThinSplitterWindow *)new_wxThinSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) return NULL;
1476 } if (_result) {
1477 SWIG_MakePtr(_ptemp, (char *) _result,"_wxThinSplitterWindow_p");
1478 _resultobj = Py_BuildValue("s",_ptemp);
1479 } else {
1480 Py_INCREF(Py_None);
1481 _resultobj = Py_None;
1482 }
1483 return _resultobj;
1484 }
1485
1486 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr) {
1487 wxSplitterScrolledWindow *src;
1488 wxScrolledWindow *dest;
1489 src = (wxSplitterScrolledWindow *) ptr;
1490 dest = (wxScrolledWindow *) src;
1491 return (void *) dest;
1492 }
1493
1494 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr) {
1495 wxSplitterScrolledWindow *src;
1496 wxPanel *dest;
1497 src = (wxSplitterScrolledWindow *) ptr;
1498 dest = (wxPanel *) src;
1499 return (void *) dest;
1500 }
1501
1502 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr) {
1503 wxSplitterScrolledWindow *src;
1504 wxWindow *dest;
1505 src = (wxSplitterScrolledWindow *) ptr;
1506 dest = (wxWindow *) src;
1507 return (void *) dest;
1508 }
1509
1510 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr) {
1511 wxSplitterScrolledWindow *src;
1512 wxEvtHandler *dest;
1513 src = (wxSplitterScrolledWindow *) ptr;
1514 dest = (wxEvtHandler *) src;
1515 return (void *) dest;
1516 }
1517
1518 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr) {
1519 wxSplitterScrolledWindow *src;
1520 wxObject *dest;
1521 src = (wxSplitterScrolledWindow *) ptr;
1522 dest = (wxObject *) src;
1523 return (void *) dest;
1524 }
1525
1526 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1527 static PyObject *_wrap_new_wxSplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1528 PyObject * _resultobj;
1529 wxSplitterScrolledWindow * _result;
1530 wxWindow * _arg0;
1531 wxWindowID _arg1 = (wxWindowID ) -1;
1532 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1533 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1534 long _arg4 = (long ) 0;
1535 PyObject * _argo0 = 0;
1536 wxPoint temp;
1537 PyObject * _obj2 = 0;
1538 wxSize temp0;
1539 PyObject * _obj3 = 0;
1540 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1541 char _ptemp[128];
1542
1543 self = self;
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1545 return NULL;
1546 if (_argo0) {
1547 if (_argo0 == Py_None) { _arg0 = NULL; }
1548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1550 return NULL;
1551 }
1552 }
1553 if (_obj2)
1554 {
1555 _arg2 = &temp;
1556 if (! wxPoint_helper(_obj2, &_arg2))
1557 return NULL;
1558 }
1559 if (_obj3)
1560 {
1561 _arg3 = &temp0;
1562 if (! wxSize_helper(_obj3, &_arg3))
1563 return NULL;
1564 }
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 _result = (wxSplitterScrolledWindow *)new_wxSplitterScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) return NULL;
1571 } if (_result) {
1572 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterScrolledWindow_p");
1573 _resultobj = Py_BuildValue("s",_ptemp);
1574 } else {
1575 Py_INCREF(Py_None);
1576 _resultobj = Py_None;
1577 }
1578 return _resultobj;
1579 }
1580
1581 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr) {
1582 wxLEDNumberCtrl *src;
1583 wxControl *dest;
1584 src = (wxLEDNumberCtrl *) ptr;
1585 dest = (wxControl *) src;
1586 return (void *) dest;
1587 }
1588
1589 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr) {
1590 wxLEDNumberCtrl *src;
1591 wxWindow *dest;
1592 src = (wxLEDNumberCtrl *) ptr;
1593 dest = (wxWindow *) src;
1594 return (void *) dest;
1595 }
1596
1597 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr) {
1598 wxLEDNumberCtrl *src;
1599 wxEvtHandler *dest;
1600 src = (wxLEDNumberCtrl *) ptr;
1601 dest = (wxEvtHandler *) src;
1602 return (void *) dest;
1603 }
1604
1605 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr) {
1606 wxLEDNumberCtrl *src;
1607 wxObject *dest;
1608 src = (wxLEDNumberCtrl *) ptr;
1609 dest = (wxObject *) src;
1610 return (void *) dest;
1611 }
1612
1613 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1614 static PyObject *_wrap_new_wxLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1615 PyObject * _resultobj;
1616 wxLEDNumberCtrl * _result;
1617 wxWindow * _arg0;
1618 wxWindowID _arg1 = (wxWindowID ) -1;
1619 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1620 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1621 long _arg4 = (long ) (wxLED_ALIGN_LEFT)|(wxLED_DRAW_FADED);
1622 PyObject * _argo0 = 0;
1623 wxPoint temp;
1624 PyObject * _obj2 = 0;
1625 wxSize temp0;
1626 PyObject * _obj3 = 0;
1627 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1628 char _ptemp[128];
1629
1630 self = self;
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxLEDNumberCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1632 return NULL;
1633 if (_argo0) {
1634 if (_argo0 == Py_None) { _arg0 = NULL; }
1635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1637 return NULL;
1638 }
1639 }
1640 if (_obj2)
1641 {
1642 _arg2 = &temp;
1643 if (! wxPoint_helper(_obj2, &_arg2))
1644 return NULL;
1645 }
1646 if (_obj3)
1647 {
1648 _arg3 = &temp0;
1649 if (! wxSize_helper(_obj3, &_arg3))
1650 return NULL;
1651 }
1652 {
1653 PyThreadState* __tstate = wxPyBeginAllowThreads();
1654 _result = (wxLEDNumberCtrl *)new_wxLEDNumberCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1655
1656 wxPyEndAllowThreads(__tstate);
1657 if (PyErr_Occurred()) return NULL;
1658 } if (_result) {
1659 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLEDNumberCtrl_p");
1660 _resultobj = Py_BuildValue("s",_ptemp);
1661 } else {
1662 Py_INCREF(Py_None);
1663 _resultobj = Py_None;
1664 }
1665 return _resultobj;
1666 }
1667
1668 #define new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1669 static PyObject *_wrap_new_wxPreLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1670 PyObject * _resultobj;
1671 wxLEDNumberCtrl * _result;
1672 char *_kwnames[] = { NULL };
1673 char _ptemp[128];
1674
1675 self = self;
1676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreLEDNumberCtrl",_kwnames))
1677 return NULL;
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 _result = (wxLEDNumberCtrl *)new_wxPreLEDNumberCtrl();
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) return NULL;
1684 } if (_result) {
1685 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLEDNumberCtrl_p");
1686 _resultobj = Py_BuildValue("s",_ptemp);
1687 } else {
1688 Py_INCREF(Py_None);
1689 _resultobj = Py_None;
1690 }
1691 return _resultobj;
1692 }
1693
1694 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1695 static PyObject *_wrap_wxLEDNumberCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1696 PyObject * _resultobj;
1697 bool _result;
1698 wxLEDNumberCtrl * _arg0;
1699 wxWindow * _arg1;
1700 wxWindowID _arg2 = (wxWindowID ) -1;
1701 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1702 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1703 long _arg5 = (long ) (wxLED_ALIGN_LEFT)|(wxLED_DRAW_FADED);
1704 PyObject * _argo0 = 0;
1705 PyObject * _argo1 = 0;
1706 wxPoint temp;
1707 PyObject * _obj3 = 0;
1708 wxSize temp0;
1709 PyObject * _obj4 = 0;
1710 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
1711
1712 self = self;
1713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
1714 return NULL;
1715 if (_argo0) {
1716 if (_argo0 == Py_None) { _arg0 = NULL; }
1717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1719 return NULL;
1720 }
1721 }
1722 if (_argo1) {
1723 if (_argo1 == Py_None) { _arg1 = NULL; }
1724 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1725 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1726 return NULL;
1727 }
1728 }
1729 if (_obj3)
1730 {
1731 _arg3 = &temp;
1732 if (! wxPoint_helper(_obj3, &_arg3))
1733 return NULL;
1734 }
1735 if (_obj4)
1736 {
1737 _arg4 = &temp0;
1738 if (! wxSize_helper(_obj4, &_arg4))
1739 return NULL;
1740 }
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 _result = (bool )wxLEDNumberCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) return NULL;
1747 } _resultobj = Py_BuildValue("i",_result);
1748 return _resultobj;
1749 }
1750
1751 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1752 static PyObject *_wrap_wxLEDNumberCtrl_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject * _resultobj;
1754 wxLEDValueAlign _result;
1755 wxLEDNumberCtrl * _arg0;
1756 PyObject * _argo0 = 0;
1757 char *_kwnames[] = { "self", NULL };
1758
1759 self = self;
1760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetAlignment",_kwnames,&_argo0))
1761 return NULL;
1762 if (_argo0) {
1763 if (_argo0 == Py_None) { _arg0 = NULL; }
1764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1766 return NULL;
1767 }
1768 }
1769 {
1770 PyThreadState* __tstate = wxPyBeginAllowThreads();
1771 _result = (wxLEDValueAlign )wxLEDNumberCtrl_GetAlignment(_arg0);
1772
1773 wxPyEndAllowThreads(__tstate);
1774 if (PyErr_Occurred()) return NULL;
1775 } _resultobj = Py_BuildValue("i",_result);
1776 return _resultobj;
1777 }
1778
1779 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1780 static PyObject *_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1781 PyObject * _resultobj;
1782 bool _result;
1783 wxLEDNumberCtrl * _arg0;
1784 PyObject * _argo0 = 0;
1785 char *_kwnames[] = { "self", NULL };
1786
1787 self = self;
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames,&_argo0))
1789 return NULL;
1790 if (_argo0) {
1791 if (_argo0 == Py_None) { _arg0 = NULL; }
1792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1794 return NULL;
1795 }
1796 }
1797 {
1798 PyThreadState* __tstate = wxPyBeginAllowThreads();
1799 _result = (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0);
1800
1801 wxPyEndAllowThreads(__tstate);
1802 if (PyErr_Occurred()) return NULL;
1803 } _resultobj = Py_BuildValue("i",_result);
1804 return _resultobj;
1805 }
1806
1807 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1808 static PyObject *_wrap_wxLEDNumberCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1809 PyObject * _resultobj;
1810 wxString * _result;
1811 wxLEDNumberCtrl * _arg0;
1812 PyObject * _argo0 = 0;
1813 char *_kwnames[] = { "self", NULL };
1814
1815 self = self;
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetValue",_kwnames,&_argo0))
1817 return NULL;
1818 if (_argo0) {
1819 if (_argo0 == Py_None) { _arg0 = NULL; }
1820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1822 return NULL;
1823 }
1824 }
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 const wxString & _result_ref = wxLEDNumberCtrl_GetValue(_arg0);
1828 _result = (wxString *) &_result_ref;
1829
1830 wxPyEndAllowThreads(__tstate);
1831 if (PyErr_Occurred()) return NULL;
1832 }{
1833 #if wxUSE_UNICODE
1834 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1835 #else
1836 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1837 #endif
1838 }
1839 return _resultobj;
1840 }
1841
1842 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1843 static PyObject *_wrap_wxLEDNumberCtrl_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject * _resultobj;
1845 wxLEDNumberCtrl * _arg0;
1846 wxLEDValueAlign _arg1;
1847 bool _arg2 = (bool ) true;
1848 PyObject * _argo0 = 0;
1849 int tempbool2 = (int) true;
1850 char *_kwnames[] = { "self","Alignment","Redraw", NULL };
1851
1852 self = self;
1853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames,&_argo0,&_arg1,&tempbool2))
1854 return NULL;
1855 if (_argo0) {
1856 if (_argo0 == Py_None) { _arg0 = NULL; }
1857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1859 return NULL;
1860 }
1861 }
1862 _arg2 = (bool ) tempbool2;
1863 {
1864 PyThreadState* __tstate = wxPyBeginAllowThreads();
1865 wxLEDNumberCtrl_SetAlignment(_arg0,_arg1,_arg2);
1866
1867 wxPyEndAllowThreads(__tstate);
1868 if (PyErr_Occurred()) return NULL;
1869 } Py_INCREF(Py_None);
1870 _resultobj = Py_None;
1871 return _resultobj;
1872 }
1873
1874 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1875 static PyObject *_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject * _resultobj;
1877 wxLEDNumberCtrl * _arg0;
1878 bool _arg1;
1879 bool _arg2 = (bool ) true;
1880 PyObject * _argo0 = 0;
1881 int tempbool1;
1882 int tempbool2 = (int) true;
1883 char *_kwnames[] = { "self","DrawFaded","Redraw", NULL };
1884
1885 self = self;
1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames,&_argo0,&tempbool1,&tempbool2))
1887 return NULL;
1888 if (_argo0) {
1889 if (_argo0 == Py_None) { _arg0 = NULL; }
1890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1892 return NULL;
1893 }
1894 }
1895 _arg1 = (bool ) tempbool1;
1896 _arg2 = (bool ) tempbool2;
1897 {
1898 PyThreadState* __tstate = wxPyBeginAllowThreads();
1899 wxLEDNumberCtrl_SetDrawFaded(_arg0,_arg1,_arg2);
1900
1901 wxPyEndAllowThreads(__tstate);
1902 if (PyErr_Occurred()) return NULL;
1903 } Py_INCREF(Py_None);
1904 _resultobj = Py_None;
1905 return _resultobj;
1906 }
1907
1908 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1909 static PyObject *_wrap_wxLEDNumberCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1910 PyObject * _resultobj;
1911 wxLEDNumberCtrl * _arg0;
1912 wxString * _arg1;
1913 bool _arg2 = (bool ) true;
1914 PyObject * _argo0 = 0;
1915 PyObject * _obj1 = 0;
1916 int tempbool2 = (int) true;
1917 char *_kwnames[] = { "self","Value","Redraw", NULL };
1918
1919 self = self;
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames,&_argo0,&_obj1,&tempbool2))
1921 return NULL;
1922 if (_argo0) {
1923 if (_argo0 == Py_None) { _arg0 = NULL; }
1924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1926 return NULL;
1927 }
1928 }
1929 {
1930 _arg1 = wxString_in_helper(_obj1);
1931 if (_arg1 == NULL)
1932 return NULL;
1933 }
1934 _arg2 = (bool ) tempbool2;
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 wxLEDNumberCtrl_SetValue(_arg0,*_arg1,_arg2);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) return NULL;
1941 } Py_INCREF(Py_None);
1942 _resultobj = Py_None;
1943 {
1944 if (_obj1)
1945 delete _arg1;
1946 }
1947 return _resultobj;
1948 }
1949
1950 static PyMethodDef gizmoscMethods[] = {
1951 { "wxLEDNumberCtrl_SetValue", (PyCFunction) _wrap_wxLEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
1952 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_wxLEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS },
1953 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_wxLEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS },
1954 { "wxLEDNumberCtrl_GetValue", (PyCFunction) _wrap_wxLEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
1955 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_wxLEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS },
1956 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_wxLEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS },
1957 { "wxLEDNumberCtrl_Create", (PyCFunction) _wrap_wxLEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS },
1958 { "new_wxPreLEDNumberCtrl", (PyCFunction) _wrap_new_wxPreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
1959 { "new_wxLEDNumberCtrl", (PyCFunction) _wrap_new_wxLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
1960 { "new_wxSplitterScrolledWindow", (PyCFunction) _wrap_new_wxSplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS },
1961 { "new_wxThinSplitterWindow", (PyCFunction) _wrap_new_wxThinSplitterWindow, METH_VARARGS | METH_KEYWORDS },
1962 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_wxTreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1963 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_wxTreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1964 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_wxTreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
1965 { "new_wxTreeCompanionWindow", (PyCFunction) _wrap_new_wxTreeCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1966 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1967 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1968 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
1969 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS },
1970 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS },
1971 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS },
1972 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_wxRemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1973 { "wxEditableListBox_GetEditButton", (PyCFunction) _wrap_wxEditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS },
1974 { "wxEditableListBox_GetDownButton", (PyCFunction) _wrap_wxEditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS },
1975 { "wxEditableListBox_GetUpButton", (PyCFunction) _wrap_wxEditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS },
1976 { "wxEditableListBox_GetNewButton", (PyCFunction) _wrap_wxEditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS },
1977 { "wxEditableListBox_GetDelButton", (PyCFunction) _wrap_wxEditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS },
1978 { "wxEditableListBox_GetListCtrl", (PyCFunction) _wrap_wxEditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS },
1979 { "wxEditableListBox_GetStrings", (PyCFunction) _wrap_wxEditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS },
1980 { "wxEditableListBox_SetStrings", (PyCFunction) _wrap_wxEditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS },
1981 { "new_wxEditableListBox", (PyCFunction) _wrap_new_wxEditableListBox, METH_VARARGS | METH_KEYWORDS },
1982 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS },
1983 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS },
1984 { "wxDynamicSashWindow_Create", (PyCFunction) _wrap_wxDynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
1985 { "new_wxPreDynamicSashWindow", (PyCFunction) _wrap_new_wxPreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
1986 { "new_wxDynamicSashWindow", (PyCFunction) _wrap_new_wxDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
1987 { "new_wxDynamicSashUnifyEvent", (PyCFunction) _wrap_new_wxDynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS },
1988 { "new_wxDynamicSashSplitEvent", (PyCFunction) _wrap_new_wxDynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS },
1989 { NULL, NULL }
1990 };
1991 #ifdef __cplusplus
1992 }
1993 #endif
1994 /*
1995 * This table is used by the pointer type-checker
1996 */
1997 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1998 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent},
1999 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent},
2000 { "_signed_long","_long",0},
2001 { "_wxPrintQuality","_wxCoord",0},
2002 { "_wxPrintQuality","_int",0},
2003 { "_wxPrintQuality","_signed_int",0},
2004 { "_wxPrintQuality","_unsigned_int",0},
2005 { "_wxPrintQuality","_wxWindowID",0},
2006 { "_wxPrintQuality","_uint",0},
2007 { "_wxPrintQuality","_EBool",0},
2008 { "_wxPrintQuality","_size_t",0},
2009 { "_wxPrintQuality","_time_t",0},
2010 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl},
2011 { "_byte","_unsigned_char",0},
2012 { "_long","_unsigned_long",0},
2013 { "_long","_signed_long",0},
2014 { "_size_t","_wxCoord",0},
2015 { "_size_t","_wxPrintQuality",0},
2016 { "_size_t","_time_t",0},
2017 { "_size_t","_unsigned_int",0},
2018 { "_size_t","_int",0},
2019 { "_size_t","_wxWindowID",0},
2020 { "_size_t","_uint",0},
2021 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel},
2022 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel},
2023 { "_uint","_wxCoord",0},
2024 { "_uint","_wxPrintQuality",0},
2025 { "_uint","_time_t",0},
2026 { "_uint","_size_t",0},
2027 { "_uint","_unsigned_int",0},
2028 { "_uint","_int",0},
2029 { "_uint","_wxWindowID",0},
2030 { "_wxChar","_char",0},
2031 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent},
2032 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent},
2033 { "_char","_wxChar",0},
2034 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
2035 { "_EBool","_wxCoord",0},
2036 { "_EBool","_wxPrintQuality",0},
2037 { "_EBool","_signed_int",0},
2038 { "_EBool","_int",0},
2039 { "_EBool","_wxWindowID",0},
2040 { "_unsigned_long","_long",0},
2041 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
2042 { "_signed_int","_wxCoord",0},
2043 { "_signed_int","_wxPrintQuality",0},
2044 { "_signed_int","_EBool",0},
2045 { "_signed_int","_wxWindowID",0},
2046 { "_signed_int","_int",0},
2047 { "_WXTYPE","_wxDateTime_t",0},
2048 { "_WXTYPE","_short",0},
2049 { "_WXTYPE","_signed_short",0},
2050 { "_WXTYPE","_unsigned_short",0},
2051 { "_unsigned_short","_wxDateTime_t",0},
2052 { "_unsigned_short","_WXTYPE",0},
2053 { "_unsigned_short","_short",0},
2054 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow},
2055 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject},
2056 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject},
2057 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject},
2058 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject},
2059 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject},
2060 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject},
2061 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject},
2062 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject},
2063 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject},
2064 { "_signed_short","_WXTYPE",0},
2065 { "_signed_short","_short",0},
2066 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow},
2067 { "_unsigned_char","_byte",0},
2068 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl},
2069 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl},
2070 { "_unsigned_int","_wxCoord",0},
2071 { "_unsigned_int","_wxPrintQuality",0},
2072 { "_unsigned_int","_time_t",0},
2073 { "_unsigned_int","_size_t",0},
2074 { "_unsigned_int","_uint",0},
2075 { "_unsigned_int","_wxWindowID",0},
2076 { "_unsigned_int","_int",0},
2077 { "_short","_wxDateTime_t",0},
2078 { "_short","_WXTYPE",0},
2079 { "_short","_unsigned_short",0},
2080 { "_short","_signed_short",0},
2081 { "_wxWindowID","_wxCoord",0},
2082 { "_wxWindowID","_wxPrintQuality",0},
2083 { "_wxWindowID","_time_t",0},
2084 { "_wxWindowID","_size_t",0},
2085 { "_wxWindowID","_EBool",0},
2086 { "_wxWindowID","_uint",0},
2087 { "_wxWindowID","_int",0},
2088 { "_wxWindowID","_signed_int",0},
2089 { "_wxWindowID","_unsigned_int",0},
2090 { "_int","_wxCoord",0},
2091 { "_int","_wxPrintQuality",0},
2092 { "_int","_time_t",0},
2093 { "_int","_size_t",0},
2094 { "_int","_EBool",0},
2095 { "_int","_uint",0},
2096 { "_int","_wxWindowID",0},
2097 { "_int","_unsigned_int",0},
2098 { "_int","_signed_int",0},
2099 { "_wxDateTime_t","_unsigned_short",0},
2100 { "_wxDateTime_t","_short",0},
2101 { "_wxDateTime_t","_WXTYPE",0},
2102 { "_time_t","_wxCoord",0},
2103 { "_time_t","_wxPrintQuality",0},
2104 { "_time_t","_unsigned_int",0},
2105 { "_time_t","_int",0},
2106 { "_time_t","_wxWindowID",0},
2107 { "_time_t","_uint",0},
2108 { "_time_t","_size_t",0},
2109 { "_wxCoord","_int",0},
2110 { "_wxCoord","_signed_int",0},
2111 { "_wxCoord","_unsigned_int",0},
2112 { "_wxCoord","_wxWindowID",0},
2113 { "_wxCoord","_uint",0},
2114 { "_wxCoord","_EBool",0},
2115 { "_wxCoord","_size_t",0},
2116 { "_wxCoord","_time_t",0},
2117 { "_wxCoord","_wxPrintQuality",0},
2118 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler},
2119 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler},
2120 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler},
2121 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler},
2122 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler},
2123 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler},
2124 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler},
2125 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow},
2126 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow},
2127 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow},
2128 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow},
2129 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow},
2130 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow},
2131 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow},
2132 {0,0,0}};
2133
2134 static PyObject *SWIG_globals;
2135 #ifdef __cplusplus
2136 extern "C"
2137 #endif
2138 SWIGEXPORT(void) initgizmosc() {
2139 PyObject *m, *d;
2140 SWIG_globals = SWIG_newvarlink();
2141 m = Py_InitModule("gizmosc", gizmoscMethods);
2142 d = PyModule_GetDict(m);
2143 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT));
2144 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY));
2145 PyDict_SetItemString(d,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS));
2146 PyDict_SetItemString(d,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER));
2147 PyDict_SetItemString(d,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW));
2148 PyDict_SetItemString(d,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT));
2149 PyDict_SetItemString(d,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE));
2150 PyDict_SetItemString(d,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT));
2151 PyDict_SetItemString(d,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT));
2152 PyDict_SetItemString(d,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER));
2153 PyDict_SetItemString(d,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK));
2154 PyDict_SetItemString(d,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED));
2155
2156
2157 wxClassInfo::CleanUpClasses();
2158 wxClassInfo::InitializeClasses();
2159
2160 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
2161 {
2162 int i;
2163 for (i = 0; _swig_mapping[i].n1; i++)
2164 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
2165 }
2166 }