]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gizmos.cpp
Fixed compilation error.
[wxWidgets.git] / wxPython / contrib / gizmos / gizmos.cpp
1 /*
2 * FILE : contrib/gizmos/gizmos.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initgizmosc
55
56 #define SWIG_name "gizmosc"
57
58 #include "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
65 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
66 PyObject* o2;
67 PyObject* o3;
68
69 if (!target) {
70 target = o;
71 } else if (target == Py_None) {
72 Py_DECREF(Py_None);
73 target = o;
74 } else {
75 if (!PyTuple_Check(target)) {
76 o2 = target;
77 target = PyTuple_New(1);
78 PyTuple_SetItem(target, 0, o2);
79 }
80 o3 = PyTuple_New(1);
81 PyTuple_SetItem(o3, 0, o);
82
83 o2 = target;
84 target = PySequence_Concat(o2, o3);
85 Py_DECREF(o2);
86 Py_DECREF(o3);
87 }
88 return target;
89 }
90
91 #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
99 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
100 {
101 public:
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
129 extern "C" {
130 #endif
131 static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr) {
132 wxDynamicSashSplitEvent *src;
133 wxCommandEvent *dest;
134 src = (wxDynamicSashSplitEvent *) ptr;
135 dest = (wxCommandEvent *) src;
136 return (void *) dest;
137 }
138
139 static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr) {
140 wxDynamicSashSplitEvent *src;
141 wxEvent *dest;
142 src = (wxDynamicSashSplitEvent *) ptr;
143 dest = (wxEvent *) src;
144 return (void *) dest;
145 }
146
147 static 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))
156 static 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
190 static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr) {
191 wxDynamicSashUnifyEvent *src;
192 wxCommandEvent *dest;
193 src = (wxDynamicSashUnifyEvent *) ptr;
194 dest = (wxCommandEvent *) src;
195 return (void *) dest;
196 }
197
198 static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr) {
199 wxDynamicSashUnifyEvent *src;
200 wxEvent *dest;
201 src = (wxDynamicSashUnifyEvent *) ptr;
202 dest = (wxEvent *) src;
203 return (void *) dest;
204 }
205
206 static 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))
215 static 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
249 static void *SwigwxDynamicSashWindowTowxWindow(void *ptr) {
250 wxDynamicSashWindow *src;
251 wxWindow *dest;
252 src = (wxDynamicSashWindow *) ptr;
253 dest = (wxWindow *) src;
254 return (void *) dest;
255 }
256
257 static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr) {
258 wxDynamicSashWindow *src;
259 wxEvtHandler *dest;
260 src = (wxDynamicSashWindow *) ptr;
261 dest = (wxEvtHandler *) src;
262 return (void *) dest;
263 }
264
265 static 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))
274 static 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())
330 static 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))
356 static 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))
414 static 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))
458 static 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
501 static void *SwigwxEditableListBoxTowxPanel(void *ptr) {
502 wxEditableListBox *src;
503 wxPanel *dest;
504 src = (wxEditableListBox *) ptr;
505 dest = (wxPanel *) src;
506 return (void *) dest;
507 }
508
509 static void *SwigwxEditableListBoxTowxWindow(void *ptr) {
510 wxEditableListBox *src;
511 wxWindow *dest;
512 src = (wxEditableListBox *) ptr;
513 dest = (wxWindow *) src;
514 return (void *) dest;
515 }
516
517 static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr) {
518 wxEditableListBox *src;
519 wxEvtHandler *dest;
520 src = (wxEditableListBox *) ptr;
521 dest = (wxEvtHandler *) src;
522 return (void *) dest;
523 }
524
525 static 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,_swigarg6) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
534 static 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 long _arg5 = (long ) (wxEL_ALLOW_NEW)|(wxEL_ALLOW_EDIT)|(wxEL_ALLOW_DELETE);
543 char * _arg6 = (char *) "editableListBox";
544 PyObject * _argo0 = 0;
545 PyObject * _obj2 = 0;
546 wxPoint temp;
547 PyObject * _obj3 = 0;
548 wxSize temp0;
549 PyObject * _obj4 = 0;
550 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
551 char _ptemp[128];
552
553 self = self;
554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxEditableListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
555 return NULL;
556 if (_argo0) {
557 if (_argo0 == Py_None) { _arg0 = NULL; }
558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
560 return NULL;
561 }
562 }
563 {
564 #if PYTHON_API_VERSION >= 1009
565 char* tmpPtr; int tmpSize;
566 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
567 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
568 return NULL;
569 }
570 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
571 return NULL;
572 _arg2 = new wxString(tmpPtr, tmpSize);
573 #else
574 if (!PyString_Check(_obj2)) {
575 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
576 return NULL;
577 }
578 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
579 #endif
580 }
581 if (_obj3)
582 {
583 _arg3 = &temp;
584 if (! wxPoint_helper(_obj3, &_arg3))
585 return NULL;
586 }
587 if (_obj4)
588 {
589 _arg4 = &temp0;
590 if (! wxSize_helper(_obj4, &_arg4))
591 return NULL;
592 }
593 {
594 PyThreadState* __tstate = wxPyBeginAllowThreads();
595 _result = (wxEditableListBox *)new_wxEditableListBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
596
597 wxPyEndAllowThreads(__tstate);
598 if (PyErr_Occurred()) return NULL;
599 } if (_result) {
600 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEditableListBox_p");
601 _resultobj = Py_BuildValue("s",_ptemp);
602 } else {
603 Py_INCREF(Py_None);
604 _resultobj = Py_None;
605 }
606 {
607 if (_obj2)
608 delete _arg2;
609 }
610 return _resultobj;
611 }
612
613 #define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
614 static PyObject *_wrap_wxEditableListBox_SetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
615 PyObject * _resultobj;
616 wxEditableListBox * _arg0;
617 wxArrayString * _arg1;
618 PyObject * _argo0 = 0;
619 PyObject * _obj1 = 0;
620 char *_kwnames[] = { "self","strings", NULL };
621
622 self = self;
623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEditableListBox_SetStrings",_kwnames,&_argo0,&_obj1))
624 return NULL;
625 if (_argo0) {
626 if (_argo0 == Py_None) { _arg0 = NULL; }
627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
629 return NULL;
630 }
631 }
632 {
633 if (! PySequence_Check(_obj1)) {
634 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
635 return NULL;
636 }
637 _arg1 = new wxArrayString;
638 int i, len=PySequence_Length(_obj1);
639 for (i=0; i<len; i++) {
640 PyObject* item = PySequence_GetItem(_obj1, i);
641 PyObject* str = PyObject_Str(item);
642 _arg1->Add(PyString_AsString(str));
643 Py_DECREF(item);
644 Py_DECREF(str);
645 }
646 }
647 {
648 PyThreadState* __tstate = wxPyBeginAllowThreads();
649 wxEditableListBox_SetStrings(_arg0,*_arg1);
650
651 wxPyEndAllowThreads(__tstate);
652 if (PyErr_Occurred()) return NULL;
653 } Py_INCREF(Py_None);
654 _resultobj = Py_None;
655 {
656 if (_obj1)
657 delete _arg1;
658 }
659 return _resultobj;
660 }
661
662 static PyObject * wxEditableListBox_GetStrings(wxEditableListBox *self) {
663 wxArrayString strings;
664 self->GetStrings(strings);
665 return wxArrayString2PyList_helper(strings);
666 }
667 static PyObject *_wrap_wxEditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
668 PyObject * _resultobj;
669 PyObject * _result;
670 wxEditableListBox * _arg0;
671 PyObject * _argo0 = 0;
672 char *_kwnames[] = { "self", NULL };
673
674 self = self;
675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetStrings",_kwnames,&_argo0))
676 return NULL;
677 if (_argo0) {
678 if (_argo0 == Py_None) { _arg0 = NULL; }
679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
681 return NULL;
682 }
683 }
684 {
685 PyThreadState* __tstate = wxPyBeginAllowThreads();
686 _result = (PyObject *)wxEditableListBox_GetStrings(_arg0);
687
688 wxPyEndAllowThreads(__tstate);
689 if (PyErr_Occurred()) return NULL;
690 }{
691 _resultobj = _result;
692 }
693 return _resultobj;
694 }
695
696 static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr) {
697 wxRemotelyScrolledTreeCtrl *src;
698 wxPyTreeCtrl *dest;
699 src = (wxRemotelyScrolledTreeCtrl *) ptr;
700 dest = (wxPyTreeCtrl *) src;
701 return (void *) dest;
702 }
703
704 static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr) {
705 wxRemotelyScrolledTreeCtrl *src;
706 wxControl *dest;
707 src = (wxRemotelyScrolledTreeCtrl *) ptr;
708 dest = (wxControl *) src;
709 return (void *) dest;
710 }
711
712 static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr) {
713 wxRemotelyScrolledTreeCtrl *src;
714 wxWindow *dest;
715 src = (wxRemotelyScrolledTreeCtrl *) ptr;
716 dest = (wxWindow *) src;
717 return (void *) dest;
718 }
719
720 static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr) {
721 wxRemotelyScrolledTreeCtrl *src;
722 wxEvtHandler *dest;
723 src = (wxRemotelyScrolledTreeCtrl *) ptr;
724 dest = (wxEvtHandler *) src;
725 return (void *) dest;
726 }
727
728 static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr) {
729 wxRemotelyScrolledTreeCtrl *src;
730 wxObject *dest;
731 src = (wxRemotelyScrolledTreeCtrl *) ptr;
732 dest = (wxObject *) src;
733 return (void *) dest;
734 }
735
736 #define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
737 static PyObject *_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
738 PyObject * _resultobj;
739 wxRemotelyScrolledTreeCtrl * _result;
740 wxWindow * _arg0;
741 wxWindowID _arg1;
742 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
743 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
744 long _arg4 = (long ) wxTR_HAS_BUTTONS;
745 PyObject * _argo0 = 0;
746 wxPoint temp;
747 PyObject * _obj2 = 0;
748 wxSize temp0;
749 PyObject * _obj3 = 0;
750 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
751 char _ptemp[128];
752
753 self = self;
754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
755 return NULL;
756 if (_argo0) {
757 if (_argo0 == Py_None) { _arg0 = NULL; }
758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
760 return NULL;
761 }
762 }
763 if (_obj2)
764 {
765 _arg2 = &temp;
766 if (! wxPoint_helper(_obj2, &_arg2))
767 return NULL;
768 }
769 if (_obj3)
770 {
771 _arg3 = &temp0;
772 if (! wxSize_helper(_obj3, &_arg3))
773 return NULL;
774 }
775 {
776 PyThreadState* __tstate = wxPyBeginAllowThreads();
777 _result = (wxRemotelyScrolledTreeCtrl *)new_wxRemotelyScrolledTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
778
779 wxPyEndAllowThreads(__tstate);
780 if (PyErr_Occurred()) return NULL;
781 } if (_result) {
782 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
783 _resultobj = Py_BuildValue("s",_ptemp);
784 } else {
785 Py_INCREF(Py_None);
786 _resultobj = Py_None;
787 }
788 return _resultobj;
789 }
790
791 #define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
792 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
793 PyObject * _resultobj;
794 wxRemotelyScrolledTreeCtrl * _arg0;
795 PyObject * _argo0 = 0;
796 char *_kwnames[] = { "self", NULL };
797
798 self = self;
799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames,&_argo0))
800 return NULL;
801 if (_argo0) {
802 if (_argo0 == Py_None) { _arg0 = NULL; }
803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
805 return NULL;
806 }
807 }
808 {
809 PyThreadState* __tstate = wxPyBeginAllowThreads();
810 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0);
811
812 wxPyEndAllowThreads(__tstate);
813 if (PyErr_Occurred()) return NULL;
814 } Py_INCREF(Py_None);
815 _resultobj = Py_None;
816 return _resultobj;
817 }
818
819 #define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
820 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
821 PyObject * _resultobj;
822 wxRemotelyScrolledTreeCtrl * _arg0;
823 PyObject * _argo0 = 0;
824 char *_kwnames[] = { "self", NULL };
825
826 self = self;
827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames,&_argo0))
828 return NULL;
829 if (_argo0) {
830 if (_argo0 == Py_None) { _arg0 = NULL; }
831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
833 return NULL;
834 }
835 }
836 {
837 PyThreadState* __tstate = wxPyBeginAllowThreads();
838 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0);
839
840 wxPyEndAllowThreads(__tstate);
841 if (PyErr_Occurred()) return NULL;
842 } Py_INCREF(Py_None);
843 _resultobj = Py_None;
844 return _resultobj;
845 }
846
847 #define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
848 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
849 PyObject * _resultobj;
850 wxScrolledWindow * _result;
851 wxRemotelyScrolledTreeCtrl * _arg0;
852 PyObject * _argo0 = 0;
853 char *_kwnames[] = { "self", NULL };
854 char _ptemp[128];
855
856 self = self;
857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames,&_argo0))
858 return NULL;
859 if (_argo0) {
860 if (_argo0 == Py_None) { _arg0 = NULL; }
861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
863 return NULL;
864 }
865 }
866 {
867 PyThreadState* __tstate = wxPyBeginAllowThreads();
868 _result = (wxScrolledWindow *)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0);
869
870 wxPyEndAllowThreads(__tstate);
871 if (PyErr_Occurred()) return NULL;
872 } if (_result) {
873 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
874 _resultobj = Py_BuildValue("s",_ptemp);
875 } else {
876 Py_INCREF(Py_None);
877 _resultobj = Py_None;
878 }
879 return _resultobj;
880 }
881
882 #define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
883 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
884 PyObject * _resultobj;
885 wxRemotelyScrolledTreeCtrl * _arg0;
886 int _arg1;
887 int _arg2;
888 PyObject * _argo0 = 0;
889 char *_kwnames[] = { "self","posHoriz","posVert", NULL };
890
891 self = self;
892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1,&_arg2))
893 return NULL;
894 if (_argo0) {
895 if (_argo0 == Py_None) { _arg0 = NULL; }
896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
898 return NULL;
899 }
900 }
901 {
902 PyThreadState* __tstate = wxPyBeginAllowThreads();
903 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0,_arg1,_arg2);
904
905 wxPyEndAllowThreads(__tstate);
906 if (PyErr_Occurred()) return NULL;
907 } Py_INCREF(Py_None);
908 _resultobj = Py_None;
909 return _resultobj;
910 }
911
912 #define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
913 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
914 PyObject * _resultobj;
915 wxRemotelyScrolledTreeCtrl * _arg0;
916 wxWindow * _arg1;
917 PyObject * _argo0 = 0;
918 PyObject * _argo1 = 0;
919 char *_kwnames[] = { "self","companion", NULL };
920
921 self = self;
922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames,&_argo0,&_argo1))
923 return NULL;
924 if (_argo0) {
925 if (_argo0 == Py_None) { _arg0 = NULL; }
926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
928 return NULL;
929 }
930 }
931 if (_argo1) {
932 if (_argo1 == Py_None) { _arg1 = NULL; }
933 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
934 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
935 return NULL;
936 }
937 }
938 {
939 PyThreadState* __tstate = wxPyBeginAllowThreads();
940 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0,_arg1);
941
942 wxPyEndAllowThreads(__tstate);
943 if (PyErr_Occurred()) return NULL;
944 } Py_INCREF(Py_None);
945 _resultobj = Py_None;
946 return _resultobj;
947 }
948
949 #define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
950 static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
951 PyObject * _resultobj;
952 wxWindow * _result;
953 wxRemotelyScrolledTreeCtrl * _arg0;
954 PyObject * _argo0 = 0;
955 char *_kwnames[] = { "self", NULL };
956
957 self = self;
958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames,&_argo0))
959 return NULL;
960 if (_argo0) {
961 if (_argo0 == Py_None) { _arg0 = NULL; }
962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
964 return NULL;
965 }
966 }
967 {
968 PyThreadState* __tstate = wxPyBeginAllowThreads();
969 _result = (wxWindow *)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0);
970
971 wxPyEndAllowThreads(__tstate);
972 if (PyErr_Occurred()) return NULL;
973 }{ _resultobj = wxPyMake_wxObject(_result); }
974 return _resultobj;
975 }
976
977 static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr) {
978 wxPyTreeCompanionWindow *src;
979 wxWindow *dest;
980 src = (wxPyTreeCompanionWindow *) ptr;
981 dest = (wxWindow *) src;
982 return (void *) dest;
983 }
984
985 static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr) {
986 wxPyTreeCompanionWindow *src;
987 wxEvtHandler *dest;
988 src = (wxPyTreeCompanionWindow *) ptr;
989 dest = (wxEvtHandler *) src;
990 return (void *) dest;
991 }
992
993 static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr) {
994 wxPyTreeCompanionWindow *src;
995 wxObject *dest;
996 src = (wxPyTreeCompanionWindow *) ptr;
997 dest = (wxObject *) src;
998 return (void *) dest;
999 }
1000
1001 #define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1002 static PyObject *_wrap_new_wxTreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject * _resultobj;
1004 wxPyTreeCompanionWindow * _result;
1005 wxWindow * _arg0;
1006 wxWindowID _arg1 = (wxWindowID ) -1;
1007 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1008 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1009 long _arg4 = (long ) 0;
1010 PyObject * _argo0 = 0;
1011 wxPoint temp;
1012 PyObject * _obj2 = 0;
1013 wxSize temp0;
1014 PyObject * _obj3 = 0;
1015 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1016 char _ptemp[128];
1017
1018 self = self;
1019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxTreeCompanionWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1020 return NULL;
1021 if (_argo0) {
1022 if (_argo0 == Py_None) { _arg0 = NULL; }
1023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1025 return NULL;
1026 }
1027 }
1028 if (_obj2)
1029 {
1030 _arg2 = &temp;
1031 if (! wxPoint_helper(_obj2, &_arg2))
1032 return NULL;
1033 }
1034 if (_obj3)
1035 {
1036 _arg3 = &temp0;
1037 if (! wxSize_helper(_obj3, &_arg3))
1038 return NULL;
1039 }
1040 {
1041 PyThreadState* __tstate = wxPyBeginAllowThreads();
1042 _result = (wxPyTreeCompanionWindow *)new_wxTreeCompanionWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1043
1044 wxPyEndAllowThreads(__tstate);
1045 if (PyErr_Occurred()) return NULL;
1046 } if (_result) {
1047 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCompanionWindow_p");
1048 _resultobj = Py_BuildValue("s",_ptemp);
1049 } else {
1050 Py_INCREF(Py_None);
1051 _resultobj = Py_None;
1052 }
1053 return _resultobj;
1054 }
1055
1056 #define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1057 static PyObject *_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1058 PyObject * _resultobj;
1059 wxPyTreeCompanionWindow * _arg0;
1060 PyObject * _arg1;
1061 PyObject * _arg2;
1062 PyObject * _argo0 = 0;
1063 PyObject * _obj1 = 0;
1064 PyObject * _obj2 = 0;
1065 char *_kwnames[] = { "self","self","_class", NULL };
1066
1067 self = self;
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1069 return NULL;
1070 if (_argo0) {
1071 if (_argo0 == Py_None) { _arg0 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1074 return NULL;
1075 }
1076 }
1077 {
1078 _arg1 = _obj1;
1079 }
1080 {
1081 _arg2 = _obj2;
1082 }
1083 {
1084 PyThreadState* __tstate = wxPyBeginAllowThreads();
1085 wxTreeCompanionWindow__setCallbackInfo(_arg0,_arg1,_arg2);
1086
1087 wxPyEndAllowThreads(__tstate);
1088 if (PyErr_Occurred()) return NULL;
1089 } Py_INCREF(Py_None);
1090 _resultobj = Py_None;
1091 return _resultobj;
1092 }
1093
1094 #define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1095 static PyObject *_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1096 PyObject * _resultobj;
1097 wxRemotelyScrolledTreeCtrl * _result;
1098 wxPyTreeCompanionWindow * _arg0;
1099 PyObject * _argo0 = 0;
1100 char *_kwnames[] = { "self", NULL };
1101 char _ptemp[128];
1102
1103 self = self;
1104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames,&_argo0))
1105 return NULL;
1106 if (_argo0) {
1107 if (_argo0 == Py_None) { _arg0 = NULL; }
1108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1110 return NULL;
1111 }
1112 }
1113 {
1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
1115 _result = (wxRemotelyScrolledTreeCtrl *)wxTreeCompanionWindow_GetTreeCtrl(_arg0);
1116
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) return NULL;
1119 } if (_result) {
1120 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
1121 _resultobj = Py_BuildValue("s",_ptemp);
1122 } else {
1123 Py_INCREF(Py_None);
1124 _resultobj = Py_None;
1125 }
1126 return _resultobj;
1127 }
1128
1129 #define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1130 static PyObject *_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1131 PyObject * _resultobj;
1132 wxPyTreeCompanionWindow * _arg0;
1133 wxRemotelyScrolledTreeCtrl * _arg1;
1134 PyObject * _argo0 = 0;
1135 PyObject * _argo1 = 0;
1136 char *_kwnames[] = { "self","treeCtrl", NULL };
1137
1138 self = self;
1139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames,&_argo0,&_argo1))
1140 return NULL;
1141 if (_argo0) {
1142 if (_argo0 == Py_None) { _arg0 = NULL; }
1143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1145 return NULL;
1146 }
1147 }
1148 if (_argo1) {
1149 if (_argo1 == Py_None) { _arg1 = NULL; }
1150 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRemotelyScrolledTreeCtrl_p")) {
1151 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1152 return NULL;
1153 }
1154 }
1155 {
1156 PyThreadState* __tstate = wxPyBeginAllowThreads();
1157 wxTreeCompanionWindow_SetTreeCtrl(_arg0,_arg1);
1158
1159 wxPyEndAllowThreads(__tstate);
1160 if (PyErr_Occurred()) return NULL;
1161 } Py_INCREF(Py_None);
1162 _resultobj = Py_None;
1163 return _resultobj;
1164 }
1165
1166 static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr) {
1167 wxThinSplitterWindow *src;
1168 wxSplitterWindow *dest;
1169 src = (wxThinSplitterWindow *) ptr;
1170 dest = (wxSplitterWindow *) src;
1171 return (void *) dest;
1172 }
1173
1174 static void *SwigwxThinSplitterWindowTowxWindow(void *ptr) {
1175 wxThinSplitterWindow *src;
1176 wxWindow *dest;
1177 src = (wxThinSplitterWindow *) ptr;
1178 dest = (wxWindow *) src;
1179 return (void *) dest;
1180 }
1181
1182 static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr) {
1183 wxThinSplitterWindow *src;
1184 wxEvtHandler *dest;
1185 src = (wxThinSplitterWindow *) ptr;
1186 dest = (wxEvtHandler *) src;
1187 return (void *) dest;
1188 }
1189
1190 static void *SwigwxThinSplitterWindowTowxObject(void *ptr) {
1191 wxThinSplitterWindow *src;
1192 wxObject *dest;
1193 src = (wxThinSplitterWindow *) ptr;
1194 dest = (wxObject *) src;
1195 return (void *) dest;
1196 }
1197
1198 #define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1199 static PyObject *_wrap_new_wxThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject * _resultobj;
1201 wxThinSplitterWindow * _result;
1202 wxWindow * _arg0;
1203 wxWindowID _arg1 = (wxWindowID ) -1;
1204 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1205 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1206 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1207 PyObject * _argo0 = 0;
1208 wxPoint temp;
1209 PyObject * _obj2 = 0;
1210 wxSize temp0;
1211 PyObject * _obj3 = 0;
1212 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1213 char _ptemp[128];
1214
1215 self = self;
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxThinSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1217 return NULL;
1218 if (_argo0) {
1219 if (_argo0 == Py_None) { _arg0 = NULL; }
1220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1222 return NULL;
1223 }
1224 }
1225 if (_obj2)
1226 {
1227 _arg2 = &temp;
1228 if (! wxPoint_helper(_obj2, &_arg2))
1229 return NULL;
1230 }
1231 if (_obj3)
1232 {
1233 _arg3 = &temp0;
1234 if (! wxSize_helper(_obj3, &_arg3))
1235 return NULL;
1236 }
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 _result = (wxThinSplitterWindow *)new_wxThinSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) return NULL;
1243 } if (_result) {
1244 SWIG_MakePtr(_ptemp, (char *) _result,"_wxThinSplitterWindow_p");
1245 _resultobj = Py_BuildValue("s",_ptemp);
1246 } else {
1247 Py_INCREF(Py_None);
1248 _resultobj = Py_None;
1249 }
1250 return _resultobj;
1251 }
1252
1253 static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr) {
1254 wxSplitterScrolledWindow *src;
1255 wxScrolledWindow *dest;
1256 src = (wxSplitterScrolledWindow *) ptr;
1257 dest = (wxScrolledWindow *) src;
1258 return (void *) dest;
1259 }
1260
1261 static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr) {
1262 wxSplitterScrolledWindow *src;
1263 wxPanel *dest;
1264 src = (wxSplitterScrolledWindow *) ptr;
1265 dest = (wxPanel *) src;
1266 return (void *) dest;
1267 }
1268
1269 static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr) {
1270 wxSplitterScrolledWindow *src;
1271 wxWindow *dest;
1272 src = (wxSplitterScrolledWindow *) ptr;
1273 dest = (wxWindow *) src;
1274 return (void *) dest;
1275 }
1276
1277 static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr) {
1278 wxSplitterScrolledWindow *src;
1279 wxEvtHandler *dest;
1280 src = (wxSplitterScrolledWindow *) ptr;
1281 dest = (wxEvtHandler *) src;
1282 return (void *) dest;
1283 }
1284
1285 static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr) {
1286 wxSplitterScrolledWindow *src;
1287 wxObject *dest;
1288 src = (wxSplitterScrolledWindow *) ptr;
1289 dest = (wxObject *) src;
1290 return (void *) dest;
1291 }
1292
1293 #define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1294 static PyObject *_wrap_new_wxSplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1295 PyObject * _resultobj;
1296 wxSplitterScrolledWindow * _result;
1297 wxWindow * _arg0;
1298 wxWindowID _arg1 = (wxWindowID ) -1;
1299 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1300 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1301 long _arg4 = (long ) 0;
1302 PyObject * _argo0 = 0;
1303 wxPoint temp;
1304 PyObject * _obj2 = 0;
1305 wxSize temp0;
1306 PyObject * _obj3 = 0;
1307 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1308 char _ptemp[128];
1309
1310 self = self;
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1312 return NULL;
1313 if (_argo0) {
1314 if (_argo0 == Py_None) { _arg0 = NULL; }
1315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1317 return NULL;
1318 }
1319 }
1320 if (_obj2)
1321 {
1322 _arg2 = &temp;
1323 if (! wxPoint_helper(_obj2, &_arg2))
1324 return NULL;
1325 }
1326 if (_obj3)
1327 {
1328 _arg3 = &temp0;
1329 if (! wxSize_helper(_obj3, &_arg3))
1330 return NULL;
1331 }
1332 {
1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
1334 _result = (wxSplitterScrolledWindow *)new_wxSplitterScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1335
1336 wxPyEndAllowThreads(__tstate);
1337 if (PyErr_Occurred()) return NULL;
1338 } if (_result) {
1339 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterScrolledWindow_p");
1340 _resultobj = Py_BuildValue("s",_ptemp);
1341 } else {
1342 Py_INCREF(Py_None);
1343 _resultobj = Py_None;
1344 }
1345 return _resultobj;
1346 }
1347
1348 static void *SwigwxLEDNumberCtrlTowxControl(void *ptr) {
1349 wxLEDNumberCtrl *src;
1350 wxControl *dest;
1351 src = (wxLEDNumberCtrl *) ptr;
1352 dest = (wxControl *) src;
1353 return (void *) dest;
1354 }
1355
1356 static void *SwigwxLEDNumberCtrlTowxWindow(void *ptr) {
1357 wxLEDNumberCtrl *src;
1358 wxWindow *dest;
1359 src = (wxLEDNumberCtrl *) ptr;
1360 dest = (wxWindow *) src;
1361 return (void *) dest;
1362 }
1363
1364 static void *SwigwxLEDNumberCtrlTowxEvtHandler(void *ptr) {
1365 wxLEDNumberCtrl *src;
1366 wxEvtHandler *dest;
1367 src = (wxLEDNumberCtrl *) ptr;
1368 dest = (wxEvtHandler *) src;
1369 return (void *) dest;
1370 }
1371
1372 static void *SwigwxLEDNumberCtrlTowxObject(void *ptr) {
1373 wxLEDNumberCtrl *src;
1374 wxObject *dest;
1375 src = (wxLEDNumberCtrl *) ptr;
1376 dest = (wxObject *) src;
1377 return (void *) dest;
1378 }
1379
1380 #define new_wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxLEDNumberCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1381 static PyObject *_wrap_new_wxLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject * _resultobj;
1383 wxLEDNumberCtrl * _result;
1384 wxWindow * _arg0;
1385 wxWindowID _arg1 = (wxWindowID ) -1;
1386 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1387 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1388 long _arg4 = (long ) (wxLED_ALIGN_LEFT)|(wxLED_DRAW_FADED);
1389 PyObject * _argo0 = 0;
1390 wxPoint temp;
1391 PyObject * _obj2 = 0;
1392 wxSize temp0;
1393 PyObject * _obj3 = 0;
1394 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1395 char _ptemp[128];
1396
1397 self = self;
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxLEDNumberCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1399 return NULL;
1400 if (_argo0) {
1401 if (_argo0 == Py_None) { _arg0 = NULL; }
1402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxLEDNumberCtrl. Expected _wxWindow_p.");
1404 return NULL;
1405 }
1406 }
1407 if (_obj2)
1408 {
1409 _arg2 = &temp;
1410 if (! wxPoint_helper(_obj2, &_arg2))
1411 return NULL;
1412 }
1413 if (_obj3)
1414 {
1415 _arg3 = &temp0;
1416 if (! wxSize_helper(_obj3, &_arg3))
1417 return NULL;
1418 }
1419 {
1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
1421 _result = (wxLEDNumberCtrl *)new_wxLEDNumberCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1422
1423 wxPyEndAllowThreads(__tstate);
1424 if (PyErr_Occurred()) return NULL;
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 new_wxPreLEDNumberCtrl() (new wxLEDNumberCtrl())
1436 static PyObject *_wrap_new_wxPreLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject * _resultobj;
1438 wxLEDNumberCtrl * _result;
1439 char *_kwnames[] = { NULL };
1440 char _ptemp[128];
1441
1442 self = self;
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreLEDNumberCtrl",_kwnames))
1444 return NULL;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 _result = (wxLEDNumberCtrl *)new_wxPreLEDNumberCtrl();
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) return NULL;
1451 } if (_result) {
1452 SWIG_MakePtr(_ptemp, (char *) _result,"_wxLEDNumberCtrl_p");
1453 _resultobj = Py_BuildValue("s",_ptemp);
1454 } else {
1455 Py_INCREF(Py_None);
1456 _resultobj = Py_None;
1457 }
1458 return _resultobj;
1459 }
1460
1461 #define wxLEDNumberCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1462 static PyObject *_wrap_wxLEDNumberCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1463 PyObject * _resultobj;
1464 bool _result;
1465 wxLEDNumberCtrl * _arg0;
1466 wxWindow * _arg1;
1467 wxWindowID _arg2 = (wxWindowID ) -1;
1468 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1469 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1470 long _arg5 = (long ) (wxLED_ALIGN_LEFT)|(wxLED_DRAW_FADED);
1471 PyObject * _argo0 = 0;
1472 PyObject * _argo1 = 0;
1473 wxPoint temp;
1474 PyObject * _obj3 = 0;
1475 wxSize temp0;
1476 PyObject * _obj4 = 0;
1477 char *_kwnames[] = { "self","parent","id","pos","size","style", NULL };
1478
1479 self = self;
1480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOl:wxLEDNumberCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5))
1481 return NULL;
1482 if (_argo0) {
1483 if (_argo0 == Py_None) { _arg0 = NULL; }
1484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_Create. Expected _wxLEDNumberCtrl_p.");
1486 return NULL;
1487 }
1488 }
1489 if (_argo1) {
1490 if (_argo1 == Py_None) { _arg1 = NULL; }
1491 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1492 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxLEDNumberCtrl_Create. Expected _wxWindow_p.");
1493 return NULL;
1494 }
1495 }
1496 if (_obj3)
1497 {
1498 _arg3 = &temp;
1499 if (! wxPoint_helper(_obj3, &_arg3))
1500 return NULL;
1501 }
1502 if (_obj4)
1503 {
1504 _arg4 = &temp0;
1505 if (! wxSize_helper(_obj4, &_arg4))
1506 return NULL;
1507 }
1508 {
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 _result = (bool )wxLEDNumberCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) return NULL;
1514 } _resultobj = Py_BuildValue("i",_result);
1515 return _resultobj;
1516 }
1517
1518 #define wxLEDNumberCtrl_GetAlignment(_swigobj) (_swigobj->GetAlignment())
1519 static PyObject *_wrap_wxLEDNumberCtrl_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1520 PyObject * _resultobj;
1521 wxLEDValueAlign _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_GetAlignment",_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_GetAlignment. Expected _wxLEDNumberCtrl_p.");
1533 return NULL;
1534 }
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 _result = (wxLEDValueAlign )wxLEDNumberCtrl_GetAlignment(_arg0);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) return NULL;
1542 } _resultobj = Py_BuildValue("i",_result);
1543 return _resultobj;
1544 }
1545
1546 #define wxLEDNumberCtrl_GetDrawFaded(_swigobj) (_swigobj->GetDrawFaded())
1547 static PyObject *_wrap_wxLEDNumberCtrl_GetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject * _resultobj;
1549 bool _result;
1550 wxLEDNumberCtrl * _arg0;
1551 PyObject * _argo0 = 0;
1552 char *_kwnames[] = { "self", NULL };
1553
1554 self = self;
1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetDrawFaded",_kwnames,&_argo0))
1556 return NULL;
1557 if (_argo0) {
1558 if (_argo0 == Py_None) { _arg0 = NULL; }
1559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_GetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1561 return NULL;
1562 }
1563 }
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 _result = (bool )wxLEDNumberCtrl_GetDrawFaded(_arg0);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) return NULL;
1570 } _resultobj = Py_BuildValue("i",_result);
1571 return _resultobj;
1572 }
1573
1574 #define wxLEDNumberCtrl_GetValue(_swigobj) (_swigobj->GetValue())
1575 static PyObject *_wrap_wxLEDNumberCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1576 PyObject * _resultobj;
1577 wxString * _result;
1578 wxLEDNumberCtrl * _arg0;
1579 PyObject * _argo0 = 0;
1580 char *_kwnames[] = { "self", NULL };
1581
1582 self = self;
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxLEDNumberCtrl_GetValue",_kwnames,&_argo0))
1584 return NULL;
1585 if (_argo0) {
1586 if (_argo0 == Py_None) { _arg0 = NULL; }
1587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_GetValue. Expected _wxLEDNumberCtrl_p.");
1589 return NULL;
1590 }
1591 }
1592 {
1593 PyThreadState* __tstate = wxPyBeginAllowThreads();
1594 const wxString & _result_ref = wxLEDNumberCtrl_GetValue(_arg0);
1595 _result = (wxString *) &_result_ref;
1596
1597 wxPyEndAllowThreads(__tstate);
1598 if (PyErr_Occurred()) return NULL;
1599 }{
1600 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1601 }
1602 return _resultobj;
1603 }
1604
1605 #define wxLEDNumberCtrl_SetAlignment(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAlignment(_swigarg0,_swigarg1))
1606 static PyObject *_wrap_wxLEDNumberCtrl_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
1607 PyObject * _resultobj;
1608 wxLEDNumberCtrl * _arg0;
1609 wxLEDValueAlign _arg1;
1610 bool _arg2 = (bool ) true;
1611 PyObject * _argo0 = 0;
1612 int tempbool2 = (int) true;
1613 char *_kwnames[] = { "self","Alignment","Redraw", NULL };
1614
1615 self = self;
1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxLEDNumberCtrl_SetAlignment",_kwnames,&_argo0,&_arg1,&tempbool2))
1617 return NULL;
1618 if (_argo0) {
1619 if (_argo0 == Py_None) { _arg0 = NULL; }
1620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_SetAlignment. Expected _wxLEDNumberCtrl_p.");
1622 return NULL;
1623 }
1624 }
1625 _arg2 = (bool ) tempbool2;
1626 {
1627 PyThreadState* __tstate = wxPyBeginAllowThreads();
1628 wxLEDNumberCtrl_SetAlignment(_arg0,_arg1,_arg2);
1629
1630 wxPyEndAllowThreads(__tstate);
1631 if (PyErr_Occurred()) return NULL;
1632 } Py_INCREF(Py_None);
1633 _resultobj = Py_None;
1634 return _resultobj;
1635 }
1636
1637 #define wxLEDNumberCtrl_SetDrawFaded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawFaded(_swigarg0,_swigarg1))
1638 static PyObject *_wrap_wxLEDNumberCtrl_SetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) {
1639 PyObject * _resultobj;
1640 wxLEDNumberCtrl * _arg0;
1641 bool _arg1;
1642 bool _arg2 = (bool ) true;
1643 PyObject * _argo0 = 0;
1644 int tempbool1;
1645 int tempbool2 = (int) true;
1646 char *_kwnames[] = { "self","DrawFaded","Redraw", NULL };
1647
1648 self = self;
1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxLEDNumberCtrl_SetDrawFaded",_kwnames,&_argo0,&tempbool1,&tempbool2))
1650 return NULL;
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_SetDrawFaded. Expected _wxLEDNumberCtrl_p.");
1655 return NULL;
1656 }
1657 }
1658 _arg1 = (bool ) tempbool1;
1659 _arg2 = (bool ) tempbool2;
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 wxLEDNumberCtrl_SetDrawFaded(_arg0,_arg1,_arg2);
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) return NULL;
1666 } Py_INCREF(Py_None);
1667 _resultobj = Py_None;
1668 return _resultobj;
1669 }
1670
1671 #define wxLEDNumberCtrl_SetValue(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetValue(_swigarg0,_swigarg1))
1672 static PyObject *_wrap_wxLEDNumberCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1673 PyObject * _resultobj;
1674 wxLEDNumberCtrl * _arg0;
1675 wxString * _arg1;
1676 bool _arg2 = (bool ) true;
1677 PyObject * _argo0 = 0;
1678 PyObject * _obj1 = 0;
1679 int tempbool2 = (int) true;
1680 char *_kwnames[] = { "self","Value","Redraw", NULL };
1681
1682 self = self;
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxLEDNumberCtrl_SetValue",_kwnames,&_argo0,&_obj1,&tempbool2))
1684 return NULL;
1685 if (_argo0) {
1686 if (_argo0 == Py_None) { _arg0 = NULL; }
1687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxLEDNumberCtrl_p")) {
1688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxLEDNumberCtrl_SetValue. Expected _wxLEDNumberCtrl_p.");
1689 return NULL;
1690 }
1691 }
1692 {
1693 #if PYTHON_API_VERSION >= 1009
1694 char* tmpPtr; int tmpSize;
1695 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1696 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1697 return NULL;
1698 }
1699 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1700 return NULL;
1701 _arg1 = new wxString(tmpPtr, tmpSize);
1702 #else
1703 if (!PyString_Check(_obj1)) {
1704 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1705 return NULL;
1706 }
1707 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1708 #endif
1709 }
1710 _arg2 = (bool ) tempbool2;
1711 {
1712 PyThreadState* __tstate = wxPyBeginAllowThreads();
1713 wxLEDNumberCtrl_SetValue(_arg0,*_arg1,_arg2);
1714
1715 wxPyEndAllowThreads(__tstate);
1716 if (PyErr_Occurred()) return NULL;
1717 } Py_INCREF(Py_None);
1718 _resultobj = Py_None;
1719 {
1720 if (_obj1)
1721 delete _arg1;
1722 }
1723 return _resultobj;
1724 }
1725
1726 static PyMethodDef gizmoscMethods[] = {
1727 { "wxLEDNumberCtrl_SetValue", (PyCFunction) _wrap_wxLEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
1728 { "wxLEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_wxLEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS },
1729 { "wxLEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_wxLEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS },
1730 { "wxLEDNumberCtrl_GetValue", (PyCFunction) _wrap_wxLEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
1731 { "wxLEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_wxLEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS },
1732 { "wxLEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_wxLEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS },
1733 { "wxLEDNumberCtrl_Create", (PyCFunction) _wrap_wxLEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS },
1734 { "new_wxPreLEDNumberCtrl", (PyCFunction) _wrap_new_wxPreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
1735 { "new_wxLEDNumberCtrl", (PyCFunction) _wrap_new_wxLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS },
1736 { "new_wxSplitterScrolledWindow", (PyCFunction) _wrap_new_wxSplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS },
1737 { "new_wxThinSplitterWindow", (PyCFunction) _wrap_new_wxThinSplitterWindow, METH_VARARGS | METH_KEYWORDS },
1738 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_wxTreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1739 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_wxTreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1740 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_wxTreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
1741 { "new_wxTreeCompanionWindow", (PyCFunction) _wrap_new_wxTreeCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1742 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1743 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1744 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
1745 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS },
1746 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS },
1747 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS },
1748 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_wxRemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1749 { "wxEditableListBox_GetStrings", (PyCFunction) _wrap_wxEditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS },
1750 { "wxEditableListBox_SetStrings", (PyCFunction) _wrap_wxEditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS },
1751 { "new_wxEditableListBox", (PyCFunction) _wrap_new_wxEditableListBox, METH_VARARGS | METH_KEYWORDS },
1752 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS },
1753 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS },
1754 { "wxDynamicSashWindow_Create", (PyCFunction) _wrap_wxDynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
1755 { "new_wxPreDynamicSashWindow", (PyCFunction) _wrap_new_wxPreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
1756 { "new_wxDynamicSashWindow", (PyCFunction) _wrap_new_wxDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
1757 { "new_wxDynamicSashUnifyEvent", (PyCFunction) _wrap_new_wxDynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS },
1758 { "new_wxDynamicSashSplitEvent", (PyCFunction) _wrap_new_wxDynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS },
1759 { NULL, NULL }
1760 };
1761 #ifdef __cplusplus
1762 }
1763 #endif
1764 /*
1765 * This table is used by the pointer type-checker
1766 */
1767 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1768 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent},
1769 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent},
1770 { "_signed_long","_long",0},
1771 { "_wxPrintQuality","_wxCoord",0},
1772 { "_wxPrintQuality","_int",0},
1773 { "_wxPrintQuality","_signed_int",0},
1774 { "_wxPrintQuality","_unsigned_int",0},
1775 { "_wxPrintQuality","_wxWindowID",0},
1776 { "_wxPrintQuality","_uint",0},
1777 { "_wxPrintQuality","_EBool",0},
1778 { "_wxPrintQuality","_size_t",0},
1779 { "_wxPrintQuality","_time_t",0},
1780 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl},
1781 { "_byte","_unsigned_char",0},
1782 { "_long","_unsigned_long",0},
1783 { "_long","_signed_long",0},
1784 { "_size_t","_wxCoord",0},
1785 { "_size_t","_wxPrintQuality",0},
1786 { "_size_t","_time_t",0},
1787 { "_size_t","_unsigned_int",0},
1788 { "_size_t","_int",0},
1789 { "_size_t","_wxWindowID",0},
1790 { "_size_t","_uint",0},
1791 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel},
1792 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel},
1793 { "_uint","_wxCoord",0},
1794 { "_uint","_wxPrintQuality",0},
1795 { "_uint","_time_t",0},
1796 { "_uint","_size_t",0},
1797 { "_uint","_unsigned_int",0},
1798 { "_uint","_int",0},
1799 { "_uint","_wxWindowID",0},
1800 { "_wxChar","_char",0},
1801 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent},
1802 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent},
1803 { "_char","_wxChar",0},
1804 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1805 { "_EBool","_wxCoord",0},
1806 { "_EBool","_wxPrintQuality",0},
1807 { "_EBool","_signed_int",0},
1808 { "_EBool","_int",0},
1809 { "_EBool","_wxWindowID",0},
1810 { "_unsigned_long","_long",0},
1811 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1812 { "_signed_int","_wxCoord",0},
1813 { "_signed_int","_wxPrintQuality",0},
1814 { "_signed_int","_EBool",0},
1815 { "_signed_int","_wxWindowID",0},
1816 { "_signed_int","_int",0},
1817 { "_WXTYPE","_wxDateTime_t",0},
1818 { "_WXTYPE","_short",0},
1819 { "_WXTYPE","_signed_short",0},
1820 { "_WXTYPE","_unsigned_short",0},
1821 { "_unsigned_short","_wxDateTime_t",0},
1822 { "_unsigned_short","_WXTYPE",0},
1823 { "_unsigned_short","_short",0},
1824 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow},
1825 { "_wxObject","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxObject},
1826 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject},
1827 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject},
1828 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject},
1829 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject},
1830 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject},
1831 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject},
1832 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject},
1833 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject},
1834 { "_signed_short","_WXTYPE",0},
1835 { "_signed_short","_short",0},
1836 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow},
1837 { "_unsigned_char","_byte",0},
1838 { "_wxControl","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxControl},
1839 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl},
1840 { "_unsigned_int","_wxCoord",0},
1841 { "_unsigned_int","_wxPrintQuality",0},
1842 { "_unsigned_int","_time_t",0},
1843 { "_unsigned_int","_size_t",0},
1844 { "_unsigned_int","_uint",0},
1845 { "_unsigned_int","_wxWindowID",0},
1846 { "_unsigned_int","_int",0},
1847 { "_short","_wxDateTime_t",0},
1848 { "_short","_WXTYPE",0},
1849 { "_short","_unsigned_short",0},
1850 { "_short","_signed_short",0},
1851 { "_wxWindowID","_wxCoord",0},
1852 { "_wxWindowID","_wxPrintQuality",0},
1853 { "_wxWindowID","_time_t",0},
1854 { "_wxWindowID","_size_t",0},
1855 { "_wxWindowID","_EBool",0},
1856 { "_wxWindowID","_uint",0},
1857 { "_wxWindowID","_int",0},
1858 { "_wxWindowID","_signed_int",0},
1859 { "_wxWindowID","_unsigned_int",0},
1860 { "_int","_wxCoord",0},
1861 { "_int","_wxPrintQuality",0},
1862 { "_int","_time_t",0},
1863 { "_int","_size_t",0},
1864 { "_int","_EBool",0},
1865 { "_int","_uint",0},
1866 { "_int","_wxWindowID",0},
1867 { "_int","_unsigned_int",0},
1868 { "_int","_signed_int",0},
1869 { "_wxDateTime_t","_unsigned_short",0},
1870 { "_wxDateTime_t","_short",0},
1871 { "_wxDateTime_t","_WXTYPE",0},
1872 { "_time_t","_wxCoord",0},
1873 { "_time_t","_wxPrintQuality",0},
1874 { "_time_t","_unsigned_int",0},
1875 { "_time_t","_int",0},
1876 { "_time_t","_wxWindowID",0},
1877 { "_time_t","_uint",0},
1878 { "_time_t","_size_t",0},
1879 { "_wxCoord","_int",0},
1880 { "_wxCoord","_signed_int",0},
1881 { "_wxCoord","_unsigned_int",0},
1882 { "_wxCoord","_wxWindowID",0},
1883 { "_wxCoord","_uint",0},
1884 { "_wxCoord","_EBool",0},
1885 { "_wxCoord","_size_t",0},
1886 { "_wxCoord","_time_t",0},
1887 { "_wxCoord","_wxPrintQuality",0},
1888 { "_wxEvtHandler","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxEvtHandler},
1889 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler},
1890 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler},
1891 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler},
1892 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler},
1893 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler},
1894 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler},
1895 { "_wxWindow","_wxLEDNumberCtrl",SwigwxLEDNumberCtrlTowxWindow},
1896 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow},
1897 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow},
1898 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow},
1899 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow},
1900 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow},
1901 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow},
1902 {0,0,0}};
1903
1904 static PyObject *SWIG_globals;
1905 #ifdef __cplusplus
1906 extern "C"
1907 #endif
1908 SWIGEXPORT(void) initgizmosc() {
1909 PyObject *m, *d;
1910 SWIG_globals = SWIG_newvarlink();
1911 m = Py_InitModule("gizmosc", gizmoscMethods);
1912 d = PyModule_GetDict(m);
1913 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT));
1914 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY));
1915 PyDict_SetItemString(d,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS));
1916 PyDict_SetItemString(d,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER));
1917 PyDict_SetItemString(d,"wxEL_ALLOW_NEW", PyInt_FromLong((long) wxEL_ALLOW_NEW));
1918 PyDict_SetItemString(d,"wxEL_ALLOW_EDIT", PyInt_FromLong((long) wxEL_ALLOW_EDIT));
1919 PyDict_SetItemString(d,"wxEL_ALLOW_DELETE", PyInt_FromLong((long) wxEL_ALLOW_DELETE));
1920 PyDict_SetItemString(d,"wxLED_ALIGN_LEFT", PyInt_FromLong((long) wxLED_ALIGN_LEFT));
1921 PyDict_SetItemString(d,"wxLED_ALIGN_RIGHT", PyInt_FromLong((long) wxLED_ALIGN_RIGHT));
1922 PyDict_SetItemString(d,"wxLED_ALIGN_CENTER", PyInt_FromLong((long) wxLED_ALIGN_CENTER));
1923 PyDict_SetItemString(d,"wxLED_ALIGN_MASK", PyInt_FromLong((long) wxLED_ALIGN_MASK));
1924 PyDict_SetItemString(d,"wxLED_DRAW_FADED", PyInt_FromLong((long) wxLED_DRAW_FADED));
1925
1926
1927 wxClassInfo::CleanUpClasses();
1928 wxClassInfo::InitializeClasses();
1929
1930 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
1931 {
1932 int i;
1933 for (i = 0; _swig_mapping[i].n1; i++)
1934 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1935 }
1936 }