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