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