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