]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gizmos.cpp
Small corrections -- please remember to put a blank line at the end of each input...
[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>
ebf4302c
RD
62
63
64static PyObject* t_output_helper(PyObject* target, PyObject* o) {
65 PyObject* o2;
66 PyObject* o3;
67
68 if (!target) {
69 target = o;
70 } else if (target == Py_None) {
71 Py_DECREF(Py_None);
72 target = o;
73 } else {
74 if (!PyTuple_Check(target)) {
75 o2 = target;
76 target = PyTuple_New(1);
77 PyTuple_SetItem(target, 0, o2);
78 }
79 o3 = PyTuple_New(1);
80 PyTuple_SetItem(o3, 0, o);
81
82 o2 = target;
83 target = PySequence_Concat(o2, o3);
84 Py_DECREF(o2);
85 Py_DECREF(o3);
86 }
87 return target;
88}
89
90#if PYTHON_API_VERSION >= 1009
91 static char* wxStringErrorMsg = "String or Unicode type required";
92#else
93 static char* wxStringErrorMsg = "String type required";
94#endif
611dc22c
RD
95
96 typedef wxTreeCtrl wxPyTreeCtrl;
97
98class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
99{
100public:
101 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
102 const wxPoint& pos = wxDefaultPosition,
103 const wxSize& size = wxDefaultSize,
104 long style = 0)
105 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
106
107
108 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
109 bool found;
110 wxPyTState* state = wxPyBeginBlockThreads();
111 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
112 PyObject* dcobj = wxPyMake_wxObject(&dc);
113 PyObject* idobj = wxPyConstructObject((void*)&id, "wxTreeItemId", FALSE);
114 PyObject* recobj= wxPyConstructObject((void*)&rect, "wxRect", FALSE);
115 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
116 Py_DECREF(dcobj);
117 Py_DECREF(idobj);
118 Py_DECREF(recobj);
119 }
120 wxPyEndBlockThreads(state);
121 if (! found)
122 wxTreeCompanionWindow::DrawItem(dc, id, rect);
123 }
124
125 PYPRIVATE;
126};
ebf4302c
RD
127#ifdef __cplusplus
128extern "C" {
129#endif
130static void *SwigwxDynamicSashSplitEventTowxCommandEvent(void *ptr) {
131 wxDynamicSashSplitEvent *src;
132 wxCommandEvent *dest;
133 src = (wxDynamicSashSplitEvent *) ptr;
134 dest = (wxCommandEvent *) src;
135 return (void *) dest;
136}
137
138static void *SwigwxDynamicSashSplitEventTowxEvent(void *ptr) {
139 wxDynamicSashSplitEvent *src;
140 wxEvent *dest;
141 src = (wxDynamicSashSplitEvent *) ptr;
142 dest = (wxEvent *) src;
143 return (void *) dest;
144}
145
146static void *SwigwxDynamicSashSplitEventTowxObject(void *ptr) {
147 wxDynamicSashSplitEvent *src;
148 wxObject *dest;
149 src = (wxDynamicSashSplitEvent *) ptr;
150 dest = (wxObject *) src;
151 return (void *) dest;
152}
153
154#define new_wxDynamicSashSplitEvent(_swigarg0) (new wxDynamicSashSplitEvent(_swigarg0))
155static PyObject *_wrap_new_wxDynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
156 PyObject * _resultobj;
157 wxDynamicSashSplitEvent * _result;
158 wxObject * _arg0;
159 PyObject * _argo0 = 0;
160 char *_kwnames[] = { "target", NULL };
161 char _ptemp[128];
162
163 self = self;
164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashSplitEvent",_kwnames,&_argo0))
165 return NULL;
166 if (_argo0) {
167 if (_argo0 == Py_None) { _arg0 = NULL; }
168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashSplitEvent. Expected _wxObject_p.");
170 return NULL;
171 }
172 }
173{
174 wxPy_BEGIN_ALLOW_THREADS;
175 _result = (wxDynamicSashSplitEvent *)new_wxDynamicSashSplitEvent(_arg0);
176
177 wxPy_END_ALLOW_THREADS;
178} if (_result) {
179 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashSplitEvent_p");
180 _resultobj = Py_BuildValue("s",_ptemp);
181 } else {
182 Py_INCREF(Py_None);
183 _resultobj = Py_None;
184 }
185 return _resultobj;
186}
187
188static void *SwigwxDynamicSashUnifyEventTowxCommandEvent(void *ptr) {
189 wxDynamicSashUnifyEvent *src;
190 wxCommandEvent *dest;
191 src = (wxDynamicSashUnifyEvent *) ptr;
192 dest = (wxCommandEvent *) src;
193 return (void *) dest;
194}
195
196static void *SwigwxDynamicSashUnifyEventTowxEvent(void *ptr) {
197 wxDynamicSashUnifyEvent *src;
198 wxEvent *dest;
199 src = (wxDynamicSashUnifyEvent *) ptr;
200 dest = (wxEvent *) src;
201 return (void *) dest;
202}
203
204static void *SwigwxDynamicSashUnifyEventTowxObject(void *ptr) {
205 wxDynamicSashUnifyEvent *src;
206 wxObject *dest;
207 src = (wxDynamicSashUnifyEvent *) ptr;
208 dest = (wxObject *) src;
209 return (void *) dest;
210}
211
212#define new_wxDynamicSashUnifyEvent(_swigarg0) (new wxDynamicSashUnifyEvent(_swigarg0))
213static PyObject *_wrap_new_wxDynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
214 PyObject * _resultobj;
215 wxDynamicSashUnifyEvent * _result;
216 wxObject * _arg0;
217 PyObject * _argo0 = 0;
218 char *_kwnames[] = { "target", NULL };
219 char _ptemp[128];
220
221 self = self;
222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxDynamicSashUnifyEvent",_kwnames,&_argo0))
223 return NULL;
224 if (_argo0) {
225 if (_argo0 == Py_None) { _arg0 = NULL; }
226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxObject_p")) {
227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashUnifyEvent. Expected _wxObject_p.");
228 return NULL;
229 }
230 }
231{
232 wxPy_BEGIN_ALLOW_THREADS;
233 _result = (wxDynamicSashUnifyEvent *)new_wxDynamicSashUnifyEvent(_arg0);
234
235 wxPy_END_ALLOW_THREADS;
236} if (_result) {
237 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashUnifyEvent_p");
238 _resultobj = Py_BuildValue("s",_ptemp);
239 } else {
240 Py_INCREF(Py_None);
241 _resultobj = Py_None;
242 }
243 return _resultobj;
244}
245
246static void *SwigwxDynamicSashWindowTowxWindow(void *ptr) {
247 wxDynamicSashWindow *src;
248 wxWindow *dest;
249 src = (wxDynamicSashWindow *) ptr;
250 dest = (wxWindow *) src;
251 return (void *) dest;
252}
253
254static void *SwigwxDynamicSashWindowTowxEvtHandler(void *ptr) {
255 wxDynamicSashWindow *src;
256 wxEvtHandler *dest;
257 src = (wxDynamicSashWindow *) ptr;
258 dest = (wxEvtHandler *) src;
259 return (void *) dest;
260}
261
262static void *SwigwxDynamicSashWindowTowxObject(void *ptr) {
263 wxDynamicSashWindow *src;
264 wxObject *dest;
265 src = (wxDynamicSashWindow *) ptr;
266 dest = (wxObject *) src;
267 return (void *) dest;
268}
269
270#define new_wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxDynamicSashWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
271static PyObject *_wrap_new_wxDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
272 PyObject * _resultobj;
273 wxDynamicSashWindow * _result;
274 wxWindow * _arg0;
275 wxWindowID _arg1;
276 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
277 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
278 long _arg4 = (long ) wxCLIP_CHILDREN|(wxDS_MANAGE_SCROLLBARS)|(wxDS_DRAG_CORNER);
279 char * _arg5 = (char *) "dynamicSashWindow";
280 PyObject * _argo0 = 0;
281 wxPoint temp;
282 PyObject * _obj2 = 0;
283 wxSize temp0;
284 PyObject * _obj3 = 0;
285 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
286 char _ptemp[128];
287
288 self = self;
289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxDynamicSashWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
290 return NULL;
291 if (_argo0) {
292 if (_argo0 == Py_None) { _arg0 = NULL; }
293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxDynamicSashWindow. Expected _wxWindow_p.");
295 return NULL;
296 }
297 }
298 if (_obj2)
299{
300 _arg2 = &temp;
301 if (! wxPoint_helper(_obj2, &_arg2))
302 return NULL;
303}
304 if (_obj3)
305{
306 _arg3 = &temp0;
307 if (! wxSize_helper(_obj3, &_arg3))
308 return NULL;
309}
310{
311 wxPy_BEGIN_ALLOW_THREADS;
312 _result = (wxDynamicSashWindow *)new_wxDynamicSashWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
313
314 wxPy_END_ALLOW_THREADS;
315} if (_result) {
316 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
317 _resultobj = Py_BuildValue("s",_ptemp);
318 } else {
319 Py_INCREF(Py_None);
320 _resultobj = Py_None;
321 }
322 return _resultobj;
323}
324
325#define new_wxPreDynamicSashWindow() (new wxDynamicSashWindow())
326static PyObject *_wrap_new_wxPreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
327 PyObject * _resultobj;
328 wxDynamicSashWindow * _result;
329 char *_kwnames[] = { NULL };
330 char _ptemp[128];
331
332 self = self;
333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreDynamicSashWindow",_kwnames))
334 return NULL;
335{
336 wxPy_BEGIN_ALLOW_THREADS;
337 _result = (wxDynamicSashWindow *)new_wxPreDynamicSashWindow();
338
339 wxPy_END_ALLOW_THREADS;
340} if (_result) {
341 SWIG_MakePtr(_ptemp, (char *) _result,"_wxDynamicSashWindow_p");
342 _resultobj = Py_BuildValue("s",_ptemp);
343 } else {
344 Py_INCREF(Py_None);
345 _resultobj = Py_None;
346 }
347 return _resultobj;
348}
349
350#define wxDynamicSashWindow_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
351static PyObject *_wrap_wxDynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
352 PyObject * _resultobj;
353 bool _result;
354 wxDynamicSashWindow * _arg0;
355 wxWindow * _arg1;
356 wxWindowID _arg2;
357 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
358 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
359 long _arg5 = (long ) wxCLIP_CHILDREN|(wxDS_MANAGE_SCROLLBARS)|(wxDS_DRAG_CORNER);
360 char * _arg6 = (char *) "dynamicSashWindow";
361 PyObject * _argo0 = 0;
362 PyObject * _argo1 = 0;
363 wxPoint temp;
364 PyObject * _obj3 = 0;
365 wxSize temp0;
366 PyObject * _obj4 = 0;
367 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
368
369 self = self;
370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxDynamicSashWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
371 return NULL;
372 if (_argo0) {
373 if (_argo0 == Py_None) { _arg0 = NULL; }
374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_Create. Expected _wxDynamicSashWindow_p.");
376 return NULL;
377 }
378 }
379 if (_argo1) {
380 if (_argo1 == Py_None) { _arg1 = NULL; }
381 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
382 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_Create. Expected _wxWindow_p.");
383 return NULL;
384 }
385 }
386 if (_obj3)
387{
388 _arg3 = &temp;
389 if (! wxPoint_helper(_obj3, &_arg3))
390 return NULL;
391}
392 if (_obj4)
393{
394 _arg4 = &temp0;
395 if (! wxSize_helper(_obj4, &_arg4))
396 return NULL;
397}
398{
399 wxPy_BEGIN_ALLOW_THREADS;
400 _result = (bool )wxDynamicSashWindow_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
401
402 wxPy_END_ALLOW_THREADS;
403} _resultobj = Py_BuildValue("i",_result);
404 return _resultobj;
405}
406
407#define wxDynamicSashWindow_GetHScrollBar(_swigobj,_swigarg0) (_swigobj->GetHScrollBar(_swigarg0))
408static PyObject *_wrap_wxDynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
409 PyObject * _resultobj;
410 wxScrollBar * _result;
411 wxDynamicSashWindow * _arg0;
412 wxWindow * _arg1;
413 PyObject * _argo0 = 0;
414 PyObject * _argo1 = 0;
415 char *_kwnames[] = { "self","child", NULL };
416 char _ptemp[128];
417
418 self = self;
419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetHScrollBar",_kwnames,&_argo0,&_argo1))
420 return NULL;
421 if (_argo0) {
422 if (_argo0 == Py_None) { _arg0 = NULL; }
423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_GetHScrollBar. Expected _wxDynamicSashWindow_p.");
425 return NULL;
426 }
427 }
428 if (_argo1) {
429 if (_argo1 == Py_None) { _arg1 = NULL; }
430 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
431 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_GetHScrollBar. Expected _wxWindow_p.");
432 return NULL;
433 }
434 }
435{
436 wxPy_BEGIN_ALLOW_THREADS;
437 _result = (wxScrollBar *)wxDynamicSashWindow_GetHScrollBar(_arg0,_arg1);
438
439 wxPy_END_ALLOW_THREADS;
440} if (_result) {
441 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
442 _resultobj = Py_BuildValue("s",_ptemp);
443 } else {
444 Py_INCREF(Py_None);
445 _resultobj = Py_None;
446 }
447 return _resultobj;
448}
449
450#define wxDynamicSashWindow_GetVScrollBar(_swigobj,_swigarg0) (_swigobj->GetVScrollBar(_swigarg0))
451static PyObject *_wrap_wxDynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
452 PyObject * _resultobj;
453 wxScrollBar * _result;
454 wxDynamicSashWindow * _arg0;
455 wxWindow * _arg1;
456 PyObject * _argo0 = 0;
457 PyObject * _argo1 = 0;
458 char *_kwnames[] = { "self","child", NULL };
459 char _ptemp[128];
460
461 self = self;
462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDynamicSashWindow_GetVScrollBar",_kwnames,&_argo0,&_argo1))
463 return NULL;
464 if (_argo0) {
465 if (_argo0 == Py_None) { _arg0 = NULL; }
466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDynamicSashWindow_p")) {
467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDynamicSashWindow_GetVScrollBar. Expected _wxDynamicSashWindow_p.");
468 return NULL;
469 }
470 }
471 if (_argo1) {
472 if (_argo1 == Py_None) { _arg1 = NULL; }
473 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
474 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDynamicSashWindow_GetVScrollBar. Expected _wxWindow_p.");
475 return NULL;
476 }
477 }
478{
479 wxPy_BEGIN_ALLOW_THREADS;
480 _result = (wxScrollBar *)wxDynamicSashWindow_GetVScrollBar(_arg0,_arg1);
481
482 wxPy_END_ALLOW_THREADS;
483} if (_result) {
484 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
485 _resultobj = Py_BuildValue("s",_ptemp);
486 } else {
487 Py_INCREF(Py_None);
488 _resultobj = Py_None;
489 }
490 return _resultobj;
491}
492
7b7ac0ab
RD
493static void *SwigwxEditableListBoxTowxPanel(void *ptr) {
494 wxEditableListBox *src;
495 wxPanel *dest;
496 src = (wxEditableListBox *) ptr;
497 dest = (wxPanel *) src;
498 return (void *) dest;
499}
500
501static void *SwigwxEditableListBoxTowxWindow(void *ptr) {
502 wxEditableListBox *src;
503 wxWindow *dest;
504 src = (wxEditableListBox *) ptr;
505 dest = (wxWindow *) src;
506 return (void *) dest;
507}
508
509static void *SwigwxEditableListBoxTowxEvtHandler(void *ptr) {
510 wxEditableListBox *src;
511 wxEvtHandler *dest;
512 src = (wxEditableListBox *) ptr;
513 dest = (wxEvtHandler *) src;
514 return (void *) dest;
515}
516
517static void *SwigwxEditableListBoxTowxObject(void *ptr) {
518 wxEditableListBox *src;
519 wxObject *dest;
520 src = (wxEditableListBox *) ptr;
521 dest = (wxObject *) src;
522 return (void *) dest;
523}
524
525#define new_wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxEditableListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
526static PyObject *_wrap_new_wxEditableListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
527 PyObject * _resultobj;
528 wxEditableListBox * _result;
529 wxWindow * _arg0;
530 wxWindowID _arg1;
531 wxString * _arg2;
532 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
533 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
534 char * _arg5 = (char *) "editableListBox";
535 PyObject * _argo0 = 0;
536 PyObject * _obj2 = 0;
537 wxPoint temp;
538 PyObject * _obj3 = 0;
539 wxSize temp0;
540 PyObject * _obj4 = 0;
541 char *_kwnames[] = { "parent","id","label","pos","size","name", NULL };
542 char _ptemp[128];
543
544 self = self;
545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOs:new_wxEditableListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5))
546 return NULL;
547 if (_argo0) {
548 if (_argo0 == Py_None) { _arg0 = NULL; }
549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxEditableListBox. Expected _wxWindow_p.");
551 return NULL;
552 }
553 }
554{
555#if PYTHON_API_VERSION >= 1009
556 char* tmpPtr; int tmpSize;
557 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
558 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
559 return NULL;
560 }
561 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
562 return NULL;
563 _arg2 = new wxString(tmpPtr, tmpSize);
564#else
565 if (!PyString_Check(_obj2)) {
566 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
567 return NULL;
568 }
569 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
570#endif
571}
572 if (_obj3)
573{
574 _arg3 = &temp;
575 if (! wxPoint_helper(_obj3, &_arg3))
576 return NULL;
577}
578 if (_obj4)
579{
580 _arg4 = &temp0;
581 if (! wxSize_helper(_obj4, &_arg4))
582 return NULL;
583}
584{
585 wxPy_BEGIN_ALLOW_THREADS;
586 _result = (wxEditableListBox *)new_wxEditableListBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5);
587
588 wxPy_END_ALLOW_THREADS;
589} if (_result) {
590 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEditableListBox_p");
591 _resultobj = Py_BuildValue("s",_ptemp);
592 } else {
593 Py_INCREF(Py_None);
594 _resultobj = Py_None;
595 }
596{
597 if (_obj2)
598 delete _arg2;
599}
600 return _resultobj;
601}
602
603#define wxEditableListBox_SetStrings(_swigobj,_swigarg0) (_swigobj->SetStrings(_swigarg0))
604static PyObject *_wrap_wxEditableListBox_SetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
605 PyObject * _resultobj;
606 wxEditableListBox * _arg0;
607 wxArrayString * _arg1;
608 PyObject * _argo0 = 0;
609 PyObject * _obj1 = 0;
610 char *_kwnames[] = { "self","strings", NULL };
611
612 self = self;
613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxEditableListBox_SetStrings",_kwnames,&_argo0,&_obj1))
614 return NULL;
615 if (_argo0) {
616 if (_argo0 == Py_None) { _arg0 = NULL; }
617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_SetStrings. Expected _wxEditableListBox_p.");
619 return NULL;
620 }
621 }
622{
623 if (! PySequence_Check(_obj1)) {
624 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
625 return NULL;
626 }
627 _arg1 = new wxArrayString;
628 int i, len=PySequence_Length(_obj1);
629 for (i=0; i<len; i++) {
630 PyObject* item = PySequence_GetItem(_obj1, i);
631 PyObject* str = PyObject_Str(item);
632 _arg1->Add(PyString_AsString(item));
633 Py_DECREF(item);
634 Py_DECREF(str);
635 }
636}
637{
638 wxPy_BEGIN_ALLOW_THREADS;
639 wxEditableListBox_SetStrings(_arg0,*_arg1);
640
641 wxPy_END_ALLOW_THREADS;
642} Py_INCREF(Py_None);
643 _resultobj = Py_None;
644{
645 if (_obj1)
646 delete _arg1;
647}
648 return _resultobj;
649}
650
651static PyObject * wxEditableListBox_GetStrings(wxEditableListBox *self) {
652 wxArrayString strings;
653 self->GetStrings(strings);
654 return wxArrayString2PyList_helper(strings);
655 }
656static PyObject *_wrap_wxEditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
657 PyObject * _resultobj;
658 PyObject * _result;
659 wxEditableListBox * _arg0;
660 PyObject * _argo0 = 0;
661 char *_kwnames[] = { "self", NULL };
662
663 self = self;
664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxEditableListBox_GetStrings",_kwnames,&_argo0))
665 return NULL;
666 if (_argo0) {
667 if (_argo0 == Py_None) { _arg0 = NULL; }
668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxEditableListBox_p")) {
669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxEditableListBox_GetStrings. Expected _wxEditableListBox_p.");
670 return NULL;
671 }
672 }
673{
674 wxPy_BEGIN_ALLOW_THREADS;
675 _result = (PyObject *)wxEditableListBox_GetStrings(_arg0);
676
677 wxPy_END_ALLOW_THREADS;
678}{
679 _resultobj = _result;
680}
681 return _resultobj;
682}
683
611dc22c
RD
684static void *SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl(void *ptr) {
685 wxRemotelyScrolledTreeCtrl *src;
686 wxPyTreeCtrl *dest;
687 src = (wxRemotelyScrolledTreeCtrl *) ptr;
688 dest = (wxPyTreeCtrl *) src;
689 return (void *) dest;
690}
691
692static void *SwigwxRemotelyScrolledTreeCtrlTowxControl(void *ptr) {
693 wxRemotelyScrolledTreeCtrl *src;
694 wxControl *dest;
695 src = (wxRemotelyScrolledTreeCtrl *) ptr;
696 dest = (wxControl *) src;
697 return (void *) dest;
698}
699
700static void *SwigwxRemotelyScrolledTreeCtrlTowxWindow(void *ptr) {
701 wxRemotelyScrolledTreeCtrl *src;
702 wxWindow *dest;
703 src = (wxRemotelyScrolledTreeCtrl *) ptr;
704 dest = (wxWindow *) src;
705 return (void *) dest;
706}
707
708static void *SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler(void *ptr) {
709 wxRemotelyScrolledTreeCtrl *src;
710 wxEvtHandler *dest;
711 src = (wxRemotelyScrolledTreeCtrl *) ptr;
712 dest = (wxEvtHandler *) src;
713 return (void *) dest;
714}
715
716static void *SwigwxRemotelyScrolledTreeCtrlTowxObject(void *ptr) {
717 wxRemotelyScrolledTreeCtrl *src;
718 wxObject *dest;
719 src = (wxRemotelyScrolledTreeCtrl *) ptr;
720 dest = (wxObject *) src;
721 return (void *) dest;
722}
723
724#define new_wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxRemotelyScrolledTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
725static PyObject *_wrap_new_wxRemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
726 PyObject * _resultobj;
727 wxRemotelyScrolledTreeCtrl * _result;
728 wxWindow * _arg0;
729 wxWindowID _arg1;
730 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
731 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
732 long _arg4 = (long ) wxTR_HAS_BUTTONS;
733 PyObject * _argo0 = 0;
734 wxPoint temp;
735 PyObject * _obj2 = 0;
736 wxSize temp0;
737 PyObject * _obj3 = 0;
738 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
739 char _ptemp[128];
740
741 self = self;
742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOl:new_wxRemotelyScrolledTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
743 return NULL;
744 if (_argo0) {
745 if (_argo0 == Py_None) { _arg0 = NULL; }
746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRemotelyScrolledTreeCtrl. Expected _wxWindow_p.");
748 return NULL;
749 }
750 }
751 if (_obj2)
752{
753 _arg2 = &temp;
754 if (! wxPoint_helper(_obj2, &_arg2))
755 return NULL;
756}
757 if (_obj3)
758{
759 _arg3 = &temp0;
760 if (! wxSize_helper(_obj3, &_arg3))
761 return NULL;
762}
763{
764 wxPy_BEGIN_ALLOW_THREADS;
765 _result = (wxRemotelyScrolledTreeCtrl *)new_wxRemotelyScrolledTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4);
766
767 wxPy_END_ALLOW_THREADS;
768} if (_result) {
769 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
770 _resultobj = Py_BuildValue("s",_ptemp);
771 } else {
772 Py_INCREF(Py_None);
773 _resultobj = Py_None;
774 }
775 return _resultobj;
776}
777
778#define wxRemotelyScrolledTreeCtrl_HideVScrollbar(_swigobj) (_swigobj->HideVScrollbar())
779static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
780 PyObject * _resultobj;
781 wxRemotelyScrolledTreeCtrl * _arg0;
782 PyObject * _argo0 = 0;
783 char *_kwnames[] = { "self", NULL };
784
785 self = self;
786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_HideVScrollbar",_kwnames,&_argo0))
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_HideVScrollbar. Expected _wxRemotelyScrolledTreeCtrl_p.");
792 return NULL;
793 }
794 }
795{
796 wxPy_BEGIN_ALLOW_THREADS;
797 wxRemotelyScrolledTreeCtrl_HideVScrollbar(_arg0);
798
799 wxPy_END_ALLOW_THREADS;
800} Py_INCREF(Py_None);
801 _resultobj = Py_None;
802 return _resultobj;
803}
804
805#define wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_swigobj) (_swigobj->AdjustRemoteScrollbars())
806static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject * _resultobj;
808 wxRemotelyScrolledTreeCtrl * _arg0;
809 PyObject * _argo0 = 0;
810 char *_kwnames[] = { "self", NULL };
811
812 self = self;
813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",_kwnames,&_argo0))
814 return NULL;
815 if (_argo0) {
816 if (_argo0 == Py_None) { _arg0 = NULL; }
817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars. Expected _wxRemotelyScrolledTreeCtrl_p.");
819 return NULL;
820 }
821 }
822{
823 wxPy_BEGIN_ALLOW_THREADS;
824 wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(_arg0);
825
826 wxPy_END_ALLOW_THREADS;
827} Py_INCREF(Py_None);
828 _resultobj = Py_None;
829 return _resultobj;
830}
831
832#define wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_swigobj) (_swigobj->GetScrolledWindow())
833static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
834 PyObject * _resultobj;
835 wxScrolledWindow * _result;
836 wxRemotelyScrolledTreeCtrl * _arg0;
837 PyObject * _argo0 = 0;
838 char *_kwnames[] = { "self", NULL };
839 char _ptemp[128];
840
841 self = self;
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetScrolledWindow",_kwnames,&_argo0))
843 return NULL;
844 if (_argo0) {
845 if (_argo0 == Py_None) { _arg0 = NULL; }
846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetScrolledWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
848 return NULL;
849 }
850 }
851{
852 wxPy_BEGIN_ALLOW_THREADS;
853 _result = (wxScrolledWindow *)wxRemotelyScrolledTreeCtrl_GetScrolledWindow(_arg0);
854
855 wxPy_END_ALLOW_THREADS;
856} if (_result) {
857 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrolledWindow_p");
858 _resultobj = Py_BuildValue("s",_ptemp);
859 } else {
860 Py_INCREF(Py_None);
861 _resultobj = Py_None;
862 }
863 return _resultobj;
864}
865
866#define wxRemotelyScrolledTreeCtrl_ScrollToLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollToLine(_swigarg0,_swigarg1))
867static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
868 PyObject * _resultobj;
869 wxRemotelyScrolledTreeCtrl * _arg0;
870 int _arg1;
871 int _arg2;
872 PyObject * _argo0 = 0;
873 char *_kwnames[] = { "self","posHoriz","posVert", NULL };
874
875 self = self;
876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRemotelyScrolledTreeCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1,&_arg2))
877 return NULL;
878 if (_argo0) {
879 if (_argo0 == Py_None) { _arg0 = NULL; }
880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_ScrollToLine. Expected _wxRemotelyScrolledTreeCtrl_p.");
882 return NULL;
883 }
884 }
885{
886 wxPy_BEGIN_ALLOW_THREADS;
887 wxRemotelyScrolledTreeCtrl_ScrollToLine(_arg0,_arg1,_arg2);
888
889 wxPy_END_ALLOW_THREADS;
890} Py_INCREF(Py_None);
891 _resultobj = Py_None;
892 return _resultobj;
893}
894
895#define wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_swigobj,_swigarg0) (_swigobj->SetCompanionWindow(_swigarg0))
896static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
897 PyObject * _resultobj;
898 wxRemotelyScrolledTreeCtrl * _arg0;
899 wxWindow * _arg1;
900 PyObject * _argo0 = 0;
901 PyObject * _argo1 = 0;
902 char *_kwnames[] = { "self","companion", NULL };
903
904 self = self;
905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRemotelyScrolledTreeCtrl_SetCompanionWindow",_kwnames,&_argo0,&_argo1))
906 return NULL;
907 if (_argo0) {
908 if (_argo0 == Py_None) { _arg0 = NULL; }
909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
911 return NULL;
912 }
913 }
914 if (_argo1) {
915 if (_argo1 == Py_None) { _arg1 = NULL; }
916 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRemotelyScrolledTreeCtrl_SetCompanionWindow. Expected _wxWindow_p.");
918 return NULL;
919 }
920 }
921{
922 wxPy_BEGIN_ALLOW_THREADS;
923 wxRemotelyScrolledTreeCtrl_SetCompanionWindow(_arg0,_arg1);
924
925 wxPy_END_ALLOW_THREADS;
926} Py_INCREF(Py_None);
927 _resultobj = Py_None;
928 return _resultobj;
929}
930
931#define wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_swigobj) (_swigobj->GetCompanionWindow())
932static PyObject *_wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
933 PyObject * _resultobj;
934 wxWindow * _result;
935 wxRemotelyScrolledTreeCtrl * _arg0;
936 PyObject * _argo0 = 0;
937 char *_kwnames[] = { "self", NULL };
938
939 self = self;
940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRemotelyScrolledTreeCtrl_GetCompanionWindow",_kwnames,&_argo0))
941 return NULL;
942 if (_argo0) {
943 if (_argo0 == Py_None) { _arg0 = NULL; }
944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRemotelyScrolledTreeCtrl_p")) {
945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRemotelyScrolledTreeCtrl_GetCompanionWindow. Expected _wxRemotelyScrolledTreeCtrl_p.");
946 return NULL;
947 }
948 }
949{
950 wxPy_BEGIN_ALLOW_THREADS;
951 _result = (wxWindow *)wxRemotelyScrolledTreeCtrl_GetCompanionWindow(_arg0);
952
953 wxPy_END_ALLOW_THREADS;
954}{ _resultobj = wxPyMake_wxObject(_result); }
955 return _resultobj;
956}
957
958static void *SwigwxPyTreeCompanionWindowTowxWindow(void *ptr) {
959 wxPyTreeCompanionWindow *src;
960 wxWindow *dest;
961 src = (wxPyTreeCompanionWindow *) ptr;
962 dest = (wxWindow *) src;
963 return (void *) dest;
964}
965
966static void *SwigwxPyTreeCompanionWindowTowxEvtHandler(void *ptr) {
967 wxPyTreeCompanionWindow *src;
968 wxEvtHandler *dest;
969 src = (wxPyTreeCompanionWindow *) ptr;
970 dest = (wxEvtHandler *) src;
971 return (void *) dest;
972}
973
974static void *SwigwxPyTreeCompanionWindowTowxObject(void *ptr) {
975 wxPyTreeCompanionWindow *src;
976 wxObject *dest;
977 src = (wxPyTreeCompanionWindow *) ptr;
978 dest = (wxObject *) src;
979 return (void *) dest;
980}
981
982#define new_wxTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyTreeCompanionWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
983static PyObject *_wrap_new_wxTreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
984 PyObject * _resultobj;
985 wxPyTreeCompanionWindow * _result;
986 wxWindow * _arg0;
987 wxWindowID _arg1 = (wxWindowID ) -1;
988 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
989 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
990 long _arg4 = (long ) 0;
991 PyObject * _argo0 = 0;
992 wxPoint temp;
993 PyObject * _obj2 = 0;
994 wxSize temp0;
995 PyObject * _obj3 = 0;
996 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
997 char _ptemp[128];
998
999 self = self;
1000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxTreeCompanionWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1001 return NULL;
1002 if (_argo0) {
1003 if (_argo0 == Py_None) { _arg0 = NULL; }
1004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCompanionWindow. Expected _wxWindow_p.");
1006 return NULL;
1007 }
1008 }
1009 if (_obj2)
1010{
1011 _arg2 = &temp;
1012 if (! wxPoint_helper(_obj2, &_arg2))
1013 return NULL;
1014}
1015 if (_obj3)
1016{
1017 _arg3 = &temp0;
1018 if (! wxSize_helper(_obj3, &_arg3))
1019 return NULL;
1020}
1021{
1022 wxPy_BEGIN_ALLOW_THREADS;
1023 _result = (wxPyTreeCompanionWindow *)new_wxTreeCompanionWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1024
1025 wxPy_END_ALLOW_THREADS;
1026} if (_result) {
1027 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCompanionWindow_p");
1028 _resultobj = Py_BuildValue("s",_ptemp);
1029 } else {
1030 Py_INCREF(Py_None);
1031 _resultobj = Py_None;
1032 }
1033 return _resultobj;
1034}
1035
1036#define wxTreeCompanionWindow__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1037static PyObject *_wrap_wxTreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
1038 PyObject * _resultobj;
1039 wxPyTreeCompanionWindow * _arg0;
1040 PyObject * _arg1;
1041 PyObject * _arg2;
1042 PyObject * _argo0 = 0;
1043 PyObject * _obj1 = 0;
1044 PyObject * _obj2 = 0;
1045 char *_kwnames[] = { "self","self","_class", NULL };
1046
1047 self = self;
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCompanionWindow__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
1049 return NULL;
1050 if (_argo0) {
1051 if (_argo0 == Py_None) { _arg0 = NULL; }
1052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow__setCallbackInfo. Expected _wxPyTreeCompanionWindow_p.");
1054 return NULL;
1055 }
1056 }
1057{
1058 _arg1 = _obj1;
1059}
1060{
1061 _arg2 = _obj2;
1062}
1063{
1064 wxPy_BEGIN_ALLOW_THREADS;
1065 wxTreeCompanionWindow__setCallbackInfo(_arg0,_arg1,_arg2);
1066
1067 wxPy_END_ALLOW_THREADS;
1068} Py_INCREF(Py_None);
1069 _resultobj = Py_None;
1070 return _resultobj;
1071}
1072
1073#define wxTreeCompanionWindow_GetTreeCtrl(_swigobj) (_swigobj->GetTreeCtrl())
1074static PyObject *_wrap_wxTreeCompanionWindow_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1075 PyObject * _resultobj;
1076 wxRemotelyScrolledTreeCtrl * _result;
1077 wxPyTreeCompanionWindow * _arg0;
1078 PyObject * _argo0 = 0;
1079 char *_kwnames[] = { "self", NULL };
1080 char _ptemp[128];
1081
1082 self = self;
1083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCompanionWindow_GetTreeCtrl",_kwnames,&_argo0))
1084 return NULL;
1085 if (_argo0) {
1086 if (_argo0 == Py_None) { _arg0 = NULL; }
1087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow_GetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1089 return NULL;
1090 }
1091 }
1092{
1093 wxPy_BEGIN_ALLOW_THREADS;
1094 _result = (wxRemotelyScrolledTreeCtrl *)wxTreeCompanionWindow_GetTreeCtrl(_arg0);
1095
1096 wxPy_END_ALLOW_THREADS;
1097} if (_result) {
1098 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRemotelyScrolledTreeCtrl_p");
1099 _resultobj = Py_BuildValue("s",_ptemp);
1100 } else {
1101 Py_INCREF(Py_None);
1102 _resultobj = Py_None;
1103 }
1104 return _resultobj;
1105}
1106
1107#define wxTreeCompanionWindow_SetTreeCtrl(_swigobj,_swigarg0) (_swigobj->SetTreeCtrl(_swigarg0))
1108static PyObject *_wrap_wxTreeCompanionWindow_SetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
1109 PyObject * _resultobj;
1110 wxPyTreeCompanionWindow * _arg0;
1111 wxRemotelyScrolledTreeCtrl * _arg1;
1112 PyObject * _argo0 = 0;
1113 PyObject * _argo1 = 0;
1114 char *_kwnames[] = { "self","treeCtrl", NULL };
1115
1116 self = self;
1117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCompanionWindow_SetTreeCtrl",_kwnames,&_argo0,&_argo1))
1118 return NULL;
1119 if (_argo0) {
1120 if (_argo0 == Py_None) { _arg0 = NULL; }
1121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCompanionWindow_p")) {
1122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxPyTreeCompanionWindow_p.");
1123 return NULL;
1124 }
1125 }
1126 if (_argo1) {
1127 if (_argo1 == Py_None) { _arg1 = NULL; }
1128 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRemotelyScrolledTreeCtrl_p")) {
1129 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCompanionWindow_SetTreeCtrl. Expected _wxRemotelyScrolledTreeCtrl_p.");
1130 return NULL;
1131 }
1132 }
1133{
1134 wxPy_BEGIN_ALLOW_THREADS;
1135 wxTreeCompanionWindow_SetTreeCtrl(_arg0,_arg1);
1136
1137 wxPy_END_ALLOW_THREADS;
1138} Py_INCREF(Py_None);
1139 _resultobj = Py_None;
1140 return _resultobj;
1141}
1142
1143static void *SwigwxThinSplitterWindowTowxSplitterWindow(void *ptr) {
1144 wxThinSplitterWindow *src;
1145 wxSplitterWindow *dest;
1146 src = (wxThinSplitterWindow *) ptr;
1147 dest = (wxSplitterWindow *) src;
1148 return (void *) dest;
1149}
1150
1151static void *SwigwxThinSplitterWindowTowxWindow(void *ptr) {
1152 wxThinSplitterWindow *src;
1153 wxWindow *dest;
1154 src = (wxThinSplitterWindow *) ptr;
1155 dest = (wxWindow *) src;
1156 return (void *) dest;
1157}
1158
1159static void *SwigwxThinSplitterWindowTowxEvtHandler(void *ptr) {
1160 wxThinSplitterWindow *src;
1161 wxEvtHandler *dest;
1162 src = (wxThinSplitterWindow *) ptr;
1163 dest = (wxEvtHandler *) src;
1164 return (void *) dest;
1165}
1166
1167static void *SwigwxThinSplitterWindowTowxObject(void *ptr) {
1168 wxThinSplitterWindow *src;
1169 wxObject *dest;
1170 src = (wxThinSplitterWindow *) ptr;
1171 dest = (wxObject *) src;
1172 return (void *) dest;
1173}
1174
1175#define new_wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxThinSplitterWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1176static PyObject *_wrap_new_wxThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject * _resultobj;
1178 wxThinSplitterWindow * _result;
1179 wxWindow * _arg0;
1180 wxWindowID _arg1 = (wxWindowID ) -1;
1181 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1182 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1183 long _arg4 = (long ) wxSP_3D|wxCLIP_CHILDREN;
1184 PyObject * _argo0 = 0;
1185 wxPoint temp;
1186 PyObject * _obj2 = 0;
1187 wxSize temp0;
1188 PyObject * _obj3 = 0;
1189 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1190 char _ptemp[128];
1191
1192 self = self;
1193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxThinSplitterWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1194 return NULL;
1195 if (_argo0) {
1196 if (_argo0 == Py_None) { _arg0 = NULL; }
1197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxThinSplitterWindow. Expected _wxWindow_p.");
1199 return NULL;
1200 }
1201 }
1202 if (_obj2)
1203{
1204 _arg2 = &temp;
1205 if (! wxPoint_helper(_obj2, &_arg2))
1206 return NULL;
1207}
1208 if (_obj3)
1209{
1210 _arg3 = &temp0;
1211 if (! wxSize_helper(_obj3, &_arg3))
1212 return NULL;
1213}
1214{
1215 wxPy_BEGIN_ALLOW_THREADS;
1216 _result = (wxThinSplitterWindow *)new_wxThinSplitterWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1217
1218 wxPy_END_ALLOW_THREADS;
1219} if (_result) {
1220 SWIG_MakePtr(_ptemp, (char *) _result,"_wxThinSplitterWindow_p");
1221 _resultobj = Py_BuildValue("s",_ptemp);
1222 } else {
1223 Py_INCREF(Py_None);
1224 _resultobj = Py_None;
1225 }
1226 return _resultobj;
1227}
1228
1229static void *SwigwxSplitterScrolledWindowTowxScrolledWindow(void *ptr) {
1230 wxSplitterScrolledWindow *src;
1231 wxScrolledWindow *dest;
1232 src = (wxSplitterScrolledWindow *) ptr;
1233 dest = (wxScrolledWindow *) src;
1234 return (void *) dest;
1235}
1236
1237static void *SwigwxSplitterScrolledWindowTowxPanel(void *ptr) {
1238 wxSplitterScrolledWindow *src;
1239 wxPanel *dest;
1240 src = (wxSplitterScrolledWindow *) ptr;
1241 dest = (wxPanel *) src;
1242 return (void *) dest;
1243}
1244
1245static void *SwigwxSplitterScrolledWindowTowxWindow(void *ptr) {
1246 wxSplitterScrolledWindow *src;
1247 wxWindow *dest;
1248 src = (wxSplitterScrolledWindow *) ptr;
1249 dest = (wxWindow *) src;
1250 return (void *) dest;
1251}
1252
1253static void *SwigwxSplitterScrolledWindowTowxEvtHandler(void *ptr) {
1254 wxSplitterScrolledWindow *src;
1255 wxEvtHandler *dest;
1256 src = (wxSplitterScrolledWindow *) ptr;
1257 dest = (wxEvtHandler *) src;
1258 return (void *) dest;
1259}
1260
1261static void *SwigwxSplitterScrolledWindowTowxObject(void *ptr) {
1262 wxSplitterScrolledWindow *src;
1263 wxObject *dest;
1264 src = (wxSplitterScrolledWindow *) ptr;
1265 dest = (wxObject *) src;
1266 return (void *) dest;
1267}
1268
1269#define new_wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxSplitterScrolledWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
1270static PyObject *_wrap_new_wxSplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1271 PyObject * _resultobj;
1272 wxSplitterScrolledWindow * _result;
1273 wxWindow * _arg0;
1274 wxWindowID _arg1 = (wxWindowID ) -1;
1275 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1276 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1277 long _arg4 = (long ) 0;
1278 PyObject * _argo0 = 0;
1279 wxPoint temp;
1280 PyObject * _obj2 = 0;
1281 wxSize temp0;
1282 PyObject * _obj3 = 0;
1283 char *_kwnames[] = { "parent","id","pos","size","style", NULL };
1284 char _ptemp[128];
1285
1286 self = self;
1287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOl:new_wxSplitterScrolledWindow",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4))
1288 return NULL;
1289 if (_argo0) {
1290 if (_argo0 == Py_None) { _arg0 = NULL; }
1291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSplitterScrolledWindow. Expected _wxWindow_p.");
1293 return NULL;
1294 }
1295 }
1296 if (_obj2)
1297{
1298 _arg2 = &temp;
1299 if (! wxPoint_helper(_obj2, &_arg2))
1300 return NULL;
1301}
1302 if (_obj3)
1303{
1304 _arg3 = &temp0;
1305 if (! wxSize_helper(_obj3, &_arg3))
1306 return NULL;
1307}
1308{
1309 wxPy_BEGIN_ALLOW_THREADS;
1310 _result = (wxSplitterScrolledWindow *)new_wxSplitterScrolledWindow(_arg0,_arg1,*_arg2,*_arg3,_arg4);
1311
1312 wxPy_END_ALLOW_THREADS;
1313} if (_result) {
1314 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSplitterScrolledWindow_p");
1315 _resultobj = Py_BuildValue("s",_ptemp);
1316 } else {
1317 Py_INCREF(Py_None);
1318 _resultobj = Py_None;
1319 }
1320 return _resultobj;
1321}
1322
ebf4302c 1323static PyMethodDef gizmoscMethods[] = {
611dc22c
RD
1324 { "new_wxSplitterScrolledWindow", (PyCFunction) _wrap_new_wxSplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS },
1325 { "new_wxThinSplitterWindow", (PyCFunction) _wrap_new_wxThinSplitterWindow, METH_VARARGS | METH_KEYWORDS },
1326 { "wxTreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_wxTreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1327 { "wxTreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_wxTreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
1328 { "wxTreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_wxTreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
1329 { "new_wxTreeCompanionWindow", (PyCFunction) _wrap_new_wxTreeCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1330 { "wxRemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1331 { "wxRemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS },
1332 { "wxRemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
1333 { "wxRemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS },
1334 { "wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS },
1335 { "wxRemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_wxRemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS },
1336 { "new_wxRemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_wxRemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS },
7b7ac0ab
RD
1337 { "wxEditableListBox_GetStrings", (PyCFunction) _wrap_wxEditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS },
1338 { "wxEditableListBox_SetStrings", (PyCFunction) _wrap_wxEditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS },
1339 { "new_wxEditableListBox", (PyCFunction) _wrap_new_wxEditableListBox, METH_VARARGS | METH_KEYWORDS },
ebf4302c
RD
1340 { "wxDynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS },
1341 { "wxDynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_wxDynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS },
1342 { "wxDynamicSashWindow_Create", (PyCFunction) _wrap_wxDynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS },
1343 { "new_wxPreDynamicSashWindow", (PyCFunction) _wrap_new_wxPreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
1344 { "new_wxDynamicSashWindow", (PyCFunction) _wrap_new_wxDynamicSashWindow, METH_VARARGS | METH_KEYWORDS },
1345 { "new_wxDynamicSashUnifyEvent", (PyCFunction) _wrap_new_wxDynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS },
1346 { "new_wxDynamicSashSplitEvent", (PyCFunction) _wrap_new_wxDynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS },
1347 { NULL, NULL }
1348};
1349#ifdef __cplusplus
1350}
1351#endif
1352/*
1353 * This table is used by the pointer type-checker
1354 */
1355static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1356 { "_wxEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxEvent},
1357 { "_wxEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxEvent},
1358 { "_signed_long","_long",0},
1359 { "_wxPrintQuality","_wxCoord",0},
1360 { "_wxPrintQuality","_int",0},
1361 { "_wxPrintQuality","_signed_int",0},
1362 { "_wxPrintQuality","_unsigned_int",0},
1363 { "_wxPrintQuality","_wxWindowID",0},
1364 { "_wxPrintQuality","_uint",0},
1365 { "_wxPrintQuality","_EBool",0},
1366 { "_wxPrintQuality","_size_t",0},
1367 { "_wxPrintQuality","_time_t",0},
611dc22c 1368 { "_wxPyTreeCtrl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxPyTreeCtrl},
ebf4302c
RD
1369 { "_byte","_unsigned_char",0},
1370 { "_long","_unsigned_long",0},
1371 { "_long","_signed_long",0},
1372 { "_size_t","_wxCoord",0},
1373 { "_size_t","_wxPrintQuality",0},
1374 { "_size_t","_time_t",0},
1375 { "_size_t","_unsigned_int",0},
1376 { "_size_t","_int",0},
1377 { "_size_t","_wxWindowID",0},
1378 { "_size_t","_uint",0},
611dc22c 1379 { "_wxPanel","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxPanel},
7b7ac0ab 1380 { "_wxPanel","_wxEditableListBox",SwigwxEditableListBoxTowxPanel},
ebf4302c
RD
1381 { "_uint","_wxCoord",0},
1382 { "_uint","_wxPrintQuality",0},
1383 { "_uint","_time_t",0},
1384 { "_uint","_size_t",0},
1385 { "_uint","_unsigned_int",0},
1386 { "_uint","_int",0},
1387 { "_uint","_wxWindowID",0},
1388 { "_wxChar","_char",0},
1389 { "_wxCommandEvent","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxCommandEvent},
1390 { "_wxCommandEvent","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxCommandEvent},
1391 { "_char","_wxChar",0},
1392 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1393 { "_EBool","_wxCoord",0},
1394 { "_EBool","_wxPrintQuality",0},
1395 { "_EBool","_signed_int",0},
1396 { "_EBool","_int",0},
1397 { "_EBool","_wxWindowID",0},
1398 { "_unsigned_long","_long",0},
1399 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1400 { "_signed_int","_wxCoord",0},
1401 { "_signed_int","_wxPrintQuality",0},
1402 { "_signed_int","_EBool",0},
1403 { "_signed_int","_wxWindowID",0},
1404 { "_signed_int","_int",0},
1405 { "_WXTYPE","_wxDateTime_t",0},
1406 { "_WXTYPE","_short",0},
1407 { "_WXTYPE","_signed_short",0},
1408 { "_WXTYPE","_unsigned_short",0},
1409 { "_unsigned_short","_wxDateTime_t",0},
1410 { "_unsigned_short","_WXTYPE",0},
1411 { "_unsigned_short","_short",0},
611dc22c
RD
1412 { "_wxSplitterWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxSplitterWindow},
1413 { "_wxObject","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxObject},
1414 { "_wxObject","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxObject},
1415 { "_wxObject","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxObject},
1416 { "_wxObject","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxObject},
7b7ac0ab 1417 { "_wxObject","_wxEditableListBox",SwigwxEditableListBoxTowxObject},
ebf4302c
RD
1418 { "_wxObject","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxObject},
1419 { "_wxObject","_wxDynamicSashUnifyEvent",SwigwxDynamicSashUnifyEventTowxObject},
1420 { "_wxObject","_wxDynamicSashSplitEvent",SwigwxDynamicSashSplitEventTowxObject},
1421 { "_signed_short","_WXTYPE",0},
1422 { "_signed_short","_short",0},
611dc22c 1423 { "_wxScrolledWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxScrolledWindow},
ebf4302c 1424 { "_unsigned_char","_byte",0},
611dc22c 1425 { "_wxControl","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxControl},
ebf4302c
RD
1426 { "_unsigned_int","_wxCoord",0},
1427 { "_unsigned_int","_wxPrintQuality",0},
1428 { "_unsigned_int","_time_t",0},
1429 { "_unsigned_int","_size_t",0},
1430 { "_unsigned_int","_uint",0},
1431 { "_unsigned_int","_wxWindowID",0},
1432 { "_unsigned_int","_int",0},
1433 { "_short","_wxDateTime_t",0},
1434 { "_short","_WXTYPE",0},
1435 { "_short","_unsigned_short",0},
1436 { "_short","_signed_short",0},
1437 { "_wxWindowID","_wxCoord",0},
1438 { "_wxWindowID","_wxPrintQuality",0},
1439 { "_wxWindowID","_time_t",0},
1440 { "_wxWindowID","_size_t",0},
1441 { "_wxWindowID","_EBool",0},
1442 { "_wxWindowID","_uint",0},
1443 { "_wxWindowID","_int",0},
1444 { "_wxWindowID","_signed_int",0},
1445 { "_wxWindowID","_unsigned_int",0},
1446 { "_int","_wxCoord",0},
1447 { "_int","_wxPrintQuality",0},
1448 { "_int","_time_t",0},
1449 { "_int","_size_t",0},
1450 { "_int","_EBool",0},
1451 { "_int","_uint",0},
1452 { "_int","_wxWindowID",0},
1453 { "_int","_unsigned_int",0},
1454 { "_int","_signed_int",0},
1455 { "_wxDateTime_t","_unsigned_short",0},
1456 { "_wxDateTime_t","_short",0},
1457 { "_wxDateTime_t","_WXTYPE",0},
1458 { "_time_t","_wxCoord",0},
1459 { "_time_t","_wxPrintQuality",0},
1460 { "_time_t","_unsigned_int",0},
1461 { "_time_t","_int",0},
1462 { "_time_t","_wxWindowID",0},
1463 { "_time_t","_uint",0},
1464 { "_time_t","_size_t",0},
1465 { "_wxCoord","_int",0},
1466 { "_wxCoord","_signed_int",0},
1467 { "_wxCoord","_unsigned_int",0},
1468 { "_wxCoord","_wxWindowID",0},
1469 { "_wxCoord","_uint",0},
1470 { "_wxCoord","_EBool",0},
1471 { "_wxCoord","_size_t",0},
1472 { "_wxCoord","_time_t",0},
1473 { "_wxCoord","_wxPrintQuality",0},
611dc22c
RD
1474 { "_wxEvtHandler","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxEvtHandler},
1475 { "_wxEvtHandler","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxEvtHandler},
1476 { "_wxEvtHandler","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxEvtHandler},
1477 { "_wxEvtHandler","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxEvtHandler},
7b7ac0ab 1478 { "_wxEvtHandler","_wxEditableListBox",SwigwxEditableListBoxTowxEvtHandler},
ebf4302c 1479 { "_wxEvtHandler","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxEvtHandler},
611dc22c
RD
1480 { "_wxWindow","_wxSplitterScrolledWindow",SwigwxSplitterScrolledWindowTowxWindow},
1481 { "_wxWindow","_wxThinSplitterWindow",SwigwxThinSplitterWindowTowxWindow},
1482 { "_wxWindow","_wxPyTreeCompanionWindow",SwigwxPyTreeCompanionWindowTowxWindow},
1483 { "_wxWindow","_wxRemotelyScrolledTreeCtrl",SwigwxRemotelyScrolledTreeCtrlTowxWindow},
7b7ac0ab 1484 { "_wxWindow","_wxEditableListBox",SwigwxEditableListBoxTowxWindow},
ebf4302c
RD
1485 { "_wxWindow","_wxDynamicSashWindow",SwigwxDynamicSashWindowTowxWindow},
1486{0,0,0}};
1487
1488static PyObject *SWIG_globals;
1489#ifdef __cplusplus
1490extern "C"
1491#endif
1492SWIGEXPORT(void) initgizmosc() {
1493 PyObject *m, *d;
1494 SWIG_globals = SWIG_newvarlink();
1495 m = Py_InitModule("gizmosc", gizmoscMethods);
1496 d = PyModule_GetDict(m);
1497 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_SPLIT));
1498 PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong((long) wxEVT_DYNAMIC_SASH_UNIFY));
1499 PyDict_SetItemString(d,"wxDS_MANAGE_SCROLLBARS", PyInt_FromLong((long) wxDS_MANAGE_SCROLLBARS));
1500 PyDict_SetItemString(d,"wxDS_DRAG_CORNER", PyInt_FromLong((long) wxDS_DRAG_CORNER));
1501
1502
1503 wxClassInfo::CleanUpClasses();
1504 wxClassInfo::InitializeClasses();
1505
611dc22c 1506 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
ebf4302c
RD
1507{
1508 int i;
1509 for (i = 0; _swig_mapping[i].n1; i++)
1510 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1511}
1512}